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 2 of 2) #14491
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 2 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.
Intake triage did not triage this issue after 3 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: #14490
Understood: a behavior-preserving simplification of the second half of plugins/guardrails/lib/powershell/ps-command.sh, with a changelog fragment for guardrails. The scope and acceptance criteria are exact. It is part 2 of 2 and touches the same file as part 1 (#14490), which is still open, so it should wait for that one to merge. Nothing is missing from the issue. I found no duplicate or merged fix.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commented on Nov 10, 2026
The work-resolve-issue run that agent-ready started 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 added agent-ready back 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.
The work-resolve-issue run that agent-ready started 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 added agent-ready back 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.
Activity
github-actions commentedon Nov 10, 2026
Intake triage did not triage this issue after 3 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: #14490
Understood: a behavior-preserving simplification of the second half of
plugins/guardrails/lib/powershell/ps-command.sh, with a changelog fragment forguardrails. The scope and acceptance criteria are exact. It is part 2 of 2 and touches the same file as part 1 (#14490), which is still open, so it should wait for that one to merge. Nothing is missing from the issue. I found no duplicate or merged fix.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 10, 2026
Not admitted to the issue lane yet: blocker #14490 is not closed by a listed human or a merge.
melodic-automation-lanes commentedon Nov 11, 2026
{"v":1,"actor_id":337595936,"title_sha256":"b361eca4f2d3c71636123d92983795ad4be3e19fa2a723b50fe1f689f0542aa5","body_sha256":"5effb7e2b6a6c79a826a3ef28221ea293fb943c16c3b15cdefd150f724d99f68"}
github-actions commentedon Nov 11, 2026
github-actions commentedon Nov 11, 2026
melodic-automation-lanes commentedon Nov 11, 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.melodic-automation-lanes commentedon Nov 11, 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 11, 2026