You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: tell Codex to run contextbridge open outside the sandbox #110
The Codex planbridge-open skill currently tells agents to run contextbridge open <path> like a normal command. In Codex, that usually starts the local annotation server, but the automatic browser launch depends on a GUI/desktop action and can fail or no-op from the default sandbox.
This makes $planbridge-open /path/to/file.md confusing: PlanBridge may print a localhost URL, but the browser does not reliably open automatically unless the command is run outside the sandbox.
Proposed solution
Update the Codex-installed planbridge-open skill so it explicitly tells Codex to run contextbridge open with sandbox escalation, for example using sandbox_permissions: "require_escalated" and an appropriate justification. For path-based usage, the guidance should also suggest a reasonably scoped reusable approval such as prefix_rule: ["contextbridge", "open"].
Implementation should avoid a one-off hardcoded appendix in the renderer. We will want:
a way to add harness-specific details to a given skill, so Codex can receive operational guidance that Claude or other harnesses should not see
a way to easily reuse standard Codex sandbox messaging, because future contextbridge commands will likely need to tell Codex to break out of the sandbox for browser, desktop, or other local integration behavior
Alternatives you considered
A direct Codex-only text block hardcoded in the skill renderer would solve this specific case, but it does not scale. The renderer should stay generic, and the skill source structure should own harness-specific operational guidance.
Additional context
Observed while using $planbridge-open /tmp/foo.md from Codex. The CLI logged that the annotation server was listening and that it was opening the annotation browser session, but the browser did not open automatically from the sandboxed command execution context.
Activity
feat: tell Codex to run contextbridge open outside the sandbox (#115)