@soleur/opencode 3.393.0 → 3.393.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.
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ description: "This skill should be used when auditing the recurring per-model-re
|
|
|
14
14
|
# Model-launch review
|
|
15
15
|
|
|
16
16
|
`model-launch-review` runs the recurring per-model-release checklist. Each release
|
|
17
|
-
(Opus 4.6 → 4.7 → 4.8 → Fable 5 → Fable 5.1 → Opus 5.5 → Sonnet 5.5 → Haiku 5.5) recurs the same Anthropic audit; an xAI
|
|
17
|
+
(Opus 4.6 → 4.7 → 4.8 → Fable 5 → Fable 5.1 → Opus 5.5 → Sonnet 5.5 → Haiku 5.5 → Fable 5.2) recurs the same Anthropic audit; an xAI
|
|
18
18
|
release adds item 6, a Cognition release adds item 7. This skill **audits** every item,
|
|
19
19
|
**auto-fixes** the one mechanical-bulk item (stale model-ID swaps) into a **CI-gated PR**
|
|
20
20
|
under operator identity, and **flags** the rest for a CTO agent ruling (any change that raises spend or edits the `MODEL_PRICING` billing constant stays operator authorization). ADR-053 names this skill as
|
|
@@ -76,6 +76,11 @@ Only item 1 is applied by `--fix`. Items 2–7 are reported in the PR body for a
|
|
|
76
76
|
intermediate id, which `--detect` then re-flags forever — a permanently-red drift cron
|
|
77
77
|
auto-filing issues it cannot fix. `assert_single_hop` enforces this (exit 78) and
|
|
78
78
|
`model-launch-review.test.ts` pins it, so a chained table fails fast rather than silently.
|
|
79
|
+
A new or retargeted pair also touches that test file in six places: `CURRENT_IDS`, the `SUPERSEDED`
|
|
80
|
+
map, the synthetic-prefix source string, the id named in the prefix test's floor message, the sed-anchor
|
|
81
|
+
fixture and the pair-count floor. For a Fable pair, do not merge a `--fix` until the pinned CLI bundle
|
|
82
|
+
contains the new id (`grep -a` the unpacked platform package): `[2b]` probes only ids that appear as
|
|
83
|
+
literals in `model-tiers.ts` and `constants.ts`, and no Fable literal does today (#12514).
|
|
79
84
|
|
|
80
85
|
Then verify item 2b: the new ID must appear in the **pinned** `@anthropic-ai/claude-code`
|
|
81
86
|
bundle (`[2b]` in the audit output). If it reports DRIFT, in ONE PR: (1) bump the pin in
|
|
@@ -187,7 +192,7 @@ change" trigger never fired when Fable 5 shipped. The cron files an issue, never
|
|
|
187
192
|
changing nothing (the sed's boundary correctly declines), and `--detect` re-flags it forever —
|
|
188
193
|
a permanently-red drift cron auto-filing issues it cannot fix, with no fable involved. So the
|
|
189
194
|
invariant is the general one, and dated ids were its standing violation.
|
|
190
|
-
`claude-fable-5` → `claude-fable-5-1` is what made it *unavoidable
|
|
195
|
+
`claude-fable-5` → `claude-fable-5-1` is what made it *unavoidable* (that pair was retargeted to `claude-fable-5-2` at the 5.2 launch, 2026-11-09): it is the first pair whose
|
|
191
196
|
stale id is a strict PREFIX of its own target, so the mismatch fires on the id that is CURRENT
|
|
192
197
|
rather than only on a longer variant nobody had written yet. `assert_single_hop` catches
|
|
193
198
|
neither shape (the target is not itself a source id). Both halves now derive from `ID_BOUNDARY`
|
|
@@ -59,7 +59,8 @@ AUTOFIX_PAIRS=(
|
|
|
59
59
|
"claude-sonnet-5=claude-sonnet-5-5"
|
|
60
60
|
"claude-sonnet-4-6=claude-sonnet-5-5"
|
|
61
61
|
"claude-sonnet-4-5=claude-sonnet-5-5"
|
|
62
|
-
"claude-fable-5=claude-fable-5-
|
|
62
|
+
"claude-fable-5=claude-fable-5-2"
|
|
63
|
+
"claude-fable-5-1=claude-fable-5-2"
|
|
63
64
|
# Haiku 5.5 launch, 2026-10-08. BOTH Haiku 4.5 spellings: the id boundary defined
|
|
64
65
|
# below makes the undated id a different token from the dated one, so one pair alone
|
|
65
66
|
# leaves the other spelling stale forever. Both RHS are the current id, so the
|
|
@@ -114,7 +115,7 @@ autofix_from_re() {
|
|
|
114
115
|
# its own target (`claude-sonnet-5` and `claude-opus-5` now share that shape),
|
|
115
116
|
# so the mismatch fires on the id that is CURRENT rather than only
|
|
116
117
|
# on a longer variant nobody had written yet. `assert_single_hop` does NOT catch
|
|
117
|
-
# either shape ('claude-fable-5-
|
|
118
|
+
# either shape ('claude-fable-5-2' is not itself a source id).
|
|
118
119
|
#
|
|
119
120
|
# Selection and rewriting MUST use this one boundary, or they can disagree
|
|
120
121
|
# again: the sed cannot fix what only the grep considers stale.
|
|
@@ -263,7 +264,7 @@ if [[ "$MODE" == "fix" ]]; then
|
|
|
263
264
|
from="${pair%%=*}"; to="${pair#*=}"
|
|
264
265
|
# anchored on the SAME boundary as selection (ID_BOUNDARY): preserve the
|
|
265
266
|
# trailing char so a longer/dated variant (claude-opus-4-7-20260101) or a
|
|
266
|
-
# successor that extends the stale id (claude-fable-5-
|
|
267
|
+
# successor that extends the stale id (claude-fable-5-2) is NOT corrupted
|
|
267
268
|
# by a prefix swap.
|
|
268
269
|
sed -i -E "s/${from}${ID_BOUNDARY}/${to}\1/g" "$f"
|
|
269
270
|
done
|