{
  "workflow:plan": {
    "calls_internally": [
      "workflow:session:start",
      "workflow:tools:context-gather",
      "workflow:tools:conflict-resolution",
      "workflow:tools:task-generate-agent"
    ],
    "next_steps": [
      "workflow:action-plan-verify",
      "workflow:status",
      "workflow:execute"
    ],
    "alternatives": [
      "workflow:tdd-plan"
    ],
    "prerequisites": []
  },
  "workflow:tdd-plan": {
    "calls_internally": [
      "workflow:session:start",
      "workflow:tools:context-gather",
      "workflow:tools:task-generate-tdd"
    ],
    "next_steps": [
      "workflow:tdd-verify",
      "workflow:status",
      "workflow:execute"
    ],
    "alternatives": [
      "workflow:plan"
    ],
    "prerequisites": []
  },
  "workflow:execute": {
    "prerequisites": [
      "workflow:plan",
      "workflow:tdd-plan"
    ],
    "related": [
      "workflow:status",
      "workflow:resume"
    ],
    "next_steps": [
      "workflow:review",
      "workflow:tdd-verify"
    ]
  },
  "workflow:action-plan-verify": {
    "prerequisites": [
      "workflow:plan"
    ],
    "next_steps": [
      "workflow:execute"
    ],
    "related": [
      "workflow:status"
    ]
  },
  "workflow:tdd-verify": {
    "prerequisites": [
      "workflow:execute"
    ],
    "related": [
      "workflow:tools:tdd-coverage-analysis"
    ]
  },
  "workflow:session:start": {
    "next_steps": [
      "workflow:plan",
      "workflow:execute"
    ],
    "related": [
      "workflow:session:list",
      "workflow:session:resume"
    ]
  },
  "workflow:session:resume": {
    "alternatives": [
      "workflow:resume"
    ],
    "related": [
      "workflow:session:list",
      "workflow:status"
    ]
  },
  "workflow:resume": {
    "alternatives": [
      "workflow:session:resume"
    ],
    "related": [
      "workflow:status"
    ]
  },
  "task:create": {
    "next_steps": [
      "task:execute"
    ],
    "related": [
      "task:breakdown"
    ]
  },
  "task:breakdown": {
    "next_steps": [
      "task:execute"
    ],
    "related": [
      "task:create"
    ]
  },
  "task:replan": {
    "prerequisites": [
      "workflow:plan"
    ],
    "related": [
      "workflow:action-plan-verify"
    ]
  },
  "task:execute": {
    "prerequisites": [
      "task:create",
      "task:breakdown",
      "workflow:plan"
    ],
    "related": [
      "workflow:status"
    ]
  },
  "memory:docs": {
    "calls_internally": [
      "workflow:session:start",
      "workflow:tools:context-gather"
    ],
    "next_steps": [
      "workflow:execute"
    ]
  },
  "memory:skill-memory": {
    "next_steps": [
      "workflow:plan",
      "cli:analyze"
    ],
    "related": [
      "memory:load-skill-memory"
    ]
  },
  "memory:workflow-skill-memory": {
    "related": [
      "memory:skill-memory"
    ],
    "next_steps": [
      "workflow:plan"
    ]
  },
  "cli:execute": {
    "alternatives": [
      "cli:codex-execute"
    ],
    "related": [
      "cli:analyze",
      "cli:chat"
    ]
  },
  "cli:analyze": {
    "related": [
      "cli:chat",
      "cli:mode:code-analysis"
    ],
    "next_steps": [
      "cli:execute"
    ]
  },
  "workflow:brainstorm:artifacts": {
    "next_steps": [
      "workflow:brainstorm:synthesis",
      "workflow:plan"
    ],
    "related": [
      "workflow:brainstorm:auto-parallel"
    ]
  },
  "workflow:brainstorm:synthesis": {
    "prerequisites": [
      "workflow:brainstorm:artifacts"
    ],
    "next_steps": [
      "workflow:plan"
    ]
  },
  "workflow:brainstorm:auto-parallel": {
    "next_steps": [
      "workflow:brainstorm:synthesis",
      "workflow:plan"
    ],
    "related": [
      "workflow:brainstorm:artifacts"
    ]
  },
  "workflow:test-gen": {
    "prerequisites": [
      "workflow:execute"
    ],
    "next_steps": [
      "workflow:test-cycle-execute"
    ]
  },
  "workflow:test-fix-gen": {
    "alternatives": [
      "workflow:test-gen"
    ],
    "next_steps": [
      "workflow:test-cycle-execute"
    ]
  },
  "workflow:test-cycle-execute": {
    "prerequisites": [
      "workflow:test-gen",
      "workflow:test-fix-gen"
    ],
    "related": [
      "workflow:tdd-verify"
    ]
  },
  "workflow:ui-design:explore-auto": {
    "calls_internally": [
      "workflow:ui-design:capture",
      "workflow:ui-design:style-extract",
      "workflow:ui-design:layout-extract"
    ],
    "next_steps": [
      "workflow:ui-design:generate"
    ]
  },
  "workflow:ui-design:imitate-auto": {
    "calls_internally": [
      "workflow:ui-design:capture"
    ],
    "next_steps": [
      "workflow:ui-design:generate"
    ]
  },
  "workflow:lite-plan": {
    "calls_internally": [
      "workflow:lite-execute"
    ],
    "next_steps": [
      "workflow:lite-execute",
      "workflow:status"
    ],
    "alternatives": [
      "workflow:plan"
    ],
    "prerequisites": []
  },
  "workflow:lite-fix": {
    "next_steps": [
      "workflow:lite-execute",
      "workflow:status"
    ],
    "alternatives": [
      "workflow:lite-plan"
    ],
    "related": [
      "workflow:test-cycle-execute"
    ]
  },
  "workflow:lite-execute": {
    "prerequisites": [
      "workflow:lite-plan",
      "workflow:lite-fix"
    ],
    "related": [
      "workflow:execute",
      "workflow:status"
    ]
  },
  "workflow:review-module-cycle": {
    "next_steps": [
      "workflow:review-fix"
    ],
    "related": [
      "workflow:review-session-cycle",
      "workflow:review"
    ]
  },
  "workflow:review-session-cycle": {
    "prerequisites": [
      "workflow:execute"
    ],
    "next_steps": [
      "workflow:review-fix"
    ],
    "related": [
      "workflow:review-module-cycle",
      "workflow:review"
    ]
  },
  "workflow:review-fix": {
    "prerequisites": [
      "workflow:review-module-cycle",
      "workflow:review-session-cycle"
    ],
    "related": [
      "workflow:test-cycle-execute"
    ]
  }
}