Tcha Compliance Ledger
Provides automated, tamper-evident cryptographic logging for autonomous agents, ensuring that every tool execution, API fetch, and file modification has an indisputable audit record.
Why This Matters
When autonomous agents operate inside enterprise environments, compliance auditors require:
- Proof of Action: What tools did the agent invoke?
- Proof of Integrity: Were logs altered after an incident?
- Proof of Boundary: Did the agent exceed its defined security scope?
How It Works
- Pre-Execution Hashing: Intercepts tool calls and computes
SHA-256(timestamp + tool_name + arguments). - Merkle Block Chaining: Combines individual action hashes into a continuous Merkle tree ledger.
- Local or Cloud Storage: Keeps records strictly on-premises in JSONL format, or syncs to enterprise Cloudflare KV / S3 storage if configured.
Usage in Claude
Generate a compliance report for the current session:
npx tcha-protection ledger --export
# Verifies cryptographic integrity of past agent logs
npx tcha-protection ledger --verify
Sample Audit Record
{
"sequence": 142,
"timestamp": "2026-10-18T22:58:00Z",
"tool": "filesystem.readFile",
"status": "APPROVED",
"policy_checked": "path_boundary",
"nonce": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"merkle_root": "a89b3f02194c771da4bc234f9a0c128374d9e29a34bc9812df082736458923bc"
}