@soleur/opencode 3.399.1 → 3.399.2

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.
@@ -71,6 +71,7 @@ Selected by rule 3 of the interface selector. You are asked for a binding techni
71
71
  - **A "surface it" or "OPEN DECISION" brief is the trigger, not an exemption.** Rule on it. If the item mixes a technical part and an operator-only part, split it: rule the technical part and return the authorization as a separate line that names the ACTION.
72
72
  - **Legal posture is not yours.** Name `soleur:legal:clo` as the owner and rule only the engineering part.
73
73
  - **A live read-only check is technical.** When the evidence for a ruling is one read away, run it before you rule, under Class R (the standing-delegation reference, linked under Own the epic below). Do not return `unverified` for a read you could have run, and never return "run by the owner or a follow-up agent"; label only a read you could not run `unverified`, with the reason (the evidence bar above).
74
+ - **A named enforcement mechanism is a claim about its source.** Before a ruling names an existing sweeper, hook or gate as what enforces it ("the sweeper raises it"), read that mechanism's source and cite the line that makes it fire on this case; otherwise label it `unverified`. **Why:** #12563 ruling 20 → 28: a Date-shape follow-through closes PASS on `exit 0` (sweeper header) without reading the volume. See `knowledge-base/project/learnings/2026-11-10-a-closed-allow-list-that-pins-names-leaves-the-deny-list-one-level-down.md`.
74
75
  - **Hold classification (go Step 1.5).** A read you can run is run now and returned as `technical: checked <what>: <result>, <ok|bad>, <time>`; one you could not run as `technical: unverified - <no-credential|no-session|no-tool|other>: <reason>`. The caller prints them as "I checked" and "I could not check" lines.
75
76
 
76
77
  ## Own the epic interface
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soleur/opencode",
3
- "version": "3.399.1",
3
+ "version": "3.399.2",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -507,8 +507,10 @@ doppler run -p soleur -c prd_terraform --only-secrets HCLOUD_TOKEN_READONLY --no
507
507
  ```
508
508
 
509
509
  4. **Route on the word, compared with the expected one.** `protected` / `not-protected` equal to the expected word passes;
510
- a mismatch is a red status. `volume-gone` (HTTP 404) is not a read problem: report it and route to the runbook's "After
511
- a total loss". `read-failed` (an HTTP error such as a 401, a network error, a non-JSON body or a missing field) and a
510
+ a mismatch is a red status. `volume-gone` (HTTP 404) is not a read problem, and not proof of a loss: a token from
511
+ another Hetzner project also gets 404. Report it, then run the read-only server-name listing under
512
+ `orphan_sweep_project_identity_unproven` in the 8209 runbook named below: unknown names mean a wrong-project token
513
+ (re-mint it, step O5); only matching names route to the runbook's "After a total loss". `read-failed` (an HTTP error such as a 401, a network error, a non-JSON body or a missing field) and a
512
514
  **missing word** (nothing printed: `doppler` absent or unauthenticated, an error before the command ran) mean the read
513
515
  did not happen: report them, never dispatch on their account. `missing-token` means `HCLOUD_TOKEN_READONLY` is absent from
514
516
  `prd_terraform`; minting it is operator step O5 in `knowledge-base/engineering/operations/runbooks/infra-credential-tiers-8209.md`.
@@ -116,4 +116,5 @@ The canonical defect key is `defect-class + rolled-up root cause`, **not** file-
116
116
  - **Brief every seat to stop its own processes by PID, and ban `pkill -x` as well as `pkill -f`.** The guard hook blocks only the `-f` form, so a seat that ran `pkill -x python3` could have killed another seat's mutation job on the same host; seats also share scratchpad file names unless each takes its own subdirectory. **Why:** #12148 — a code-quality seat's `pkill -x python3` plus a shared `mut.py` name, with seven parallel seats on a host at load 26. See `knowledge-base/project/learnings/2026-11-05-a-skip-keyed-on-the-record-not-on-the-success-made-a-false-sent-and-four-sibling-defects-the-review-found.md`.
117
117
  - **A fix that changes how a probe calls a faked CLI keeps flags AFTER the endpoint.** Repo fake-`gh` fixtures read the endpoint positionally (`ep="$2"` right after `api`); a flag placed before it silently becomes the endpoint, every fixture arm misses, and the probe reports `fail`/CANNOT ESTABLISH — an upstream-outage signature for what is a fixture-contract break. The correct shape is `api "<endpoint>" --paginate --jq ...`. **Why:** #9323 fix round (PR #12439). See `knowledge-base/project/learnings/workflow-patterns/2026-11-08-escape-is-a-job-family-verdict-and-adopted-collects-verify-per-idx.md`.
118
118
  - **Brief a fix agent with the ARM x LOOSENING table, not the instance the seat named.** A seat reports one arm of a multi-arm predicate (one RECOVERY shape, one stream, one consumer); the fix closes that arm and every later verification round re-finds the next sibling, while a count-style negative assertion cannot name which row failed. Before dispatch, list every arm of the predicate and every other consumer of the same input, require one negative row and one surviving-mutant check per cell, and for a hand-copied grammar require a drift row against its source. **Why:** #12476 — the pointer/`pending=`/`stale-row` arms and a single-pass sanitiser (nested NEL/LS/PS re-forms) were each found in a later round than the arm the first seat named. See `knowledge-base/project/learnings/2026-11-09-a-fix-round-closes-the-instance-the-reviewer-named-and-leaves-its-sibling-arms.md`.
119
+ - **A "closed allow-list" of key names, a step list or spellings leaves the same deny-list one level down; brief the fix to pin the EXACT value read from the current file and to answer "what does the harness compute differently from the runner?"** Inside each allowed item sits a value (an env value, a SHA, a whole `sh -c` body, a logged verdict that must EQUAL the published one), and a harness with a fixture `github` context, an unmodelled expression root or a different `!` precedence passes a mutant the runner executes differently. A fix touching a lifecycle SKILL.md also runs the repository's `lint-skill-body-budget.py` against the merge base before reporting. **Why:** #12563 — R1 names → F1-F3 step list/`if:`/env names → V1-V4 env values/checkout SHA/exact lines/verdict equality, one level per round; F11 prose took postmerge 50 bytes over its ceiling. See `knowledge-base/project/learnings/2026-11-10-a-closed-allow-list-that-pins-names-leaves-the-deny-list-one-level-down.md`.
119
120
  - **Brief the SECOND fix-round seat on the CLASS, not on its first repro.** A fix for an adversary-controlled input usually closes the instance a seat measured (a depth-1 symlink scan, a two-name remote allowlist, a denylist of option names), and the next round finds the next member. Ask each seat "what other member of this family does the fix still miss" and require the guard to be proven by walking the mechanism (a bounded recursive walk, an allowlist) rather than by listing measured members. **Why:** #9601 host-git hardening — a redirect guard needed two rounds to go from `.git` to `refs/` to `refs/**` + `logs/**`, and the day-before learning on the same family had not prevented the repeat. See `knowledge-base/project/learnings/2026-11-10-a-redirect-guard-was-widened-one-level-at-a-time-and-reviewed-into-the-class-in-two-rounds.md`.