forgeplan_claims
Returns every non-expired claim in .forgeplan/claims/, sorted by expiry ascending
(most-urgent first). Skips claims past their TTL - they are considered practically
released. Read-only and lock-free by design (audit-driven): an orchestrator polling at
1 Hz must not serialize sub-agent writes. Malformed claim files are skipped with a
counter so health checks can surface them.
Category: Multi-agent
When an agent calls it
Section titled “When an agent calls it”- Orchestrator at every dispatch tick: “what work is already in flight?”.
- Sub-agent before claiming: “did another worker beat me to this artifact?”.
- Health checks: any non-zero
skippedcount signals corrupt claim files worth investigating. - Session-start protocol after a crash: list orphan claims, force-release the dead ones.
Input parameters
Section titled “Input parameters”| Name | Type | Required | Description |
|---|---|---|---|
active | bool | no (default false) | Reserved for future filters; currently always returns only live claims. |
Schema source: crates/forgeplan-mcp/src/types.rs::ClaimsListParams
Returns
Section titled “Returns”{ "count": 2, "skipped": 0, "claims": [ { "id": "PRD-057", "agent_id": "worker-1", "claimed_at": "2026-04-26T10:00:00Z", "expires_at": "2026-04-26T10:30:00Z", "note": "implementing FR-003" }, { "id": "RFC-012", "agent_id": "worker-2", "claimed_at": "2026-04-26T10:05:00Z", "expires_at": "2026-04-26T11:05:00Z", "note": null } ], "_next_action": "2 active claims. Use `forgeplan_dispatch --agents N` to plan ..."}skipped > 0 means at least one claim file failed to parse or exceeded the size cap -
the audit-flagged silent-drop bug now surfaces explicitly. Run forgeplan health to
identify the offender.
Example invocation
Section titled “Example invocation”{}(active defaults to false - the field is reserved; you do not need to pass it.)
Typical sequence
Section titled “Typical sequence”forgeplan_claims- see who is busy.forgeplan_dispatch- plan around the live claims.- Hand each bucket to a sub-agent that calls
forgeplan_claim.
CLI equivalent
Section titled “CLI equivalent”forgeplan claims - same data; orchestrators that drive workers via shell
poll this command.
See also
Section titled “See also”forgeplan_claim- acquire a claimforgeplan_release- drop a claimforgeplan_dispatch- multi-agent work plan (full PRD-057 protocol)