@soleur/opencode 3.381.2 → 3.381.4

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.381.2",
3
+ "version": "3.381.4",
4
4
  "description": "Soleur AI organization plugin for OpenCode",
5
5
  "type": "module",
6
6
  "bin": {
@@ -96,7 +96,7 @@ jobs:
96
96
  - name: Dispatch agent to fix the gate (fix-only)
97
97
  if: steps.gate.outputs.rc != '0' && steps.preflight.outputs.ok == 'true'
98
98
  id: agent
99
- uses: anthropics/claude-code-action@20f0b248c5003db4b9ca43c45e17949bcdc36d2d # v1.0.236
99
+ uses: anthropics/claude-code-action@3b7e1a45ca6f231c62605aabcf79e6a41b08c7da # v1.0.263
100
100
  with:
101
101
  anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
102
102
  # `id-token: write` is deliberately ABSENT here (untrusted pull_request
@@ -43,7 +43,7 @@ step), not a PR.
43
43
  | # | Item | Disposition | Surface |
44
44
  |---|------|-------------|---------|
45
45
  | 1 | **Model-ID swaps** | **AUTO-FIX** | config-class files (server SDK call sites, Inngest `cron-*.ts`, `leader-prompts/constants.ts`, workflow `--model`, skill reference docs) — never test fixtures, archives, `knowledge-base/**`, or community digests |
