refactor(input): bake codex cli runtime
This commit is contained in:
		| @@ -24,9 +24,11 @@ The watcher lives in `input/Docker/`: | ||||
| - `templates/ResumeCustomizerPrompt.md.example` ships with default resume-customization instructions. Copy it to `ResumeCustomizerPrompt.md` to override. | ||||
| - The `.gitignore` in `templates/` keeps local overrides out of version control. | ||||
|  | ||||
| ### Codex CLI | ||||
| - The container image installs the official Codex CLI and expects credentials/configuration from the mounted `~/.codex` directory on the host. | ||||
| - No additional command-line customization is required; the watcher invokes `codex prompt --input … --output … --format markdown` internally for both passes. | ||||
|  | ||||
| ### Key Environment Variables | ||||
| - `CODEX_COMMAND_TEMPLATE` – format string for the resume-customization Codex run (placeholders: `{prompt}`, `{output}`). | ||||
| - `CODEX_NORMALIZER_COMMAND_TEMPLATE` – optional override for the normalization Codex run (defaults to `CODEX_COMMAND_TEMPLATE`). | ||||
| - `POLL_INTERVAL_SECONDS` – watch loop delay (defaults to 5). | ||||
| - `CODEX_TIMEOUT_SECONDS` – wall-clock timeout for each Codex call (defaults to 600). | ||||
| - `CODEX_CONFIG_DIR` – host path to mount as `/home/codex/.codex` (defaults to `${HOME}/.codex` via the wrapper). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user