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
{{ message }}
Repository navigation
Simplify the ps-command.sh guardrails plugin code (part 1 of 2) #14490
Type: Task Summary: Simplify these 1 files without changing their behavior (part of the /simplify epic).
Current behavior:
The files below work as they do on main. Their code changes; what they do does not.
Desired behavior:
Review the files through /simplify's four checks (reuse of existing helpers, simplification, efficiency, right level of abstraction), using subagents if useful, and apply the fixes. The files end up shorter and clearer, and whatever runs them gets the same results.
Files:
plugins/guardrails/lib/powershell/ps-command.sh
Key interfaces:
Outputs, exit codes, written files and printed messages of these files: unchanged.
Command-line flags, exported names and anything another file calls: unchanged.
Acceptance criteria:
Behavior is unchanged: same outputs, exit codes, written files, printed text, command-line flags and exported names; no listed file renamed, moved or deleted.
The diff edits only the listed files, the lines of a test that assert on them when the change breaks that assertion, and changelog fragments.
The pull request stays within 400 changed lines and 15 hand-edited files (generated shared copies and changelog fragments not counted); anything beyond goes under ## Follow-ups in the pull request body.
ci-status is green.
Each touched plugin (guardrails) has a fragment from scripts/new-changelog-fragment.sh <plugin> patch whose body is ### Changed and the line "Internal simplification, no behavior change."
Only the jobs or functions that start in range 1 of 2 equal line ranges of the file, measured when this part starts, are changed.
Out of scope:
Moving code between files or deduping across them: the sub-epic's restructuring pass does that after these chunks merge.
Tests beyond the asserted lines a change breaks, eval cases, fixtures, and skill and agent text.
This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 42602451681, the work-resolve-issue run that agent-ready started, before it finished; that run ended at 2026-11-09T11:20:13Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.
Intake triage did not triage this issue after 2 dispatches, so the sweep no longer dispatches it and set its Work status to needs-triage for a maintainer. Triage it by hand, and read the runs for why intake did not:
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
I understood this as a behavior-preserving simplification of the first half of plugins/guardrails/lib/powershell/ps-command.sh, with a changelog fragment for guardrails. The scope, acceptance criteria and out-of-scope list are exact, so nothing is missing. #14491 covers the second half of the same file. It is a sibling chunk, not a duplicate. I found no merged pull request that already does this.
Activity
melodic-automation-lanes commentedon Nov 9, 2026
{"v":1,"actor_id":337595936,"title_sha256":"c9d6df1cdaf807554220c662788e538f777c919031e20cd750e39073927088b0","body_sha256":"4327b063d058414b922ba822673889374dfcf13316e041da237c3cdcc4e2f3aa"}
melodic-automation-lanes commentedon Nov 9, 2026
This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 42602451681, the work-resolve-issue run that
agent-readystarted, before it finished; that run ended at 2026-11-09T11:20:13Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last addedagent-readyor a run last reported, work-unblock waits longer before each one, up to 24 hours.github-actions commentedon Nov 9, 2026
github-actions commentedon Nov 10, 2026
Intake triage did not triage this issue after 2 dispatches, so the sweep no longer dispatches it and set its Work status to needs-triage for a maintainer. Triage it by hand, and read the runs for why intake did not:
github-actions commentedon Nov 10, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
I understood this as a behavior-preserving simplification of the first half of
plugins/guardrails/lib/powershell/ps-command.sh, with a changelog fragment forguardrails. The scope, acceptance criteria and out-of-scope list are exact, so nothing is missing. #14491 covers the second half of the same file. It is a sibling chunk, not a duplicate. I found no merged pull request that already does this.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 11, 2026
{"v":1,"actor_id":337595936,"title_sha256":"c9d6df1cdaf807554220c662788e538f777c919031e20cd750e39073927088b0","body_sha256":"4327b063d058414b922ba822673889374dfcf13316e041da237c3cdcc4e2f3aa"}
github-actions commentedon Nov 11, 2026