Use the Canonical Project Memory Interface
Status: Ready
Article ID: 071
Truth label: Current
Audience: Operator and contributor
Reader outcome: Explain how repository memory becomes searchable evidence.
Related articles: 007, 073, 074
Target week: 29
Last verified: 2026-09-13
Technical reviewer: Codex source audit
Editorial reviewer: Codex editorial audit
Know what CPMI indexes
CPMI reads the registered project's agent instructions, global rules, voice guide, changelog, task ledger, decisions, and FAQ. These files preserve controls, current work, rationale, and recurring answers in a portable repository format.
Separate record from projection
Project-local files are authoritative in managed and direct sessions. Brain only indexes and retrieves them. cpmi.sqlite3 is a derived record and exact-text index. The Chroma cpmi
collection is a rebuildable semantic projection. Rebuilding embeddings must not
erase the underlying records or their source identity.
Use the index as evidence
Search can bring a relevant decision or historical change into a prompt. The result still needs source type, repository, path, and freshness context. Search rank does not turn an old note into a current instruction.
Browse it in Cortex
Memory collections in Manage Cortex pages through knowledge, notes, learnings, and conversations fifty records at a time, opens the complete text with its scope and provenance, and keeps project memory in its own editor. Search there stays a ranked list, with exact-record controls when a result carries an identity. Client-scoped project memory needs the operator token to browse across every scope, so the default view shows internal records.
Refresh deliberately
Register the intended project, run the CPMI index refresh, inspect statistics, and test one known phrase. Refresh after meaningful memory changes and before a high-risk task that depends on recent decisions.
Current limits
Selected HTTP searches apply client scope, but not every retrieval path shares one enforced gateway. CPMI does not make historical text trusted, prove it is current, or provide complete confidential tenant isolation.
Next lesson
Continue with Hybrid exact and semantic retrieval.
Derivative map
- Weekly package: WEEK-29
- Long video: VIDEO-W29-LONG
- Shorts: SHORT-W29-PROBLEM, SHORT-W29-MECHANISM, SHORT-W29-WARNING
- Email: EMAIL-W29
- LinkedIn: LI-W29-A, LI-W29-B
- X: X-W29-A, X-W29-B
- Visual: VISUAL-W29
Review record
- Indexed files, canonical store, and semantic projection checked against current source.
- Retrieved records remain labeled evidence rather than authority.
- Scope and freshness limits remain explicit.
- Refresh procedure and links reviewed.
Review completed: 2026-08-27
Re-audited against the running product: 2026-09-13