Apply Patch Discipline
Use when a coding agent must edit existing files carefully. Read the surrounding code, apply a minimal patch, preserve unrelated user changes, and avoid formatting churn outside the target area.
Evidence
- Focused diff.
- No unrelated file rewrites.
- Note explaining any unavoidable broad change.
Source Snapshot
Source: global Codex AGENTS.md minimal-diff and worker ownership rules
Short excerpt used for provenance, not a full source copy.
text## Codex Orchestrator Apply Protocol Use this protocol whenever the user asks for Codex Orchestrator, or when a non-trivial `/opsx:apply` / implementation task needs agent separation, worktree isolation, or review before merge. Start by outputting: ```markdown ## Task Understanding ## Proposed Subagents ## Worktree /


