Skip to content

TEST: cover Codex 0.173 approval replay and live permissions - #125

Merged
merefield merged 1 commit into
mainfrom
test/codex-173-compatibility
Dec 2, 2026
Merged

merefield merged 1 commit into
mainfrom
test/codex-173-compatibility

Conversation

@merefield

Copy link
Copy Markdown
Owner

Why

Codex 0.173.0 replays pending server requests asynchronously after thread/resume and refreshes Guardian restrictions on configuration and account changes. Protect the two client compatibility paths without changing runtime behaviour.

Coverage

  • Use the compressed Unix WebSocket fixture to deliver an approval after the first status snapshot. Assert exactly one actionable request, unchanged queue age on duplicate replay, invalidation of the replaced and resolved capabilities, and no extra thread/resume calls.
  • Tighten managed requirements after opening /permissions. Verify stale Approve for me and Full Access choices are rejected without a settings write; refreshing the menu exposes Read Only and lets the user apply and verify it.

Verification

  • Both targeted tests passed 20 consecutive runs with -race.
  • go test -race ./internal/codex ./internal/web passed.

Upstream: approval replay, live restrictions, refresh triggers. API-EQ diagnostics and new features are out of scope.

@merefield
merefield merged commit 6661083 into main Dec 2, 2026
8 checks passed
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