Repository navigation
Open
Labels
Description
Depends on: #2566 (audit records and delivery), #2846 (records in storage mecak8s cannot change), #2807 (the broker as its own service); the "to file" row in "Phase 3, Track: ToolHive — The remaining ToolHive changes for audit, sign-out, and schedules" (#2570) for hash-chained audit records. Scope to be refined.
Problem
Audit records show who acted and for whom. An investigator still cannot check that a set of records is complete and unchanged. The records are unsigned, so they do not provide non-repudiation. Their only protection is the store that mecak8s cannot change. That store protects records already delivered, but not what a compromised writer sends afterwards.
Implements
- audit.md: Delivery, protection, and reconciliation: "Protection", "Gap detection", "Later"
- threat-model.md: A compromised mecak8s: the audit-tampering row
- threat-model.md: What the split requires
Scope (draft)
- Each component hash-chains its records. Signed checkpoints are anchored outside the component's own store and use their own key, separate from the AS-1, broker-client, and agent-issuer keys. The verification key is published.
- An offline verifier checks a set of records against the chain and checkpoints, and reports gaps and breaks.
- The trail links the user, the agent, its sub-agents, and each tool call, including scheduled runs.
- The records state what tamper evidence holds while the broker runs inside mecak8s, and what holds after the split.
- Stretch: a collector that signs each hour the fingerprints of that hour's records, chained to the previous hour, plus a check that reports changed, missing, or inserted records.
Decide before starting
- The design puts hash chains and signed checkpoints at the source, after the broker is split out. It does not describe a collector that signs. Should the stretch collector be added to the design, and should it come before the split?
- What does "tamper-resistant" have to mean for the people who use the records: an append-only store, a verifiable chain, or signed records for non-repudiation?
- Where does chaining live: in the broker's audit emitter, or in the shared audit logger every component uses (ToolHive)?
- Which store and anchor does the reference deployment use?
Done when
To be set once the questions above are answered.
Activity
ChrisJBurns commentedon Nov 18, 2026
Design decision for this ticket: What must "tamper-resistant" mean for the people who use the records (an append-only store, a verifiable chain, or signed records), and does a collector that signs hourly fingerprints belong in the design?
audit.mddescribes hash chains and signed checkpoints only at the source, after the broker splits out.Where it goes: audit.md: Delivery, protection, and reconciliation.
Decide it when this ticket is picked up, and record the answer as a small design edit (reviewed by the design's author) before or with the ticket's first PR.