π« Claims & Work Coordination
/docs/development-tools/claims--work-coordination
The Claims system manages who is working on what β whether human or agent. It prevents conflicts, enables handoffs, and balances work across your team.
Why Use Claims?
| Problem | Solution |
|---|---|
| Two agents working on the same file | Claims prevent duplicate work |
| Agent stuck on a task | Mark as stealable, another agent takes over |
| Need to hand off work | Structured handoff with context |
| Unbalanced workload | Automatic rebalancing across agents |
How Claims Work
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β CLAIMS LIFECYCLE β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββββ β β β UNCLAIMEDβββββΆβ CLAIMED βββββΆβ STEALABLEβββββΆβ HANDED OFF β β β β β β β β β β β β β β Open forβ β Agent or β β Stuck or β β New owner β β β β claimingβ β human β β abandonedβ β continues β β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββββ β β β β β β β β ββββββββββββββββ΄βββββββββββββββββ΄ββββββββββββββββ β β COMPLETED β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Claims Commands
| Command | What It Does | Example |
|---|---|---|
issues list | See all issues and their status | npx ruflo@latest issues list |
issues claim | Claim an issue for yourself/agent | npx ruflo@latest issues claim #123 --as coder-1 |
issues release | Release your claim | npx ruflo@latest issues release #123 |
issues handoff | Hand off to another worker | npx ruflo@latest issues handoff #123 --to reviewer |
issues status | Update progress on claimed work | npx ruflo@latest issues status #123 --progress 75 |
issues stealable | List abandoned/stuck issues | npx ruflo@latest issues stealable |
issues steal | Take over stealable issue | npx ruflo@latest issues steal #123 |
issues load | View agent workloads | npx ruflo@latest issues load |
issues rebalance | Redistribute work evenly | npx ruflo@latest issues rebalance --dry-run |
issues board | Visual board view | npx ruflo@latest issues board |
Visual Board View
bashnpx ruflo@latest issues board
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β CLAIMS BOARD β βββββββββββββββββ¬ββββββββββββββββ¬ββββββββββββββββ¬ββββββββββββββββββββββ€ β UNCLAIMED β ACTIVE β STEALABLE β COMPLETED β βββββββββββββββββΌββββββββββββββββΌββββββββββββββββΌββββββββββββββββββββββ€ β #127 Add auth β #123 Fix bug β #120 Refactor β #119 Update docs β β #128 Tests β (coder-1) β (stale 2h) β #118 Security fix β β β #124 API work β β #117 Performance β β β (reviewer) β β β βββββββββββββββββ΄ββββββββββββββββ΄ββββββββββββββββ΄ββββββββββββββββββββββ
Handoff Workflow
When you need to pass work to someone else:
bash# 1. Request handoff with context npx ruflo@latest issues handoff #123 \ --to security-architect \ --reason "Needs security review" \ --progress 80 # 2. Target accepts handoff npx ruflo@latest issues accept #123 --as security-architect # 3. Work continues with full context
Load Balancing
bash# View current load npx ruflo@latest issues load # Output: # Agent | Claims | Load | Status # ---------------+--------+-------+-------- # coder-1 | 3 | 85% | π΄ Overloaded # coder-2 | 1 | 25% | π’ Available # reviewer | 2 | 50% | π‘ Normal # security-arch | 0 | 0% | π’ Available # Auto-rebalance npx ruflo@latest issues rebalance
MCP Tools
| Tool | Description |
|---|---|
claims_claim | Claim an issue |
claims_release | Release a claim |
claims_handoff | Request handoff |
claims_accept-handoff | Accept handoff |
claims_status | Update status |
claims_list | List claims |
claims_stealable | List stealable |
claims_steal | Steal issue |
claims_load | Get load info |
claims_board | Visual board |
claims_rebalance | Rebalance work |