Repository navigation
Conversation
codex CLI no longer accepts "untrusted" for -a/--ask-for-approval (only on-request/never remain), so the app-server subprocess the collector spawns exits immediately on the bad arg and the RPC probe just times out, leaving rate limits permanently unavailable. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Thanks for tracking this down, @iaikanshb. For this collector the two values do the same thing: it only sends What was checked: the diff and This waits on the maintainer, with a recommendation to close it as already fixed by #7649. |
|
Thank you for this, @iaikanshb. Closed at the maintainer's request. The review comment above has the details; it was done by Claude Opus 5.5 with Codex Medium as a second opinion, whose agreement is not independent. |
Summary
bin/omarchy-agent-usage-codexspawnscodex ... app-serverwith-a untrustedto probeaccount/readandaccount/rateLimits/readover RPC.untrustedfor-a/--ask-for-approval(onlyon-request/neverremain), so the app-server subprocess exits immediately on the invalid argument and the collector'sinitializeRPC call just times out.never, the closest valid equivalent — the collector never sends a tool-execution request (only account/limits reads), so the approval policy is inert here;neverkeeps the headless probe from ever blocking on an unanswerable approval prompt.Test plan
omarchy-agent-usage-codex --forcebefore the fix:usageStatusText: "Codex limits unavailable",authHelpText: "initialize",limits: [].limits(weekly window %, reset time) andtierLabelpopulated.omarchy-agent-usage-updateand confirmed the on-disk record at~/.local/state/omarchy/agents/usage/codex.jsonreflects the fix.omarchy-shell omarchy.agents refreshand confirmed Codex now shows session/weekly limits alongside Claude.🤖 Generated with Claude Code