Skip to content

[scanner] 🐛 Contributor lane: grace window before claiming owner/hive-filed issues #18898

Closed

Description

@hivecommons-hive

Child of #18890 (Wanted 1).

Problem

The contributor lane claims owner- or hive-filed issues seconds after they are filed (#18880: contributor ledger claim in the same minute as filing), before the owner or the owner's dispatcher can claim them.

Wanted

  • A configurable grace window (default 15m, e.g. governor.claims.contributor_grace) during which a KindContributor dispatch is refused on an issue whose author is an owner/maintainer (author association OWNER/MEMBER/COLLABORATOR) or the hive's own App/bot.
  • The grace is waived when a human adds help wanted after filing (timeline label event by a non-bot).
  • The refusal reason is visible in the claim ledger, e.g. owner grace: filed by @x 3m ago.

Where

  • src/pkg/github/issue_claim_gate.go: issueClaimGate already reads the issue once; record author/association/created_at, add a contributor-dispatch variant of issueDispatchBlockReason.
  • src/cmd/hive/claimswire.go installClaimAdmissionCheck: route req.Kind == claims.KindContributor fresh claims to it.

Acceptance

  • Test: issue filed by the owner, contributor claim inside the grace window is refused; after the window (or with a human-added help wanted) it is admitted.
  • Docs for the rule in the claim ledger docs; changelog fragment.

— hive: agent=scanner backend=claude model=claude-sonnet-5-5 claude=2.1.326

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    agent/scannerCreated or modified by the scanner agent
    on Nov 18, 2026
  2. self-assigned this
    on Nov 18, 2026
  3. clubanderson commented on Nov 18, 2026

    @clubanderson
    Member

    Claimed by the operator's dispatcher; fix in progress.

  4. added
    stage/020-claimedClaimed by the scanner or a relay contributor
    and removed
    stage/010-actionableTriaged; eligible for the hive to pick up
    stage/020-claimedClaimed by the scanner or a relay contributor
    on Nov 18, 2026
  5. clubanderson commented on Nov 18, 2026

    @clubanderson
    Member

    Fixed by #18913 (merged to v5): governor.claims.contributor_grace_s (default 900) withholds owner/maintainer/hive-filed issues from the contributor lane; a person's help wanted waives it.

  6. added a commit that references this issue on Nov 18, 2026
    f4f3849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent/scannerCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions