Skip to content

bug: selectable model catalog is stale — Claude Opus 5.5 (claude-opus-5-5) not selectable anywhere; ops cost view would render it "Claude Opus 5 5" #2987

Closed

Description

@vybe

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

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-model returns 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 the opus alias 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.md preset table + changelog updated; the catalog's "Last synced" anchor comment bumped.
  • No default changes. PLATFORM_DEFAULT_MODEL_VALUE and the recommended marker 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 mirror src/frontend/src/constants/modelCatalog.js is generated by scripts/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_name mappings — 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

  1. added
    priority-p1
    type-bug
    theme-ui-ux
    complexity-low
    status-ready
    on Sep 23, 2026
  2. added
    status-in-progress
    and removed
    status-ready
    on Sep 23, 2026
  3. self-assigned this
    on Sep 23, 2026
  4. added
    status-in-dev
    and removed
    status-in-progress
    on Sep 23, 2026
  5. removed
    status-in-dev
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-lowpriority-p1theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions