Skip to content

chore(cli-version): verify codex against 0.149.0 - #922

Merged
kaizhou-lab merged 1 commit into
mainfrom
chore/bump-codex-0149
Aug 22, 2026
Merged

chore(cli-version): verify codex against 0.149.0#922
kaizhou-lab merged 1 commit into
mainfrom
chore/bump-codex-0149

Conversation

@kaizhou-lab

Copy link
Copy Markdown
Contributor

Moves VERIFIED_CODEX_VERSION from 0.148.0 to 0.149.0. All three gates pass against the real binary.

Gate Result
A — contract PASS — 380 → 401 schema files, ServerNotification 72 → 75, ClientRequest 141 → 150, nothing removed, no enum value dropped
B — live e2e PASS 11/11, 264.78s
C — release notes CLEAR — 255 notes over one release, 9 filtered as risk verbs touching none of our 33 dependency tokens, 0 REVIEW items

The candidate is proven from the suite's own log

A green run against the binary you meant to replace certifies the wrong version, so this is checked rather than assumed:

direct CLI version detected session_id=04fa4ad7 cli=codex version=codex-cli 0.149.0
direct CLI version drift    session_id=04fa4ad7 cli=codex version=codex-cli 0.149.0

The drift lines only appear because the candidate disagrees with the constant that had not been bumped yet. The run went through a PATH shim (npm install @openai/codex@0.149.0 into a temp dir); the operator’s own CLIs were not modified.

Tests

Three pinned fixtures in cli_version named versions the constant has now passed. Each was re-pointed above the new constant rather than loosened, and the literal verified-release assertion now names codex-cli 0.149.0, so a future bump that forgets to re-verify still breaks the test. cargo test -p aionui-session --lib cli_version: 13/13. Clippy clean, fmt clean.

Note on 0.147.0

Still deliberately unverified — it never completes a turn (httpStatusCode: null, three observations). The gate walks over it rather than through it, so it never becomes an accepted floor.

Record: ~/aion/protocols/samples/codex-cli/0.149.0/

Constants and record only — no source change.

All three gates pass against the real 0.149.0 binary.

Gate A (contract): 380 -> 401 schema files, ServerNotification 72 -> 75,
ClientRequest 141 -> 150, nothing removed and no enum value dropped.

Gate B (live e2e): 11/11, 264.78s. The suite's own log proves it ran the
candidate rather than the installed binary -- 'direct CLI version detected
cli=codex version=codex-cli 0.149.0', with the matching drift lines that only
appear when the binary disagrees with the constant. Run through a PATH shim; the
operator's own CLIs were not touched.

Gate C (release notes): CLEAR over 255 notes, 9 filtered as risk verbs touching
none of our dependency tokens, 0 REVIEW items.

The three pinned fixtures moved to versions the constant has not passed rather
than being loosened, and the literal verified-release assertion now names
0.149.0 so a future bump that forgets to re-verify still breaks the test.

Record: ~/aion/protocols/samples/codex-cli/0.149.0/
@kaizhou-lab
kaizhou-lab enabled auto-merge (squash) August 22, 2026 02:31
@kaizhou-lab
kaizhou-lab merged commit 555aa12 into main Aug 22, 2026
6 checks passed
@kaizhou-lab
kaizhou-lab deleted the chore/bump-codex-0149 branch August 22, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant