{
  "id": "cdx",
  "command": "cdx exec -m <model> [--profile <account>] \"<prompt>\"",
  "summary": "Wrapper over codex exec that selects account per-invocation and applies the fleet's model-cost policy.",
  "intent_phrases": ["delegate this to codex", "have codex write this code", "review this diff with codex"],
  "replaces": ["raw codex exec", "raw codex review", "editing ~/.codex/auth.json to switch accounts"],
  "preconditions": "Never any codex xhigh model; reviewer sol-low, coder/fixer terra-medium, escalation sol-medium (per model-cost policy).",
  "effects": "Runs codex exec under the selected account without repointing the shared auth symlink.",
  "risk": "reversible",
  "example": "cdx exec -m gpt-5.6-sol -c model_reasoning_effort=low 'Implement the card schema validator'",
  "help_probe": "cdx --help"
}
