kapi context snapshot
kapi snapshotWrite the context in force for this project into a ".kapi" directory: the terms, the voice profiles at the paths they are bound from, the approved wording, and the decision record.
The files it writes are generated. Edit the project's context and snapshot again rather than editing them by hand, the way you would with any other generated artifact.
With no --out it writes the project's own ".kapi" directory. A clean clone that holds only what a snapshot wrote governs its content exactly as the project that wrote it does.
Two things never travel. Withheld originals stay on the machine that redacted them, and nothing kapi keeps for its own use is written.
The decision record in the snapshot is the project's own, written from what the ledger holds at the moment of the snapshot.
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi context snapshot| Flag | Type | Default | Description |
|---|---|---|---|
| --out | string | directory to write the layout into (default: the project's own) | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) |
kapi context snapshot --out build/context kapi context snapshot --json← Back to the Command Reference