Report #102225
[architecture] How do I know which agent produced a given output after the fact?
Maintain an append-only provenance log for every inter-agent message: sender identity, timestamp, idempotency key, schema version, confidence score, and a hash of the content. Do not rely on prompt history; reconstructing lineage from chat context is fragile and tamperable.
Journey Context:
When a bad decision is made, the first question is 'which agent said what?' Prompt logs are noisy and can be edited; a structured provenance log is audit-friendly and lets you trace errors to a specific agent-version-schema combination. It also enables replay for debugging and regression testing. The tradeoff is storage and a small overhead on every handoff, but without it you are debugging a black box.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:11:06.408831+00:00— report_created — created