{"record":{"id":"df0661683cb87852","repo":"deepseek-ai/deepseek-harness","slug":"busy","errorCode":"busy","errorMessage":"manual compaction requires an idle agent with no waking queued work","messagePattern":"manual compaction requires an idle agent with no waking queued work","errorType":"exception","errorClass":"ManualCompactionError","httpStatus":null,"severity":"error","filePath":"packages/compaction/compaction-basic/src/index.ts","lineNumber":414,"sourceCode":"                await this.ctx.sessions.flush(agent.session)\n              },\n            },\n            operationSignal,\n          )\n        } catch (error: unknown) {\n          if (agentSignal.aborted && operationSignal.reason === agentSignal.reason) {\n            throw new ManualCompactionError(\n              'cancelled',\n              'manual compaction was cancelled',\n              { cause: error },\n            )\n          }\n          operationSignal.throwIfAborted()\n          throw error\n        }\n      })\n    } catch (error: unknown) {\n      throw new ManualCompactionError(\n        'busy',\n        'manual compaction requires an idle agent with no waking queued work',\n        { cause: error },\n      )\n    }\n  }\n\n  /** Bind the effective token meter and dynamically dispatched summarizer hook. */\n  private regionDependencies(): { meter: TokenMeter; summarize: RegionSummarize } {\n    return {\n      meter: this.ctx.tokenMeter,\n      summarize: (input, owner, abort) => this.summarize(input, owner, abort),\n    }\n  }\n}\n\nexport default BasicCompactionEngine\n","sourceCodeStart":396,"sourceCodeEnd":432,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/compaction/compaction-basic/src/index.ts#L396-L432","documentation":"Error \"manual compaction requires an idle agent with no waking queued work\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/compaction/compaction-basic/src/index.ts:414 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Wait until the agent is idle with no queued waking work, then run manual compaction."],"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"}