{
  "_comment": "Maps manifest gate names to required skill and agent invocations. Used by gate-enforcer.sh to verify prerequisites before allowing gate-passed: true. Enforcement is work_id-scoped (v6.2+): the enforcer filters .forge/state/telemetry.jsonl to records whose work_id matches the manifest being edited (extracted from .forge/work/{type}/{name}/manifest.yaml). A stale invocation from another work item, or a legacy record written before work_id was added, does NOT satisfy a fresh gate. Agents are dispatched by skills internally — listed here so the enforcer can verify they were invoked via telemetry.",
  "requirements": {
    "skill": "discover-requirements",
    "agent": null
  },
  "codebase-analysis": {
    "skill": "discover-codebase-analysis",
    "agent": "architect"
  },
  "brainstorm": {
    "skill": "plan-brainstorm",
    "agent": "critic"
  },
  "architecture": {
    "skill": "plan-architecture",
    "agents": ["architect", "critic"]
  },
  "task-decompose": {
    "skill": "plan-task-decompose",
    "agent": "spec-reviewer"
  },
  "design-system": {
    "skill": "plan-design-system",
    "agent": null
  },
  "scaffold": {
    "skill": "build-scaffold",
    "agent": null
  },
  "concept": {
    "skill": "concept-slides",
    "agent": "concept-designer"
  },
  "wireframe": {
    "skill": "build-wireframe",
    "agent": "wireframer"
  },
  "prototype": {
    "skill": "build-prototype",
    "agent": "prototype-builder"
  },
  "iterate": {
    "skill": "iterate-prototype",
    "agent": "prototype-reviewer"
  },
  "codify": {
    "skill": "harden",
    "agent": "prototype-codifier"
  },
  "runtime-reach": {
    "skill": "support-runtime-reachability",
    "agent": null
  },
  "wiki-lint": {
    "skill": "support-wiki-lint",
    "agent": null
  },
  "code-review": {
    "skill": "quality-code-review",
    "agent": "craft-reviewer"
  },
  "code-review-final": {
    "skill": "quality-code-review",
    "agent": "code-reviewer"
  },
  "test-plan": {
    "skill": "quality-test-plan",
    "agent": "critic"
  },
  "test-execution": {
    "skill": "quality-test-execution",
    "agent": "e2e-runner"
  },
  "uiux-review": {
    "skill": "quality-uiux",
    "agent": null
  }
}
