Skip to content

Codex fails with trusted directory error inside OpenGUI #37

@touch2be

Description

@touch2be

Description

When using Codex inside OpenGUI, execution fails with the following error:

Codex Exec exited with code 1: Reading prompt from stdin... Not inside a trusted directory and --skip-git-repo-check was not specified.

This prevents Codex from running in projects that are opened through OpenGUI.

Observed Behavior

  • User starts Codex from within OpenGUI
  • Codex immediately exits with code 1
  • The UI shows the trusted directory error instead of running the prompt

Expected Behavior

  • OpenGUI should either start Codex in a trusted directory context
  • Or it should handle the trust requirement explicitly before execution
  • The user should not hit this low-level error during normal usage

Notes

Possible ways to address this could include:

  • ensuring the working directory passed to Codex is marked as trusted
  • prompting the user to trust the directory before execution
  • or handling the required Codex flag/configuration where appropriate

Environment

  • OpenGUI Desktop Interface
  • Provider: Codex
  • OS: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions