codex - 💡(How to fix) Fix Opportunity: make host-faithful local use a first-class Codex workflow [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17660Fetched 2026-04-14 05:41:34
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×2unlabeled ×2

Root Cause

  • The trust model feels weak for interactive local work: per-repo or cumulative approvals are not really manageable from within the Codex app itself, which makes them much less useful for exploratory “figure it out as we go” workflows than they could be.
  • In local cluster and LAN-host workflows, sandboxed networking and execution context added ambiguity on top of already-complicated real infrastructure issues, making it harder to tell whether a failure belonged to the host, the cluster, or the wrapper.
  • On macOS workstation tasks, even normal local development workflows like go test ./... became harder to reason about because freshly built local binaries started triggering repeated permission prompts after an OS/IT-driven update, and the mismatch between Codex’s execution context and my real shell made it harder to separate host-policy problems from tool-wrapper problems.
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI

What feature would you like to see?

Codex CLI already has the technical building blocks for host-faithful local execution: users can combine sandbox_mode = "danger-full-access" with approval_policy = "on-request" in ~/.codex/config.toml or a named profile. That means this is not really a missing-capability request. It feels more like a productization opportunity: turning an already-possible setup into a clearer, more intentional workflow for people using Codex directly on trusted developer machines.

Right now, the product experience understandably centers the sandboxed workflow, which makes sense as a safe default. But there seems to be a meaningful second audience: users who want Codex to operate directly in their real local environment while still keeping approvals on and building trust gradually. For those users, the current experience can feel more like “you can do this if you really want to” than “this is a supported way to use Codex.”

Potential improvements:

  • a clearly named local / trusted-workstation preset or onboarding choice
  • docs that frame sandboxed and host-faithful local usage as two valid workflows with different tradeoffs
  • startup UX that helps users choose the right mode for their environment
  • a more cumulative approval model for local use, such as per-repo or narrowly scoped persistent approvals, so users can move toward a “capable but not dangerous” baseline over time

This seems like a good opportunity to improve clarity and adoption for external users without changing the existing sandbox-first defaults. The underlying capability is already there; the main gap is making the intended local workflow easier to discover, easier to trust, and easier to use confidently.

Making this a clearly named, endorsed first-class workflow would also help keep it healthy over time, rather than leaving it as an escape hatch that may drift as the sandboxed path continues to evolve.

Additional information

A few concrete examples from the last week:

  • The trust model feels weak for interactive local work: per-repo or cumulative approvals are not really manageable from within the Codex app itself, which makes them much less useful for exploratory “figure it out as we go” workflows than they could be.
  • In local cluster and LAN-host workflows, sandboxed networking and execution context added ambiguity on top of already-complicated real infrastructure issues, making it harder to tell whether a failure belonged to the host, the cluster, or the wrapper.
  • On macOS workstation tasks, even normal local development workflows like go test ./... became harder to reason about because freshly built local binaries started triggering repeated permission prompts after an OS/IT-driven update, and the mismatch between Codex’s execution context and my real shell made it harder to separate host-policy problems from tool-wrapper problems.

Taken together, this has felt less like an isolated edge case and more like a recurring pattern: the host-faithful mode exists, but the sandbox-first experience is the path that keeps getting exercised and accumulating the sharp edges.

extent analysis

TL;DR

To improve the Codex CLI experience for host-faithful local execution, consider introducing a clearly named local preset or onboarding choice and enhancing documentation to frame sandboxed and host-faithful local usage as two valid workflows.

Guidance

  • Introduce a named preset or onboarding choice for host-faithful local execution to make this workflow more discoverable and user-friendly.
  • Enhance documentation to clearly outline the tradeoffs between sandboxed and host-faithful local usage, helping users choose the right mode for their environment.
  • Consider implementing a cumulative approval model for local use, such as per-repo or narrowly scoped persistent approvals, to improve the trust model for interactive local work.
  • Review startup UX to ensure it helps users choose the right mode for their environment, potentially reducing ambiguity and improving overall user experience.

Notes

The proposed changes aim to improve the product experience for users who prefer host-faithful local execution without altering the existing sandbox-first defaults. The focus is on making the intended local workflow easier to discover, trust, and use confidently.

Recommendation

Apply workaround: Introduce a clearly named local preset or onboarding choice and enhance documentation to support host-faithful local execution, as this approach leverages existing technical building blocks and addresses the primary gap in the user experience.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING