instar 1.3.1225 → 1.3.1226

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ModelSwapService.d.ts","sourceRoot":"","sources":["../../src/core/ModelSwapService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAOL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAe,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG/E,8EAA8E;AAC9E,MAAM,WAAW,iBAAiB;IAChC,mBAAmB,IAAI,OAAO,EAAE,CAAC;IACjC,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACzE,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CACxD;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,mEAAmE;IACnE,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,iBAAiB,EAAE,MAAM,MAAM,EAAE,CAAC;IAClC,SAAS,EAAE,MAAM,oBAAoB,CAAC;IACtC,QAAQ,EAAE,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IAC1E;;;;;;;;;;;;;;;;OAgBG;IACH,mBAAmB,CAAC,EAAE,CACpB,OAAO,EAAE,OAAO,KACb;QAAE,kBAAkB,EAAE,OAAO,CAAC;QAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1E;;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C6D;IAC7D,OAAO,CAAC,KAAK;CAWd"}
@@ -92,7 +92,16 @@ export function paneConfirmsModel(tail, modelId) {
92
92
  const version = m[2].split('-').filter(Boolean).slice(0, 2).join('.');
93
93
  alternatives.push(escapeRe(version ? `${family} ${version}` : family));
94
94
  }
95
- const ack = new RegExp(`set model to[^\\n]*\\b(?:${alternatives.join('|')})\\b`, 'i');
95
+ // The trailing `(?![.\-]\d)` is load-bearing: a shorter version is a literal
96
+ // PREFIX of a longer one, and `\b` sits between the digit and the separator, so
97
+ // without it "Set model to Fable 5.1" CONFIRMS a swap to `claude-fable-5` — the
98
+ // pane says 5.1, the ledger records 5, and the session's recorded model + cost
99
+ // attribution are silently wrong. Dormant until a `-N` sibling existed; live the
100
+ // moment `claude-fable-5-1` became pinnable (2026-09-06). It rejects only a
101
+ // VERSION continuation (a separator followed by a digit), so a sentence-ending
102
+ // "Set model to Fable 5." still confirms — the false-negative direction is the
103
+ // safe one for this function, but a needless one is still a bug.
104
+ const ack = new RegExp(`set model to[^\\n]*\\b(?:${alternatives.join('|')})\\b(?![.\\-]\\d)`, 'i');
96
105
  return tail.split('\n').some(line => {
97
106
  if (line.includes('/model'))
98
107
  return false; // echo of our injected input
@@ -1 +1 @@
1
- {"version":3,"file":"ModelSwapService.js","sourceRoot":"","sources":["../../src/core/ModelSwapService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,gBAAgB,GAIjB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAyE3E;;;;GAIG;AACH,MAAM,UAAU,sBAAsB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,CAAC,CAAC,CAAC,gDAAgD;QAC7F,IAAI,CAAC,KAAK,CAAC;YACT,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,OAAO,CAAC,IAAI;YACrB,IAAI;YACJ,KAAK,EAAE,QAAQ;YACf,QAAQ;YACR,gBAAgB,EAAE,IAAI;YACtB,OAAO,EAAE,uBAAuB;SACjC,CAAC,CAAC;QACH,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACtE,CAAC;IAED,0EAA0E;IAElE,MAAM,CAAC,WAAmB,EAAE,IAAoB,EAAE,MAAc;QACtE,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QACpE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IACvC,CAAC;IAED;iEAC6D;IACrD,KAAK,CAAC,KAA8B;QAC1C,IAAI,CAAC;YACH,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAChE,EAAE,CAAC,cAAc,CACf,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,IAAI,CAClG,CAAC;QACJ,CAAC;QAAC,MAAM,CAAC;YACP,gDAAgD;QAClD,CAAC;IACH,CAAC;CACF"}
@@ -125,7 +125,7 @@ export interface TierEscalationConfig {
125
125
  /** §9 schema defaults — exactly the converged spec's config block. */
126
126
  export declare const DEFAULT_TIER_ESCALATION_CONFIG: TierEscalationConfig;
127
127
  import type { IntelligenceFramework } from './intelligenceProviderFactory.js';
128
- export declare const KNOWN_CLAUDE_MODEL_IDS: readonly ["claude-fable-5", "claude-opus-4-8", "claude-opus-4-7", "claude-opus-4-6", "claude-sonnet-4-6", "claude-haiku-4-5", "claude-haiku-4-5-20251001", "opus", "sonnet", "haiku"];
128
+ export declare const KNOWN_CLAUDE_MODEL_IDS: readonly ["claude-fable-5-1", "claude-opus-5", "claude-sonnet-5", "claude-fable-5", "claude-opus-4-8", "claude-opus-4-7", "claude-opus-4-6", "claude-sonnet-4-6", "claude-haiku-4-5", "claude-haiku-4-5-20251001", "fable", "opus", "sonnet", "haiku"];
129
129
  export declare const KNOWN_CODEX_MODEL_IDS: readonly ["gpt-5.2", "gpt-5.3-codex", "gpt-5.4", "gpt-5.4-mini", "gpt-5.5", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-6-astra"];
130
130
  export declare const KNOWN_MODEL_IDS: Record<EscalationFramework, readonly string[]>;
131
131
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ModelTierEscalation.d.ts","sourceRoot":"","sources":["../../src/core/ModelTierEscalation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,mBAAmB,EAK/D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,WAAW,CAAC;AAErD,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,kBAAkB,CAAC;AAEhE,MAAM,WAAW,4BAA4B;IAC3C,2DAA2D;IAC3D,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,4EAA4E;IAC5E,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,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B,MAAM,EAAE,oBAAoB,GAAG,SAAS,EACxC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GACzC,MAAM,GAAG,IAAI,CA+Bf;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,oBAAoB,GAAG,SAAS,GACvC,OAAO,CAIT;AAED;+DAC+D;AAC/D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,CAQvF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,wBAAwB,EAChC,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAC3C,GAAG,EAAE,OAAO,GACX,oBAAoB,CAkCtB"}
@@ -85,6 +85,15 @@ export const DEFAULT_TIER_ESCALATION_CONFIG = {
85
85
  */
86
86
  import { KNOWN_GEMINI_MODELS } from '../providers/adapters/gemini-cli/models.js';
87
87
  export const KNOWN_CLAUDE_MODEL_IDS = [
88
+ // Claude 5 family — live on the claude-code subscription CLI (verified
89
+ // against `claude --model <id> -p` on CLI 2.1.263, 2026-09-06). Their
90
+ // absence was not a policy choice: the enum simply lagged a generation, so
91
+ // `frameworkDefaultModels['claude-code'] = 'claude-opus-5'` was silently
92
+ // dropped at the resolution clamp and a topic pin to Fable 5.1 was refused
93
+ // `off-enum` — a stale allowlist reads exactly like a deliberate refusal.
94
+ 'claude-fable-5-1',
95
+ 'claude-opus-5',
96
+ 'claude-sonnet-5',
88
97
  'claude-fable-5',
89
98
  'claude-opus-4-8',
90
99
  'claude-opus-4-7',
@@ -92,6 +101,9 @@ export const KNOWN_CLAUDE_MODEL_IDS = [
92
101
  'claude-sonnet-4-6',
93
102
  'claude-haiku-4-5',
94
103
  'claude-haiku-4-5-20251001',
104
+ // CLI tier aliases. 'fable' was missing while its three siblings were
105
+ // present — the same lag, one layer down.
106
+ 'fable',
95
107
  'opus',
96
108
  'sonnet',
97
109
  'haiku',
@@ -1 +1 @@
1
- {"version":3,"file":"ModelTierEscalation.js","sourceRoot":"","sources":["../../src/core/ModelTierEscalation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAgCH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAmC;IACnE,aAAa;IACb,WAAW;IACX,YAAY;IACZ,QAAQ;CACT,CAAC;AAyEF,sEAAsE;AACtE,MAAM,CAAC,MAAM,8BAA8B,GAAyB;IAClE,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,IAAI;IACZ,4EAA4E;IAC5E,2DAA2D;IAC3D,UAAU,EAAE,KAAK;IACjB,4EAA4E;IAC5E,qEAAqE;IACrE,eAAe,EAAE,KAAK;IACtB,QAAQ,EAAE;QACR,MAAM,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;QAC9D,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,KAAK;KACtB;IACD,UAAU,EAAE;QACV,aAAa,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE;QAC1E,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;QAC/C,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;QAChD,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;KAC7C;IACD,UAAU,EAAE;QACV,kBAAkB,EAAE,EAAE,gBAAgB,EAAE,YAAY,EAAE;QACtD,oBAAoB,EAAE,IAAI;QAC1B,gCAAgC,EAAE,CAAC;QACnC,qBAAqB,EAAE,CAAC;QACxB,kBAAkB,EAAE,IAAI;QACxB,kBAAkB,EAAE,UAAU,EAAE,K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CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;YACzE,kBAAkB,EAAE;gBAClB,GAAG,CAAC,CAAC,CAAC,UAAU,EAAE,kBAAkB,IAAI,OAAO,CAAC,CAAC,UAAU,CAAC,kBAAkB,KAAK,QAAQ;oBACzF,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB;oBACjC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;aACrC;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
5
- "packageVersion": "1.3.1225",
5
+ "packageVersion": "1.3.1226",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "77e0517d9f71ef713a5effda1eaa9c6a958245904be46da6508f9f67d35a4e6d",
2
+ "sha256": "479204643e8fe4c13f4cba84bad83e001cee73e7c1942507c11a35de2ea14c0a",
3
3
  "registrySha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
4
- "packageVersion": "1.3.1225"
4
+ "packageVersion": "1.3.1226"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
3
3
  "articleCount": 90,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.1225"
5
+ "packageVersion": "1.3.1226"
6
6
  }
@@ -21,7 +21,7 @@ export declare function buildThroughputSeries(opts: {
21
21
  weights?: Weights;
22
22
  }): Promise<{
23
23
  repo: string;
24
- windowDays: 7 | 14 | 30;
24
+ windowDays: 14 | 7 | 30;
25
25
  generatedAt: string;
26
26
  weights: Weights;
27
27
  rows: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.1225",
3
+ "version": "1.3.1226",
4
4
  "description": "Coherence infrastructure for self-evolving AI agents — on the Claude Code or Codex subscription you already have.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "verifiedAt": "carried-over-from-allowlist"
48
48
  }
49
49
  ],
50
- "note": "Primary door. Tier aliases opus/sonnet/haiku auto-resolve to latest and do NOT rot; only concrete claude-*-N ids in topModels are pinned. topModels seeded 1:1 from the reviewed frontierAllowlist (spec D4 carry-over); the first enabled scan re-verifies."
50
+ "note": "Primary door. Tier aliases fable/opus/sonnet/haiku auto-resolve to latest and do NOT rot; only concrete claude-*-N ids in topModels are pinned. topModels seeded 1:1 from the reviewed frontierAllowlist (spec D4 carry-over); the first enabled scan re-verifies. UPDATE 2026-09-06: the Claude 5 family (claude-fable-5-1, claude-opus-5, claude-sonnet-5) plus the 'fable' tier alias were live-verified against claude-code CLI 2.1.263 and added to the ACCEPTANCE allowlist KNOWN_CLAUDE_MODEL_IDS — closing a real drift, since the 2026-08-18 review had already recorded claude-opus-5/claude-sonnet-5 as frontier here while the acceptance list still refused them off-enum (and the shipped frameworkDefaultModels['claude-code'] = 'claude-opus-5' was being dropped at the resolution clamp as a result). RECOGNIZED is not FRONTIER: claude-fable-5-1 is deliberately NOT added to topModels / promoted over claude-fable-5, and the escalated pin stays claude-fable-5 — a model earns the routing lane via benchmarks, not release date. Frontier/pin promotion of claude-fable-5-1 is a tracked follow-up (ACT-514 also tracks the missing freshness guard on the acceptance list itself, which is the layer that rotted)."
51
51
  },
52
52
  "anthropic-headless": {
53
53
  "name": "Anthropic headless (claude -p)",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-09-06T05:24:18.583Z",
5
- "instarVersion": "1.3.1225",
4
+ "generatedAt": "2026-09-06T19:59:53.191Z",
5
+ "instarVersion": "1.3.1226",
6
6
  "entryCount": 202,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
5
- "packageVersion": "1.3.1225",
5
+ "packageVersion": "1.3.1226",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "77e0517d9f71ef713a5effda1eaa9c6a958245904be46da6508f9f67d35a4e6d",
2
+ "sha256": "479204643e8fe4c13f4cba84bad83e001cee73e7c1942507c11a35de2ea14c0a",
3
3
  "registrySha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
4
- "packageVersion": "1.3.1225"
4
+ "packageVersion": "1.3.1226"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "8e6606a6722433c5ffc15b3870402283c5406083a14cdbd0e18e735731e2aae2",
3
3
  "articleCount": 90,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.1225"
5
+ "packageVersion": "1.3.1226"
6
6
  }
@@ -0,0 +1,64 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ instar gates claude-code model ids against a closed list — an unknown id is refused so a
9
+ typo can never launch a session that dies at startup. That list had aged out a generation:
10
+ it topped out at `claude-fable-5` / `claude-opus-4-8`, so pinning a topic to Fable 5.1 was
11
+ refused `off-enum` on a machine whose CLI runs the model on demand. A stale list and a
12
+ deliberate policy refusal produce the same message, which is what made this read as "instar
13
+ doesn't support that model."
14
+
15
+ The same staleness had a second, quieter effect. `frameworkDefaultModels['claude-code']`
16
+ was already set to `claude-opus-5` on installs that had moved to the Claude 5 family — and
17
+ because that id was off the list too, it was being dropped at the resolution clamp and the
18
+ session fell through to the CLI's own default. The configured value was being discarded with
19
+ no operator-visible reason.
20
+
21
+ `claude-fable-5-1`, `claude-opus-5`, `claude-sonnet-5` and the `fable` tier alias are added,
22
+ each verified working first against claude-code CLI 2.1.263 — only observed-working ids are
23
+ added, and a test now asserts that an unverified sibling (`claude-fable-6`, `claude-opus-6`)
24
+ is still refused, so the list cannot drift from "verified" to "seemed likely." The `fable`
25
+ alias closes a plain asymmetry: `opus`, `sonnet` and `haiku` were already accepted as
26
+ shorthand and `fable` was not.
27
+
28
+ Recognized is deliberately not promoted to preferred. The escalation policy still points at
29
+ `claude-fable-5`, and `claude-fable-5-1` is not added to the model registry's frontier set —
30
+ a model earns the routing lane via benchmarks, not release date. The registry's claude-code
31
+ door note records that distinction, and records the drift this closes: the 2026-08-18 review
32
+ had already classified `claude-opus-5` and `claude-sonnet-5` as frontier while the
33
+ acceptance list still refused them, so the two layers had been disagreeing for three weeks.
34
+
35
+ ## What to Tell Your User
36
+
37
+ You can now pin a conversation to Fable 5.1, Opus 5 or Sonnet 5 the way you pin any other
38
+ model — just say so in the topic — and "fable" works as shorthand, the way "opus", "sonnet"
39
+ and "haiku" already did. If your setup already named one of the Claude 5 models as its
40
+ default, that setting starts being honored instead of quietly ignored. Nothing changes for
41
+ any model that already worked, and no conversation switches model on its own because of
42
+ this.
43
+
44
+ ## Summary of New Capabilities
45
+
46
+ - `claude-fable-5-1`, `claude-opus-5` and `claude-sonnet-5` are valid claude-code model ids
47
+ for topic-profile pins and session spawns.
48
+ - `fable` joins `opus` / `sonnet` / `haiku` as an accepted CLI tier alias.
49
+ - A configured `frameworkDefaultModels['claude-code']` naming a Claude 5 model is now
50
+ honored rather than dropped at the resolution clamp.
51
+ - Unverified sibling claude ids still fail closed, now with a test holding that.
52
+
53
+ ## Evidence
54
+
55
+ Each of the four ids was run against the installed CLI (`claude --model <id> -p`, claude-code
56
+ 2.1.263) and observed answering before being listed. Unit tests cover the new ids against the
57
+ pin validator and — through the existing route-parity guard — the spawn route, the fail-closed
58
+ refusal of unverified siblings, the `fable` alias, the subscription billing-lane premise for
59
+ each new id, and an end-to-end reproduction of the reported refusal (a Fable 5.1 pin arriving
60
+ on a topic still resolved to codex-cli). Falsified before being trusted: with the enum change
61
+ stashed, five of the new assertions fail for the right reason (`off-enum`); restored, 70/70
62
+ pass. The three existing `not.toContain('claude-fable-5')` adapter assertions were checked
63
+ against the substring hazard introduced by `claude-fable-5-1` and pass. Typecheck clean; the
64
+ strict model-registry freshness lint passes with the updated door note.
@@ -0,0 +1,384 @@
1
+ # Side-Effects Review — Claude 5 family model ids in the claude-code closed enum
2
+
3
+ **Version / slug:** `claude-5-family-model-ids`
4
+ **Date:** `2026-09-06`
5
+ **Author:** `Echo`
6
+ **Second-pass reviewer:** `required (touches a gate)`
7
+
8
+ ## Summary of the change
9
+
10
+ `KNOWN_CLAUDE_MODEL_IDS` (`src/core/ModelTierEscalation.ts`) is the single closed
11
+ allowlist that both the topic-profile pin validator (`validateModelId` →
12
+ `validateProfileFields`) and the spawn route (`spawnModelAllowlist` in
13
+ `src/server/routes.ts`) read to decide which claude-code model ids are
14
+ acceptable. It had lagged a model generation: it topped out at `claude-fable-5`
15
+ / `claude-opus-4-8` and carried the `opus`/`sonnet`/`haiku` CLI aliases but not
16
+ `fable`. This change adds `claude-fable-5-1`, `claude-opus-5`, `claude-sonnet-5`
17
+ and the `fable` alias. All four were live-verified against the installed CLI
18
+ (`claude --model <id> -p`, claude-code 2.1.263, 2026-09-06) before being listed.
19
+
20
+ The driving defect is operator-visible: a pin of topic 36966 to Fable 5.1 was
21
+ refused `off-enum`, and the already-shipped
22
+ `frameworkDefaultModels['claude-code'] = 'claude-opus-5'` was being silently
23
+ dropped at the resolution clamp — a stale allowlist is indistinguishable from a
24
+ deliberate policy refusal.
25
+
26
+ Files touched: `src/core/ModelTierEscalation.ts`, `src/core/ModelSwapService.ts`,
27
+ `scripts/model-registry-freshness.manifest.json`,
28
+ `tests/unit/topicProfileValidation.test.ts`,
29
+ `tests/unit/modelTierEscalation-resolver.test.ts`,
30
+ `tests/unit/modelSwapService.test.ts`, plus
31
+ `docs/specs/claude-5-family-model-ids.eli16.md` and this artifact.
32
+
33
+ `ModelSwapService.ts` is here because the second-pass review found the enum change
34
+ makes a dormant runtime bug reachable — see §5 and §1 below. It was not in the
35
+ original plan.
36
+
37
+ ## Decision-point inventory
38
+
39
+ The enum has FOUR consumers, not two. The first draft of this review said "two
40
+ readers, both read-only"; the second-pass review corrected it, and the correction
41
+ is what surfaced the defect in §1.
42
+
43
+ - `validateModelId` (`src/core/topicProfileValidation.ts:318`, reading
44
+ `KNOWN_MODEL_IDS['claude-code']`) — **pass-through** — the clamp keeps its
45
+ authority and its fail-closed policy unchanged; only the reference data it
46
+ consults is corrected.
47
+ - `validateProfileFields` (topic-profile write clamp) — **pass-through** — same;
48
+ it delegates the model arm to `validateModelId`.
49
+ - `spawnModelAllowlist` (`src/server/routes.ts:104`) — **pass-through** — derives
50
+ from the same enum, so it gains the same four ids with no separate edit.
51
+ - `ModelSwapService` defence-in-depth re-check (`src/core/ModelSwapService.ts:254`)
52
+ — **pass-through on the read, but this reader feeds a WRITE**: the accepted
53
+ value becomes `targetId` and is typed into a live tmux pane at `:350`. This is
54
+ the consumer the first draft missed, and it is where the §1 defect lives.
55
+ - `paneConfirmsModel` (`src/core/ModelSwapService.ts:165`) — **MODIFIED** — the
56
+ independent oracle that decides whether a swap actually landed. Fixed here; see
57
+ §1.
58
+ - `ProfileIntentClassifier.defaultKnownModelValues()`
59
+ (`src/core/ProfileIntentClassifier.ts:154`) — **pass-through** — supplies the
60
+ conversational pre-filter vocabulary. Fail-open toward inclusion, so widening it
61
+ is safe directionally.
62
+ - `resolveTierModel` / `resolveModelId` (model-tier escalation resolver) —
63
+ **pass-through** — the escalation *policy values* (`escalated:
64
+ 'claude-fable-5'`) are deliberately unchanged; this widens what MAY be named,
65
+ not what IS named by default.
66
+
67
+ ---
68
+
69
+ ## 1. Over-block
70
+
71
+ **What legitimate inputs does this change reject that it shouldn't?**
72
+
73
+ None — the change is purely additive to an allowlist, so no input that was
74
+ previously accepted is now rejected. The set of accepted ids grows by exactly
75
+ four; every previously-valid id remains valid (asserted by the retained
76
+ `claude-fable-5` / `claude-opus-4-8` containment test).
77
+
78
+ The over-block this *removes* is the reported one: `claude-fable-5-1`,
79
+ `claude-opus-5` and `claude-sonnet-5` are live subscription models that the pin
80
+ validator refused, and `fable` is a CLI alias that was refused while its three
81
+ siblings were accepted.
82
+
83
+ **One over-block is INTRODUCED and it is deliberate.** The `paneConfirmsModel` fix
84
+ in §5 adds `(?![.\-]\d)` to the swap-acknowledgment regex. A pane line reading
85
+ "Set model to Fable 5" followed immediately by a version digit no longer confirms a
86
+ swap to the shorter id. That is the intended narrowing — the alternative is the
87
+ false CONFIRMATION described in §5, which is the unsafe direction for a function
88
+ whose entire job is to be an independent oracle. The guard fires only on a
89
+ separator followed by a digit, so a sentence-final "Set model to Fable 5." still
90
+ confirms; a test pins that so the narrowing cannot quietly widen into a
91
+ false-negative for ordinary punctuation.
92
+
93
+ ---
94
+
95
+ ## 2. Under-block
96
+
97
+ **What failure modes does this still miss?**
98
+
99
+ - **The next generation.** This is a hand-maintained mirror of a moving vendor
100
+ surface. It is correct as of 2026-09-06 and will go stale again the next time
101
+ Anthropic ships a model id; nothing in this change detects that. The class is
102
+ registered as an evolution action rather than left implicit
103
+ <!-- tracked: ACT-514 -->.
104
+ - **Plan-gated variants.** Any id the CLI accepts syntactically but the account's
105
+ plan refuses at launch is still accepted here. The enum answers "is this a real
106
+ model id", not "can this account run it" — unchanged by this edit, and the
107
+ live-verification discipline (only ids observed answering) is what bounds it.
108
+ - **Alias drift.** `fable`/`opus`/`sonnet`/`haiku` resolve CLI-side to whatever
109
+ the vendor currently calls latest. A pin to an alias is therefore not a pin to
110
+ a fixed model. That was already true of the three existing aliases; adding
111
+ `fable` makes the surface symmetric rather than introducing the property.
112
+
113
+ ---
114
+
115
+ ## 3. Level-of-abstraction fit
116
+
117
+ Right layer, and deliberately the *only* layer. `KNOWN_CLAUDE_MODEL_IDS` is the
118
+ single source both the pin validator and the spawn route read — the file's own
119
+ comment records a prior incident where the route carried a hand-typed duplicate
120
+ of the codex enum and drifted from it undetected. This change edits the one
121
+ enum and adds nothing parallel to it, so the spawn route and the pin validator
122
+ cannot disagree. The existing
123
+ `the spawn ROUTE accepts every id the pin validator does` test covers that
124
+ invariant for the new ids for free.
125
+
126
+ There IS a second hand-maintained Claude model list, and §3's original "edits the
127
+ one enum and adds nothing parallel to it" was too strong. The doorway/model
128
+ registry (`scripts/model-registry-freshness.manifest.json`) carries its own
129
+ per-door `topModels[]`, gated by a strict lint in the `npm run lint` chain. The two
130
+ are deliberately NOT in lockstep, because they answer different questions: the enum
131
+ answers "is this a real model name we may accept" (acceptance), the registry
132
+ answers "which model should routing reach for" (frontier). Adding a name to the
133
+ first must not promote it in the second — a model earns the routing lane via
134
+ benchmarks, not release date. This change therefore updates only the registry's
135
+ claude-code door NOTE, recording that the Claude 5 family is now recognized and
136
+ that `claude-fable-5-1` is deliberately not promoted. The strict lint passes.
137
+
138
+ That distinction is also where the drift came from: the 2026-08-18 registry review
139
+ had already classified `claude-opus-5` and `claude-sonnet-5` as frontier while the
140
+ acceptance enum still refused them, so the two layers contradicted each other for
141
+ three weeks and the shipped `frameworkDefaultModels` default was collateral.
142
+
143
+ No new primitive was introduced, and no lower-level helper was re-implemented.
144
+
145
+ ---
146
+
147
+ ## 4. Signal vs authority compliance
148
+
149
+ **Required reference:** [docs/signal-vs-authority.md](../../docs/signal-vs-authority.md)
150
+
151
+ - [x] No — this change has no block/allow surface *of its own*.
152
+
153
+ The block/allow authority (`validateModelId`) already exists, already owns the
154
+ decision, and is unchanged. This change corrects the curated data that authority
155
+ consults. No brittle detector is being handed blocking power; if anything the
156
+ change reduces a brittle failure, because the authority was refusing live models
157
+ purely because its reference list had aged.
158
+
159
+ The fail-closed direction is preserved and explicitly tested: an unverified
160
+ sibling (`claude-fable-6`, `claude-opus-6`) still refuses `off-enum`, which is
161
+ the property that keeps a typo from stranding a topic on a model the CLI will
162
+ reject at launch.
163
+
164
+ ---
165
+
166
+ ## 4b. Judgment-point check (Judgment Within Floors standard)
167
+
168
+ No new static heuristic at a competing-signals decision point. The domain here
169
+ is enumerable by construction — "which model ids does this CLI accept" is a
170
+ finite, externally-determined list, verified by observation rather than
171
+ inferred. That is the invariant case, not a judgment point.
172
+
173
+ ---
174
+
175
+ ## 5. Interactions
176
+
177
+ - **Shadowing:** none. The model arm of `validateProfileFields` runs before
178
+ `thinkingMode`/`effort`/`escalationOverride`; widening what it accepts means
179
+ those later clamps now run on inputs that previously short-circuited at the
180
+ model arm. That is the intended ordering and each remains independently
181
+ enforced (their own tests are unchanged and green).
182
+ - **Double-fire:** none. One enum, two readers, both read-only.
183
+ - **Races:** none. Compile-time `as const` data; no shared mutable state.
184
+ - **Feedback loops:** none. The enum is not written by anything at runtime.
185
+ - **Billing lane:** `PER_TOKEN_LANE_MODEL_IDS['claude-code']` is `[]` on the
186
+ documented premise that *every* member of the claude enum launches via the
187
+ subscription-authed CLI. That premise had to be re-checked, not assumed, since
188
+ this change adds members: all three new full ids launch through the same
189
+ subscription CLI path, so the empty deny-set stays correct. A test now asserts
190
+ `billingLaneError` returns null for each, so if one of them ever moves to a
191
+ per-token lane the assertion is the place that has to be updated deliberately.
192
+ - **Escalation policy:** `ModelTierEscalation`'s default
193
+ `{ default: 'claude-opus-4-8', escalated: 'claude-fable-5' }` and
194
+ `respectFreeWindows` are untouched. Adding an id to the enum does not select
195
+ it; no session changes model as a result of this change alone.
196
+ - **Substring hazard — the finding this review nearly missed.** The first draft
197
+ checked only the three test assertions that do
198
+ `expect(...).not.toContain('claude-fable-5')` against the anthropic-headless,
199
+ openai-codex and gemini adapter tier maps. Those are fine: the adapter maps are
200
+ separate modules, were not touched, and all three pass. But the hazard that
201
+ matters is in RUNTIME code, and the second-pass review found it.
202
+
203
+ `paneConfirmsModel` (`src/core/ModelSwapService.ts:165`) derives a display name
204
+ from a model id and matches `set model to[^\n]*\b(?:<id>|<Display>)\b`. A
205
+ shorter version is a literal prefix of a longer one, and `\b` sits between the
206
+ digit and the separator — so `\bFable 5\b` matches INSIDE "Fable 5.1".
207
+ Reproduced directly: `paneConfirmsModel("… Set model to Fable 5.1 …",
208
+ 'claude-fable-5')` returned **true**.
209
+
210
+ It is reachable precisely because of this change. A topic pinned to
211
+ `claude-fable-5-1` acks "Fable 5.1"; a later `tier:'escalated'` swap targets the
212
+ config's `escalated: 'claude-fable-5'`, injects at `:350`, and the read-back at
213
+ `:365` captures a 30-line tail still holding the stale 5.1 ack. The echo filter
214
+ drops only lines containing `/model`, and the ack line does not — so the swap
215
+ audits as `swap-confirmed` and `session.model` records `claude-fable-5` while the
216
+ session runs 5.1. That is a false CONFIRMATION, which directly contradicts the
217
+ "conservative by design / unrecognized format reads as NOT confirmed" contract in
218
+ that function's own docstring, and it mis-attributes model and cost in
219
+ `GET /sessions`.
220
+
221
+ Fixed in this change rather than deferred, because this change is what makes the
222
+ collision reachable. Four regression tests pin both directions (5 must not
223
+ confirm from 5.1, and 5.1 must not confirm from 5), the punctuation
224
+ false-negative boundary, and the Claude 5 display forms.
225
+
226
+ ---
227
+
228
+ ## 6. External surfaces
229
+
230
+ - **Other agents on the machine:** none until they update; the enum ships in the
231
+ build.
232
+ - **Install base:** widens what `POST /sessions/spawn` and
233
+ `POST /topic-profile/:topicId` accept. No previously-working call changes
234
+ behavior.
235
+ - **External systems:** none. No network surface.
236
+ - **Persistent state:** none written by this change. Existing stored pins are
237
+ unaffected; a pin that was being refused at resolution now resolves instead of
238
+ falling back — which is the fix, and is visible to the operator through
239
+ `GET /topic-profile/:topicId` (`resolved.model` / `sources.model`).
240
+ - **Timing / runtime conditions:** none.
241
+ - **Operator surface (Mobile-Complete):** no new operator action. The affected
242
+ operator paths (the conversational "pin this topic to X" surface and the
243
+ `/topic-profile` route) already exist and already have their surfaces; this
244
+ change only makes them stop refusing a valid answer.
245
+
246
+ ---
247
+
248
+ ## 6b. Operator-surface quality
249
+
250
+ No operator surface — not applicable. No dashboard renderer, approval page, or
251
+ grant/revoke/secret-drop form is staged in this change.
252
+
253
+ ---
254
+
255
+ ## 7. Multi-machine posture (Cross-Machine Coherence)
256
+
257
+ **Posture: machine-local BY DESIGN — shipped code, not state.**
258
+
259
+ The enum is compiled into the instar build, so each machine gets it when that
260
+ machine updates. There is nothing to replicate: it is not agent state, it is the
261
+ program. The reason it *should* differ per machine transiently is the same
262
+ reason any code change does — machines update on their own cadence, and the
263
+ existing machine-coherence guard already treats an instar version skew across
264
+ the pool as its own observable (`GET /pool/machine-coherence`), so a mid-rollout
265
+ divergence is already surfaced by infrastructure built for exactly that.
266
+
267
+ Explicit answers:
268
+
269
+ - **User-facing notices:** emits none. No one-voice gating needed.
270
+ - **Durable state / topic transfer:** holds none. A topic pin carrying
271
+ `claude-fable-5-1` does ride the existing `TopicProfileTransferCarrier`; the
272
+ carrier re-validates on landing, so a topic pinned on an updated machine and
273
+ transferred to a not-yet-updated one has its model refused off-enum there and
274
+ falls back with a notice — the pre-existing, correct degrade path, not a
275
+ stranding. It self-heals when the second machine updates.
276
+ - **Generated URLs:** generates none.
277
+
278
+ ---
279
+
280
+ ## 8. Rollback cost
281
+
282
+ - **Hot-fix release:** revert the four added lines, ship as the next patch.
283
+ - **Data migration:** none. No schema, no ledger, no column.
284
+ - **Agent state repair:** none required. A pin written to one of the new ids
285
+ while the change was live would, after a revert, be refused at the resolution
286
+ clamp and fall back to the framework default with the existing once-per-
287
+ transition notice — degraded, visible, and repaired by re-pinning. No state
288
+ corruption, no manual cleanup.
289
+ - **User visibility:** during a rollback window a topic pinned to a Claude 5 id
290
+ would drop to the default model. That is the pre-change behavior, so the
291
+ regression is a return to the status quo rather than a new failure.
292
+
293
+ ---
294
+
295
+ ## Conclusion
296
+
297
+ This review produced two concrete checks that were not in the original plan and
298
+ are now tests: the billing-lane premise (`PER_TOKEN_LANE_MODEL_IDS['claude-code']
299
+ = []` is documented as true of *every* enum member, so adding members obligated
300
+ re-verifying it) and the substring hazard against the three
301
+ `not.toContain('claude-fable-5')` adapter assertions, which `claude-fable-5-1`
302
+ would trip if the id ever reached those maps.
303
+
304
+ It also surfaced the honest limit of the fix: this is a hand-maintained mirror of
305
+ a vendor surface with no freshness guard, so it will age again. That is
306
+ registered as ACT-514 rather than left as an implicit intention, and the fail-
307
+ closed refusal path is retained and tested so aging degrades safely.
308
+
309
+ The change is additive to an allowlist, changes no policy value, and holds no new
310
+ authority — but it is no longer only that. The second-pass review found that
311
+ widening the enum makes a dormant `paneConfirmsModel` prefix collision reachable,
312
+ which would have silently mis-recorded a session's model and cost. That is fixed
313
+ here rather than tracked for later, because this change is what arms it. The
314
+ review's real lesson is that the first draft's "one enum, two readers, both
315
+ read-only" was the wrong mental model: one of the readers feeds a tmux write, and
316
+ that is exactly where the damage would have been.
317
+
318
+ Clear to ship.
319
+
320
+ ---
321
+
322
+ ## Second-pass review (if required)
323
+
324
+ **Reviewer:** general-purpose reviewer subagent (independent read + code verification)
325
+ **Independent read of the artifact: concern raised, resolved**
326
+
327
+ The reviewer confirmed the claims on enum order/length (nothing indexes, sorts or
328
+ slices it), the `fable` alias namespace (no collision with `GENERIC_TIERS`; the
329
+ `FABLE` in `PairingProtocol.ts:37` is a disjoint SAS wordlist), the billing-lane
330
+ deny-set semantics, and the multi-machine degrade path
331
+ (`TopicProfileTransferCarrier.ts:639-643` drops the unvalidatable field and pushes
332
+ a disclosure — it does not strand or throw). It then raised four concerns:
333
+
334
+ - **`paneConfirmsModel` false-confirms across a version prefix.** Verified
335
+ independently by reproducing it, then fixed in this change with four regression
336
+ tests. See §1 and §5. This was the material one and it was a real defect.
337
+ - **The decision-point inventory undercounted the enum's readers** (two claimed,
338
+ four actual, one of which feeds a write path). Corrected above; that correction
339
+ is what made the first concern legible.
340
+ - **The artifact was stale against the diff** — the registry manifest and the
341
+ ELI16 landed during the review. Files-touched list and §3 corrected.
342
+ - **The anti-escalation ratchet had an exact-match hole**
343
+ (`not.toBe('claude-fable-5')` would wave through `claude-fable-5-1`). Widened to
344
+ assert against the ultra family (`not.toMatch(/^claude-fable-/)`) and the `fable`
345
+ alias added to the tier list, since it is now a way in.
346
+
347
+ The reviewer also noted, and this review agrees, that the bare token `fable` joining
348
+ the conversational pre-filter vocabulary (`ProfileIntentClassifier.ts:154`) means a
349
+ common English noun can now pass the pre-filter on unrelated prose and spend a
350
+ classify call. It is precedented exactly by `opus` and `sonnet`, is fail-open toward
351
+ inclusion, and costs a call rather than a wrong decision — recorded here rather than
352
+ changed.
353
+
354
+ ---
355
+
356
+ ## Evidence pointers
357
+
358
+ - Live model-id verification: `claude --model <id> -p "reply with exactly: ok"`
359
+ on claude-code CLI 2.1.263 returned `ok` for `claude-fable-5-1`,
360
+ `claude-opus-5`, `claude-sonnet-5` and `claude-fable-5` (2026-09-06).
361
+ - Fail-for-the-right-reason: with `src/core/ModelTierEscalation.ts` stashed, the
362
+ new assertions failed 5/70 with `off-enum` / `expected false to be true`;
363
+ restored, 70/70 pass.
364
+ - Production refusal reproduced by the new
365
+ `accepts a Fable 5.1 pin arriving on a topic currently resolved to codex-cli`
366
+ test (topic 36966, `POST /topic-profile/36966` →
367
+ `{"failure":"off-enum","reason":"'claude-fable-5-1' is not a known claude-code model id"}`).
368
+ - `npx tsc --noEmit` clean.
369
+
370
+ ---
371
+
372
+ ## Class-Closure Declaration (display-only mirror)
373
+
374
+ Not applicable to the agent-authored-artifact arm: the change fixes stale data in
375
+ a TypeScript source constant, not a defect in an agent-authored LLM prompt, hook,
376
+ config, skill, or standards text. It also adds and modifies no self-triggered
377
+ controller — no loop, monitor, sentinel, reaper, scheduler, or recovery path, and
378
+ nothing that fires a restart / swap / respawn / spawn / notify / retry / re-drive
379
+ / kill, so the `unbounded-self-action` arm does not apply either.
380
+
381
+ The staleness pattern itself is a genuine candidate class
382
+ (`vendor-mirror-staleness`; nearest existing: `generated-artifact-path-contract-drift`),
383
+ but registering a `novel` class requires a full registry entry with confirmed
384
+ status, which is its own change. It is tracked as ACT-514 <!-- tracked: ACT-514 -->.