@soleur/opencode 3.359.14 → 3.359.16

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.359.14",
3
+ "version": "3.359.16",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -334,3 +334,5 @@ NEVER CODE! Just research and write the plan.
334
334
  - **A "next free" migration or ADR ordinal is a claim about every pushed branch, not `origin/main`.** Probe all remote refs (`for r in $(git for-each-ref --format='%(refname)' refs/remotes/origin); do git ls-tree --name-only $r apps/web-platform/supabase/migrations/; done | grep -oE '/[0-9]{3}_' | sort -u | tail -3`) before the plan names a number, and have the plan choose it at the last rebase. **Why:** #9545 PR2 — `origin/main` stopped at 163 and the plan said "164 is free", while open draft PRs held 164 and another branch held 165-173; caught only by the sharp-edges pass.
335
335
 
336
336
  - **A gated optional arm that shares a budget with a mandatory stage needs a reachability scenario at the stage's MAXIMUM yield.** Run the plan's test matrix with the mandatory stage returning as many items as its cap allows and assert the optional arm still runs; a test whose expected result in the arm's headline scenario is "refused" encodes unreachability as correct. **Why:** #10550 - the edit loop took both week-cap slots, so the create arm ended `week-cap` on a clean state at its first live-fire. See `knowledge-base/project/learnings/2026-10-27-a-shared-cap-let-the-mandatory-loop-starve-the-gated-arm.md`.
337
+
338
+ - **Before a plan rewrites a line, inventory what exact-matches it — including probes that run the match on a LIVE host.** `grep -qxF` / `grep -qE '^…$'` pin sites and parity tests force additive shapes: preserve the pinned literal verbatim as the generic branch and add a conditional arm for the new case; a rewrite is only safe after the pin census comes back empty. A pin's blast radius is where the match RUNS, not where it lives. **Why:** #8211/PR #11342 — `git-data-cutover.sh`'s `pin_ex` probe SSHes to the production host and exact-lines the wrapper's shared `exec git -c "core.hooksPath=…" "${verb#git-}"` line; adding `-c receive.shallowUpdate=true` by rewriting it would have flipped every fence probe to `transport_pin_mismatch` while local suites stayed green. See `knowledge-base/project/learnings/best-practices/2026-10-27-exec-line-pinned-by-live-host-probe-forces-conditional-branch.md`.