{"record":{"id":"fc986d02baa2b4ad","repo":"deepseek-ai/deepseek-harness","slug":"schedule-corrupt-schedule-log-for-agent-this-a","errorCode":null,"errorMessage":"schedule: corrupt schedule log for agent \"${this.agent.id}\": ${detail}","messagePattern":"schedule: corrupt schedule log for agent \"(.+?)\": (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/schedule/schedule/src/runtime.ts","lineNumber":215,"sourceCode":"        this.idleWait = undefined\n        if (this.isLive()) {\n          this.ctx.logger.warn(`schedule: idle wait failed for agent \"${this.agent.id}\": ${renderThrown(error)}`)\n        }\n      },\n    )\n  }\n\n  /** Fold the current exact runtime suffix and contain a corrupt durable stream. */\n  private readFolded(): FoldedSchedules | undefined {\n    try {\n      return foldScheduleEvents(\n        this.agent.session.events,\n        this.agent.session.header.seedLength ?? 0,\n      )\n    } catch (error: unknown) {\n      this.faulted = true\n      const detail = error instanceof ScheduleLogError ? error.message : renderThrown(error)\n      this.ctx.logger.warn(`schedule: corrupt schedule log for agent \"${this.agent.id}\": ${detail}`)\n      return undefined\n    }\n  }\n\n  /** Contain an invalid wall-clock decision without permanently faulting this runtime. */\n  private decide(folded: FoldedSchedules, now: number): DueDecision | undefined {\n    try {\n      return dueDecision(folded, now)\n    } catch (error: unknown) {\n      this.ctx.logger.warn(`schedule: fixed-rate decision failed for agent \"${this.agent.id}\": ${renderThrown(error)}`)\n      return undefined\n    }\n  }\n\n  /** Preflight, fold, arm, or dispatch the next one-shot or fixed-rate batch. */\n  private async driveOnce(): Promise<void> {\n    this.clearTimer()\n    if (!this.isRunnable()) return","sourceCodeStart":197,"sourceCodeEnd":233,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/schedule/schedule/src/runtime.ts#L197-L233","documentation":"Error \"schedule: corrupt schedule log for agent \"${this.agent.id}\": ${detail}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/schedule/schedule/src/runtime.ts:215 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Repair or delete the corrupt schedule log for the agent per the detail, then let it be rebuilt."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}