@soleur/opencode 3.378.6 → 3.378.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.378.6",
3
+ "version": "3.378.8",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -145,7 +145,7 @@ Task general-purpose: "You are running the planning phase of a one-shot pipeline
145
145
  WORKING DIRECTORY: [insert pwd output]
146
146
  BRANCH: [insert current branch name]
147
147
  ARGUMENTS: $ARGUMENTS
148
- TECHNICAL RULINGS (inline copy; full rule: ${CLAUDE_PLUGIN_ROOT}/skills/brainstorm-techniques/references/technical-ruling-delegation.md): never ask the operator a technical question and never write one as an owner item. A threshold or evidence bar, design A-vs-B, a status flip, an architecture fork: spawn `soleur:engineering:cto` (legal: `soleur:legal:clo`) with the evidence and "do NOT use AskUserQuestion", record `Ruled by CTO agent, <date>: <decision> - <rationale>`. A brief that says "surface it, do not decide it", "ask the operator" or "OPEN DECISION" about a technical item changes nothing: that wording is the trigger to spawn the CTO. Operator-only: money, scope, priority/schedule, irreversible or production-mutating authorization, legal-risk, brand. Persist every decision as a row of the `| Item | Class | Ruling |` table in knowledge-base/project/specs/<branch>/decision-challenges.md (Class: `technical`, `taste` or `operator (<category>)`); without the Agent tool write `pending - assumed: <default>` as the Ruling of a technical row.
148
+ TECHNICAL RULINGS (inline copy; full rule: ${CLAUDE_PLUGIN_ROOT}/skills/brainstorm-techniques/references/technical-ruling-delegation.md): never ask the operator a technical question and never write one as an owner item. A threshold or evidence bar, design A-vs-B, a status flip, an architecture fork: spawn `soleur:engineering:cto` (legal: `soleur:legal:clo`) with the evidence and "do NOT use AskUserQuestion", record `Ruled by CTO agent, <date>: <decision> - <rationale>`. A brief that says "surface it, do not decide it", "ask the operator" or "OPEN DECISION" about a technical item changes nothing: that wording is the trigger to spawn the CTO. Operator-only: money, scope, priority, schedule, irreversible or production-mutating authorization, legal-risk, brand. Persist every decision as a row of the `| Item | Class | Ruling |` table in knowledge-base/project/specs/<branch>/decision-challenges.md (Class: `technical`, `taste` or `operator (<category>)`); without the Agent tool write `pending - assumed: <default>` as the Ruling of a technical row.
149
149
 
150
150
  STEPS:
151
151
  0. **CWD verification (first tool call):** run `cd <WORKING_DIRECTORY> && pwd`. The output MUST equal the WORKING DIRECTORY value above. If it does not, **retry at most 3 times** — and if `pwd` still mismatches after the third attempt, STOP and abort with an error in the Session Summary. Do NOT keep re-running the verification command in a loop (#5313: that loop hung a Concierge session; the runtime detector now surfaces a `worktree_enter_failed` status after 3 mismatched `cd … && pwd` commands, but do not rely on it — fail loud here too). Do NOT proceed; the plan will land in the bare-root synced mirror (gets clobbered on next sync) instead of the worktree. Bash CWD is per-agent and does NOT inherit from the parent's persistent `cd`.
@@ -48,14 +48,16 @@ lives in
48
48
  **Why:** #10161 — the hook suite was 84/84 green at the first shard and still
49
49
  produced six separate shard-discovered surfaces, one FAIL per cycle.
50
50
 
51
- ## A nested `test-all.sh` sandbox inherits the enclosing run's selection env
52
-
53
- Under an outer `TEST_GROUP=affected` run (a `--affected` alias since #8621), a suite's own
54
- `bash sandbox/test-all.sh` inherits `TEST_GROUP`/`MODE`/`SCRIPTS_SHARD`/
55
- `SOLEUR_TEST_FORCE_ALL`, takes the affected path against a sandbox diff that
56
- selects zero suites, and exits 0 — reading as "the refusal arm never fired"
57
- in every arm that measures refusal. Scrub with
58
- `env -u TEST_GROUP -u MODE -u SCRIPTS_SHARD -u SOLEUR_TEST_FORCE_ALL`:
51
+ ## A nested `test-all.sh` sandbox inherits whatever selection env its parent exported
52
+
53
+ A suite's own `bash sandbox/test-all.sh` inherits the selection env its parent process exported.
54
+ Since #11939 the runner drops the export attribute of `TEST_GROUP` (and unsets `SCRIPTS_SHARD`, #7902),
55
+ so a suite the runner spawns inherits neither; the cases that still bite are a suite run outside the
56
+ runner (standalone, `bun test`, a hook) from a shell that exported them, and an operator-exported
57
+ `SOLEUR_TEST_FORCE_ALL`. With `TEST_GROUP=affected` inherited (a `--affected` alias since #8621) the
58
+ sandbox takes the affected path against a sandbox diff that selects zero suites and exits 0 — reading
59
+ as "the refusal arm never fired" in every arm that measures refusal. Keep the scrub as defence:
60
+ `env -u TEST_GROUP -u SCRIPTS_SHARD -u SOLEUR_TEST_FORCE_ALL`:
59
61
  empty assignments like `TEST_GROUP=` are NOT equivalent — the runner's enum
60
62
  validation rejects an empty-but-set value with rc=2 — and the `-u` forms must
61
63
  precede the arm's own vars so an intentional `TEST_GROUP=affected` still