{
  "id": "documentation_before_code",
  "label": "Documentation Before Code Canonical",
  "phase": "phase-02",
  "category": "architecture_engineering_core",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Prevent DEVON-DEV from converting user intent into code before the task has a minimal executable documentation contract.",
  "function": "Provide the pre-code gate that the future Execution & Monitoring Panel must check before allowing planning, file access, shell execution, patch generation, validation or promotion to proceed.",
  "depends_on": [
    "master_architecture_index",
    "devon_dev_mission",
    "cas",
    "cgs",
    "devon_dev_work_policy_center"
  ],
  "used_by": [
    "requirements_scope_engine",
    "project_dependency_graph",
    "fsm_absolute_decision",
    "decision_rule_registry",
    "policy_compiler",
    "tool_registry",
    "validation_matrix",
    "artifact_registry"
  ]
}
