Phase transition rules and completion criteria for Forge 9-phase workflow
From forgenpx claudepluginhub chkim-su/forge --plugin forgeThis skill is limited to using the following tools:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
This skill defines the 9-phase operational workflow and transition rules.
| Phase | Name | Strict | Completion Criteria |
|---|---|---|---|
| 0 | Input Normalization | YES | Intent captured, scope identified |
| 1 | Semantic Routing | no | Decision axes identified |
| 2 | Codebase Reality | no | Reality description complete |
| 3 | Mismatch Evaluation | no | Mismatch evaluated (skip if no mismatch) |
| 4 | Structured Questioning | YES | All questions answered |
| 5 | Option Synthesis | no | Options presented |
| 6 | Workflow Creation | no | Workflow defined or skipped |
| 7 | Execution | YES | User confirmation received, execution complete |
| 8 | Validation | no | All validations passed |
These phases block non-allowed tools:
These phases warn but do not block:
[0: Input Normalization] ──(intent captured)──> [1: Semantic Routing]
│
│ (STRICT: must complete before proceeding)
│
[1: Semantic Routing] ──(axes identified)──> [2: Codebase Reality]
│
[2: Codebase Reality] ──(description complete)──> [3: Mismatch Evaluation]
│
[3: Mismatch Evaluation] ─┬─(mismatch found)──> [4: Structured Questioning]
│
└─(no mismatch)──> [5: Option Synthesis]
│
[4: Structured Questioning] ──(answers received)──> [5: Option Synthesis]
│
│ (STRICT: must follow Dialogue Contract)
│
[5: Option Synthesis] ──(options presented)──> [6: Workflow Creation]
│
[6: Workflow Creation] ─┬─(workflow defined)──> [7: Execution]
│
└─(no workflow)──> [7: Execution]
│
[7: Execution] ──(user confirmation)──> [execution proceeds]
│
│ (STRICT: requires user confirmation)
│
[7: Execution] ──(execution complete)──> [8: Validation]
│
[8: Validation] ──(all passed)──> [COMPLETE]
When a workflow is confirmed in Phase 7:
workflow_version is set to 1If the workflow is modified:
workflow_version incrementsworkflow_confirmed resets to falseconfig/phase-definitions.yaml for machine-readable definitionsscripts/forge-daemon.py for state managementscripts/pretool-hook.py for enforcement