Skip to content

Issue-side comment churn: claim/release ledger, needs-decision upsert, reviewer no-findings suppression #16433

Closed

Description

@clubanderson

Problem

A 48h audit (2026-11-01 → 2026-11-03) of hive bot traffic shows the bot still posts 1264 comments / 48h against 168 human comments (7.5 : 1). The earlier spam reducer (#15876, follow-up #15919) fixed the PR-side status churn (stage-regressed, review-evidence, human-071-note are all at 0). What remains is issue-side churn that needs edit-in-place / dedupe:

family comments / 48h notes
hive:claim + hive:release (cmd/hive/claimswire.go, pkg/claims/comments.go) 334 (26% of bot volume) 194 claims + 140 releases; 19 items got 2–3 claims; release reasons lease_revoked 88, holding_agent_relaunched 47 — each relaunch/revoke cycle appends a fresh release + claim pair
hive:stage-needs-decision (pkg/stagelabels/human.go, automerge_stage_human.go) 40 9 items with 2–4 copies; re-posted on each decision cycle instead of edited
hive-sentinel (pkg/github/sentinel_sweep.go) 41 items double-stamped when the head moves
no-findings reviews from agent=reviewer (20) / reviewer-2 (12) 32 adjudicator and ci-maintainer lanes are clean; the reviewer lane's verbose "Looks correct to me … No findings." bodies slip past the one-line acknowledgement suppression

Proposal

  1. Claim ledger: one per-issue <!-- hive:issue-claim-ledger --> comment edited in place on every claim / takeover / release, carrying exactly one machine-readable hive:claim or hive:release marker for the current state (so pkg/issueclaim.Latest and every other marker reader keep working) plus a compact history of the last 8 transitions. A new comment is only posted to @-mention a human holder the ledger has not named before. Knob: github.notifications.claim_ledger (default on).
  2. Needs-decision upsert: edit the existing hive:stage-needs-decision / hive:stage-ready-for-human-merge entry comment in place (with an "updated" line) instead of posting another.
  3. Sentinel: when the head moves, rewrite the hive's existing sentinel comment for the new head instead of stamping a second one.
  4. Reviewer-lane no-findings: in quiet mode, also suppress clean reviews whose verdict is approve with zero findings when the body says so, and fold the verdict into the PR's hive:status comment section.

Goal: cut these families by ≥70% without losing information.

Activity

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

    @hivecommons-hive
    Contributor

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

  3. hivecommons-hive commented on Nov 3, 2026

    @hivecommons-hive
    Contributor

    🔓 Claim by @mrbobbytables released (lease revoked).

  4. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor

    @clubanderson this issue was closed by @hivecommons-hive[bot] as completed.

    If this was closed by a merged PR, the fix only takes effect once it ships in a tagged release and your deployment updates to it — check your running version against the fix before concluding the fix failed.

    If you are still seeing the problem, comment /reopen and it will be reopened for you — you do not need write access. Please add what you are still observing (running version, logs, steps) so it is not closed the same way again.

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

    enhancementNew feature or requesthelp 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