Who it is forA developer whose agents may overlap on one area and who wants visible ownership without locking files.
The problemAgents cannot see who is already working on a symbol, and file locks would stall the whole fleet if one agent crashed.
The outcomeEach agent's claim is visible to others in a query, and overlapping claims show as warnings rather than blocks.
What you need first
- Git and jq installed
- macOS or Linux, or the Windows binaries from the releases page
- A Git repository to coordinate, with at least one coding agent or a shell to act as one
- Rust 1.85+ only if you build from source
Steps
- Claim the scope with
foremerge --json work claim --agent "$STRIPE_AGENT" --intent "$STRIPE_INTENT" --scope symbol:PaymentService --reason "Changing the provider boundary", using the agent and intent ids from your earlier publish. (inferred, check the README) - Claim the same scope for a second agent with its own intent id and a reason.
- Read the second claim's
advisory_onlyandwarningsfields withjq '.data | {advisory_only, warnings}'. - List who holds the scope with
foremerge --json work query --scope symbol:PaymentService | jq '.data[] | {agent: .agent.name, intent: .intent.summary, open_conflicts}'. (inferred, check the README)
Prompt for your agent
In the <repo path> repository, have two registered agents claim symbol:<target> with separate intents and reasons. Expected output: both claims succeed and the second response includes an overlap warning. Verify that advisory_only is true in the claim data before you tell anyone the scope is owned.
Caveat. A claim is advisory and never exclusive ownership, so agents still have to read the warnings and decide for themselves.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for naw103/foremerge and "Claim a code area so other agents see ownership"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer