@soleur/opencode 3.359.6 → 3.359.8

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.
@@ -109,6 +109,12 @@ agents` but NOT a bare `[0-9]+ agents`, so count divergence between the record a
109
109
  page can be invisible to the drift gate. And a grep for `Article ` will not match the corpus's <!-- markdownlint-disable-line MD038 -->
110
110
  plural `Articles 15 through 22` — use `Articles? 1[5-9]`.
111
111
 
112
+ **Correction/amendment notes quote the superseded phrase verbatim.** An absence grep on a corrected
113
+ doc counts its own audit trail: strip `*( ... )*` italic-note spans with paren-depth tracking (the
114
+ notes nest parens, e.g. "eu-west-1 (Ireland)"), and remember the `**Last Updated:**` amendment note
115
+ also quotes — sed-stripping `*(corrected*)` alone leaves it standing (#10849). See
116
+ `knowledge-base/project/learnings/workflow-patterns/2026-10-27-legal-correction-notes-quote-the-phrase-they-remove.md`.
117
+
112
118
  **The mirror is the published surface.** `docs/legal/<doc>.md` is the canonical record;
113
119
  `plugins/soleur/docs/pages/legal/<doc>.md` is what users read at soleur.ai/legal/. `docs/legal/`
114
120
  is in no Eleventy input tree and is read by no route, so a canonical-only edit changes nothing a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.359.6",
3
+ "version": "3.359.8",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -332,3 +332,5 @@ NEVER CODE! Just research and write the plan.
332
332
  - **A guard, envelope or sanitizer on a field protects only the paths where something WRITES that field — grep for the PRODUCER before planning the consumer, and enumerate the channel set from the tool/prompt definitions, not from the issue's list.** A plan that wraps `scrubbedContent` (or any field a template reads) can pass its own tests, a reviewer panel and an ADR while no production code ever sets the field; a consumer-side test that fixtures the field by hand cannot reveal it. Run `git grep -n '<field>' -- <server dirs>` and confirm a non-test, non-template writer exists; if none, say the guard is latent in the plan, not live. For a "frame every channel that carries X" feature, list the channels with a grep over the tool and prompt definitions for the data class (e.g. every MCP tool whose result includes issue/PR text), because an issue's own surface list is the author's memory. **Why:** #10194 — the leader-prompt envelope had no feeder (five review seats found it) and `workstream_issues_list`, which returns issue titles and descriptions to the agent, was missing from the issue, the plan and the first-pass panel. See `knowledge-base/project/learnings/2026-10-25-a-framing-guard-for-a-channel-nobody-feeds-ships-green-and-inert.md`.
333
333
 
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
+
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`.