Repository navigation
Description
Summary
The selectable Claude-model catalog is behind Anthropic's lineup again. Claude Opus 5.5 (claude-opus-5-5) — the successor to Opus 5 in the Opus line, 1M context / 128K output, priced below Opus 5 ($4 / $20 per MTok vs $5 / $25) — cannot be selected anywhere in Trinity: not in the operator model picker, not as the admin fleet default, not as a per-agent public-channel override (the server-validated allow-list rejects it with 422), and not in the Workspace composer dropdown.
Every list is mutually consistent and CI is green because they all derive from one source, but that source last moved for Fable 5.1 (#2726, 2026-09-12). This is the source-vs-reality staleness that #2086 documents as the one remaining human control ("when Anthropic ships a selectable Claude model, add one entry and re-run codegen").
Context
- Same bug class as bug: selectable model catalog is stale — Claude Fable 5.1 (claude-fable-5-1) not selectable anywhere; tier labels + alias help text behind the current lineup #2726 (Fable 5.1), bug: Fable 5 / Sonnet 5 missing from platform default-model dropdown and PUBLIC_CHANNEL_MODELS whitelist (drifted from ModelSelector presets) #1660 (Fable 5 / Sonnet 5) and Update and actualize the available LLM model list across the app (add Opus 4.8, retire EOL models) #1080 (Opus 4.8). refactor: centralize the selectable model catalog — one source of truth for three hand-synced lists #2086 made the refresh a single-file edit + codegen; nothing has been added since bug: selectable model catalog is stale — Claude Fable 5.1 (claude-fable-5-1) not selectable anywhere; tier labels + alias help text behind the current lineup #2726.
- Model id verified against the
claude-apireference rather than stated from memory (the catalog's own rule):claude-opus-5-5, undated. It is the current Opus tier; Opus 5 becomes the prior point release in that tier (still served, still selectable). - Two adjacent copies of model wording go stale with it:
- the picker's tier notes — Opus 5 currently carries "Most capable Opus (latest)", which is no longer true once 5.5 is listed;
- the ops cost view's display-name map — it strips only an 8-digit date suffix, so a point-release id falls through to the title-case fallback and renders "Claude Opus 5 5". This is the exact defect bug: selectable model catalog is stale — Claude Fable 5.1 (claude-fable-5-1) not selectable anywhere; tier labels + alias help text behind the current lineup #2726 hit for
claude-fable-5-1and fixed with one exact-match entry;claude-opus-5-5needs the same.
- The context-window registry needs no change: the family-prefix fallback already gives every bare Claude id the same safe floor, and the
[1m]suffix rule applies unchanged.
Acceptance Criteria
- Claude Opus 5.5 (
claude-opus-5-5) is selectable end-to-end: operator model picker, admin fleet-default dropdown, per-agent public-channel override (PUT /api/agents/{name}/public-channel-modelreturns 200, not 422), and the Workspace composer (it takes over the "Most capable" workspace tier from Opus 5). - Tier notes / "(latest)" markers reflect the current lineup — Opus 5.5 is the latest Opus; Opus 5 is no longer labelled as such.
- The ops cost view renders the id as "Claude Opus 5.5", never "Claude Opus 5 5".
- The agent-server alias help text (
opus/sonnet/haiku/fable) still names the generation each alias currently resolves to; update it only if theopusalias moves. - Model id is the exact undated id (
claude-opus-5-5— never a date-suffixed variant). - The generated frontend mirror and the catalog parity guard (
tests/unit/test_2086_model_catalog_parity.py) are in sync; CI green. -
docs/memory/feature-flows/model-selection.mdpreset table + changelog updated; the catalog's "Last synced" anchor comment bumped. - No default changes.
PLATFORM_DEFAULT_MODEL_VALUEand therecommendedmarker stay where they are — the fleet default is a cost/latency policy call, explicitly out of scope here even though 5.5 is cheaper than 5.
Technical Notes
- Single source of truth:
src/backend/services/model_catalog.py; the frontend mirrorsrc/frontend/src/constants/modelCatalog.jsis generated byscripts/gen_model_catalog.py(never hand-edited). The file's own docstring describes the whole maintenance surface, including the positional-dataclass footgun (append, set new fields by keyword). - Display-name map:
src/backend/services/ops_costs_service.py(_format_model_namemappings — exact entry before any prefix that would swallow it). - Alias help text:
docker/base-image/agent_server/routers/chat.py(base-image change → image rebuild) — only if the alias target changes.
Activity
test(models): the ent#403 curated-model stand-in is read from the cat…
fix(models): Claude Opus 5.5 is selectable, and the (latest) marker a…
fix(models): Claude Sonnet 5.5, Haiku 5.5 and Fable 5.2 are selectabl…