COHERENT_E006
Session artifact missing on resume
The session-resume flow detects a session in `awaiting-ingest` status but the expected input artifact (e.g. `anchor-input.json`, `pages-input.json`) is absent. A previous run wrote the session marker but failed to persist the artifact downstream phases need.
When you see it
Skill-mode auto-resume invoked on a session whose expected input artifact has been removed, corrupted, or never written.
Why
Likely causes: a crash between a phase ingest completing and the next phase's input being written, a manual edit that deleted the file, or a filesystem sync hiccup.
Fix options
- 1
Restart the session from the last complete phase
The simplest recovery: delete the broken session and start a fresh one.
$ rm -rf .coherent/session/<uuid>/ && coherent session start --intent "..." - 2
Preserve the session for debugging
If you need to understand what happened, end the session with `--keep` so the dir survives. Then start a new session in parallel.
$ coherent session end <uuid> --keep