You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
infra: Claim bot labels and assigns claimants, expires stale claims #909
coordination.md §2 tells claimants to add the claimed label, but only triage-or-higher accounts can label. Outside contributors' claims (#777, #809, #811, #815, #817) never got the label, so the grind bot, which skips only labeled issues, can duplicate their work. The 48 h expiry in §3 is also honor-system: nothing removes stale labels.
Plan
A claim bot: .github/workflows/claim-bot.yaml (issue_comment + hourly schedule, GITHUB_TOKEN with issues: write), logic in a stdlib uv script tools/claim-bot/claim_bot.py with a pure decide() unit-tested in ci/test_claim_bot.py.
Claiming: comment → add claimed, assign the commenter. Refuse (reply) when someone else holds a fresh claim or the commenter already holds 2.
Releasing from the claimant → remove label and assignee.
Taking over stale claim from @x → reassign only if x's claim is stale.
/reassign @y from MEMBER/OWNER/COLLABORATOR → reassign regardless.
Stale = no claimant comment on the issue and no push/comment/review on their linked PR for 48 h, or 8 h on issues labeled critical. Warn 2 h before expiry. Hourly sweep expires stale claims.
claim-locked label: the bot never touches the issue.
State is derived from the issue timeline and comments; no hidden markers.
Docs: coordination.md §2–3, port issue template, obs-worker skill (a fresh Claiming: comment counts as a claim even without the label).
One PR (infra/claim-bot): RED commit with ci/test_claim_bot.py against a stub, GREEN commit with the script, workflow and doc updates.
First PR expected today.
Activity
zackees commentedon Oct 15, 2026
Claiming: #909
infra/claim-bot): RED commit withci/test_claim_bot.pyagainst a stub, GREEN commit with the script, workflow and doc updates.First PR expected today.
infra: Claim bot labels and assigns claimants, expires stale claims (o…
infra: Drop the claim bot's per-account claim limit (#923)