Plan: the Vertex catalog drops ten superseded models, and no role names one

Closes: #942. Branch: chore/prune-model-catalog. Status: Done (2026-11-27) — ten models removed, three roles moved, four new guards each caught a planted mutant; Haiku 5.5 moved to us first (#949)

Erratum (2026-11-27): `vertex.adoc’s probe table is a dated measurement (2026-09-07) that already listed models removed by #381; its rows stay, with one sentence saying some are no longer shipped.

Erratum (2026-11-27): cli.test.mjs’s sweep stays `thinking=off,low: Haiku 5.5 offers off. render.test.mjs’s `FLASH constant is renamed HYDROGEN.

Erratum (2026-11-27): the live xhigh clamp case runs Gemini 4 Argon, not Carbon. Carbon at high ran past the review’s 120 s bound on its live run (high is Carbon’s slow level, #858); Argon answered at high in 64 s. Argon’s map, like Carbon’s, has no xhigh, so the case pins the same clamp. Claude Haiku 5.5 moved to us first (#949): at global the project answered 429 on every call, and consumer-sim and the live suites run on it.

Context

Ruled by the operator on #942 (2026-11-27): the Gemini 4 models supersede every Gemini 3.x text model; the image models and the four MaaS text models stay; Fable 5.1 goes with no rollback step; the compaction fallback moves to Gemini 4 Hydrogen with no measurement; and, in conversation, the judge’s stand-in on a box with no Anthropic access becomes Gemini 4 Neon (stored judge rows of 2026-11-19: Neon 581 of 588 right and 1 unsafe, Hydrogen 574 and 4, Carbon 562 and 2). What the tree says today, by reading:

  • packages/pi-vertex/models.json lists 29 models. The ten to go: claude-opus-4-8, claude-fable-5-1, claude-sonnet-4-6, claude-haiku-4-5, gemini-3.8-flash, gemini-3.7-flash, gemini-3.5-flash, gemini-3.1-pro-preview, gemini-3.5-flash-lite, gemini-3.1-flash-lite. Nineteen stay. claude-haiku-4-5 is the only entry with thinking: "budget", and claude-sonnet-4-6 the only Claude with xhigh: false.

  • Gemini 3.8 Flash is named by three roles in packages/pi-modes/model-roles.ts (ROLE_CANDIDATES: the judge’s substitute, Explore’s second model, the summarizer’s first), by DEFAULT_FALLBACK_SUMMARIZER in packages/pi-modes/config.ts, which a test holds equal to the summarizer’s first candidate, and by the web-search seed (packages/pi-agents/web-search-seed.ts, searchModel). The seed’s model is called by pi-web-access on Vertex by id, not through this catalog.

  • No test ties a role to the catalog: a role naming a model the catalog lacks falls to its next candidate at session start and nothing fails.

  • The commit reviewer’s TIERS (packages/pi-workflow/reflection-review.ts) ranks by model id whatever the provider, and an id absent from it reviews its own commits (chooseReviewer). The removed ids stay reachable through pi’s own anthropic and google providers.

  • packages/pi-vertex/candidates.mjs is what the probe looks for, by its own header a superset of the catalog.

  • The battery reads the shipped catalog: every-packaged in tools/model-battery/battery.json expands to it, explicit subjects there are not checked against it until a fill binds them, the page shows the listed permutations only, and test/cli.test.mjs, test/run.test.mjs and test/render.test.mjs plan and render against it (loadProviders, packagedEntries). Its stored records are files and are read whatever the catalog holds.

  • tools/consumer-sim.mjs runs its live rows on vertex-anthropic/claude-haiku-4-5 (eight places) and one on vertex-gemini/gemini-3.8-flash. The live suites do the same: packages/pi-vertex/test/vertex.live.test.ts, test/adc-relogin.live.test.ts, packages/pi-modes/test/plan-judge.live.test.ts, test/safety.live.test.ts, packages/pi-workflow/test/reflection-review.live.test.ts.

Design

The catalog

The ten entries leave models.json. Its // notes are trimmed to what the remaining entries need: //midConvoSystem, //cost, //cost-google and //regions each lose the clauses about a removed model.

The roles

In model-roles.ts the FLASH constant goes and NEON = same("vertex-gemini/gemini-4-neon", "google/gemini-4-neon") comes in:

Role Today After

judge

[…​SONNET, …​instead(FLASH)]

[…​SONNET, …​instead(NEON)]

helper:Explore

[…​HYDROGEN, …​FLASH, …​instead(HAIKU)]

[…​HYDROGEN, …​instead(HAIKU)]

summarizer

[…​FLASH, …​instead(HAIKU)]

[…​HYDROGEN, …​instead(HAIKU)]

DEFAULT_FALLBACK_SUMMARIZER becomes "vertex-gemini/gemini-4-hydrogen". The comment above HYDROGEN loses its sentence about 3.8 Flash standing behind it, and the doc comment on bySource loses its example "(Explore’s 3.8 Flash behind Hydrogen)": no shipped role lists a second model of its own now, and the rule it states stays. Doc comments that name a removed id as an example (config.ts on JudgePolicy.model and on compaction, eval/run.ts on --model) name a kept one.

What stays, on purpose

  • TIERS, whole: a session on anthropic/claude-haiku-4-5 must still be ranked, or it would review itself. reflection-review.ts is not edited.

  • candidates.mjs: the probe may still look for a model the catalog does not ship.

  • The web-search seed: its call does not pass through the catalog (an issue is filed, see Scope).

  • The code for the budget thinking kind and for Gemini 3, in pi-vertex and in the battery’s knob table: an operator’s own catalog may list such a model. Their unit tests use inline entries and stay.

  • The battery’s stored records, tools/reviewer-eval/results/, the calibration paths in scorers/anchors.mjs, the case data under tools/model-battery/cases/, and every test that names a removed id as a free-standing fixture (its own inline entry, or a string never resolved against the shipped catalog).

Readers of the shipped catalog move to a model that stays

The stand-ins: Haiku 5.5 for Haiku 4.5, Sonnet 5.5 for Sonnet 4.6, Fable 5.2 for Fable 5.1, Gemini 4 Hydrogen for Gemini 3.8 Flash.

File Change

packages/pi-vertex/test/unit.test.ts

The lists of shipped ids (cache-read exceptions, REJECTS, the two midConvoSystem lists, the costUntil list, the thinking-allowance list) name the kept ids. The two assertions that used a removed entry to pin a behaviour keep the assertion on an inline entry: a thinking: "budget" entry gets an empty compat, and an entry without temperatureSupported: false leaves supportsTemperature unset.

packages/pi-vertex/test/vertex.live.test.ts, test/adc-relogin.live.test.ts

SMOKE_MODEL and the relogin entry become claude-haiku-5-5 (the relogin entry copied from the catalog’s); the two Gemini cases run gemini-4-hydrogen at global and at us.

packages/pi-modes/test/model-roles.test.ts

The Gemini-only judge is google/gemini-4-neon, a substitute. The case "Explore without Hydrogen runs on 3.8 Flash, its own second model" loses the model it was about and keeps what still holds, on Hydrogen: with Hydrogen reachable through Vertex and sourceOrder preferring the Anthropic sources, Explore is still vertex-gemini/gemini-4-hydrogen and no substitute (a preferred source never lifts a substitute above the role’s own model); the candidate order under sourceOrder: ["google"] is Hydrogen through google, then through vertex-gemini, then Haiku 5.5 through its two sources; and the last assertion (Hydrogen through google when both Gemini sources are reachable) is unchanged.

packages/pi-modes/test/config.test.ts, test/compaction.test.ts

The default fallback is Hydrogen; the compaction suite’s fake registry answers that id.

packages/pi-modes/test/plan-judge.live.test.ts, test/safety.live.test.ts

The judge under test is vertex-anthropic/claude-haiku-5-5, efforts unchanged.

packages/pi-workflow/test/reflection-review.live.test.ts

The two Fable cases run Fable 5.2 (as 5.1, offSupported: false, so off still reviews at minimal). The xhigh case needs a model that does not offer it, and every kept Claude does; it runs vertex-gemini/gemini-4-carbon, whose thinkingWire is level, so its map names no xhigh (geminiLevelMap, packages/pi-vertex/provider.ts).

tools/model-battery/test/cli.test.mjs, test/run.test.mjs

Haiku 5.5 (short name haiku-5-5), Sonnet 5.5 (sonnet-5-5) and Hydrogen, in refs, short names and store paths. Where a test needs any knob in a subject key, @budget=1024 becomes @maxTokens=4000. Of the two tests that need an unhonoured knob, cli.test.mjs’s "a manifest subject the model cannot honour is refused by name at plan time" names `:low@budget=1024 on Haiku 5.5 and expects "adaptive thinking sends an effort, not a budget"; run.test.mjs’s "a subject whose knobs the model cannot honour is refused before any call" needs only the model, since a temperature with thinking on is refused for an adaptive Claude in the same words. `knobsText for Hydrogen opens vertex-gemini/gemini-4-hydrogen (gemini-2).

tools/model-battery/test/knobs.test.mjs

In "budget: honoured by budget-style Claude and Gemini 2.x only", one assertion more on its budget fixture: { thinking: "off", budget: 2048 } is refused as "needs a thinking level", the exact case cli.test.mjs no longer reaches.

tools/model-battery/test/render.test.mjs

Its fixture constants FABLE, HAIKU and FLASH name Fable 5.2, Haiku 5.5 and Hydrogen, and the literal ids in its expectations (the pinned explore default, and the rows matched in the role tables, the experiments tables and the matrix) follow them. Its judge experiments came from the shipped manifest’s #102 entry, which goes: withShipped gains a fixture entry of its own, { task: "judge", runs: 1, subjects: [HAIKU + ":off", HAIKU + ":low@maxTokens=4000"] }, the first measured by the fixture cell judge|none|<HAIKU>:off already there and the second not measured, and the two expectations read those keys. The end-date case reads Hydrogen’s costUntil, 2027-01-11.

tools/consumer-sim.mjs

vertex-anthropic/claude-haiku-5-5 in the eight places, vertex-gemini/gemini-4-hydrogen for the Gemini row.

Any other test that fails after these edits is a reader of the shipped catalog this table missed: it moves by the same stand-ins, and the file is recorded as an erratum.

The battery’s manifest and page

In battery.json: the judge bake-off entry (#102, seven subjects, all on removed models) and the shipped-stack explore entry (its one subject is 3.8 Flash) go; the reviewer and planning thinking arms each lose claude-fable-5-1:low, claude-fable-5-1:high and gemini-3.8-flash:high; the shipped-stack coder entry keeps Opus 5.5 only. In defaultsNote, a sentence saying a removed model is still listed or still a role’s fallback is corrected; what was measured on it stays. Then node tools/task.mjs battery render rewrites docs/modules/ROOT/pages/model-battery.adoc from the stored summary. No model is called and no record changes.

Scope

  1. One branch, chore/prune-model-catalog: the plan; the catalog, the roles and their tests; the battery manifest, tests and page; consumer-sim and the docs. Validate and consumer-sim before the push; the MR (Closes #942).

  2. At approval, two issues: the web-search seed’s model (move it to a Gemini 4 model once a live search shows grounding works there), and the two thinking kinds no shipped model uses (keep the code for operators' catalogs or retire it; and whether the battery’s knob table is right to offer Gemini 4 a budget).

Not in this plan: any measurement; the image and MaaS entries; TIERS; candidates.mjs; the web-search seed.

Tests

Category Test Pins

regression

packages/pi-modes/test/model-roles.test.ts, new: every candidate of every role in ROLE_CANDIDATES whose provider is vertex-anthropic, vertex-gemini or vertex-maas is an entry of packages/pi-vertex/models.json under that provider’s publisher kind

a shipped role names no model the catalog lacks: the case that would have caught a dangling 3.8 Flash

contract

same file: the three role lists as in the Design table; first("summarizer") equals DEFAULT_FALLBACK_SUMMARIZER (existing)

the roles moved as ruled

contract

packages/pi-vertex/test/unit.test.ts: the shipped catalog is exactly the nineteen ids, in a new assertion beside the lists above

the ten are gone and nothing else is

contract

packages/pi-workflow/test/reflection-review.test.ts: existing, unchanged ("ranks by MEASURED review recall": Opus 4.8 gets the floor; planReviewers gives a Haiku 4.5 author the floor), and one assertion added: chooseReviewer("anthropic/claude-haiku-4-5") is REVIEW_FLOOR, where an unranked id would answer itself

a model that left the catalog is still ranked, through pi’s own provider too

contract

tools/model-battery/test/run.test.mjs, new: the ref of every explicit subject of the shipped manifest (parseSubjectKey(key).ref) is a key of packagedEntries()

the manifest names no model a fill could not bind

regression

the suites named under Design, moved to kept models and passing; the live suites run on this box, which has the credentials

nothing that read the catalog was left on a removed model

regression

tools/consumer-sim.mjs, the full run, 27 rows

the live rows work on Haiku 5.5 and Hydrogen

Mutants, each to fail its test: FLASH restored as the judge’s substitute (with its constant); one removed entry put back in models.json; claude-haiku-4-5 deleted from TIERS; a removed subject left in the manifest. Coverage bars hold (pi-modes 97/90).

Risks

Risk Mode Mitigation

A role still names a removed model and silently falls to its substitute

silent

the new role-against-catalog test

An operator’s setting names a removed model: a helper override, a mode’s model, compaction.fallbackModel, a resumed session’s model

loud

each is said at start by code already there: pi-agents names an unavailable helper model, a role’s line names what it resolved to, a resumed session warns it could not restore its model, a refused compaction with no usable fallback names the way out. The CHANGELOG says how to keep a model: list it in your own catalog

Hydrogen, unmeasured as the compaction fallback, spends the summary’s budget thinking and the fallback fails

fail-closed

the operator’s ruling; a failed fallback is one warning and pi’s own compaction next (compaction.test.ts, "a refusal and then the fallback failing too"); pi-vertex adds its thinking allowance to the budget

Neon as the judge’s substitute costs about twice Hydrogen a call

loud

it runs only where no Anthropic model is reachable, and the start line names it a substitute

A session on a removed model through pi’s own provider loses its reviewer rank

fail-open

TIERS is not edited; the new chooseReviewer case

Consumer-sim’s rows behave differently on Haiku 5.5

loud

the full run before the push; a failing row is investigated, not re-run

The re-rendered page changes more than the removed rows

loud

the page’s diff is read before it is committed; anything else in it is reported

The page loses comparisons only removed models carried (the judge bake-off, Explore under the shipped stack)

silent

their records stay in the store; named on #942 at the merge

Delivery

  • Canonical page: docs/modules/ROOT/pages/vertex.adoc: the catalog table, the probe table’s rows, the thinking kinds and the dated-rate list name what ships; one sentence says the commit reviewer still ranks the removed ids. Statements of current state elsewhere are corrected: modes.adoc and session.adoc (the compaction fallback), tuning.adoc (the catalog list and the recipes' example ids; the web-search seed is left as it is), testing.adoc (example refs), local-dev.adoc (consumer-sim’s model). History is left: what was measured on a model, and when.

  • CHANGELOG.adoc == Unreleased: a Removed entry (the ten, and how to keep one) and a Changed entry (the three roles).

  • This plan committed as docs/modules/ROOT/pages/plans/catalog-prune.adoc, listed in docs/modules/ROOT/nav.adoc; Status In progress at start, Done at the merge.

  • Validate and consumer-sim before the push; the MR merged with squash off; #942 closed by it, with the merge SHA and the dropped battery permutations on the issue. pi-vertex and pi-modes take a minor bump at the next release.

Edit this page · latest