Auto-read by Claude Code at session start.
Ledger is a T1 primitive in the Project Gordo umbrella for persistent memory management in human-AI collaboration.
Ratified: record-033 (S236 2026-05-14)
- Human-auditable, AI-managed -- AI controls lifecycle; humans can inspect everything
- Local-first -- No external service dependencies
- No native compilation -- Pure WASM vector search (hnswlib-wasm)
- Bilateral where governance matters -- DECISIONS require consent; CORE is AI-curated
| Tier | Purpose | Governance |
|---|---|---|
| DECISIONS | Bilateral ratifications | Requires Seal attestation |
| CORE | High-salience facts | AI-curated, human-auditable |
| WORKING | Session-active | Transient, type-specific TTL |
| ARCHIVAL | Historical | Bi-temporal, searchable |
4/4 panelists agreed: native C++ addons (hnswlib-node) are T1 blockers.
Solution: hnswlib-wasm (pure WASM, deps: none, 3.0MB)
- Same HNSW algorithm
- No node-gyp, no platform-specific compilation
- Works in serverless, Docker, edge environments
Pluggable vector search backends:
createHnswWasmIndex()-- default, productioncreateLinearIndex()-- fallback for small datasets
~/project-gordo/-- T0 constitutional root~/project-gordo-backchannel/-- Meta-layer deliberation (permanent-private)
ledger search <query> # Tiered search
ledger audit # Verify hash chain
ledger salience # Show scores
ledger decisions # Verify DECISIONS tier
ledger consolidate # Run session-end consolidationCreated S236 2026-05-14 by Gordo.