This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # agent_reflect.sh — minimal three-stage Codex reflection pipeline for any repo | |
| # Uses `codex --dangerously-bypass-approvals-and-sandbox` for all Codex exec calls | |
| # Usage: agent_reflect.sh <repo|path> [--auto] | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "$0") <repo|path> [--auto] | |
| Positional: |