Repository navigation
Closed
Closed
Copy link
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Description
Part of #17292
Failure evidence. The hive filed #17243 at 15:09:48 as the next stage of its own epic (hivecommons/crux#114) and intended to implement it, but filed it unclaimed with help wanted. A contributor took the claim 74 s later (15:11:02). The hive then implemented it anyway (#17250), overwriting the contributor's covering PR #17248.
Code locations
src/pkg/github/issue_request_watcher.go:(*Client).handleOneIssueRequest, create branch (issueCreateLabels→createIssue). A create carries no claim; ownership needs a separatehive-open-issue claimrequest (thecase "claim"branch, which applieshive/claimed-by-<agent>and runsIssueDispatchBlockReason). Between the two requests the issue is open to anyone.src/pkg/github/issue_blocked.go:helpWantedLabel.help wantedis added by the org's add-help-wanted workflow to every freshly labelled, unassigned issue, so an unclaimed self-filed issue advertises itself.bin/hive-open-issue.sh: create flags. There is no way to say "this is my own next step".
Expected behaviour
- An agent filing an issue it will work on itself claims it in the same request: an atomic create+claim (ledger claim plus
hive/claimed-by-<lane>label, withhelp wantedwithheld or removed), so there is no race window. - If the hive files an issue as
help wanted(it wants outside help), it does not implement that issue itself unless the owner says so. A later start or PR from the filing hive on that issue is refused by the target gate (sibling child for theFixes/Closestarget gate).
Acceptance criteria
- New create option (e.g.
hive-open-issue --claim) handled inhandleOneIssueRequest. The claim is recorded in the ledger and labelled in the same request; failure to claim is reported in the result, not silently dropped. - Self-filed, claimed issues do not keep
help wanted. - An issue the hive filed unclaimed is marked as filed-for-outside-help, and the filing agent's later start on it is refused.
- Tests in
src/pkg/github(watcher) andbin/test_hive_open_issue.sh(flag parsing).
— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
Metadata
Metadata
Assignees
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Activity
hivecommons-hive commentedon Nov 8, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).Claim history
scanner(agent on hive hosted-available-oke-11-placeholder-r05x)scanner(agent; holding agent relaunched)🐛 hive-open-issue: refuse the filer on hub dispatch, bind the marker …
✨ hive-open-issue: claim a self-filed next-step issue in the same req…