Repository navigation
Description
Agent Brief
Type: Task
Summary: Run the remaining seven lane scripts' entry points through .github/scripts/lib/run-main.mjs in place of their copied entry tail (part 2 of 2, part of restructuring pass #14159).
Current behavior:
Seven .github/scripts/pr-unblock/ scripts still end with their own copy of the 11-line entry tail (if (process.argv[1] && import.meta.url === pathToFileURL(...)), main(...), then ::error::<label> failed):
main(process.env):gate-recheck.mjs:83,lane-hold.mjs:98,publish-feedback.mjs:1052,resolve-threads.mjs:196,verify-notes.mjs:362.- A different label:
dispatch.mjs:959,refine-event-dispatch.mjs:104.
Desired behavior:
Each of the seven calls runAsScript(metaUrl, label, run) from ../lib/run-main.mjs in place of its tail. Blocked by part 1, which creates lib/run-main.mjs and adds its floor row, so this item has no floor change.
Files:
.github/scripts/pr-unblock/gate-recheck.mjs.github/scripts/pr-unblock/lane-hold.mjs.github/scripts/pr-unblock/publish-feedback.mjs.github/scripts/pr-unblock/resolve-threads.mjs.github/scripts/pr-unblock/verify-notes.mjs.github/scripts/pr-unblock/dispatch.mjs.github/scripts/pr-unblock/refine-event-dispatch.mjs
Key interfaces:
- Each script runs
mainonly when executed directly, with the same arguments, and on failure prints the same::error::<label> failedline, with its own label, and exits with the same code as now. - Importing any of these modules from a test still runs nothing.
Acceptance criteria:
- None of the seven scripts keeps its own entry tail; each uses
lib/run-main.mjs. - Behavior is unchanged: the same outputs,
::error::lines and exit codes for the same inputs. - The diff edits only the listed files and the lines of a test that assert on them when the change breaks that assertion.
- The pull request stays within 400 changed lines and 15 hand-edited files.
-
python3 -I scripts/sync-hold-floor.py --checkpasses. -
test_merge_holds_sync.py,test_babysit_risk.py,.github/actions/resolve-config/callers.test.mjsand the node suite of.github/scripts/pr-unblock/pass. - ci-status is green.
Out of scope:
lib/run-main.mjsitself, other duplication, eval cases, fixtures, and skill and agent text.
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Work status
needs-triage
Priority
low
Activity
melodic-automation-lanes commentedon Nov 12, 2026
{"v":1,"actor_id":337595936,"title_sha256":"fd1563aa0e672e1e875791bdbf41b8332d0eac7d813f760a954e63f257369cfd","body_sha256":"c4526fc237d49884f7dfb837d022997c3f7f76e27b4d6613ddf9debb347a1b3d"}
github-actions commentedon Nov 12, 2026
melodic-automation-lanes commentedon Nov 12, 2026
The work-resolve-issue run that
agent-readystarted failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and addedagent-readyback to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.github-actions commentedon Nov 12, 2026
github-actions commentedon Nov 12, 2026
already-leased: another session holds a live lease on #15454, so run https://github.com/melodic-software/claude-code-plugins/actions/runs/43158392653 ran no model.
melodic-automation-lanes commentedon Nov 12, 2026
The work-resolve-issue run that
agent-readystarted ended over 3 hours ago with no report and no pull request. work-unblock has re-fired it 2 time(s) on lane workflow files 429cd22fd603025d6f20a201142b2b2a87bfd019-34a45f0342aceeb68ac397a87fb982a9262f7484 and keeps re-firing it, waiting longer each time, up to 24 hours, until a run reports. This is a fault in the lanes, not in the issue; this comment is updated on each re-fire.github-actions commentedon Nov 12, 2026
github-actions commentedon Nov 12, 2026