@soleur/opencode 3.409.0 → 3.409.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.409.0",
3
+ "version": "3.409.1",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,7 +35,7 @@ Review here means this agent pipeline (`rf-never-skip-qa-review-before-merging`,
35
35
 
36
36
  ## Main Tasks
37
37
 
38
- **Scan gate, before every seat including the design-validity pass and `--fix-round`.** From the repo root, run `bash "${CLAUDE_PLUGIN_ROOT}/skills/review/scripts/review-scan-gate.sh"` on the path list for the range under review. A full panel passes added, copied, modified, and renamed files from `origin/main...HEAD`. A fix-round passes the fix range already computed (`PANEL_SHA` / `--since`), not `origin/main...HEAD`. Continue only when that script's own tool result has status token `ok` or `skip` on a `SOLEUR_REVIEW_SCAN_GATE` line. `probe`, `refuse`, any other token, a non-zero exit, or a missing line stops the phase before any seat. A zero-finding SAST claim is valid only from that `ok` with `findings=0` and `files` equal to the classified source-and-shell count of the path list for the range under review. `skip` is not a SAST-clean claim. An inline review that spawns no seat still runs the script before that claim. Findings do not stop the phase. `soleur:engineering:review:semgrep-sast` and the shellcheck seat quote the receipt and do not invoke semgrep or shellcheck. The shellcheck seat has no agent file.
38
+ **Scan gate, before every seat including the design-validity pass and `--fix-round`.** From the repo root, run `bash "${CLAUDE_PLUGIN_ROOT}/skills/review/scripts/review-scan-gate.sh"` on the path list for the range under review. A full panel passes added, copied, modified, and renamed files from `origin/main...HEAD`. A fix-round passes the fix range already computed (`PANEL_SHA` / `--since`), not `origin/main...HEAD`. If that range contains a merge commit, pass `git log --first-parent --no-merges --no-renames --ignore-submodules=none --diff-filter=ACMR --name-only --format= <since>..HEAD | sort -u` plus each merge's own resolution paths (`git diff-tree --cc --no-commit-id --no-renames --ignore-submodules=none --name-only <merge>`, paths that still exist) — `--no-merges` alone keeps main's commits and puts main's files in the scan (#12934: 318 files against 6). Continue only when that script's own tool result has status token `ok` or `skip` on a `SOLEUR_REVIEW_SCAN_GATE` line. `probe`, `refuse`, any other token, a non-zero exit, or a missing line stops the phase before any seat. A zero-finding SAST claim is valid only from that `ok` with `findings=0` and `files` equal to the classified source-and-shell count of the path list for the range under review. `skip` is not a SAST-clean claim. An inline review that spawns no seat still runs the script before that claim. Findings do not stop the phase. `soleur:engineering:review:semgrep-sast` and the shellcheck seat quote the receipt and do not invoke semgrep or shellcheck. The shellcheck seat has no agent file.
39
39
 
40
40
  ### 0. Setup
41
41
 
@@ -62,7 +62,7 @@ Fix commits are the least-audited surface in the pipeline (learnings 2026-09-23,
62
62
  fi
63
63
  ```
64
64
 
65
- If `files` is `unknown` the fix diff is unverifiable: do not pass it to the script (it would read as one source path); spawn the full class panel. The script's path→seat map is the single source for both consumers: it also defines the `none`-tier trigger-gating predicates (the seat fires iff the diff touches a path its map arm covers). Add `soleur:engineering:review:security-sentinel` whenever the fix diff touches `SENSITIVE_PATH_RE` — that arm is mechanical — OR adds guard/deny-shaped lines, which is lead judgment (the script maps paths only). A source-touching fix never resolves to zero seats — the script emits the `soleur:engineering:review:code-quality-analyst` floor on unmatched source paths, and lists them on stderr as `unmapped-paths:`; an empty fix diff emits nothing (`note: empty fix diff` on stderr) and legitimately spawns zero seats. Pass `--files` from the fix commits' own range (`git diff $PANEL_SHA <last-fix-sha>`), never `$PANEL_SHA..HEAD` after a merge of `origin/main`: the merge's files are other people's changes, and on #10285 they turned a 9-file fix round into a 147-file seat resolution.
65
+ If `files` is `unknown` the fix diff is unverifiable: do not pass it to the script (it would read as one source path); spawn the full class panel. The script's path→seat map is the single source for both consumers: it also defines the `none`-tier trigger-gating predicates (the seat fires iff the diff touches a path its map arm covers). Add `soleur:engineering:review:security-sentinel` whenever the fix diff touches `SENSITIVE_PATH_RE` — that arm is mechanical — OR adds guard/deny-shaped lines, which is lead judgment (the script maps paths only). A source-touching fix never resolves to zero seats — the script emits the `soleur:engineering:review:code-quality-analyst` floor on unmatched source paths, and lists them on stderr as `unmapped-paths:`; an empty fix diff emits nothing (`note: empty fix diff` on stderr) and legitimately spawns zero seats. Pass `--files` from the fix commits' own range (`git diff $PANEL_SHA <last-fix-sha>`; when a merge sits in that range, the same `--first-parent` path list the scan gate uses in review/SKILL.md), never `$PANEL_SHA..HEAD` after a merge of `origin/main`: the merge's files are other people's changes, and on #10285 they turned a 9-file fix round into a 147-file seat resolution.
66
66
  3. **Report-only spawn** against `git diff $PANEL_SHA..HEAD` — the FIX diff, not the branch diff. **Tally (#9403):** fix-round seats are review seats — `gate seats <N>` (N = the resolved seat count) before dispatch and `incr seats <N>` after, on the branch ledger; a `STOP` verdict is the classified-stop path (write `status: budget-capped` + `budget-capped: seats=<n>/<cap>` to the feature's `session-state.md` and halt — do not silently shrink the round).
67
67
  4. **Cap two targeted rounds.** A third needed round escalates to the full class panel over the cumulative fix diff — an unbounded targeted loop is the treadmill this mechanism exists to prevent.
68
68
  When a fix touches a deny gate on a CLI flag, the fix commit must cover every spelling the CLI's parser accepts (`--long v`, `--long=v`, `-s v`, `-sv`, `-s=v`, `-xs v`), with one reason-asserting row each, and a later relaxation of that gate (an over-deny fix) gets the security seat too. A skip keyed on token position over a flag parser is chainable. **Why:** #12847 — `--body-file` was fixed and `-F` was not; the round-3 value-flag skip reopened it via `--title --label -F<path>` (learning 2026-11-17-my-body-file-fix-closed-one-spelling…).
@@ -307,3 +307,5 @@ reason). Then one plain line per hold (`Done:`, `Still waiting:`, `Needs a perso
307
307
  hold's own words and a plain reason) and a final machine line `holds: N discharged: M standing: K`. The human lines carry no
308
308
  jargon; the evaluator's suite checks them against a jargon denylist (the two machine lines are excluded). Control characters,
309
309
  bidi marks and line separators in a hold's words are stripped before they are printed.
310
+
311
+ **A hold that quotes a `gh workflow run` command passes every `required: true` input of that workflow as `-f`.** Diff the flags against `.on.workflow_dispatch.inputs` before writing the hold, or the command is refused exactly when the hold fires (#12934: a drain quoted without `reason`).