Repository navigation
Description
No related issue: found by the GitHub Support monitoring session while reading lane failures.
Problem
When the lane broker refuses a token because a workflow changed on main between dispatch and the token request, the lane run ends red. The refusal is the broker check working as intended. When a later run on the same PR succeeds, the red run is noise in the failure feed and in lane telemetry.
Both refusals are on #7858 (pr-unblock address-feedback):
- https://github.com/melodic-software/claude-code-plugins/actions/runs/39081271726 (00:02Z):
workflow-modified: .github/workflows/pr-unblock.yml differs from refs/heads/main, after 011f989 changed that workflow. - https://github.com/melodic-software/claude-code-plugins/actions/runs/39085526323 (01:10Z), step "Request the lane token":
lane-token-denied: the broker answered 403 with reason workflow-modified: .github/workflows/pr-run-activity-write.yml differs from refs/heads/main. The run resolved main to b94b54c; fix(pr-pipeline): treat a trusted reply on an escalated thread as direction #7865 (28c01e9) changed that workflow before the 01:11:14Z token request.
What recovered the 01:10Z refusal
The green follow-up https://github.com/melodic-software/claude-code-plugins/actions/runs/39085810404 was not a pr-merge re-fire from #7853. pr-merge.yml had no run between 01:11:00Z and 01:15:20Z. pr-feedback-dispatch run https://github.com/melodic-software/claude-code-plugins/actions/runs/39085789409 dispatched it after a new push to #7858, and its log says:
dispatched #7858 head 5f2bbda upstream run 39085754041 workflow_run_id=39085810404
So the new push on the PR is what recovered it. Whether #7853's re-fire triggers on this refusal is still unverified.
Fix
- Report a
workflow-modifiedrefusal as neutral, not failure, when a later run on the same PR and lane supersedes it, whether that run is a re-fire or a fresh dispatch. - Keep the broker check unchanged.
- Keep failure for any refusal that nothing supersedes.
- Confirm that the fix(pr-pipeline): re-fire PR lane runs the broker refused as workflow-modified #7853 re-fire path fires for a
pr-unblockrefusal, or say why it did not here.
Verification
- A forced
workflow-modifiedrefusal followed by a re-fire yields a neutral refused run and a green re-fire. - A refusal with no re-fire stays failure.
Activity
github-actions commentedon Oct 18, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
#7895 (comment)
This decision settles the open question. The remaining work is a bounded change to the check-run decision logic and its tests. No duplicates found among open issues.
Automated triage, applied by the lanes App.
kyle-sexton commentedon Oct 31, 2026
Decision recorded.
The body's open question is answered at origin/main: the #7853 re-fire covers a
pr-unblockrefusal once per version of the workflow file the broker named (.github/scripts/pr-merge/refire-refused.mjs:1-6,:26-30,:83-91), and the monitor feed already leavesworkflow-modifiedout (.github/scripts/maintenance-monitor-signals/signals.mjs:110-115). What remains is the lane check run, which still postsfailurefor that refusal (.github/actions/report-check-run/decide.test.mjs:458-471); the broker check stays unchanged. Agents decided this on evidence under standing direction §1.Done when
.github/actions/report-check-run/decide.mjspostsneutralfor aworkflow-modifiedrefusal that the re-fire path will supersede (a lanerefire-refused.mjsre-fires, first refusal at that workflow file version), and keepsfailurefor any other refusal and for a repeat refusal at a version already re-fired.decide.test.mjshas a case for each: a supersedableworkflow-modifiedrefusal postsneutral, and a refusal nothing supersedes postsfailure.request-lane-token's refusal detection are unchanged.melodic-automation-lanes commentedon Oct 31, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: The lane check run posts neutral, not failure, for a workflow-modified token refusal that the pr-merge re-fire will supersede, and keeps failure for every other refusal.
Acceptance criteria
External state: none
Dependencies
Related work
Sources read
Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is
**Decision recorded.**, which sends the issue back through intake.github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026
melodic-automation-lanes commentedon Oct 31, 2026
The work-resolve-issue lane stopped partway through this issue and needs a person.
Reason:
designWhy, in the run's own words:
What the run says it did not do:
Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41171155948
To retry, remove
needs-humanand addagent-readyagain.kyle-sexton commentedon Oct 31, 2026
Decision recorded: closing as not planned. The 2026-10-31 "post
neutral" decision is withdrawn. It was an agent decision under standing direction section 1, not the owner's, and its premise fails against the code. The issue's intent, keeping an expected refusal out of the failure feed, is already met, so no intent changes. Checked atorigin/mainby the pr-merge session.Why
neutralcannot shiprefire-refused.mjs:245-247links a dispatched run to its PR only through a check on the head withconclusion === "failure". The stop comment on this issue is correct.success,skipped, andneutral." This repository's own gates agree:clear-escalations.mjs:228(PASSING) andpr-unblock/gate-source.mjs:227(SILENT).decide()cannot know the answer. Whether a re-fire will happen depends on marker comments, main's blob SHA and PR eligibility, none of which it receives. Each way of supplying them adds a new contract between the report job and pr-merge, to relabel a check that the re-fire replaces anyway.Why nothing else is needed
signals.mjs:110-115,EXPECTED_REASONS.pr-merge.yml:92, every 15 minutes), and required checks must pass on the latest commit SHA, so the old head's failure stops mattering.failure, which is what this issue asked for.pr-unblockrefusals (refire-refused.mjs:1-6).Not covered: the body also names lane telemetry.
workflow-modifiedappears in nomorning-brieffile, so such a run there is not told apart from another failed run. How often that happens was not measured.This was generated by AI.