AgentLedger
The trust layer for AI coding agents
Claude says done. AgentLedger checks β against real exit codes, not self-reports.
A protected-file write blocked before disk, and a βtests passβ claim caught against a non-zero exit code.
One install. Every session observed.
Two lines inside Claude Code β or the same install from your terminal.
Either plugin command wires all five hooks automatically β no settings.json editing. The ledger is created on first run and every session is scored from then on. The npm package is what the marketplace installs; pulling it directly only places the files on disk β run the plugin command to register the hooks.
Claim verification
Completion claims β βtests pass,β βfixed the bugβ β are checked against the real test commandβs exit code. The agentβs word is logged, never trusted.
Boundary enforcement
Writes to protected paths β .env, keys, secrets β are blocked before they ever touch disk, and the denial is recorded.
Hash-chained ledger
Every action lands in an append-only, SHA-256 hash-chained log β reads, edits, blocked writes, verified and falsified claims. The chain breaks if anyone tampers.