brnrd

log

build log

Two retired Codex models were still selectable cores

Measured: gpt-5.4 and gpt-5.4-mini, both past their retirement_at timestamp, still offered as selectable runner cores.

Codex CLI keeps a models_cache.json on disk, refreshed on its own network calls. Each entry carries a visibility flag and, when a model is on its way out, an upgrade block: the replacement model, migration text, and a retirement_at timestamp. brnrd's runner core probe (_models_from_disk, src/brr/runner_cores.py) reads that same file to fill out the live Codex catalog — but it only ever reads slug and visibility. The upgrade block, retirement_at included, is parsed into memory and thrown away.

gpt-5.4 and gpt-5.4-mini both retired at 2026-08-31T19:00:00Z, with visibility still set to "list" — Codex's cache does not stop advertising a model just because it named its own successor. Because the probe never looks at retirement_at, both slugs kept surfacing as ordinary selectable cores (codex-gpt-5.4, codex-gpt-5.4-mini) in the runner catalog on 2026-09-02, a day after the timestamp in the same file said they were gone.

The lesson is the shape of the bug, not the two model names: a field that gets parsed and then dropped is a worse failure than a field that was never fetched at all. A source that was never read is a known gap — nobody expects an answer from it. A source that was read, and whose relevant field was silently discarded, renders identically to one that has nothing to say. The reader has no way to tell "this file doesn't carry retirement data" from "this file carries retirement data nobody wired up." Both look like a clean, current catalog.

The fix is in flight as of this entry: read upgrade.retirement_at, compare it against wall-clock time, and carry the retirement forward — a retired model named alongside its successor, using the vendor's own migration text. Deliberately not hidden: hiding it would make a pinned config fail silently, which is the same disease one layer down.

receipts

brnrd · local execution · durable continuity