Skip to content

[Bug] Unpinned native Codex sessions follow Astra instead of the Omnigent default #7974

Description

@yaoharry

Description

An unpinned native Codex session launches on GPT-6 Astra when Codex marks Astra as its catalog default, even though Omnigent defines CODEX_DEFAULT_MODEL as gpt-5.6-sol. Expected: Omnigent should use Sol when Sol is available, while preserving an explicit user or provider model pin.

Steps to reproduce

  1. Use a Codex catalog that includes system.ai.gpt-6-astra with isDefault: true and also includes system.ai.gpt-5-6-sol.
  2. Start a native Codex session without an explicit model override.
  3. Observe that Omnigent pins Astra from the catalog default row.

Concrete code-path evidence: mark_launch_default() keeps Codex’s default marker for an unpinned catalog, and the native runner later pins the row marked isDefault.

Version

0.15.0.dev0

OS

Linux

Harness

Codex

Harness mode

Native

Platform or device

Linux

Observed impact

Sessions using an unpinned catalog where Codex marks Astra as default.

Authentication type

Databricks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingP2-mediumPriority: bug with workaround, important feature requestcomp:harness-t1Highest-usage harnessestriagedIssue has been triaged by the botvalidated:likely_repro

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions