os-backlog: skip-on-foreign-claims consumer for agent claims #335
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#335
Loading…
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?
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.
Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
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.
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)