os-backlog: skip-on-foreign-claims consumer for agent claims #335

Closed
opened 2026-08-10 18:56:04 +00:00 by jared · 3 comments
Owner

Follow-up to #316. Checkout now stamps Agent: <CC_OS_AGENT_ID> into start comments, but nothing yet reads agent identity to skip issues claimed by another agent. Design and implement the consumer (wakeup-poll and/or checkout pre-claim check) that parses the claim comment and skips foreign claims.

Follow-up to #316. Checkout now stamps **Agent:** <CC_OS_AGENT_ID> into start comments, but nothing yet reads agent identity to skip issues claimed by another agent. Design and implement the consumer (wakeup-poll and/or checkout pre-claim check) that parses the claim comment and skips foreign claims.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
Author
Owner

Occurrence: Refuse a claim on a ticket that another agent holds
Seen: plugins/os-backlog/lib/backlog/checkout.rb
Run: Session: 9d8c2e15-00c1-4dec-b177-e749fa05ec67
Adds: All agents share one assignee, ENV["USER"], so assignee cannot tell agent A from agent B. A refusal must compare the Agent: line of the last ## Start comment. A crashed agent also needs a way to give up its claim. Do this after #1619, which moves claim onto the Claim object. Design record: docs/system-design-format/proof/2026-11-06-os-backlog-domain-objects.md, section 5.

Occurrence: Refuse a claim on a ticket that another agent holds Seen: plugins/os-backlog/lib/backlog/checkout.rb Run: Session: 9d8c2e15-00c1-4dec-b177-e749fa05ec67 Adds: All agents share one assignee, ENV["USER"], so assignee cannot tell agent A from agent B. A refusal must compare the **Agent:** line of the last ## Start comment. A crashed agent also needs a way to give up its claim. Do this after #1619, which moves claim onto the Claim object. Design record: docs/system-design-format/proof/2026-11-06-os-backlog-domain-objects.md, section 5.
Author
Owner

Resolution

Done: Closed without a build. The claim consumer has no work to protect: no caller uses ticket claim, and no double claim has occurred. Replaced by #1633 (typed Comment objects with Claim records: agent_id, session_id, implementation_id, claimed_at).

Evidence: Survey of all 3,063 jared/cc-os comments (2026-06-30 to 2026-11-07): 0 claim comments, 0 tickets with two claims. No caller of 'os-backlog ticket claim' in os-sdlc, os, or os-backlog skills. Ticket text was stale: checkout ignores CC_OS_AGENT_ID (tests/checkout_test.rb:114) and takes --agent-id.

Follow-ups: #1633 (ticket-skeptic VERDICT: CREATE)

## Resolution **Done:** Closed without a build. The claim consumer has no work to protect: no caller uses ticket claim, and no double claim has occurred. Replaced by #1633 (typed Comment objects with Claim records: agent_id, session_id, implementation_id, claimed_at). **Evidence:** Survey of all 3,063 jared/cc-os comments (2026-06-30 to 2026-11-07): 0 claim comments, 0 tickets with two claims. No caller of 'os-backlog ticket claim' in os-sdlc, os, or os-backlog skills. Ticket text was stale: checkout ignores CC_OS_AGENT_ID (tests/checkout_test.rb:114) and takes --agent-id. **Follow-ups:** #1633 (ticket-skeptic VERDICT: CREATE)
jared closed this issue 2026-11-07 21:41:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#335
No description provided.