/comet entry; see resuming interrupted work. After configuration selects Classic, the internal /comet-classic entry reads file state and chooses a phase. This page covers failures in that internal routing or damaged state.
When state is damaged, the goal is to recover the real facts, not to force fields forward until the workflow continues.

Recover state by diagnosing real file evidence first. Do not fake state just to move the workflow forward.
First check: damaged state or normal interruption?
Diagnostic commands
--json for agents and automation. For humans, start with text output.
The resume probe only classifies whether the workflow should be entered. An ask_user result usually means ambiguity or a decision point, not damaged state. See Resume probe.
What comet status shows
comet status reports active changes, phase, task progress, workflow/build mode, runtime mode, current step, runtime evidence, design doc, plan, verification result, and the recommended next command.
When runtime_eval fails, it tells you which command to run or which evidence to restore.
What comet doctor checks
comet doctor checks the Comet CLI version, OpenSpec CLI, Superpowers, working directories, platform Skill integrity, scripts, CodeGraph, .comet.yaml validity, and runtime evidence for each active change.
Common symptoms
Recovery principles
- Treat OpenSpec artifacts, Design Docs, Plans, tests, and the working tree as facts.
- Do not hand-edit machine-owned Run fields such as
.comet/run-state.json. - Do not confuse
build_pausewithbuild_mode. - Do not skip the verification-failure decision point.
- Do not fake archive state by hand; use
/comet-archiveorcomet archive. - Do not advance
.comet.yamlphase manually; usecomet guard --applyorcomet state transition.
Missing or broken .comet.yaml
/comet-classic has compatibility paths for damaged state:
- If
.comet.yamlis missing, it reconstructs fromopenspec status --json,tasks.md, anddocs/superpowers/evidence. - If YAML is malformed, it uses file state and
comet state setto repair supported fields. - If phase is
openbut proposal/design/tasks are complete, guard--applycan correct the phase.
/comet-classic cannot repair the state, restore .comet.yaml from Git and run comet doctor again.

