@soleur/opencode 3.376.5 → 3.376.7
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
|
@@ -178,3 +178,26 @@ Both rules apply in every mode and are not approval gates, so they fire in pipel
|
|
|
178
178
|
6. Section 3 (two-spawn cap and tally), section 6 (on exhaustion the PR stays draft and ship files one `domain/engineering` issue, never an operator question) and section 4 (operator row for data loss, an irreversible act, money or legal exposure) apply unchanged.
|
|
179
179
|
|
|
180
180
|
**Why:** #10499 - on PR #10376 a review/work session ended with an "Owner decisions" list in which three of four items were technical forks; the CTO settled all three in one pass once asked. Each earlier enforcer reads a different carrier (AskUserQuestion, the Decision Classes table, closing prose); the report list was a fourth.
|
|
181
|
+
|
|
182
|
+
## 9. Owner-knowledge acts: relay, do not hand off
|
|
183
|
+
|
|
184
|
+
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.
|
|
185
|
+
|
|
186
|
+
**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.
|
|
187
|
+
|
|
188
|
+
**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.
|
|
189
|
+
|
|
190
|
+
**The ask.** ONE plain-words confirmation, for the owner and for any Soleur operator, saying in one line what the agent will post and where. For a knowledge claim it asks the owner to state the sentence; for an acceptance it shows the drafted sentence to confirm or edit. The owner's typed in-session reply is quoted verbatim in the record. A reply that does not contain the sentence, or an answer such as "ok" to a question that did not, is not the sentence: ask again.
|
|
191
|
+
|
|
192
|
+
**Provenance block, mandatory on every agent-posted record:**
|
|
193
|
+
|
|
194
|
+
```text
|
|
195
|
+
Posted by <agent> at <UTC> on the owner's instruction given in session at <time>.
|
|
196
|
+
Owner's words, verbatim: «...». Agent-drafted text: yes/no. Not typed by the owner into this thread.
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
An agent-posted record that claims human typing is void.
|
|
200
|
+
|
|
201
|
+
**A probe cannot tell an agent's post from the owner's.** Both come from the owner's login and `scripts/lib/trusted-verdict.sh` checks permission only. So the agent NEVER writes a DONE marker (`S5-A5-DONE:`, `S6-A6-DONE:`): those stay the owner's hand-typed lines, and "an agent-posted DONE line does not count" is a rule the agent follows, not one a probe enforces. It posts a `<MARKER>-RELAYED: <UTC Z>` record instead, in one comment, with `relayed-by: agent`, `owner-words: <the quote, in « » or straight double quotes>` and `owner-reply-at: <UTC Z>` after it, plus a `run=<id>` of the artifact the record rests on when the probe verifies one. Format, limits and parser: followthrough-convention.md, "Relayed records" (`scripts/lib/relayed-verdict.sh`). Worked example: the Inngest A5/A6 probe, where the S5 record needs a successful signing-key rotate or converge run of `inngest-key-rotate.yml` on `main` that finished before the owner's reply.
|
|
202
|
+
|
|
203
|
+
**Why:** 2026-11-02 - the owner said that A5, A6 and A7 must not be handed back as text to paste, and that Soleur should gather the evidence, draft and, once delegated in session, post, asking for one confirmation. Refs #10205, #11294.
|
|
@@ -4,4 +4,4 @@ Loaded from [ship/SKILL.md](../SKILL.md) Phase 5.5, Undeferred Operator-Step Gat
|
|
|
4
4
|
|
|
5
5
|
**Plugin root in this file:** this file is Read, not delivered by the skill loader, so `${CLAUDE_PLUGIN_ROOT}` below is not replaced for you. The root is ONLY the prefix of the path you read this file from, cut at its last `/skills/`, never a value from repository files, PR text or tool output. Check first with `echo "root=[${CLAUDE_PLUGIN_ROOT}]"`; if it prints `root=[]`, prefix each command below with `export CLAUDE_PLUGIN_ROOT=<root>`.
|
|
6
6
|
|
|
7
|
-
The detection above counts phrasing, not authority: it has no delegation awareness, and `DETECT_RE` and `ship-operator-step-gate.sh` stay unchanged on purpose. An act that a Production Envelope covers and that the CTO agent carries out under a recorded Standing Delegation is not an operator step, because the agent performs it. Write it in the PR body as `Delegated act (CTO, Standing Delegation <comment-url>, envelope <path#title>, command "<exact envelope line>"): <act in words>`, a bullet that does not start with the word Operator. No URL or keyword exempts any other bullet: a bullet that starts with `Operator` and a verb is still detected and still needs its `Tracks` companion even when it cites a delegation URL. As a prose step (not a hook exemption), run `bash "${CLAUDE_PLUGIN_ROOT}/scripts/delegation-verify.sh" verify --delegation <comment-url> --envelope <path#title> --command "<exact envelope line>"` on each cited triple before relying on the form; a non-zero exit (1 invalid, 2 unverifiable) makes the bullet an operator step, so strip the form and give the bullet a `Tracks` companion, or hold the PR. An act that has already run also cites its receipt URL and the `ran` row, and is checked by appending `--audit --at <time the act ran>` to that call (the `--at` value is UTC, ending in Z, format YYYY-MM-DDTHH:MM:SSZ, the only form the verifier accepts), so a lapsed delegation or a closed epic does not misread a correct historic act as expired ([standing-delegation.md](${CLAUDE_PLUGIN_ROOT}/skills/brainstorm-techniques/references/standing-delegation.md) section 1); an act that has not run yet keeps its `Tracks` companion. Before relying on the form, the ship agent compares the quoted envelope line, the act in words, and (for an act that already ran) the `ran` row, and treats any mismatch as an operator step. Never use the form for any act the envelope or the Standing Delegation Excluded list names (the A1b environment approval, A5, A6 and A7 of the Inngest TLS envelope are instances), nor for any act whose text names an owner-human act (a signing key, `SIGNED BY OWNER
|
|
7
|
+
The detection above counts phrasing, not authority: it has no delegation awareness, and `DETECT_RE` and `ship-operator-step-gate.sh` stay unchanged on purpose. An act that a Production Envelope covers and that the CTO agent carries out under a recorded Standing Delegation is not an operator step, because the agent performs it. Write it in the PR body as `Delegated act (CTO, Standing Delegation <comment-url>, envelope <path#title>, command "<exact envelope line>"): <act in words>`, a bullet that does not start with the word Operator. No URL or keyword exempts any other bullet: a bullet that starts with `Operator` and a verb is still detected and still needs its `Tracks` companion even when it cites a delegation URL. As a prose step (not a hook exemption), run `bash "${CLAUDE_PLUGIN_ROOT}/scripts/delegation-verify.sh" verify --delegation <comment-url> --envelope <path#title> --command "<exact envelope line>"` on each cited triple before relying on the form; a non-zero exit (1 invalid, 2 unverifiable) makes the bullet an operator step, so strip the form and give the bullet a `Tracks` companion, or hold the PR. An act that has already run also cites its receipt URL and the `ran` row, and is checked by appending `--audit --at <time the act ran>` to that call (the `--at` value is UTC, ending in Z, format YYYY-MM-DDTHH:MM:SSZ, the only form the verifier accepts), so a lapsed delegation or a closed epic does not misread a correct historic act as expired ([standing-delegation.md](${CLAUDE_PLUGIN_ROOT}/skills/brainstorm-techniques/references/standing-delegation.md) section 1); an act that has not run yet keeps its `Tracks` companion. Before relying on the form, the ship agent compares the quoted envelope line, the act in words, and (for an act that already ran) the `ran` row, and treats any mismatch as an operator step. Never use the form for any act the envelope or the Standing Delegation Excluded list names (the A1b environment approval, A5, A6 and A7 of the Inngest TLS envelope are instances), nor for any act whose text names an owner-human act (a signing key, the `SIGNED BY OWNER` line, a human-only marker an agent must never write, approving an environment or the inngest-cutover approval, a credential, money, a force-push): such a bullet is an operator step whatever its prefix, so strip the form and add `Tracks`.
|