← back to Designer Wallcoverings

DW-Agents/codex_plans/README.md

15 lines

# Codex Planner → Claude Executor Protocol

Codex must output ONLY a JSON file saved into codex_plans/inbox/.

Allowed actions (executor can do):
- apply unified diffs from ./patches/*.patch
- run shell scripts from ./scripts/*.sh
- run listed commands in ./commands.txt (one per line)

Hard rules:
- No curl|wget piping to shell
- No editing outside the repo root unless explicitly allowed
- No deleting files without explicit approval
- Every command must be runnable with set -euo pipefail
- Executor always runs: git status, tests (if present), and shows diff before applying