ADR-020: The evidence ledger is the product; make it portable, chronological and AI-neutral¶
- Status: Accepted
- Date: 2026-11-29
Context¶
The owner's priority: the database built from many computers matters more than any single CV, and it must work with any AI (Claude, Gemini, Codex), use few tokens, and show a person's growth in order. An audit found:
- the data was already plain files and compact (~356 B per card)
- extraction and drafting were Claude-only
- there was no way to hand the ledger to another AI
- growth over time wasn't modelled
- repeated use stayed on the device
- drafting sent verbose JSON (~58 tokens per card)
Decision¶
- Chronology: cards gain
w, when the work happened (tremains when it was recorded). The registry gainshist(depth milestones in work order),monthsanduses.cvprism timelineshows growth. - Nothing lost: monthly usage rollups (
usage.jsonl, append-only) sync from every device. The hub aggregates them intousage.jsonand the registry. - Compact lines:
when | L<depth> | skills | text (+stated result) | proof | idis about 26% fewer tokens than JSON and carries proof and project. It's used for drafting and for the context pack. - Portable context:
cvprism contextfits evidence to a token budget, keeps the most relevant lines for a role or job posting, and summarises the rest as per-skill growth. - AI-neutral access:
cvprism mcp(stdio MCP server, stdlib only) for any MCP client.cvprism ai useswitches between the Claude CLI, any OpenAI-compatible API (OpenAI, Gemini, Ollama, LM Studio, OpenRouter) and any stdin/stdout CLI. Keys come only from environment variables. - Exit:
cvprism exportproduces a full JSON bundle and JSON Resume.
Consequences¶
- Honesty stays in code (gate, grounding, proof levels), so changing AI never changes what can be claimed.
- Third-party CLI flags (Gemini CLI, Codex CLI) aren't pinned by cvprism. The generic
commandbackend avoids depending on them. - Card files remain append-only;
wis optional and not part of the card ID.