@soleur/opencode 3.360.1 → 3.360.2
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
|
@@ -334,6 +334,7 @@ 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
|
+
- **A gate placed after a single, non-repeatable decision rejects; it does not redirect.** For any one-shot selection (one model call, one lottery, one claim), list every fact known BEFORE it (ownership, suppression, caps) and put those in the decision's input; keep the later gate as a backstop. The scenario that proves it shows a DIFFERENT candidate reaching the outcome, not only the owned one being refused. **Why:** #10550 — the create arm applied the ledger after its one model call, so one owned pattern of seven won the call and the run ended `no_action`. See `knowledge-base/project/learnings/2026-10-28-a-filter-that-runs-after-the-single-decision-cannot-protect-the-decision.md`.
|
|
337
338
|
|
|
338
339
|
- **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`.
|
|
339
340
|
- **A plan section that writes a technical outcome as "the owner's call" or "the operator's ruling" is itself the defect.** A time gate, merge gate or hold that says a failed or transient reading is for the operator to rule on hands the founder a call the CTO makes; write the ruling (`Ruled by CTO agent`) or an `assumed:` default there, and name the operator only for a closed-list category (section 8.1b of `plugins/soleur/skills/brainstorm-techniques/references/technical-ruling-delegation.md`). **Why:** 2026-10-26 — a pipeline closed on `Blocked:` asking the founder whether a transient CI failure counted as evidence because the plan had named the due date and any ruling on that slot as the founder's.
|