@soleur/opencode 3.359.11 → 3.359.12

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.11",
3
+ "version": "3.359.12",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -73,3 +73,5 @@ already carries — see
73
73
  **A mutation row is vacuous until a fixture distinguishes the mutant — fabricate the discriminating state when the live corpus can't produce it.** Before writing a sed-and-diff mutation row, name the input on which the mutant's verdict differs; if the live tree can't supply it, inject synthetic module state (`o._TRACKED = (real | {synthetic}, …)` in an importlib-probed module) or build a scratch `git init`+`git add` index under TESTROOT (`rm -rf` after staging yields the index-dir-absent-on-disk shape). A mutant that lands and emits the same vector is the quietest green. Twin trap: a stale-expectation guard must assert the vector the OLD rule actually emits — a hand-extended "stale" string that no rule produces can never match, and `!=` on it passes vacuously on empty output; shape-pin instead (`=~ ^([01] ){N}[01]$`). **Why:** #10117's review found three mutation rows whose distinguishing fixtures could not exist in the live index. See `knowledge-base/project/learnings/test-failures/2026-10-14-a-mutation-row-is-vacuous-until-a-fixture-distinguishes-the-mutant.md`.
74
74
 
75
75
  - **An empty `$(…)` file list handed to a test runner that defaults to "run everything" runs EVERYTHING.** `vitest run $(git grep -ln … -- test)` with no match is `vitest run`: the whole suite, which loads the machine and can void a concurrent mutation battery (its unmutated control reads red). Capture the list first, `[ -n "$files" ] || { echo none; exit 1; }`, then run. **Why:** #10194 — a stray full run turned a 7-row battery's control red and cost a re-run. See `knowledge-base/project/learnings/2026-10-25-a-framing-guard-for-a-channel-nobody-feeds-ships-green-and-inert.md`.
76
+
77
+ - **A section-only fast runner is an iteration tool, never a verdict, and a shared helper's cleanup glob must match only what its own section creates.** A harness helper that `rm -f`s a broad pattern (`ERR4*RL_*`) deletes fixtures an EARLIER section creates for a LATER one; the later row then stays green on a stub miss (which also retries) and its mutant survives, visible only in the full-file run (469 of 470) and never in the section-only runner. Before committing a change to a shared helper's cleanup or fixture set, run the whole file once; scope the glob to the section's own marker paths. **Why:** #10865 probe fix, 2026-10-27 — see `knowledge-base/project/learnings/2026-10-27-a-section-only-runner-cannot-see-a-cleanup-glob-deleting-another-sections-fixture.md`.