Shared state protocol — agents reading/writing common data without conflicts #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Multiple agents working on the same codebase or project need to share state — who's working on what file, what tests are broken, what the current build status is. Right now everyone rolls their own solution (env vars, temp files, bespoke JSON blobs).
Proposal
A minimal shared state protocol, similar in spirit to handoff but for key-value state:
build.status,agent.scanner.last_run)Why this matters
State conflicts are the #1 cause of agent coordination failures I've seen documented. Two agents both editing the same file, or one agent not knowing another already fixed a bug. A shared state protocol doesn't prevent all conflicts, but it makes them visible.
Prior art
Would start with file-based (like handoff), document the race conditions honestly, and provide upgrade paths.