Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Codex usage collector to use the supported approval policy and adds regression coverage.
Changes:
- Replaces retired
untrustedpolicy withnever. - Verifies the exact Codex app-server arguments.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
bin/omarchy-agent-usage-codex |
Uses the supported Codex approval policy. |
test/shell.d/agent-usage-codex-scanner-test.sh |
Adds argument regression coverage. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Thanks for this, @sanjyay. What was checked: I read the diff against Second opinion: Codex at medium effort reviewed the same diff and reached the same conclusion, and it pointed out the difference between the two tests. It could read this review's reasoning, so it wasn't fully independent. Next: this waits on the maintainer, and I'd recommend closing it as superseded by #7649. |
Summary
neverapproval policyCodex CLI 0.149.0 rejects the retired
untrustedvalue before app-server initialization, which leaves the agents widget showing “Codex limits unavailable”.Testing
bash test/shell.d/agent-usage-codex-scanner-test.sh./test/all(Codex coverage passes; unrelated existing/environment-dependent failures:a roomy window animatesandomarchy-pkgs checkout is available for packaging coverage)