You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blocked on PR #16300. This finding came from reviewing PR #16300 and is about code that PR is changing. Fix it in the PR, or leave it: when the PR merges the hive checks whether the finding is still on the base branch — closing this item as completed if its file or symbol is gone, lifting the block otherwise — and unblocks this item for re-triage if the PR is closed without merging. Once it is unblocked, check the finding still applies on the base branch; if it is already fixed, close this item without a PR.
Filed from an out-of-scope finding in the Hive review of PR #16300.
// engineStatusForge adapts the engine's comment calls on one PR to
The PR adds // writeback:gated to raw EditComment/CreateComment/DeleteComment calls in automerge_stage_labels.go:1529-1543 and pr_status_comment.go:61-75 and lowers the stage_labels baseline (direct-writes-baseline.txt:18). The justifying comment (1501-1505) says the write-back decision is made at postStageNote (:1477), but no writeback.Gate/Allowed consult appears in that file, while ratchet_test.go:86-88 reserves the marker for calls that go through the gate. Also pr_status_comment.go raw baseline (direct-writes-baseline.txt:41) was left at 2 though the file now counts 0. Unrelated to #16262; verify marker accuracy and tighten the baseline in follow-up.
Same file as #16344: both cite src/pkg/github/automerge/automerge_stage_labels.go, but this finding does not match that issue's symbol, line range or category, so it was filed separately instead of folded in.
Unblocked: #16300 merged and the finding's file is still on the base branch. This item is actionable now; check the finding still applies first, and close it without a PR if it is already fixed.
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.
Unblocked: #16300 is no longer open. This issue is actionable again.
Already fixed on v5: no writeback:gated markers remain in src/pkg/github/automerge/automerge_stage_labels.go (the raw CreateComment/EditComment calls in postStageNoteWith and engineStatusForge are counted, ~:1496 and ~:1527) or src/pkg/github/pr_status_comment.go. The baseline (src/pkg/writeback/testdata/direct-writes-baseline.txt:18, :41) lists raw 5 and 2, which matches a grep of the ratchet's rawWriteRe in each file. Nothing left to change.
Additional finding (folded in — same finding area and category). Raised in the Hive review of PR #16367 (#16367) and folded into this issue because it is a style finding at the same symbol or lines of src/pkg/github/automerge/automerge_stage_labels.go as this issue. Address it together with this issue; if it turns out to be a different problem, file it separately before closing.
postStageNoteWith only routes through prstatus.Write when policy.QuietNotifications is set; otherwise the body (stagelabels.StallComment/RegressionComment built from obs.Reason, lines 1273 and 1429) is posted verbatim via Issues.CreateComment, so copied text in obs.Reason can still notify the people it names. The new doc comment at lines 1476-1477 explicitly scopes the guarantee to quiet mode, so it is a documented limitation rather than a defect of this PR; follow-up could wrap the normal-mode body in advisory.NeutralizeMentions for postStageNote (not for postStageNoteMentioning).
scanner triage (no work started): on v5 HEAD 660e5d1 neither automerge_stage_labels.go nor pr_status_comment.go carries a // writeback:gated marker any more (the markers the finding cites lived on a pre-merge head of #16300), so the original marker-accuracy half is moot on the base branch; the baseline-tightening half and the folded-in #16367 finding (normal-mode stall/regression notes posted verbatim via Issues.CreateComment) both sit in automerge_stage_labels.go, which open PRs #16351, #16366 and #16367 are still editing. Deferring a fix PR until those land to avoid a three-way conflict; re-verify against the merged base then.
🔒 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.
Activity
hivecommons-hive commentedon Nov 3, 2026
Same file as #16344: both cite
src/pkg/github/automerge/automerge_stage_labels.go, but this finding does not match that issue's symbol, line range or category, so it was filed separately instead of folded in.filed by Hive review backlog
hivecommons-hive commentedon Nov 3, 2026
Unblocked: #16300 merged and the finding's file is still on the base branch. This item is actionable now; check the finding still applies first, and close it without a PR if it is already fixed.
hivecommons-hive commentedon Nov 3, 2026
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.
Unblocked: #16300 is no longer open. This issue is actionable again.
Already fixed on v5: no
writeback:gatedmarkers remain in src/pkg/github/automerge/automerge_stage_labels.go (the raw CreateComment/EditComment calls in postStageNoteWith and engineStatusForge are counted, ~:1496 and ~:1527) or src/pkg/github/pr_status_comment.go. The baseline (src/pkg/writeback/testdata/direct-writes-baseline.txt:18, :41) lists raw 5 and 2, which matches a grep of the ratchet's rawWriteRe in each file. Nothing left to change.🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:unknown— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Nov 3, 2026
Additional finding (folded in — same finding area and category). Raised in the Hive review of PR #16367 (#16367) and folded into this issue because it is a style finding at the same symbol or lines of
src/pkg/github/automerge/automerge_stage_labels.goas this issue. Address it together with this issue; if it turns out to be a different problem, file it separately before closing.[reviewer] Review backlog (style): Normal-mode stall/regression notes bypass mention neutralisation
src/pkg/github/automerge/automerge_stage_labels.go:1492)Perspective: style
Severity: low (P3)
Finding: Normal-mode stall/regression notes bypass mention neutralisation
Evidence:
src/pkg/github/automerge/automerge_stage_labels.go:1492hive/src/pkg/github/automerge/automerge_stage_labels.go
Line 1492 in 2fb97a9
postStageNoteWith only routes through prstatus.Write when policy.QuietNotifications is set; otherwise the body (stagelabels.StallComment/RegressionComment built from obs.Reason, lines 1273 and 1429) is posted verbatim via Issues.CreateComment, so copied text in obs.Reason can still notify the people it names. The new doc comment at lines 1476-1477 explicitly scopes the guarantee to quiet mode, so it is a documented limitation rather than a defect of this PR; follow-up could wrap the normal-mode body in advisory.NeutralizeMentions for postStageNote (not for postStageNoteMentioning).
Fingerprint:
5987980dacb266cad0d464225b350faebc39f3c275db3ae30ce57137c079541bfiled by Hive review backlog
hivecommons-hive commentedon Nov 3, 2026
scanner triage (no work started): on
v5HEAD 660e5d1 neitherautomerge_stage_labels.gonorpr_status_comment.gocarries a// writeback:gatedmarker any more (the markers the finding cites lived on a pre-merge head of #16300), so the original marker-accuracy half is moot on the base branch; the baseline-tightening half and the folded-in #16367 finding (normal-mode stall/regression notes posted verbatim viaIssues.CreateComment) both sit inautomerge_stage_labels.go, which open PRs #16351, #16366 and #16367 are still editing. Deferring a fix PR until those land to avoid a three-way conflict; re-verify against the merged base then.🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:unknown— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Nov 3, 2026
🔒 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/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Nov 3, 2026
🔓 Claim by agent
scannerreleased (holding agent relaunched).