{
  "id": "factory",
  "command": "factory <adw> <prompt-or-path>",
  "summary": "The software factory entrypoint: its own planner decomposes a request into phases, gates, and commits.",
  "intent_phrases": ["build this feature end to end", "run the factory on this request", "have the factory implement this"],
  "replaces": ["hand-orchestrating a multi-step build+test+land sequence"],
  "preconditions": "A request spec (authored doc or inline prompt) and a configured ADW workflow.",
  "effects": "Runs the configured phases (plan/implement/test/gate/commit) end to end, writing trace records to the harness trace db.",
  "risk": "reversible",
  "example": "factory adw_build.py \"add a retry to the deploy step\"",
  "help_probe": "factory --help"
}
