Engram · Guides
Maintain knowledge and add sources
Run engram sleep at a controlled lifecycle boundary after reviewing status. Consolidation mutates evidence and active guidance through pruning, graduation checks, drift handling, nominations and distillation. Add --archive-mission only when the M3 mission should be archived.
Use engram probe to check changed code anchors; it can demote invalid guidance even without --reanchor. Review the source and guidance before rebinding: updating a hash does not establish that the advice still applies. Replace changed guidance with linked memory. The maintenance procedure covers backups and migrations.
Retrieval works locally by default using deterministic feature hashing plus lexical/graph search. Optional remote embeddings and reranking send query/document material to the configured service; authorize that transfer before enabling them or backfilling embeddings. Fail-open retrieval preserves availability, not equivalent relevance. Review warnings and retrieval configuration.
For reviewed documentation, compile Markdown before importing, or hydrate selected pages. All M2 compartments share the loading agent's one M2 ring; compartments are not tenant isolation. Hydration can partially apply pages and does not retire missing keys automatically. Review permissions and intended retirements before loading a shared corpus.
Fact synchronization and conformance cover exchange with authorized stores and hubs. Transcript import is a separate deliberate operation that mines selected episodes; envelope stripping is not privacy sanitization. Use the command reference for exact options, defaults and exits.