Skip to content

Codex footer missing model name β€” only shows dir labelΒ #217

@nathanschram

Description

Bug

Codex runs show only 🏷 dir: codex-test in the footer, with no model name. By contrast, Claude runs show 🏷 dir: codex-test | opus 4.6 (1M) Β· plan β€” the model name and permission mode are visible.

Reproduction

  1. Send any prompt to the Codex engine chat
  2. Wait for completion
  3. Footer shows: 🏷 dir: codex-test
  4. Compare with Claude: footer shows 🏷 dir: codex-test | opus 4.6 (1M) · plan

Expected

Footer should show the Codex model name, e.g. 🏷 dir: codex-test | codex-mini-latest

When approval policy or reasoning overrides are active, those are shown (e.g. safe, high appeared correctly in O3 and O5 tests), but the base model name is missing.

Context

  • The /export output shows Model: Codex (capitalised, not the actual model ID)
  • The model name in the footer comes from StartedEvent.meta β€” Codex's thread.started event may not populate model info, or the runner may not extract it
  • The /config page shows Model: default Β· codex-mini-latest β€” so the config knows the default model, but it doesn't appear in run footers
  • Override labels (safe, high) DO appear because they come from EngineOverrides, not from the Codex CLI response

Affected files

  • src/untether/runners/codex.py β€” translate() may not be extracting model info from Codex JSONL events into StartedEvent.meta
  • src/untether/markdown.py β€” meta_line() formatting

Version

v0.35.0rc11 β€” found during Codex integration testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions