{"record":{"id":"3a0117e100689f16","repo":"cline/cline","slug":"schedule-does-not-exist","errorCode":null,"errorMessage":"schedule does not exist","messagePattern":"schedule does not exist","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"sdk/packages/core/src/cron/service/schedule-tool.ts","lineNumber":209,"sourceCode":"function canonicalSessionDefaults(\n\tdefaults: ScheduleSessionDefaults,\n): ScheduleSessionDefaults {\n\tconst workspaceRoot = canonicalExistingPath(\n\t\tdefaults.workspaceRoot,\n\t\t\"workspaceRoot\",\n\t);\n\tconst cwd = defaults.cwd\n\t\t? canonicalWorkspacePath(workspaceRoot, defaults.cwd, \"cwd\")\n\t\t: workspaceRoot;\n\tassertPathWithin(workspaceRoot, cwd, \"cwd\");\n\treturn { ...defaults, workspaceRoot, cwd };\n}\n\nfunction assertScheduleScope(\n\tschedule: ScheduleRecord | undefined,\n\tdefaults: ScheduleSessionDefaults,\n): asserts schedule is ScheduleRecord {\n\tif (!schedule) throw new Error(\"schedule does not exist\");\n\tif (!sameWorkspace(schedule.workspaceRoot, defaults.workspaceRoot)) {\n\t\tthrow new Error(\"schedule is outside this session's workspace scope\");\n\t}\n\tconst scheduleWorkspaceRoot = canonicalExistingPath(\n\t\tschedule.workspaceRoot,\n\t\t\"schedule workspaceRoot\",\n\t);\n\tif (schedule.cwd) {\n\t\tconst scheduleCwd = canonicalWorkspacePath(\n\t\t\tscheduleWorkspaceRoot,\n\t\t\tschedule.cwd,\n\t\t\t\"schedule cwd\",\n\t\t);\n\t\tassertPathWithin(scheduleWorkspaceRoot, scheduleCwd, \"schedule cwd\");\n\t}\n}\n\nfunction modelSelectionOf(","sourceCodeStart":191,"sourceCodeEnd":227,"githubUrl":"https://github.com/cline/cline/blob/491b30b806fdb8c93513f821f2b87d63a61542f5/sdk/packages/core/src/cron/service/schedule-tool.ts#L191-L227","documentation":"Error \"schedule does not exist\" thrown in cline/cline.","triggerScenarios":"Thrown at sdk/packages/core/src/cron/service/schedule-tool.ts:209 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"491b30b806fdb8c93513f821f2b87d63a61542f5","analyzedAt":"2026-08-25T13:45:22.367Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}