Skip to content

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

  1. Chronology: cards gain w, when the work happened (t remains when it was recorded). The registry gains hist (depth milestones in work order), months and uses. cvprism timeline shows growth.
  2. Nothing lost: monthly usage rollups (usage.jsonl, append-only) sync from every device. The hub aggregates them into usage.json and the registry.
  3. Compact lines: when | L<depth> | skills | text (+stated result) | proof | id is about 26% fewer tokens than JSON and carries proof and project. It's used for drafting and for the context pack.
  4. Portable context: cvprism context fits evidence to a token budget, keeps the most relevant lines for a role or job posting, and summarises the rest as per-skill growth.
  5. AI-neutral access: cvprism mcp (stdio MCP server, stdlib only) for any MCP client. cvprism ai use switches 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.
  6. Exit: cvprism export produces 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 command backend avoids depending on them.
  • Card files remain append-only; w is optional and not part of the card ID.