codex_preflight_project_run
Validate project safety before a Codex run by checking configuration and permissions. Use after project discovery to prevent issues during write operations.
Instructions
Check whether a project is safe to use before a Codex run. Use this after project discovery and before write operations. Do not treat skipped worker-managed account checks as hard auth failures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| cwd | No | ||
| model | No | ||
| sandbox | No | ||
| approval_policy | No | ||
| workflow_kind | No | plan | |
| live_probe | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |