-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Problem
Codex CLI execution fails with error: Not inside a trusted directory and --skip-git-repo-check was not specified
Root Cause
Codex CLI has security restrictions that prevent execution outside trusted directories. The current implementation in codex_subagent() doesn't handle this.
Solution
Add --skip-git-repo-check flag to Codex CLI commands in cli_subagent.py:
command = f'codex exec --skip-git-repo-check "{instruction}"'Affected Code
roundtable_mcp_server/cli_subagent.py-codex_subagent()function- Line ~100-150 where Codex CLI command is constructed
Testing
- Run
codex_subagent()with a simple instruction - Verify it executes without trusted directory error
- Ensure project_path is properly handled when provided
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels