In the Codex Automations tab:
| Field | Value |
|---|---|
| Project | Your repo checkout |
| Cadence | Daily (e.g. 08:00 local) |
| Environment | Local or background worktree |
| Prompt | See below |
Run $loop-triage on this project. Read STATE.md if present.
Append to STATE.md:
- High-Priority Items → "## High Priority" section
- Watch Items → "## Watch List"
- Update "Last run" timestamp
Week 1: report only. Do not modify source files.
Flag anything ambiguous for the Triage inbox.
Install loop-triage per Codex Agent Skills — same SKILL.md format as templates/SKILL.md.loop-triage.
Add to prompt:
For high-priority single-file bugfixes only: draft fix in isolated worktree.
Spawn verifier subagent (stronger model) before proposing PR.
Define verifier in .codex/agents/verifier.toml.
Runs with findings land in Codex Triage inbox — review there + STATE.md.
Empty runs archive automatically (built-in behavior).