Report #98507
[architecture] Agents share one global memory and overwrite each other's state
Scope memory per agent-role and per workflow run; use an immutable event log as the source of truth and let agents derive read-only views from it.
Journey Context:
Global mutable state is the default in quick prototypes and becomes a race-condition nightmare when agents run concurrently or when you replay a workflow. Event sourcing solves this: append-only log, deterministic projections, no silent overwrites. The tradeoff is redesigning from mutable variables to event streams, but it gives you replay, auditability, and safe parallelism without locks everywhere.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T05:05:33.813464+00:00— report_created — created