@soleur/opencode 3.389.6 → 3.390.0
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
|
@@ -345,6 +345,8 @@ NEVER CODE! Just research and write the plan.
|
|
|
345
345
|
|
|
346
346
|
- **A technical row in `decision-challenges.md` must carry the CTO ruling shape, never "Applied by the planner".** `technical-ruling-gate.sh --branch` rejects any `technical` row whose Ruling cell does not start `Ruled by CTO agent, <date>: <decision> - <rationale>`, so a planner's mechanical choice written as "Applied by the planner under the CTO's standing ruling" fails the gate before `work`. Spawn `soleur:engineering:cto` in one batched call for the rows, or classify a genuinely mechanical item `taste`. **Why:** #11542 — seven such rows failed the gate and one batched CTO spawn rewrote them (all choices stood). See `knowledge-base/project/learnings/2026-10-30-the-required-set-check-passed-review-with-no-p1-and-its-own-fixes-needed-two-more-rounds.md`.
|
|
347
347
|
|
|
348
|
+
- **On a no-nested-subagent harness the batched CTO spawn in the bullet above must be issued by the orchestrator — the planning subagent has no spawn tool at all.** Its technical rows then arrive as inline dispositions or `pending - assumed` placeholders that `technical-ruling-gate.sh --branch` rejects identically; the parent carries every technical row in ONE `soleur:engineering:cto` spawn and rewrites the cells, while rows the CTO already ruled on the source issues are BINDING inputs, not re-ruled. **Why:** #12446 — 11 rows re-ruled by one parent-side spawn (`cto_spawns=1`). See `knowledge-base/project/learnings/workflow-patterns/2026-11-01-devin-subagents-cannot-spawn-nested-subagents.md`.
|
|
349
|
+
|
|
348
350
|
- **A CVE or runtime-remediation plan must census the runtimes bundled INSIDE npm-delivered native binaries, not only `FROM`/`setup-*` pins.** Packages such as `@anthropic-ai/claude-code` and `@anthropic-ai/claude-agent-sdk` ship platform binaries that embed their own Bun; `strings <binary> | grep -m1 '^Bun v'` on the installed platform package names the version. Bumping them can move vendored sandbox builders, so measure the sandbox suites before the plan commits to the bump. **Why:** #12009 - the Node 22.23.4 bump left Bun 1.4.3 in the `claude` binaries; the follow-up is #12026.
|
|
349
351
|
|
|
350
352
|
- **Never name a branch `workflow_dispatch` of a `claude-code-action` workflow the PR itself edits as the verification of that action.** The action refuses to run when the workflow file differs from the default branch ("Skipping action due to workflow validation"), exits 0, and a `continue-on-error` step reports `success`, so the run is green having executed nothing; `constitution.md` already states a modified consumer cannot be exercised by branch dispatch. Plan the check as a dispatch on `main` after merge and tell the work phase to read the log for the skip line, not the step conclusion. Measure an embedded runtime with `strings <bin> | grep -oE 'Bun v[0-9]+\.[0-9]+\.[0-9]+'`, never from a package version. **Why:** #12102/PR 12136 — the plan's only live check was skip-masked; see `knowledge-base/project/learnings/2026-11-05-a-branch-dispatch-of-the-workflow-you-edited-is-skip-masked-and-a-tokenised-allowlist-is-split-on-spaces.md`.
|
|
@@ -355,4 +357,5 @@ NEVER CODE! Just research and write the plan.
|
|
|
355
357
|
|
|
356
358
|
- **A plan sentence about an open sibling PR (its base, its diff, its counts) is a time-stamped observation: re-read it with `gh` at every re-sync and write the date next to it.** A cleanup PR that waits in review also owes every pinned count to a full suite run on the merged tree after each `origin/main` move. **Why:** #12306 — "#12292 is on a pre-retirement base" was wrong when written, and the PR merged mid-review; main moved three more times before the push. See `knowledge-base/project/learnings/workflow-patterns/2026-11-07-a-cleanup-pr-owes-its-counts-to-the-merged-tree-and-its-premises-to-a-fresh-read.md`.
|
|
357
359
|
|
|
360
|
+
- **A producer check for a gated registration is evaluated over the REGISTERED population, not the system.** For a hook, guard or note registered under a predicate (a flag AND a capability such as web egress), write the producer check as rows of (cited fact, file, still true when the predicate holds?) and run the grep for each row; a predicate that turns on one capability can turn off the credential or tool the cited producer needs, and the two facts live in different files. **Why:** #12435 — the plan cited `GH_TOKEN` minted into the sandbox, true of the system and false in web-egress sessions where the env deny census removes it, so the hook registered only where `gh` fails at auth. See `knowledge-base/project/learnings/2026-11-09-a-producer-check-was-true-of-the-system-and-false-of-the-population-the-hook-registered-in.md`.
|
|
358
361
|
- **A suite ledger's per-site cost is ARM cost (pristine + every mutant rep + the give_up boundary), not pristine cost — measure the pristine site before prescribing fixture surgery.** When the arm is expensive and pristine is cheap, the pathology is mutant-side runaway and the remedy is pacing (per-scan give_up that returns over-bound, cheapest-condemner ordering, a shrink-only per-invocation timeout), never smaller fixtures, which cut coverage to treat a cost the SUT never had. The same rule covers every bound a ruling asserts: derive caps/floors from a measured pristine rate, not arithmetic — a `12*len+5000` line-event cap was one event under pristine `hb`'s measured 485,001 events at 40,000 bytes (12.125/byte) and would have condemned the pristine run. **Why:** #12016/PR #12419 — `row_scan_ops` reported 47.3 s site cost; pristine was ~4.8 s. See `knowledge-base/project/learnings/performance-issues/mutant-side-runaway-read-as-pristine-site-cost-ci-replay-20261108.md`.
|