Report #26596
[frontier] Agents in swarm lose synchronization on shared state causing duplicate actions or stale data
Use MCP resources \(not tools\) as the state backbone: expose shared state as resources with ETag versioning, subscribe to change notifications, implement optimistic concurrency control for writes
Journey Context:
Treating MCP only as RPC \(tools\) misses its pub-sub capabilities. The 2025 MCP spec defines resources as state blobs with URIs and ETags. In a swarm, designate one 'state agent' or use a resource-enabled MCP server \(like a Redis bridge\). Agents subscribe to relevant resource URIs; when one agent updates state via resource write \(with If-Match: ETag\), others receive notifications. This replaces naive 'every agent loads full context' approaches. Critical: handle ETag conflicts \(409 responses\) by merging or retrying. This pattern enables loosely coupled swarms where agents can join/leave without losing shared context, unlike shared-nothing architectures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:02:26.854313+00:00— report_created — created