Every Coven session moves through the same states, regardless of which harness is driving it.Documentation Index
Fetch the complete documentation index at: https://docs.opencoven.ai/llms.txt
Use this file to discover all available pages before exploring further.
State definitions
| State | Meaning |
|---|---|
pending | Daemon accepted the request; PTY not yet spawned. |
running | PTY is live; output and input flow through Coven. |
completed | Harness exited with code 0. |
failed | Harness exited with a non-zero code. The exit code is recorded. |
killed | Operator or client called kill. |
archived | Session is hidden from the active list. Events preserved. |
Launch
projectRoot and cwd before spawning the PTY. See Authority boundary.
Attach
attach streams output from the event log (replay) and then follows live output. Input is forwarded to the PTY. Use Ctrl-] to detach without killing the session.
Archive / summon / sacrifice
These are the three rituals around finished sessions:Archive
Hide a non-running session. Reversible. Events preserved.
Summon
Restore an archived session to the active list, then replay/follow it.
Sacrifice
Permanently delete. Refuses live sessions. Requires
--yes.Orphan recovery
If the daemon restarts while a PTY is running, the session is marked orphaned. On the next start, the daemon:- Reads the session ledger.
- Marks orphaned sessions as
failedwith a recovery note in their event stream. - Refuses to re-attach to a dead PTY.