vigiles API reference
    Preparing search index...

    Function codexEvalRunner

    • Spawn real codex exec --json for the eval tier (real model, the user's codex auth — NOT the mock). CONFIRMED flags (codex 0.139.0): --json for the event stream, --skip-git-repo-check for a bare cwd, the approvals/sandbox bypass so the turn runs unattended, -C <cwd> for the working dir, prompt as the trailing positional, and stdin = /dev/null (stdio: ["ignore",…]) — codex otherwise blocks on "Reading additional input from stdin…". Needs ChatGPT/API auth + network egress to the model backend.

      Parameters

      • args: { cwd: string; task: string; timeoutMs: number }

      Returns { code: number; stdout: string }