init-context
Install the project surfaces a repository needs so that every future session — and every teammate, with or without manifest-dev — works from the same vocabulary and the same decision record.
Two things get installed, and only the first is essential:
- The wiring — an ADR conventions file the project owns, a glossary, and a project-context-file section that makes sessions read and maintain both. This runs on every project, including one with no history at all.
- A seed — vocabulary and decision records reconstructed from the project's own history. This runs wherever there is history to read, and it is enrichment on top of the wiring, never a substitute for it.
Aim for a good starting point rather than a complete record. Most of a project's past reasoning is genuinely unrecoverable; a seed that is honest about what it could not recover is worth far more than one that reads complete and isn't.
Flags
--no-mine skips the seed and installs the wiring alone. Mining otherwise runs wherever there is history — a project with no commits, no docs and no code simply has nothing to seed from, which needs no flag to express.
Interpret only top-level options as flags; quoted or code-formatted mentions of them are topic text.
What already exists governs
Read before writing, and never overwrite a surface the project already maintains: