@soleur/opencode 3.389.7 → 3.390.1
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
|
@@ -443,7 +443,7 @@ Credentials. A credential is used only inside a repo wrapper (`doppler run` is a
|
|
|
443
443
|
|
|
444
444
|
Class R expressly excludes: dispatching any workflow (including a `mode=plan` run), merging, arming auto-merge, marking a pull request ready, and any production write.
|
|
445
445
|
|
|
446
|
-
These hard limits are unchanged: never write the owner's hand-typed markers; every production write needs an in-session per-command owner go naming the command; no agent dispatches `key-rotate.yml` or `inngest-key-rotate.yml` without a
|
|
446
|
+
These hard limits are unchanged: never write the owner's hand-typed markers; every production write needs an in-session per-command owner go naming the command; no agent dispatches `key-rotate.yml` or `inngest-key-rotate.yml` without a fresh, per-command, in-session owner go naming the exact full command (the `key-rotate-approval` reviewer click is never delegated); signing records and extensions, closing a tracker, arming pull requests, the GitHub App webhook-secret PATCH and Doppler credential minting stay owner-only; a menu click is not a go.
|
|
447
447
|
|
|
448
448
|
A key-rotation workflow is never a Scope item of a delegation (policy; `delegation-verify.sh` does not yet refuse it, so the CTO never writes one).
|
|
449
449
|
|
|
@@ -185,7 +185,7 @@ Both rules apply in every mode and are not approval gates, so they fire in pipel
|
|
|
185
185
|
|
|
186
186
|
An act that only the owner can complete (a knowledge claim, acceptance of a named risk, a scope change; the Inngest arc's A5, A6 and A7 records are the worked example) is never handed back as "paste this text" or "post this yourself". The agent does everything that is not the owner's words and asks once. Applies in every mode; it is a routing rule, not an approval gate. Rulings: CTO and CLO, 2026-11-02.
|
|
187
187
|
|
|
188
|
-
**What the agent does.** Measure, enumerate, draft, file, post, link and read back. The agent may post the record and the evidence when the owner has delegated the posting in their own user turn of this session. A production act the owner reserves (a credential rotation, an environment approval) stays the owner's own dispatch or click; only the record of it is relayed.
|
|
188
|
+
**What the agent does.** Measure, enumerate, draft, file, post, link and read back. The agent may post the record and the evidence when the owner has delegated the posting in their own user turn of this session. A production act the owner reserves (a credential rotation, an environment approval) stays the owner's own dispatch or click; only the record of it is relayed. Since the 2026-11-08 ruling the key-rotate.yml / inngest-key-rotate.yml `rotate`|`converge` dispatch MAY be agent-run under a fresh, per-command, in-session owner go naming the exact full command; the `key-rotate-approval` reviewer click is never delegated.
|
|
189
189
|
|
|
190
190
|
**What stays the owner's.** The owner states, in their own user turn (never an agent message, a brief, a resume prompt or an automated notification): a knowledge claim, in their own words; acceptance of a named risk, referencing the exact record by comment id or digest; any scope change. A knowledge claim (what the owner knows) is ONLY the owner's own words: the agent never drafts it, and the ask does not offer a draft. An acceptance sentence MAY be drafted by the agent for the owner to confirm; the provenance field `Agent-drafted text` says so. The agent never posts under a heading that claims the owner typed it, and the line `SIGNED BY OWNER (human, not an agent)` is a human-only marker an agent must never write.
|
|
191
191
|
|
|
@@ -357,4 +357,5 @@ NEVER CODE! Just research and write the plan.
|
|
|
357
357
|
|
|
358
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`.
|
|
359
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`.
|
|
360
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`.
|