@soleur/opencode 3.400.2 → 3.400.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.400.2",
3
+ "version": "3.400.3",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -85,6 +85,7 @@ Two lessons from #9448 belong in every fix-agent and review-seat brief (full acc
85
85
  - **Verify the lead's own fix edits the way you verify a seat's.** After any splice or prune of a test file, run `git diff origin/main --numstat` and read the DELETED lines unfiltered (a `grep '^[-+]'` hides the context lines an enclosing marker-to-marker splice also removes, and a floor that moves by less than its itemisation is the tell). When a change adds a call inside an extracted unit, `grep -rln` every extractor of that unit by sentinel and by function name before writing "no edit expected". **Why:** #10210 — a splice deleted an unchanged job-budget arm that three seats then found, and a sibling loopback suite extracting the same unit lacked the new helper. See `knowledge-base/project/learnings/2026-10-13-my-review-fix-spliced-away-a-guard-i-never-read-and-a-wait-claimed-300-seconds-it-did-not-wait.md`.
86
86
  - **A diff under `docs/legal/` or `knowledge-base/legal/` has no seat arm in `fix-round-seats.sh`, and a legal-wording fix needs the CLO agent, not a vote.** Add `soleur:legal:legal-compliance-auditor` to the panel and to every fix round by hand (the script prints `unknown-seat:` for it), brief the history seat to check published-baseline claims against `origin/main` rather than the panel SHA (a fix round that re-dates an entry reads as an overwrite against the panel SHA), and send every wording doubt to the CLO agent as one batched spawn with the seat reports attached. **Why:** PR #10326 -- see `knowledge-base/project/learnings/2026-10-15-my-correction-pr-wrote-only-and-no-where-the-code-read-showed-more.md`.
87
87
  - **A seat's "simulate an inherited `GIT_DIR`" experiment must target a throwaway repo, never the live worktree.** On #12198 a seat exported `GIT_DIR`/`GIT_INDEX_FILE` at the live worktree and ran a suite whose fixtures do not unset them: a stray commit landed on local `main`, HEAD was repointed, and `user.name`/`user.email` were written into the shared `.git/config` (every later commit would have authored as `Test User`). Brief seats to build the repo for that experiment inside their own sandbox, and after the panel returns check `git rev-parse HEAD`, `main`'s reflog and `git config --local --list | grep '^user'`. See `knowledge-base/project/learnings/2026-11-05-a-review-seat-simulating-an-inherited-git-dir-wrote-into-the-live-repo-and-the-shared-config.md`.
88
+ - **The lead does not edit the live tree while a fix-round seat may run suites on it — or the seats run suites only on a `git archive` of the pinned SHA.** On #12655 the lead had an uncommitted fix-round regex in the live tree that briefly refused production's `--update-shallow`. Two seats running the live suite saw 4 red rows, and one recorded an unattributed failure. Brief seats to allocate `SBX=$(bash "$ROOT/scripts/soleur-sandbox.sh" new <seat> --link-node-modules)` (review/SKILL.md, the mutating-seat sandbox rule), then run `git archive <pinned> | tar -x -C "$SBX"` so the archive overwrites the copied live edit, and run suites there; add `git init -q && git add -A` in `$SBX` when a suite reads the repo's own git state (an archive tree is not a repo). Or hold edits until the seats return. See `knowledge-base/project/learnings/test-failures/2026-11-11-the-fake-transport-raced-the-push-and-the-guard-rows-sampled-one-push.md`.
88
89
  - **Seats share the session scratchpad, so a fixed-name pointer file (`sbx`, `mut.py`) is a collision.** On #10514 one seat overwrote another's sandbox pointer and ran its probes, including a hash-pinned `pip install`, inside the other seat's sandbox. Brief every seat to keep its sandbox path in its own shell variable or a seat-unique file name, and to re-run any result it measured after a pointer changed. See `knowledge-base/project/learnings/2026-10-19-a-newest-wins-reference-picked-my-own-unpushed-work-and-a-filtered-test-run-hid-an-import-error.md`.
89
90
 
90
91
  - **A fix agent's "suite green" covers only the files it was given; brief it on the repo-global ratchets by name, and run the combined-tree gate BEFORE the fix-round panel.** Editing a floor means running `scripts/guard-vacuity-floor.test.sh` (its floor detector parses only `-lt|-le|-ge`, so a `-ne` rewrite drops the file from the promoted set); adding a test that reads outside `apps/web-platform` means registering it in `test/repo-wide-suites.ts` (`repo-wide-containment.test.ts`); refactoring a symbol another test pins as source text means `git grep` of the old literal across `test/`. The lead then runs the affected gate or those suites by name on the COMBINED tree before spawning seats, so the panel reviews a tree that already passes; an affected gate that prints `ran=- of=-` / `budget-deferred` (queued behind sibling runs) is no verdict. **Why:** #10892 — three disjoint-scope fix agents each reported green and together broke all three gates; two panel seats found them by running suites nobody had touched. See `knowledge-base/project/learnings/2026-10-23-fix-round-agents-reported-green-on-their-own-files-and-broke-three-repo-global-gates.md`.