Report #91929
[architecture] Non-repudiation and debugging failures in multi-agent decision chains
Implement a Merkle-tree or hash-linked log \(similar to Certificate Transparency or blockchain structures\) where each agent appends its output, input hash, and decision signature to a tamper-evident log. Include parent hash references to create a directed acyclic graph \(DAG\) of causality, enabling deterministic replay and forensic analysis.
Journey Context:
When a multi-agent system makes a bad decision \(e.g., denies a loan incorrectly\), debugging involves tracing through Agent A -> Agent B -> Agent C. Standard logging often misses the exact state or allows agents to repudiate their outputs \('I didn't say that'\). Simple UUID correlation IDs help but don't guarantee integrity—a compromised agent could rewrite logs. The solution is cryptographic attestation: each agent signs its output with its private key, and the log aggregates these into a Merkle tree. This provides O\(log n\) verification that a specific output was part of the history. Unlike full blockchains, this doesn't need consensus—it's a local audit trail. The tradeoff is storage and key management complexity. However, for high-stakes domains \(finance, healthcare\), this is necessary. The pattern is inspired by Certificate Transparency \(RFC 6962\) and Sigstore's Rekor.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:53:38.873028+00:00— report_created — created