An artifact is a Markdown file that records the inputs, outputs, reasoning, and evidence for a single phase of a single run. Every phase produces exactly one artifact. Artifacts are locked when complete and never edited afterward — corrections flow forward through addenda. The artifact for runDocumentation Index
Fetch the complete documentation index at: https://recursive-mode.dev/llms.txt
Use this file to discover all available pages before exploring further.
75, Phase 1 lives at:
/.recursive/run/<run-id>/.
Required header
Every artifact begins with a standard header block that records the run, phase, status, inputs, outputs, and scope:Inputs list must include every file the phase read to produce its output — base input files and any applicable addenda, in lexical order.
Draft-to-lock lifecycle
Audited phases follow a mandatory loop before they can lock:Audit
Re-read the upstream artifacts, reconcile against the diff basis in
00-worktree.md, and run the phase audit. Record the audit result in ## Audit Verdict.Coverage Gate and Approval Gate
Every artifact (except00-requirements.md) must end with both gates before locking.
Coverage Gate — proves the output addresses everything relevant in the input, including addenda:
FAIL and list the exact fixes required before proceeding.
Addenda
An addendum is a correction or extension attached to the current phase when a later phase discovers a gap in an earlier locked phase. You never edit the locked artifact — you create an addendum file under/.recursive/run/<run-id>/addenda/ that carries the correction forward.
Addenda are treated as authoritative effective inputs. Any artifact that relies on an addendum must list it in its Inputs field and reconcile it explicitly in the artifact body.
Two types of addenda exist:
- Stage-local addendum — corrects or extends the current phase’s own understanding without touching locked history.
- Upstream-gap addendum — compensates for a gap in a prior locked phase, applied at the current phase instead of rewriting the past.
Lock fields
When an artifact locks, three fields are appended to the header:LockHash is a SHA-256 of the artifact content at the moment of locking. Use verify-locks to confirm that no artifact has been modified after locking:
Always use
recursive-lock to write lock fields. Do not hand-write Status: LOCKED or compute LockHash manually — the script ensures consistency with what verify-locks expects.