One local record. Put to work in plain, concrete ways.
TreeTrace writes one redacted, deterministic lineage after a coding or CLI agent session. The same record answers a different question for security, evals, onboarding, audit, postmortems, and the engineer steering the agent, and none of it ever leaves your machine.
Each one runs on the same local trace, with no upload, no telemetry, no LLM judge. Most are shipping today; the audit story is honestly a foundation still being built.
Security
Catch a leak before it ships
Mid-session an agent logs a live key: console.log("token:", t). The branch gets abandoned, but the secret is already sitting in the transcript.
Curated rules for AWS, GitHub, Anthropic, OpenAI, Stripe, npm, JWTs and more flag it, with a high-entropy fallback for unknown shapes.
Every export fails closed: the secret is redacted and a shadow scan re-checks the rendered file before anything is written.
redactions.json stores only a content hash, never the raw value.
Governance needs to show what an automated agent touched, including auth, secrets, access control, and a skipped test, and where a human pushed back on it.
Flags every touch of auth, a secret, access control, a skipped test, or an unsafe shell command.
Each signal carries a confidence score, the evidence text, and the node where it happened, built from deterministic rules, not recollection.
Redaction-gated before write, and the v0.3 schema maps cleanly onto W3C PROV for provenance tooling.
Foundation being built
Incident review
Reconstruct what the agent did
A change broke production and nobody remembers how the agent got there. The diff is on the screen; the reasoning that led to it is gone.
Rebuilds the fork-aware lineage from local transcripts: root goal, every steer, and the path that actually shipped.
Reference checks flag files, imports, and packages the agent named that don't resolve against the real working tree.
Typed failure signals (wrong_tool_choice, repeated_failed_fix, scope_drift) point straight at where it went wrong.
End of the day, half a task done, and you're passing it to a teammate or to the next agent. A one-line "here's where I left it" loses everything that mattered.
treetrace --handoff prints an agent-ready continuation brief to stdout.
agent-memory.md carries the accepted constraints and the corrections that stuck.
The next session starts from real lineage, not a cold prompt.