diff options
Diffstat (limited to 'plugins/code-modernization/commands/modernize-reimagine.md')
| -rw-r--r-- | plugins/code-modernization/commands/modernize-reimagine.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/code-modernization/commands/modernize-reimagine.md b/plugins/code-modernization/commands/modernize-reimagine.md index 668ef60f..5b0ecb12 100644 --- a/plugins/code-modernization/commands/modernize-reimagine.md +++ b/plugins/code-modernization/commands/modernize-reimagine.md @@ -13,6 +13,19 @@ This is not a port — it's a rebuild from extracted intent. The legacy system becomes the *specification source*, not the structural template. This command orchestrates a multi-agent team with explicit human checkpoints. +**The brief is binding — read it first.** If `analysis/$1/MODERNIZATION_BRIEF.md` +exists, this reimagine is executing one of its phases: read it before doing +anything below. Find the phase that names this command with a scope matching +`$1` and <vision>, and treat that phase's **scope, entry criteria, exit +criteria, and any edits the user made to it** as binding on the phases below +— on top of, never instead of, this command's own two HITL checkpoints. +Entry criteria are *gates*, not context: if one is not met (a prior phase's +exit criteria, an SME sign-off the brief requires), meeting it **is** the +next step — do not proceed past it and do not silently re-plan around it. If +the brief exists but no phase matches, stop and ask which phase this is. The +user steers execution by editing the brief; a brief the execution command +never reads cannot steer anything. + ## Phase A — Specification mining (parallel agents) Spawn concurrently and show the user that all three are running: |
