vigiles API reference
    Preparing search index...

    Function buildCodexArgs

    • The non-interactive codex exec argv. The mock-wiring -c flags (ctx.mockArgs, from runtime.wireMock) MUST follow exec — placed before exec they're parsed as global flags and ignored (codex falls back to the real OpenAI provider). --ephemeral + --dangerously-bypass-approvals-and-sandbox make it run unattended; --skip-git-repo-check lets it run in a bare temp dir; --ignore-user-config keeps the host's ~/.codex out. The prompt is the trailing positional. Pure, so the arg shape is unit-tested.

      Parameters

      • ctx: HarnessDriverContext

      Returns string[]