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.jsonlists 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-5is the only entry withthinking: "budget", andclaude-sonnet-4-6the only Claude withxhigh: 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), byDEFAULT_FALLBACK_SUMMARIZERinpackages/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 ownanthropicandgoogleproviders. -
packages/pi-vertex/candidates.mjsis what the probe looks for, by its own header a superset of the catalog. -
The battery reads the shipped catalog:
every-packagedintools/model-battery/battery.jsonexpands to it, explicit subjects there are not checked against it until a fill binds them, the page shows the listed permutations only, andtest/cli.test.mjs,test/run.test.mjsandtest/render.test.mjsplan and render against it (loadProviders,packagedEntries). Its stored records are files and are read whatever the catalog holds. -
tools/consumer-sim.mjsruns its live rows onvertex-anthropic/claude-haiku-4-5(eight places) and one onvertex-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 |
|---|---|---|
|
|
|
|
|
|
|
|
|
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 onanthropic/claude-haiku-4-5must still be ranked, or it would review itself.reflection-review.tsis 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 inscorers/anchors.mjs, the case data undertools/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 |
|---|---|
|
The lists of shipped ids (cache-read exceptions, |
|
|
|
The Gemini-only judge is |
|
The default fallback is Hydrogen; the compaction suite’s fake registry answers that id. |
|
The judge under test is |
|
The two Fable cases run Fable 5.2 (as 5.1, |
|
Haiku 5.5 (short name |
|
In "budget: honoured by budget-style Claude and Gemini 2.x only", one assertion more on its budget fixture: |
|
Its fixture constants |
|
|
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
-
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). -
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 |
|
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; |
the roles moved as ruled |
contract |
|
the ten are gone and nothing else is |
contract |
|
a model that left the catalog is still ranked, through pi’s own provider too |
contract |
|
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 |
|
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, |
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 ( |
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 |
|
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.adocandsession.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 indocs/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.