Repository navigation
fix(daemon-client): name the Codex sandbox fix in the loopback-denied hint - #5287
Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 9 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 830c6c5. The verdict and the full list are in the summary comment.
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This is ready at 2d7f563, and no code change is required before merge. Not blocking: take or leave a note in the hint that the These threads no longer apply and can be resolved: fixed, the hint follows Checks pass or are skipped at this head. One cancelled Body rules run was replaced by a successful run at the same head. The earlier Not verified here: the regression tests were judged only by reading the base and head code. The live runs were made at fc1a4a3 with a rule for the built CLI path, so the literal hinted rule and the head wording were not covered by them. On the timeout route with |
Summary
Codex’s macOS sandbox can deny localhost access. The generic hint left agents to figure out how to retry. Both denial reasons now use the captured client environment to select a Codex hint when
CODEX_SANDBOXis nonempty. The hint explains standalone calls, the permanent allow rule, and one-time escalation. The rules path followsCODEX_HOMEwhen set. The generic hint and lifecycle behavior are unchanged.Before / after
codex sandbox -- node bin/agent-device.mjs devices --state-dir <temp>previously suggested generic host access. It now prints the Codex rule, standalone retry instructions, and full setup URL on both a denied listen and a denied connect to a running daemon.Validation
2d7f5639ff84f28a6d35abcbf3f520c05ec09c46: oxlint passed on the resolver file after a doc comment edit.830c6c52be, 30 tests passed across the two focused files.fc1a4a3bec, frozen install and build passed, reason regeneration produced no diff, and the live checks below passed.CODEX_SANDBOX=seatbeltin the sandbox. With a temporaryCODEX_HOMEand an explicit/usr/bin/envallow rule, Luna low ran it standalone andCODEX_SANDBOXwas absent.cd … && agent-device devicesprinted the new hint and the very next call ran agent-device standalone and exited 0.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.