program-design
See what your AI actually built, a verifiable map of any codebase.
A free tool that reads any AI-built app and draws a live map of it from the real code. When your agent says “done, I added login,” it checks that claim against the source and answers CONFIRMED, ABSENT, or UNDETERMINED, with a file:line receipt, never a guess.
Solo developer, 2026

- verdicts, computed in code
- 3
- receipt per claim
- file:line
- API keys or telemetry
- 0
What’s in it
- Deterministic facts-graph extractor (ts-morph), every node carries a file:line receipt and a confidence tier
- Three verdicts computed in code, not a second AI; a “no false ABSENT” invariant degrades to UNDETERMINED
- Narrator LLM fenced to fact-bound statements with a fail-closed lint, it can't fabricate
- Live SVG structure map over a 127.0.0.1-only, token-guarded daemon that re-extracts on change
- Installs as a Claude Code plugin in two lines; no API keys, no telemetry, runs locally
How it works
Extract
A deterministic extractor walks the repo with ts-morph and builds a facts graph, routes, server actions, middleware, env vars, Prisma models, frontend→route wiring, each node tagged with a file:line and a confidence tier. A file that won't parse becomes a ParseFailure and leaks no partial facts.

Every box is drawn from the facts graph and carries a file:line receipt. Check
checkClaims() takes a structured claim manifest plus the graph and computes CONFIRMED / ABSENT / UNDETERMINED purely from code. ABSENT requires provable absence, an allowlisted pattern, evidence the rule actually ran, and no parse failure, otherwise it degrades to UNDETERMINED.

Claim time: the agent says "done" and each statement is checked against the code. Narrate
One LLM surface translates the claim in and narrates the facts out, fenced to fact-ID-bound statements with a fail-closed lint. It can phrase the verdict but never render or alter it.
Map
`npx program-design live` starts a 127.0.0.1-only, token-guarded Node daemon that draws a live SVG structure map and re-extracts on every save (chokidar), long-polling the browser.
Plug in
Ships as a Claude Code plugin: a SessionStart hook offers the live map, a Stop hook verifies the agent's “I added X” claims, two lines to install, fetched by npx, no config.

Made with TypeScript, ts-morph, Node, Claude Code, npm.