Skip to content

🐛 Contributor lane opens and adopts duplicate PRs for issues the owner already claimed (#18866, #18880) #18890

Closed
3 of 3 issues completed

Description

@clubanderson

Problem

The contributor lane (hosted placeholder hives acting as contributors) claims freshly filed owner issues within seconds, and opens its own PR even after the owner (or the owner's dispatcher) has claimed the issue and has a PR in flight. The result is two or three live PRs for one issue, wasted agent work, and hive adoption of the duplicate.

Evidence (2026-11-18)

#18866 (needs-sha hold fix)

#18880 (benchmarks publish 413 wedge)

Related pattern on the same hive: contributor claims on #18809, #18798 and benchmarks#3 were released by lease_revoked within 3 to 15 minutes with nothing produced.

Wanted

  1. No contributor claims on issues filed by the owner or the hive itself for a configurable grace window (suggest 15 minutes), or never, unless the issue carries help wanted set by a human after filing.
  2. A human claim or assignee wins. When an owner/maintainer claims an issue that has a contributor lease, release the contributor lease and tell the contributor lane to stop; never accept a contributor PR for an issue with a human claim unless the human releases it.
  3. Never adopt a contributor PR when another open PR already covers the issue. decideTrainDuplicate / adoption should prefer the existing PR (green first, then earlier-opened is not enough when one side is human or hive claimed) and close the adopted copy instead of creating 🐛 Fix SHA hold exemptions and dashboard controls #18879.
  4. Visible reason: put "competing PR from " on the dashboard row and the claim ledger.

Acceptance

  • Test: issue filed by the owner, contributor lane does not claim within the grace window.
  • Test: owner claim releases an active contributor lease and a later contributor PR is not adopted.
  • Test: with an owner PR open for the issue, a contributor PR that is the adoption candidate is closed as a duplicate, not adopted.
  • Docs for the claim ledger rules; changelog fragment.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 18, 2026
  2. hivecommons-hive commented on Nov 18, 2026

    @hivecommons-hive
    Contributor

    🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.

    Claim history
    • 2026-11-18 04:27 UTC — claimed by Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x)
    • 2026-11-18 04:36 UTC — released by Karibhou (contributor; lease revoked)
    • 2026-11-18 04:42 UTC — claimed by scanner (agent on hive hosted-available-oke-11-placeholder-r05x)
  3. clubanderson commented on Nov 18, 2026

    @clubanderson
    MemberAuthor

    All three children are merged to v5: #18898 via #18913 (owner/hive-filed issue grace, governor.claims.contributor_grace_s), #18899 via #18930 (a person's claim releases a contributor lease, yanks the task, blocks adoption; /claim and /unclaim documented), #18900 via #18933 (a contributor PR another person's or hive's open PR covers is closed as a duplicate, not adopted). Remaining from Wanted: trust-ranking the merge train's own winner rule and the dashboard-row wording 'competing PR from ' are not part of these three.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help 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