Skip to content

[scanner] Regression test: contributor-claimed, PR-covered issue refuses a second epic-driven implementation #17302

Closed

Description

@hivecommons-hive

Part of #17292

Failure evidence. On 2026-11-08 this sequence ran to completion with no gate firing: the hive filed #17243 → contributor claim (15:11:02) → the contributor's PR #17248 covers it (15:26:49) → the claim was released lease revoked (15:27:45) → the hive's epic-driven second implementation #17250 opened (15:34:26) and merged (15:42:43).

Code locations exercised

Expected behaviour
A single end-to-end regression test replays the exact sequence against the ledger, the contributor lease hub and the PR-request watcher (with a fake GitHub client):

  1. The hive files issue N (unclaimed, help wanted).
  2. Contributor C claims N (ledger + lease).
  3. C's PR M with Closes #N opens; N derives stage/040-covered-by-pr.
  4. C's lease completes. The ledger still shows N held by C (PR-held).
  5. A hive agent working from an epic requests a PR with Fixes #N from a different principal. The request is refused, a single needs-decision-style comment naming C / #M is posted on N, and no PR is opened.

Acceptance criteria

Blocked by #17298 (target gate) and #17300 (claim kept on coverage).

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

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

    @hivecommons-hive
    ContributorAuthor

    🔓 Claim by @Karibhou released (lease revoked).

    Claim history
    • 2026-11-08 21:55 UTC — claimed by Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x)
    • 2026-11-08 22:07 UTC — released by Karibhou (contributor; lease revoked)
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

    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