46
- | 2 | **claude-code-action pin freshness** | flag-only in `audit-models.sh` (never applied by `--fix`) | `.github/workflows/*.yml` pins; a bump is a supply-chain change, applied by the agent (not `--fix`) ONLY when coupled to a `--model` swap in the same workflow (#2540 invariant) AND after the CTO ruling on the bump; the ruling is recorded in the PR body of the PR that carries the bump — never applied silently |
46
+ | 2 | **claude-code-action pin freshness** | flag-only in `audit-models.sh` (never applied by `--fix`) | `.github/workflows/*.yml` pins; a bump is a supply-chain change, applied by the agent (not `--fix`) ONLY when coupled to a `--model` swap in the same workflow (#2540 invariant), or when forced by a vulnerability in the action's bundled runtime (#12102: the ruling links the advisory or records the measured runtime version), AND after the CTO ruling on the bump; the ruling is recorded in the PR body of the PR that carries the bump (in a pipeline run, also in the branch's `decision-challenges.md`) — never applied silently |
47
47
  | 2b | **Pinned `claude-code` CLI knows the new model** | flag-only (**blocks the swap**) | `apps/web-platform/package.json` + `Dockerfile`. The CLI carries a BUNDLED per-model table; an absent ID is treated as a garbage ID and silently gets **half** the `max_tokens` (measured 64000 → 32000, #6934). Invisible to the ID sweep, `tsc`, and the suite — argv is well-formed and the run succeeds |
48
48
  | 3 | **Thinking-API shape** | flag-only | Config sets no `thinking`/`output_config`, but the **CLI injects both itself** off its bundled table: `thinking:{type:"adaptive"}` plus the row's per-model `default_effort` (claude-opus-5-5: `medium`; Opus 5 was `high`). So "no params in config" is NOT "defaults apply" — item 2b is what actually moves this. Re-read `default_effort` for EVERY tier's row at each launch: the audit crons override it via `AUDIT_EFFORT` in `apps/web-platform/server/inngest/model-tiers.ts` (re-decide it), while execution crons stay on the default by design (ADR-053 amendment, #8603) — note their drift, do not pin it. A swap can also change RESPONSE block ordering (thinking-by-default puts a thinking block first), so re-read every `data.content` reader: [scripts/lint-anthropic-content-position.py](../../../../scripts/lint-anthropic-content-position.py) blocks it on every PR, and this audit echoes the same scan advisorily (#8392) |
49
49
  | 4 | **Pricing-table drift** | flag-only | `agent-on-spawn-requested.ts` `MODEL_PRICING` (billing constant — never auto-edit); compare vs the `claude-api` source-of-truth |
@@ -161,7 +161,7 @@ Only item 1 is applied by `--fix`. Items 2–6 are reported in the PR body for a
161
161
  explicit `UNKNOWN` when `gh` is missing or unauthenticated — an unreachable API is
162
162
  never a freshness pass.
163
163
 
164
- Bump a pin only when a `--model` swap lands in the same workflow (#2540), and only after the CTO ruling on the bump (recorded in the PR body of the PR that carries it). The agent applies the bump by hand after that ruling; `--fix` never does. A pin bump is a supply-chain change and is never applied silently.
164
+ Bump a pin only when a `--model` swap lands in the same workflow (#2540), and only after the CTO ruling on the bump (recorded in the PR body of the PR that carries it). The agent applies the bump by hand after that ruling; `--fix` never does. A pin bump is a supply-chain change and is never applied silently. The coupling governs this freshness pass; a bump forced by a vulnerability in the action's bundled runtime is a different change and needs no `--model` swap, but the recorded CTO ruling must link the advisory or record the measured runtime version (#12102).
165
165
 
166
166
  5. **Open a CI-gated PR** under operator identity (`worktree-manager.sh create` + `gh pr create`).
167
167
  The PR body lists the model-ID diff plus a **flag section** (pin freshness, pricing drift,
@@ -358,7 +358,7 @@ if [[ ${#pins[@]} -gt 0 ]]; then
358
358
  else
359
359
  echo " pin freshness: UNKNOWN (gh not on PATH) — NOT a freshness pass."
360
360
  fi
361
- echo " bump a pin ONLY when coupled to a --model swap in the same workflow (#2540 invariant)."
361
+ echo " bump a pin ONLY when coupled to a --model swap in the same workflow (#2540 invariant), or when a CTO ruling links a vulnerability in the action's bundled runtime or records its measured version (#12102)."
362
362
  else
363
363
  echo " no claude-code-action pins under .github (or scanning a test root)."
364
364
  fi
@@ -51,7 +51,7 @@ jobs:
51
51
  # show_full_output is deliberately OFF (absent). The flag leaks ALL tool execution
52
52
  # results — which here include private financial/incident data — into the run logs.
53
53
  - name: Synthesize digest
54
- uses: anthropics/claude-code-action@ab8b1e6471c519c585ba17e8ecaccc9d83043541 # v1.0.101
54
+ uses: anthropics/claude-code-action@3b7e1a45ca6f231c62605aabcf79e6a41b08c7da # v1.0.263
55
55
  env:
56
56
  # Align both token contexts so the in-action cross-repo `gh` read does not
57
57
  # silently 403/return-empty under the App-installation token (#3403).
@@ -63,9 +63,12 @@ jobs:
63
63
  plugins: 'soleur@soleur-marketplace'
64
64
  # The allowlist deliberately OMITS `gh issue create`: the agent CANNOT post.
65
65
  # It may read PRs/issues and git log, and write files (digest.md) only.
66
+ # The value is QUOTED on purpose: the action tokenises claude_args like a shell, so an
67
+ # unquoted `Bash(gh pr list:*)` is split at its spaces on every release (and on v1.0.101
68
+ # the parentheses were dropped too, widening the rule to bare `Bash`).
66
69
  claude_args: >-
67
70
  --max-turns 30
68
- --allowedTools Write,Read,Glob,Grep,Bash(date:*),Bash(ls:*),Bash(gh pr list:*),Bash(gh issue list:*),Bash(git log:*)
71
+ --allowedTools "Write,Read,Glob,Grep,Bash(date:*),Bash(ls:*),Bash(gh pr list:*),Bash(gh issue list:*),Bash(git log:*)"
69
72
  prompt: |
70
73
  Run /soleur:operator-digest on the checked-out jikig-ai/soleur repository.
71
74
  Read the six sources, synthesize the six plain-language sections, and write the
@@ -12,22 +12,22 @@
12
12
  }
13
13
  },
14
14
  "node_modules/@anthropic-ai/claude-agent-sdk": {
15
- "version": "0.3.310",
16
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.310.tgz",
17
- "integrity": "sha512-fo+sr+9Ks73P001f6XKRQlyzfIBAJMgXArLUkH5Tu98NikRDZeGtFQVj23d5/hj2ijpFgzffrr4fHywY9qUkoQ==",
15
+ "version": "0.3.311",
16
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.3.311.tgz",
17
+ "integrity": "sha512-8aKYcHGB3LsYP79e2EHNdwbpIvRJkMLd19qSx4u9+J9yDDAK7w9uy1GyvFUz8xa1A+xIEtTW1k/r419uE/Kbsw==",
18
18
  "license": "SEE LICENSE IN README.md",
19
19
  "engines": {
20
- "node": ">=18.0.0"
20
+ "node": ">=18.14.0"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.310",
24
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.310",
25
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.310",
26
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.310",
27
- "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.310",
28
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.310",
29
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.310",
30
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.310"
23
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.311",
24
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.311",
25
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.311",
26
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.311",
27
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.311",
28
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.311",
29
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.311",
30
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.311"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@anthropic-ai/sdk": ">=0.93.0",
@@ -36,9 +36,9 @@
36
36
  }
37
37
  },
38
38
  "node_modules/@anthropic-ai/claude-agent-sdk-darwin-arm64": {
39
- "version": "0.3.310",
40
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.310.tgz",
41
- "integrity": "sha512-gpzMjDZdcdA2Webuqm9j76exG8yNK/755ZYWbS3MM4vVBlAsm+enEO+hhNt0Mx1VMil28RWetvTO4ZJ3YODVMA==",
39
+ "version": "0.3.311",
40
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-arm64/-/claude-agent-sdk-darwin-arm64-0.3.311.tgz",
41
+ "integrity": "sha512-pzlXQGLh3pH/oIAliApR79OIkTFTAGpWJpf1HLt5MocWPBxox/aoHVWOKHqbnYnmGrr54LwdG+E4V1boaQzyvA==",
42
42
  "cpu": [
43
43
  "arm64"
44
44
  ],
@@ -49,9 +49,9 @@
49
49
  ]
50
50
  },
51
51
  "node_modules/@anthropic-ai/claude-agent-sdk-darwin-x64": {
52
- "version": "0.3.310",
53
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.310.tgz",
54
- "integrity": "sha512-ZRQ4ZrzE2OOfR+Fx8h+CM4NKh0UiYqlh5TowP7HUhn5KUoYMjoSR/xIhix8ow42X2IDiBy0FjEVaA/Awhu2KAw==",
52
+ "version": "0.3.311",
53
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-darwin-x64/-/claude-agent-sdk-darwin-x64-0.3.311.tgz",
54
+ "integrity": "sha512-xVoQD+ZwScwbPitYBmedm1/j3dUIyyLFB1zgk3q99YQXac6r6wAKR4HP+QTrrEwsQa0slePbE/Ljj/5u2z14nw==",
55
55
  "cpu": [
56
56
  "x64"
57
57
  ],
@@ -62,9 +62,9 @@
62
62
  ]
63
63
  },
64
64
  "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64": {
65
- "version": "0.3.310",
66
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.310.tgz",
67
- "integrity": "sha512-l6SPgUmJknjx+6/Pb7OR353fm3xBNAWqodFoC/Cflg0yMcLfz9iwNIc3Drgos2DqfHnid+ODqDzSO93AgQ7RmA==",
65
+ "version": "0.3.311",
66
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64/-/claude-agent-sdk-linux-arm64-0.3.311.tgz",
67
+ "integrity": "sha512-iCic3eanG/Cb6MZan0uiGzBExwVu3ZDABih5uR0iBQ/bVF0yXiG79EwwJC7DPzgu2RQghtECR+q6wx/+Z2YUHg==",
68
68
  "cpu": [
69
69
  "arm64"
70
70
  ],
@@ -78,9 +78,9 @@
78
78
  ]
79
79
  },
80
80
  "node_modules/@anthropic-ai/claude-agent-sdk-linux-arm64-musl": {
81
- "version": "0.3.310",
82
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.310.tgz",
83
- "integrity": "sha512-viXuvvtli3pfHzTEI+oeJzk3nldkfHvj757Xh/uAeximUT9ANZIq4SMZw2cSqbhASjni0qcO6B1x4BGx2LuQpw==",
81
+ "version": "0.3.311",
82
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-arm64-musl/-/claude-agent-sdk-linux-arm64-musl-0.3.311.tgz",
83
+ "integrity": "sha512-sXUjbaZCguGRUmTC5nJWbj7pmvT+RiUXxiGx7/o4Lj+V3BqL2YdQh33blYWFw+9HlVC2+sKSMWfEsVh0GHcA6A==",
84
84
  "cpu": [
85
85
  "arm64"
86
86
  ],
@@ -94,9 +94,9 @@
94
94
  ]
95
95
  },
96
96
  "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64": {
97
- "version": "0.3.310",
98
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.310.tgz",
99
- "integrity": "sha512-jx7awHPoofXuE6cRRQSzLUFyW6aUXbYD9AtnNIDUHmmPPrgJ9nSnqjPaqcNhOdaZH7onUUujEAq26N2tx29fYg==",
97
+ "version": "0.3.311",
98
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64/-/claude-agent-sdk-linux-x64-0.3.311.tgz",
99
+ "integrity": "sha512-yq7zMyESMnznCLTre5NRmyfedDp24I2c94DdCq9TCMRUQEhhW1Zb2UC9QAQP28ZzncP2dSs70EM8Nvp2+VBSqg==",
100
100
  "cpu": [
101
101
  "x64"
102
102
  ],
@@ -110,9 +110,9 @@
110
110
  ]
111
111
  },
112
112
  "node_modules/@anthropic-ai/claude-agent-sdk-linux-x64-musl": {
113
- "version": "0.3.310",
114
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.310.tgz",
115
- "integrity": "sha512-/qFgN5LcofB8PayxBXoa+xDxkYPPQeo/eCyN0DsyyeI67ifH/l49pz9J+sH0+ctDe9und0vMCJPzng70bx2K+Q==",
113
+ "version": "0.3.311",
114
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-linux-x64-musl/-/claude-agent-sdk-linux-x64-musl-0.3.311.tgz",
115
+ "integrity": "sha512-BFSmzqnnVnNirnfy8EJ5f/S3G0JHjN+V0bBVJGDy3Mn1ptfV4/832Wh9hIkwYGVii+jA5aoanSVG3b9tK/I8ZA==",
116
116
  "cpu": [
117
117
  "x64"
118
118
  ],
@@ -126,9 +126,9 @@
126
126
  ]
127
127
  },
128
128
  "node_modules/@anthropic-ai/claude-agent-sdk-win32-arm64": {
129
- "version": "0.3.310",
130
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.310.tgz",
131
- "integrity": "sha512-tRmDMhZpoWAIrZxFBTh6vyZB8W5gldU5/Rfo+cyq/OvBKTxxbim+/0tIa9QlJQncoVLXVN9eySYeeB9KMjio7w==",
129
+ "version": "0.3.311",
130
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-arm64/-/claude-agent-sdk-win32-arm64-0.3.311.tgz",
131
+ "integrity": "sha512-DEWpHyDg86ffG3I0hHxLTfrOshzGBea4mrhNxj43jpbyO1vl9de8KYlnazhruNPi6u6mxL5ly5ihhxeWuutE1A==",
132
132
  "cpu": [
133
133
  "arm64"
134
134
  ],
@@ -139,9 +139,9 @@
139
139
  ]
140
140
  },
141
141
  "node_modules/@anthropic-ai/claude-agent-sdk-win32-x64": {
142
- "version": "0.3.310",
143
- "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.310.tgz",
144
- "integrity": "sha512-zvrIApxPccTJc6gCOtw5hj27QjWhhTi3z5x5iMmf9f0LZAKR+9mrgENVeFL7PP7zRGdYVhhX2SahbzxN83L/eA==",
142
+ "version": "0.3.311",
143
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk-win32-x64/-/claude-agent-sdk-win32-x64-0.3.311.tgz",
144
+ "integrity": "sha512-I92TwBhMkpc9pLwu1SwLiz6wqXkcmMPAdz4LgpwKAeyB5rum2GyZgYPIDTRYEpo3cX0nEP2qmyxtKEO/tLFfoA==",
145
145
  "cpu": [
146
146
  "x64"
147
147
  ],
@@ -9,6 +9,7 @@
9
9
  "overrides": {
10
10
  "undici": "8.12.2",
11
11
  "sharp": "0.35.5",
12
- "minimatch": "11.0.1"
12
+ "minimatch": "11.0.1",
13
+ "@anthropic-ai/claude-agent-sdk": "0.3.311"
13
14
  }
14
15
  }
@@ -347,4 +347,6 @@ NEVER CODE! Just research and write the plan.
347
347
 
348
348
  - **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
349
 
350
+ - **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`.
351
+
350
352
  - **Before a plan prescribes a new helper or subcommand because "the existing tool only does Y", run the existing tool once with the degenerate input** (a blank candidates entry, an empty filter, the identity value) and read the output. A sentence of the form "X cannot do Z" is a claim about behaviour, not a finding. **Why:** #12013/#12025 (PR #12103) - the plan said `glob-rate` only models a candidate edge set and prescribed `suite-rate` (code, a 235-line test, two manifest rows); a blank-entry candidates file reported the same rates, and the tool was removed before merge. See `knowledge-base/project/learnings/2026-11-05-a-new-tool-was-built-for-a-case-the-existing-one-already-handled-and-the-measurement-method-changed-the-mechanism.md`.