fix(dispatch): use correct Codex CLI flags (exec --full-auto)
Some checks failed
CI / test (push) Failing after 3s

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-21 21:26:13 +00:00
parent 5393828ac6
commit ddf765dee1

View file

@ -73,7 +73,7 @@ func agentCommand(agent, prompt string) (string, []string, error) {
return "codex", []string{"review", "--base", "HEAD~1"}, nil
}
// Codex agent mode — autonomous coding
return "codex", []string{"--approval-mode", "full-auto", "-q", prompt}, nil
return "codex", []string{"exec", "--full-auto", prompt}, nil
case "claude":
args := []string{
"-p", prompt,