@soleur/opencode 3.405.2 → 3.405.3

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.405.2",
3
+ "version": "3.405.3",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -366,3 +366,4 @@ NEVER CODE! Just research and write the plan.
366
366
  - **A copy sentence of the form "X cannot happen unless Y" is an enforcement claim: list every path that can do X before prescribing it.** Enumerate each runner, each flag state (on, off, read failed) and each missing-dependency state, and name the line that enforces Y on each; a path with no such line is a code task or a reworded sentence in the same plan. **Why:** #12197/PR #12567 — `PUSH_DISCLOSURE` said nothing is pushed without Owner approval; the legacy runner's in-memory card let a member approve their own push whenever the approval queue gave no verdict. See `knowledge-base/project/learnings/2026-11-10-a-copy-sentence-that-promises-enforcement-must-be-checked-on-every-runner-and-flag-state.md`.
367
367
  - **Before a plan names a shipped literal (a port, IP, hostname, token, sentinel URL), grep the repo's TEST FIXTURES for it — a value fixtures use as the deliberately-wrong constant poisons the suite when shipped.** `grep -rn '8444' apps/web-platform` showed the port is the assume-invalid sentinel in `apps/web-platform/infra/` firewall fixtures, so the receiver bound 8445 instead of the plan's first-draft "e.g. 8444". Same class for dispatch conditions that mirror an upstream SDK: route on the SDK's TRUTHINESS test (`get("probe")` falsy on `""`), never key presence — an empty `?probe=` is a run request, and `has()` vs `Boolean(get())` differ on exactly the input nobody hand-types. **Why:** #9137/PR #12554 — the presence-gate P1 was caught only by the sequential-fallback review's fix round; the fixture-collision was caught by the work phase's own grep. See `knowledge-base/project/learnings/logic-errors/2026-11-10-empty-probe-param-is-a-run-request-sdk-truthiness-parity.md`.
368
368
  - **A plan that proposes a flag or argv as an implementation lever on a repo script must read the script's actual argv first — "the flag that should exist" is a capability claim verified against the parser, not inferred from the suite's shape.** Grep the script's argument handling (`--only`, `getopts`, the `usage`/help text) or run `--help`; it settles in seconds what a wrong claim costs a ruling cycle to catch. **Why:** #12626 — the plan prescribed a `--rows` row-splitting lever on `approval-guard1-mutation`; the battery's argv is `[--only|--list|--check-anchors]`, and only the batched CTO ruling caught it. See `knowledge-base/project/learnings/2026-11-11-a-completed-but-failing-leg-filed-as-did-not-complete.md` SE#4.
369
+ - **A plan that adds a rule to a gate which reads text another interpreter will expand (a Bash PreToolUse hook, a CI shell lint) must list that interpreter's whole expansion and quoting set first, and close each class in one place rather than deny-listing spellings.** For bash: brace, tilde, parameter/`$[…]`, command, process substitution, pathname/extglob, backslash and `$'…'` quoting, and the target tool's own argv parsing (git long-option prefixes, commit pathspecs). Brief the first fix-round security seat to sweep that whole list, not to find one more instance. **Why:** #12806 — seven fix rounds each found the next form the cron hook read differently from bash; see `knowledge-base/project/learnings/2026-11-16-seven-fix-rounds-each-found-the-next-bash-expansion-the-hook-read-differently.md`.