Repository navigation
refactor(intake): stop writing queue-state labels in apply-verdict and refine - #13995
Conversation
apply-verdict and refine no longer take the queue-state labels (status: ready, status: confirmed, needs-triage) off an issue. The Work status field write in the same branch replaces them, and the status reader drops a queue-state label once the field is set. Hold-label removals (status: needs-decision, needs-human, status: needs-info) stay: the reader keeps a hold label on top of the field, and the triage run still applies them as raw labels. The agent-ready removals in the monitor and audit-lane digests stay until the readers move off the agent-ready label. Refs: #13486 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…status-label-writes
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #13995, incremental (4bd7197 → 99c9a8c)I found no security issues in this push. critical-findings: 0 Scope. This was an incremental review. I read every hunk of both files in the incremental list: What changed. In What I checked.
Owner threat model. Even if this push had weakened a person-approval hold, that would be a named friction hold under the throughput phase, not a finding. It does not weaken one: as above, the person's label still holds on top of the App's field write. Settled threads. The single settled thread (refine.mjs, stale queue label when no field write happens) is marked Embedded text. Nothing in the PR context or the settled threads reads as an instruction to the lane. Spend. None. The change starts no new runs and touches no billing. |
|
claude-review reviewed Code review (incremental, blocking only): PR #13995 at
|
An inexact refinement skipped its Work status write whenever a person held the issue at needs-info or needs-spec. With the hold on a label alone and the field unset, the reader returns the labels unchanged, so a stale status: ready stayed live and won once the person lifted the hold. The refinement now writes needs-owner-decision when the person's hold is a label only and the field holds no trusted state: the field write hides the stale queue label, and the hold label still holds on top of it. A person's hold on the field itself is still left alone, since an App needs-decision there would let a later exact refinement lift it as the App's own. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgc4pJaXmFWFcgoa4NW
Post-merge mutation testingKilled 6, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Refs: #13486
Summary
Part of #13486 done-when 3 ("No .github or plugin code writes an issue status label"), outside Lane 5's core: intake's apply-verdict and refine stop writing queue-state labels and record the state through the Work status field only.
Fix
.github/scripts/intake-triage/apply-verdict.mjs: the label DELETEs of the queue-state labelsstatus: ready,status: confirmedandneeds-triageare removed (filtered byQUEUE_LABELS, :540 and :713).writeState()(:718) already sets Work status; the plan,waitsand the state calculation are unchanged..github/scripts/intake-triage/refine.mjs: the inexact branch'sstatus: readyandstatus: confirmedDELETEs are removed; its existingsetStatus(number, "needs-owner-decision")now also runs when a person's needs-info or needs-spec is a label only over an unset field (99c9a8c), so the field hides the stale queue label while the hold label still holds; a person's hold on the field itself is still left alone. And the parked-at-confirmedstatus: confirmedDELETEs byretriage(), which sets needs-triage (:792, :842).Verification
.githubchanged, so none is required).Remaining
These stay for Lane 5 (#13486's holder), since removing them now would break a reader:
status: needs-decision,needs-human,status: needs-info) in apply-verdict's refused and given-way holds and refine.mjs:799 and :886:read-status.mjs:42-53still keeps hold labels on top of the field, and the triage model still adds them as plain labels (intake-triage.yml:289-300).agent-readyDELETEs inmaintenance-monitor-signals/monitor.mjs:127andmaintenance-audit-lane-runs/file-findings.mjs:186:read-status.mjs:23-24,:52-53andwork-unblock/label-unblocked.mjs:626,:1296still read the label.Related
session: automation-lanes
🤖 Generated with Claude Code