{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "kimglee-cambium--resume-interrupted-corpus-task",
 "repo": "KimGLee/Cambium",
 "repo_url": "https://github.com/KimGLee/Cambium",
 "repo_slug": "kimglee-cambium",
 "title": "Resume an interrupted corpus task without guessing",
 "page_title": "How to resume an interrupted corpus task without guessing with Cambium",
 "summary": "Check recorded runtime state before any agent writes to a half-finished knowledge corpus.",
 "who": "An operator whose agent session stopped mid-batch on a repository that already has Cambium runtime state.",
 "problem": "Restarting an agent on a partly changed corpus risks duplicate or conflicting edits.",
 "outcome": "The operator sees the recorded task, locks, holds, in-flight batches, and the exact next action before anything is written.",
 "steps": [
  "Run `python3 Tools/check_queue.py . --resume-status` from the repository root before writing anything.",
  "Read the reported task, locks, holds, in-flight batches, and recovery state.",
  "Follow the reported `next_action` only, and do not run init commands over existing `.cambium/state/`.",
  "Run `python3 Tools/check_queue.py .` after the step to confirm the Queue is consistent."
 ],
 "agent_prompt": "In the Cambium-governed repo at <repo-path>, run the resume status check and report the recorded task, any locks or holds, and the exact next_action. Do not write any files. Verify that the check reports no errors before you propose the next step.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "This is only useful after Cambium state exists in the repository, and the README warns not to edit canonical state by hand.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3 available as python3",
  "A Cambium source checkout",
  "A Git repository for the knowledge corpus, since adoption resolves an upstream ref to a Git commit SHA",
  "Terminal access for the agent, with the operator's permission to install the toolchain",
  "An operator who can answer the repository decisions Cambium leaves to the operator"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kimglee-cambium/resume-interrupted-corpus-task/",
 "md": "https://dedupedai.com/use-cases/kimglee-cambium/resume-interrupted-corpus-task/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kimglee-cambium--resume-interrupted-corpus-task.json",
 "api_version": "v1"
}
