Engram · Set up
engram
Put the command first: engram COMMAND [OPTIONS]. Use separate --option VALUE tokens, not --option=value. Repeat only options documented as repeatable. Unknown tokens are not uniformly rejected, so a successful exit does not establish that an unsupported flag was honored.
Shared configuration, where a command loads OTE or opens a store:
| Option | Meaning / default |
|---|---|
--ote PATH |
Manifest: flag, ENGRAM_OTE_PATH, discovered .engram/ote.toml, then built-in general seat. Explicit unreadable/invalid paths fail. |
--db PATH |
SQLite store: flag, ENGRAM_DB_PATH, database beside explicit/environment/discovered OTE, then workspace .engram/engram.db. Not a flag consumed by every leaf; no-store version/tools/default-ote ignore store configuration. |
--help, -h |
After a command, intercept execution and print command-level help. Nested leaf help is generally parent help, not an exhaustive schema. |
Normal command errors print stderr and return 1. Exceptions: block/hook internal failures often return 0; invalid hook harness/OTE returns 1; guard soft-block returns 2; missing validate-ote path returns 2; hydration/conformance absent/vacuous returns 3. JSON reports that resolve an OTE identify it. Fact-stream output remains unstamped JSONL. Commands that open SQLite may create directories and perform store housekeeping.
Exact rings: M0..M4. Kinds: invariant, architecture, decision, known_process, procedure, incident, attack_heuristic, failure_mode, environment_fact, mission_state. Authorities: canon_mandate, verified_gate_failure, judge_verdict, curated_knowledge, agent_observation, agent_inference. Unknown authored values fail; canon_mandate outside M0 fails. Mount access and evidence policy still apply.