maestro-flow 0.5.36 → 0.5.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/cli-explore-agent.md +1 -1
- package/.agents/agents/role-design-author.md +1 -1
- package/.agents/agents/team-supervisor.md +131 -131
- package/.agents/agents/ui-design-agent.md +1 -1
- package/.agents/agents/workflow-codebase-mapper.md +67 -67
- package/.agents/agents/workflow-collab-planner.md +1 -1
- package/.agents/agents/workflow-debugger.md +1 -1
- package/.agents/agents/workflow-executor.md +2 -2
- package/.agents/agents/workflow-external-researcher.md +78 -78
- package/.agents/agents/workflow-nyquist-auditor.md +1 -1
- package/.agents/agents/workflow-plan-checker.md +1 -1
- package/.agents/agents/workflow-planner.md +1 -1
- package/.agents/agents/workflow-project-researcher.md +63 -63
- package/.agents/agents/workflow-research-synthesizer.md +63 -63
- package/.agents/agents/workflow-reviewer.md +73 -73
- package/.agents/agents/workflow-verifier.md +1 -1
- package/.agents/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agents/skills/delegation-check/SKILL.md +292 -292
- package/.agents/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.agents/skills/learn-follow/SKILL.md +114 -114
- package/.agents/skills/learn-investigate/SKILL.md +138 -138
- package/.agents/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agents/skills/maestro/SKILL.md +233 -227
- package/.agents/skills/maestro-amend/SKILL.md +150 -150
- package/.agents/skills/maestro-analyze/SKILL.md +210 -210
- package/.agents/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agents/skills/maestro-brainstorm/SKILL.md +205 -205
- package/.agents/skills/maestro-collab/SKILL.md +173 -173
- package/.agents/skills/maestro-companion/SKILL.md +517 -517
- package/.agents/skills/maestro-composer/SKILL.md +173 -173
- package/.agents/skills/maestro-execute/SKILL.md +169 -169
- package/.agents/skills/maestro-fork/SKILL.md +97 -97
- package/.agents/skills/maestro-grill/SKILL.md +161 -161
- package/.agents/skills/maestro-guard/SKILL.md +93 -93
- package/.agents/skills/maestro-help/index/catalog.json +1 -1
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agents/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agents/skills/maestro-init/SKILL.md +117 -117
- package/.agents/skills/maestro-merge/SKILL.md +73 -73
- package/.agents/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agents/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agents/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agents/skills/maestro-next/SKILL.md +252 -252
- package/.agents/skills/maestro-overlay/SKILL.md +177 -177
- package/.agents/skills/maestro-plan/SKILL.md +222 -222
- package/.agents/skills/maestro-player/SKILL.md +167 -167
- package/.agents/skills/maestro-quick/SKILL.md +69 -69
- package/.agents/skills/maestro-ralph/SKILL.md +900 -832
- package/.agents/skills/maestro-ralph-execute/SKILL.md +287 -276
- package/.agents/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agents/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agents/skills/maestro-tools-register/SKILL.md +142 -142
- package/.agents/skills/maestro-ui-codify/SKILL.md +101 -101
- package/.agents/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agents/skills/maestro-update/SKILL.md +109 -109
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agents/skills/manage-drift-realign/SKILL.md +153 -0
- package/.agents/skills/manage-harvest/SKILL.md +86 -86
- package/.agents/skills/manage-issue/SKILL.md +59 -59
- package/.agents/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agents/skills/manage-kg-extractors/SKILL.md +2 -2
- package/.agents/skills/manage-knowhow/SKILL.md +70 -70
- package/.agents/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agents/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agents/skills/manage-status/SKILL.md +52 -52
- package/.agents/skills/manage-wiki/SKILL.md +69 -69
- package/.agents/skills/odyssey-debug/SKILL.md +465 -465
- package/.agents/skills/odyssey-improve/SKILL.md +496 -496
- package/.agents/skills/odyssey-planex/SKILL.md +594 -594
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agents/skills/odyssey-ui/SKILL.md +450 -450
- package/.agents/skills/prompt-generator/SKILL.md +465 -465
- package/.agents/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agents/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agents/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agents/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agents/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agents/skills/quality-auto-test/SKILL.md +140 -140
- package/.agents/skills/quality-debug/SKILL.md +145 -145
- package/.agents/skills/quality-refactor/SKILL.md +91 -91
- package/.agents/skills/quality-retrospective/SKILL.md +109 -109
- package/.agents/skills/quality-review/SKILL.md +144 -144
- package/.agents/skills/quality-sync/SKILL.md +74 -74
- package/.agents/skills/quality-test/SKILL.md +157 -157
- package/.agents/skills/scholar-anti-ai-writing/SKILL.md +168 -168
- package/.agents/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agents/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agents/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agents/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agents/skills/scholar-citation-verify/SKILL.md +161 -161
- package/.agents/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agents/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agents/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agents/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agents/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agents/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agents/skills/scholar-experiment/SKILL.md +316 -316
- package/.agents/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agents/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agents/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agents/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agents/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agents/skills/scholar-ideation/SKILL.md +283 -283
- package/.agents/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agents/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agents/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agents/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agents/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agents/skills/scholar-latex-organizer/SKILL.md +181 -181
- package/.agents/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agents/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agents/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agents/skills/scholar-publish/SKILL.md +215 -215
- package/.agents/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agents/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agents/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agents/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agents/skills/scholar-rebuttal-pro/SKILL.md +507 -507
- package/.agents/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agents/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agents/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agents/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agents/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agents/skills/scholar-review/SKILL.md +222 -222
- package/.agents/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agents/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agents/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agents/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agents/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agents/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agents/skills/scholar-thesis-docx/README.md +111 -111
- package/.agents/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agents/skills/scholar-thesis-docx/SKILL.md +208 -208
- package/.agents/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agents/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agents/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agents/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agents/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agents/skills/scholar-writing/SKILL.md +291 -291
- package/.agents/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agents/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agents/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agents/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agents/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agents/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agents/skills/security-audit/SKILL.md +217 -217
- package/.agents/skills/skill-generator/SKILL.md +465 -465
- package/.agents/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agents/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agents/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agents/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agents/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agents/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.agents/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agents/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agents/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agents/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agents/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agents/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agents/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agents/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agents/skills/skill-generator/templates/script-template.md +368 -368
- package/.agents/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.agents/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agents/skills/skill-iter-tune/SKILL.md +378 -378
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agents/skills/skill-simplify/SKILL.md +58 -58
- package/.agents/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agents/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agents/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agents/skills/skill-tuning/SKILL.md +170 -170
- package/.agents/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agents/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agents/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agents/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agents/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agents/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agents/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agents/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agents/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agents/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agents/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agents/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agents/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agents/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agents/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agents/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agents/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agents/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agents/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agents/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agents/skills/spec-add/SKILL.md +66 -66
- package/.agents/skills/spec-load/SKILL.md +67 -67
- package/.agents/skills/spec-remove/SKILL.md +42 -42
- package/.agents/skills/spec-setup/SKILL.md +37 -37
- package/.agents/skills/team-arch-opt/SKILL.md +153 -153
- package/.agents/skills/team-arch-opt/roles/analyzer/role.md +80 -80
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agents/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agents/skills/team-arch-opt/roles/designer/role.md +109 -109
- package/.agents/skills/team-arch-opt/roles/refactorer/role.md +98 -98
- package/.agents/skills/team-arch-opt/roles/reviewer/role.md +105 -105
- package/.agents/skills/team-arch-opt/roles/validator/role.md +109 -109
- package/.agents/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agents/skills/team-brainstorm/SKILL.md +166 -166
- package/.agents/skills/team-brainstorm/roles/challenger/role.md +55 -55
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agents/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.agents/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-brainstorm/roles/evaluator/role.md +50 -50
- package/.agents/skills/team-brainstorm/roles/ideator/role.md +63 -63
- package/.agents/skills/team-brainstorm/roles/synthesizer/role.md +51 -51
- package/.agents/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agents/skills/team-coordinate/SKILL.md +261 -261
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +360 -360
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agents/skills/team-designer/SKILL.md +155 -155
- package/.agents/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agents/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agents/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agents/skills/team-designer/phases/04-validation.md +329 -329
- package/.agents/skills/team-executor/SKILL.md +184 -184
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.agents/skills/team-executor/roles/executor/role.md +171 -171
- package/.agents/skills/team-executor/specs/session-schema.md +264 -264
- package/.agents/skills/team-frontend/SKILL.md +131 -131
- package/.agents/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agents/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agents/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agents/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.agents/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agents/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agents/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agents/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agents/skills/team-frontend-debug/SKILL.md +193 -193
- package/.agents/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agents/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agents/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agents/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agents/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agents/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agents/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agents/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agents/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agents/skills/team-interactive-craft/SKILL.md +136 -136
- package/.agents/skills/team-interactive-craft/roles/a11y-tester/role.md +153 -153
- package/.agents/skills/team-interactive-craft/roles/builder/role.md +210 -210
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agents/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.agents/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agents/skills/team-interactive-craft/roles/interaction-designer/role.md +138 -138
- package/.agents/skills/team-interactive-craft/roles/researcher/role.md +125 -125
- package/.agents/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agents/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agents/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agents/skills/team-issue/SKILL.md +166 -166
- package/.agents/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agents/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.agents/skills/team-issue/roles/coordinator/role.md +172 -172
- package/.agents/skills/team-issue/roles/explorer/role.md +96 -96
- package/.agents/skills/team-issue/roles/implementer/role.md +81 -81
- package/.agents/skills/team-issue/roles/integrator/role.md +78 -78
- package/.agents/skills/team-issue/roles/planner/role.md +74 -74
- package/.agents/skills/team-issue/roles/reviewer/role.md +80 -80
- package/.agents/skills/team-issue/specs/pipelines.md +124 -124
- package/.agents/skills/team-lifecycle-v4/SKILL.md +204 -204
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agents/skills/team-motion-design/SKILL.md +137 -137
- package/.agents/skills/team-motion-design/roles/animator/role.md +188 -188
- package/.agents/skills/team-motion-design/roles/choreographer/role.md +158 -158
- package/.agents/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agents/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agents/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agents/skills/team-motion-design/roles/motion-researcher/role.md +109 -109
- package/.agents/skills/team-motion-design/roles/motion-tester/role.md +169 -169
- package/.agents/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agents/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agents/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agents/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agents/skills/team-perf-opt/SKILL.md +170 -170
- package/.agents/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agents/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.agents/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agents/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agents/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agents/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agents/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agents/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agents/skills/team-planex/SKILL.md +132 -132
- package/.agents/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agents/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agents/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.agents/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agents/skills/team-planex/roles/executor/role.md +83 -83
- package/.agents/skills/team-planex/roles/planner/role.md +111 -111
- package/.agents/skills/team-planex/specs/pipelines.md +93 -93
- package/.agents/skills/team-quality-assurance/SKILL.md +142 -142
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +70 -70
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agents/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agents/skills/team-review/SKILL.md +142 -142
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agents/skills/team-review/roles/fixer/role.md +68 -68
- package/.agents/skills/team-review/specs/dimensions.md +82 -82
- package/.agents/skills/team-review/specs/pipelines.md +102 -102
- package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agents/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agents/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agents/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agents/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agents/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agents/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agents/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agents/skills/team-swarm/SKILL.md +173 -173
- package/.agents/skills/team-tech-debt/SKILL.md +123 -123
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +71 -71
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agents/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agents/skills/team-tech-debt/roles/planner/role.md +63 -63
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +84 -84
- package/.agents/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agents/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agents/skills/team-testing/SKILL.md +138 -138
- package/.agents/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agents/skills/team-testing/roles/executor/role.md +2 -2
- package/.agents/skills/team-testing/roles/generator/role.md +1 -1
- package/.agents/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agents/skills/team-testing/specs/pipelines.md +101 -101
- package/.agents/skills/team-ui-polish/SKILL.md +136 -136
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agents/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.agents/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agents/skills/team-ui-polish/roles/diagnostician/role.md +154 -154
- package/.agents/skills/team-ui-polish/roles/optimizer/role.md +219 -219
- package/.agents/skills/team-ui-polish/roles/scanner/role.md +350 -350
- package/.agents/skills/team-ui-polish/roles/verifier/role.md +136 -136
- package/.agents/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agents/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agents/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agents/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agents/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agents/skills/team-uidesign/SKILL.md +139 -139
- package/.agents/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agents/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agents/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.agents/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agents/skills/team-uidesign/roles/designer/role.md +87 -87
- package/.agents/skills/team-uidesign/roles/implementer/role.md +88 -88
- package/.agents/skills/team-uidesign/roles/researcher/role.md +95 -95
- package/.agents/skills/team-uidesign/roles/reviewer/role.md +63 -63
- package/.agents/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agents/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agents/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agents/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agents/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agents/skills/team-ultra-analyze/SKILL.md +168 -168
- package/.agents/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agents/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.agents/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agents/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agents/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.agents/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agents/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agents/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agents/skills/team-ux-improve/SKILL.md +146 -146
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agents/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.agents/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agents/skills/team-ux-improve/roles/designer/role.md +146 -146
- package/.agents/skills/team-ux-improve/roles/diagnoser/role.md +102 -102
- package/.agents/skills/team-ux-improve/roles/explorer/role.md +71 -71
- package/.agents/skills/team-ux-improve/roles/implementer/role.md +96 -96
- package/.agents/skills/team-ux-improve/roles/scanner/role.md +129 -129
- package/.agents/skills/team-ux-improve/roles/tester/role.md +78 -78
- package/.agents/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agents/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agents/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agents/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agents/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agents/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agents/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agents/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agents/skills/team-visual-a11y/SKILL.md +151 -151
- package/.agents/skills/team-visual-a11y/roles/color-auditor/role.md +172 -172
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agents/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.agents/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agents/skills/team-visual-a11y/roles/fix-implementer/role.md +240 -240
- package/.agents/skills/team-visual-a11y/roles/focus-auditor/role.md +216 -216
- package/.agents/skills/team-visual-a11y/roles/remediation-planner/role.md +200 -200
- package/.agents/skills/team-visual-a11y/roles/typo-auditor/role.md +179 -179
- package/.agents/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agents/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agents/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agents/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agents/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.agy/agents/cli-explore-agent.md +1 -1
- package/.agy/agents/role-design-author.md +1 -1
- package/.agy/agents/team-supervisor.md +131 -131
- package/.agy/agents/ui-design-agent.md +1 -1
- package/.agy/agents/workflow-codebase-mapper.md +67 -67
- package/.agy/agents/workflow-collab-planner.md +1 -1
- package/.agy/agents/workflow-debugger.md +1 -1
- package/.agy/agents/workflow-executor.md +2 -2
- package/.agy/agents/workflow-external-researcher.md +78 -78
- package/.agy/agents/workflow-nyquist-auditor.md +1 -1
- package/.agy/agents/workflow-plan-checker.md +1 -1
- package/.agy/agents/workflow-planner.md +1 -1
- package/.agy/agents/workflow-project-researcher.md +63 -63
- package/.agy/agents/workflow-research-synthesizer.md +63 -63
- package/.agy/agents/workflow-reviewer.md +73 -73
- package/.agy/agents/workflow-verifier.md +1 -1
- package/.agy/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.agy/skills/delegation-check/SKILL.md +297 -292
- package/.agy/skills/delegation-check/specs/separation-rules.md +248 -248
- package/.agy/skills/learn-follow/SKILL.md +114 -114
- package/.agy/skills/learn-investigate/SKILL.md +138 -138
- package/.agy/skills/learn-second-opinion/SKILL.md +105 -105
- package/.agy/skills/maestro/SKILL.md +233 -227
- package/.agy/skills/maestro-amend/SKILL.md +150 -150
- package/.agy/skills/maestro-analyze/SKILL.md +210 -210
- package/.agy/skills/maestro-blueprint/SKILL.md +175 -175
- package/.agy/skills/maestro-brainstorm/SKILL.md +205 -205
- package/.agy/skills/maestro-collab/SKILL.md +173 -173
- package/.agy/skills/maestro-companion/SKILL.md +517 -517
- package/.agy/skills/maestro-composer/SKILL.md +173 -173
- package/.agy/skills/maestro-execute/SKILL.md +169 -169
- package/.agy/skills/maestro-fork/SKILL.md +97 -97
- package/.agy/skills/maestro-grill/SKILL.md +161 -161
- package/.agy/skills/maestro-guard/SKILL.md +93 -93
- package/.agy/skills/maestro-help/index/catalog.json +1 -1
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.agy/skills/maestro-impeccable/SKILL.md +296 -296
- package/.agy/skills/maestro-init/SKILL.md +117 -117
- package/.agy/skills/maestro-merge/SKILL.md +73 -73
- package/.agy/skills/maestro-milestone-audit/SKILL.md +126 -126
- package/.agy/skills/maestro-milestone-complete/SKILL.md +123 -123
- package/.agy/skills/maestro-milestone-release/SKILL.md +122 -122
- package/.agy/skills/maestro-next/SKILL.md +252 -252
- package/.agy/skills/maestro-overlay/SKILL.md +177 -177
- package/.agy/skills/maestro-plan/SKILL.md +222 -222
- package/.agy/skills/maestro-player/SKILL.md +167 -167
- package/.agy/skills/maestro-quick/SKILL.md +69 -69
- package/.agy/skills/maestro-ralph/SKILL.md +900 -832
- package/.agy/skills/maestro-ralph-execute/SKILL.md +287 -276
- package/.agy/skills/maestro-roadmap/SKILL.md +159 -159
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +229 -229
- package/.agy/skills/maestro-tools-execute/SKILL.md +108 -108
- package/.agy/skills/maestro-tools-register/SKILL.md +142 -142
- package/.agy/skills/maestro-ui-codify/SKILL.md +101 -101
- package/.agy/skills/maestro-universal-workflow/SKILL.md +534 -534
- package/.agy/skills/maestro-update/SKILL.md +109 -109
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +73 -73
- package/.agy/skills/manage-drift-realign/SKILL.md +153 -0
- package/.agy/skills/manage-harvest/SKILL.md +86 -86
- package/.agy/skills/manage-issue/SKILL.md +59 -59
- package/.agy/skills/manage-issue-discover/SKILL.md +70 -70
- package/.agy/skills/manage-kg-extractors/SKILL.md +2 -2
- package/.agy/skills/manage-knowhow/SKILL.md +70 -70
- package/.agy/skills/manage-knowhow-capture/SKILL.md +79 -79
- package/.agy/skills/manage-knowledge-audit/SKILL.md +120 -120
- package/.agy/skills/manage-status/SKILL.md +52 -52
- package/.agy/skills/manage-wiki/SKILL.md +69 -69
- package/.agy/skills/odyssey-debug/SKILL.md +465 -465
- package/.agy/skills/odyssey-improve/SKILL.md +496 -496
- package/.agy/skills/odyssey-planex/SKILL.md +594 -594
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +422 -422
- package/.agy/skills/odyssey-ui/SKILL.md +450 -450
- package/.agy/skills/prompt-generator/SKILL.md +472 -465
- package/.agy/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.agy/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.agy/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.agy/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.agy/skills/prompt-generator/templates/command-md.md +118 -118
- package/.agy/skills/quality-auto-test/SKILL.md +140 -140
- package/.agy/skills/quality-debug/SKILL.md +145 -145
- package/.agy/skills/quality-refactor/SKILL.md +91 -91
- package/.agy/skills/quality-retrospective/SKILL.md +109 -109
- package/.agy/skills/quality-review/SKILL.md +144 -144
- package/.agy/skills/quality-sync/SKILL.md +74 -74
- package/.agy/skills/quality-test/SKILL.md +157 -157
- package/.agy/skills/scholar-anti-ai-writing/SKILL.md +175 -168
- package/.agy/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.agy/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.agy/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.agy/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.agy/skills/scholar-citation-verify/SKILL.md +170 -161
- package/.agy/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.agy/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.agy/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.agy/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.agy/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.agy/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.agy/skills/scholar-experiment/SKILL.md +323 -316
- package/.agy/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.agy/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.agy/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.agy/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.agy/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.agy/skills/scholar-ideation/SKILL.md +292 -283
- package/.agy/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.agy/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.agy/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.agy/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.agy/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.agy/skills/scholar-latex-organizer/SKILL.md +190 -181
- package/.agy/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.agy/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.agy/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.agy/skills/scholar-publish/SKILL.md +222 -215
- package/.agy/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.agy/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.agy/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.agy/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.agy/skills/scholar-rebuttal-pro/SKILL.md +518 -507
- package/.agy/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.agy/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.agy/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.agy/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.agy/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.agy/skills/scholar-review/SKILL.md +231 -222
- package/.agy/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.agy/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.agy/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.agy/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.agy/skills/scholar-review/phases/05-revision.md +183 -183
- package/.agy/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.agy/skills/scholar-thesis-docx/README.md +111 -111
- package/.agy/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.agy/skills/scholar-thesis-docx/SKILL.md +209 -208
- package/.agy/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.agy/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.agy/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.agy/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.agy/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.agy/skills/scholar-writing/SKILL.md +301 -291
- package/.agy/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.agy/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.agy/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.agy/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.agy/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.agy/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.agy/skills/security-audit/SKILL.md +217 -217
- package/.agy/skills/skill-generator/SKILL.md +475 -465
- package/.agy/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.agy/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.agy/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.agy/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.agy/skills/skill-generator/phases/05-validation.md +417 -417
- package/.agy/skills/skill-generator/specs/cli-integration.md +418 -418
- package/.agy/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.agy/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.agy/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.agy/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.agy/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.agy/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.agy/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.agy/skills/skill-generator/templates/llm-action.md +367 -367
- package/.agy/skills/skill-generator/templates/script-template.md +368 -368
- package/.agy/skills/skill-generator/templates/sequential-phase.md +470 -470
- package/.agy/skills/skill-generator/templates/skill-md.md +312 -312
- package/.agy/skills/skill-iter-tune/SKILL.md +389 -378
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.agy/skills/skill-simplify/SKILL.md +65 -58
- package/.agy/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.agy/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.agy/skills/skill-simplify/phases/03-check.md +224 -224
- package/.agy/skills/skill-tuning/SKILL.md +180 -170
- package/.agy/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.agy/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.agy/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.agy/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.agy/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.agy/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.agy/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.agy/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.agy/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.agy/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.agy/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.agy/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.agy/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.agy/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.agy/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.agy/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.agy/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.agy/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.agy/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.agy/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.agy/skills/spec-add/SKILL.md +66 -66
- package/.agy/skills/spec-load/SKILL.md +67 -67
- package/.agy/skills/spec-remove/SKILL.md +42 -42
- package/.agy/skills/spec-setup/SKILL.md +37 -37
- package/.agy/skills/team-arch-opt/SKILL.md +142 -130
- package/.agy/skills/team-arch-opt/roles/analyzer/role.md +81 -80
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.agy/skills/team-arch-opt/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.agy/skills/team-arch-opt/roles/designer/role.md +110 -109
- package/.agy/skills/team-arch-opt/roles/refactorer/role.md +99 -98
- package/.agy/skills/team-arch-opt/roles/reviewer/role.md +106 -105
- package/.agy/skills/team-arch-opt/roles/validator/role.md +110 -109
- package/.agy/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.agy/skills/team-brainstorm/SKILL.md +132 -120
- package/.agy/skills/team-brainstorm/roles/challenger/role.md +56 -55
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.agy/skills/team-brainstorm/roles/coordinator/commands/monitor.md +171 -171
- package/.agy/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-brainstorm/roles/evaluator/role.md +51 -50
- package/.agy/skills/team-brainstorm/roles/ideator/role.md +64 -63
- package/.agy/skills/team-brainstorm/roles/synthesizer/role.md +52 -51
- package/.agy/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.agy/skills/team-coordinate/SKILL.md +250 -238
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +336 -336
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +361 -360
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.agy/skills/team-designer/SKILL.md +167 -155
- package/.agy/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.agy/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.agy/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.agy/skills/team-designer/phases/04-validation.md +329 -329
- package/.agy/skills/team-executor/SKILL.md +174 -162
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +223 -223
- package/.agy/skills/team-executor/roles/executor/role.md +171 -171
- package/.agy/skills/team-executor/specs/session-schema.md +264 -264
- package/.agy/skills/team-frontend/SKILL.md +122 -108
- package/.agy/skills/team-frontend/roles/analyst/role.md +92 -92
- package/.agy/skills/team-frontend/roles/architect/role.md +78 -78
- package/.agy/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.agy/skills/team-frontend/roles/coordinator/commands/monitor.md +210 -210
- package/.agy/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.agy/skills/team-frontend/roles/developer/role.md +85 -85
- package/.agy/skills/team-frontend/roles/qa/role.md +71 -71
- package/.agy/skills/team-frontend/specs/pipelines.md +76 -76
- package/.agy/skills/team-frontend-debug/SKILL.md +183 -170
- package/.agy/skills/team-frontend-debug/roles/analyzer/role.md +199 -199
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.agy/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.agy/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.agy/skills/team-frontend-debug/roles/fixer/role.md +138 -138
- package/.agy/skills/team-frontend-debug/roles/reproducer/role.md +147 -147
- package/.agy/skills/team-frontend-debug/roles/tester/role.md +222 -222
- package/.agy/skills/team-frontend-debug/roles/verifier/role.md +164 -164
- package/.agy/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.agy/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.agy/skills/team-interactive-craft/SKILL.md +128 -113
- package/.agy/skills/team-interactive-craft/roles/a11y-tester/role.md +154 -153
- package/.agy/skills/team-interactive-craft/roles/builder/role.md +211 -210
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +192 -192
- package/.agy/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.agy/skills/team-interactive-craft/roles/interaction-designer/role.md +139 -138
- package/.agy/skills/team-interactive-craft/roles/researcher/role.md +126 -125
- package/.agy/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.agy/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.agy/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.agy/skills/team-issue/SKILL.md +132 -120
- package/.agy/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.agy/skills/team-issue/roles/coordinator/commands/monitor.md +183 -183
- package/.agy/skills/team-issue/roles/coordinator/role.md +173 -172
- package/.agy/skills/team-issue/roles/explorer/role.md +97 -96
- package/.agy/skills/team-issue/roles/implementer/role.md +82 -81
- package/.agy/skills/team-issue/roles/integrator/role.md +79 -78
- package/.agy/skills/team-issue/roles/planner/role.md +75 -74
- package/.agy/skills/team-issue/roles/reviewer/role.md +81 -80
- package/.agy/skills/team-issue/specs/pipelines.md +124 -124
- package/.agy/skills/team-lifecycle-v4/SKILL.md +170 -158
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +58 -58
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +57 -57
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +181 -181
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +78 -78
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.agy/skills/team-motion-design/SKILL.md +134 -114
- package/.agy/skills/team-motion-design/roles/animator/role.md +189 -188
- package/.agy/skills/team-motion-design/roles/choreographer/role.md +159 -158
- package/.agy/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.agy/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.agy/skills/team-motion-design/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.agy/skills/team-motion-design/roles/motion-researcher/role.md +110 -109
- package/.agy/skills/team-motion-design/roles/motion-tester/role.md +170 -169
- package/.agy/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.agy/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.agy/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.agy/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.agy/skills/team-perf-opt/SKILL.md +159 -147
- package/.agy/skills/team-perf-opt/roles/benchmarker/role.md +80 -80
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.agy/skills/team-perf-opt/roles/coordinator/commands/monitor.md +339 -339
- package/.agy/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.agy/skills/team-perf-opt/roles/optimizer/role.md +89 -89
- package/.agy/skills/team-perf-opt/roles/profiler/role.md +73 -73
- package/.agy/skills/team-perf-opt/roles/reviewer/role.md +64 -64
- package/.agy/skills/team-perf-opt/roles/strategist/role.md +85 -85
- package/.agy/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.agy/skills/team-planex/SKILL.md +120 -108
- package/.agy/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.agy/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.agy/skills/team-planex/roles/coordinator/commands/monitor.md +174 -174
- package/.agy/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.agy/skills/team-planex/roles/executor/role.md +83 -83
- package/.agy/skills/team-planex/roles/planner/role.md +111 -111
- package/.agy/skills/team-planex/specs/pipelines.md +93 -93
- package/.agy/skills/team-quality-assurance/SKILL.md +131 -119
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +79 -79
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +223 -223
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +55 -55
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +58 -58
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +70 -70
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +63 -63
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.agy/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.agy/skills/team-review/SKILL.md +131 -119
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +197 -197
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -132
- package/.agy/skills/team-review/roles/fixer/role.md +68 -68
- package/.agy/skills/team-review/specs/dimensions.md +82 -82
- package/.agy/skills/team-review/specs/pipelines.md +102 -102
- package/.agy/skills/team-roadmap-dev/SKILL.md +153 -141
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +448 -448
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.agy/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.agy/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.agy/skills/team-roadmap-dev/roles/executor/role.md +62 -62
- package/.agy/skills/team-roadmap-dev/roles/planner/role.md +76 -76
- package/.agy/skills/team-roadmap-dev/roles/verifier/role.md +64 -64
- package/.agy/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.agy/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.agy/skills/team-swarm/SKILL.md +159 -147
- package/.agy/skills/team-tech-debt/SKILL.md +115 -100
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +72 -71
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +186 -186
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.agy/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.agy/skills/team-tech-debt/roles/planner/role.md +64 -63
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +85 -84
- package/.agy/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.agy/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.agy/skills/team-testing/SKILL.md +127 -115
- package/.agy/skills/team-testing/roles/analyst/role.md +95 -95
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +230 -230
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.agy/skills/team-testing/roles/executor/role.md +2 -2
- package/.agy/skills/team-testing/roles/generator/role.md +1 -1
- package/.agy/skills/team-testing/roles/strategist/role.md +75 -75
- package/.agy/skills/team-testing/specs/pipelines.md +101 -101
- package/.agy/skills/team-ui-polish/SKILL.md +132 -113
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.agy/skills/team-ui-polish/roles/coordinator/commands/monitor.md +189 -189
- package/.agy/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.agy/skills/team-ui-polish/roles/diagnostician/role.md +155 -154
- package/.agy/skills/team-ui-polish/roles/optimizer/role.md +220 -219
- package/.agy/skills/team-ui-polish/roles/scanner/role.md +351 -350
- package/.agy/skills/team-ui-polish/roles/verifier/role.md +137 -136
- package/.agy/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.agy/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.agy/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.agy/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.agy/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.agy/skills/team-uidesign/SKILL.md +131 -116
- package/.agy/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.agy/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.agy/skills/team-uidesign/roles/coordinator/commands/monitor.md +193 -193
- package/.agy/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.agy/skills/team-uidesign/roles/designer/role.md +88 -87
- package/.agy/skills/team-uidesign/roles/implementer/role.md +89 -88
- package/.agy/skills/team-uidesign/roles/researcher/role.md +96 -95
- package/.agy/skills/team-uidesign/roles/reviewer/role.md +64 -63
- package/.agy/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.agy/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.agy/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.agy/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.agy/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.agy/skills/team-ultra-analyze/SKILL.md +156 -144
- package/.agy/skills/team-ultra-analyze/roles/analyst/role.md +89 -89
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.agy/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +344 -344
- package/.agy/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.agy/skills/team-ultra-analyze/roles/discussant/role.md +99 -99
- package/.agy/skills/team-ultra-analyze/roles/explorer/role.md +74 -74
- package/.agy/skills/team-ultra-analyze/roles/synthesizer/role.md +70 -70
- package/.agy/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.agy/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.agy/skills/team-ux-improve/SKILL.md +138 -123
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.agy/skills/team-ux-improve/roles/coordinator/commands/monitor.md +163 -163
- package/.agy/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.agy/skills/team-ux-improve/roles/designer/role.md +147 -146
- package/.agy/skills/team-ux-improve/roles/diagnoser/role.md +103 -102
- package/.agy/skills/team-ux-improve/roles/explorer/role.md +72 -71
- package/.agy/skills/team-ux-improve/roles/implementer/role.md +97 -96
- package/.agy/skills/team-ux-improve/roles/scanner/role.md +130 -129
- package/.agy/skills/team-ux-improve/roles/tester/role.md +79 -78
- package/.agy/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.agy/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.agy/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.agy/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.agy/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.agy/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.agy/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.agy/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.agy/skills/team-visual-a11y/SKILL.md +149 -128
- package/.agy/skills/team-visual-a11y/roles/color-auditor/role.md +173 -172
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.agy/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +213 -213
- package/.agy/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.agy/skills/team-visual-a11y/roles/fix-implementer/role.md +241 -240
- package/.agy/skills/team-visual-a11y/roles/focus-auditor/role.md +217 -216
- package/.agy/skills/team-visual-a11y/roles/remediation-planner/role.md +201 -200
- package/.agy/skills/team-visual-a11y/roles/typo-auditor/role.md +180 -179
- package/.agy/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.agy/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.agy/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.agy/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.agy/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.claude/agents/cli-explore-agent.md +1 -1
- package/.claude/agents/role-design-author.md +1 -1
- package/.claude/agents/team-supervisor.md +143 -143
- package/.claude/agents/ui-design-agent.md +1 -1
- package/.claude/agents/workflow-codebase-mapper.md +77 -77
- package/.claude/agents/workflow-collab-planner.md +1 -1
- package/.claude/agents/workflow-debugger.md +1 -1
- package/.claude/agents/workflow-executor.md +2 -2
- package/.claude/agents/workflow-external-researcher.md +86 -86
- package/.claude/agents/workflow-nyquist-auditor.md +1 -1
- package/.claude/agents/workflow-plan-checker.md +1 -1
- package/.claude/agents/workflow-planner.md +1 -1
- package/.claude/agents/workflow-project-researcher.md +74 -74
- package/.claude/agents/workflow-research-synthesizer.md +70 -70
- package/.claude/agents/workflow-reviewer.md +82 -82
- package/.claude/agents/workflow-verifier.md +1 -1
- package/.claude/commands/learn-follow.md +127 -127
- package/.claude/commands/learn-investigate.md +151 -151
- package/.claude/commands/learn-second-opinion.md +118 -118
- package/.claude/commands/maestro-amend.md +162 -162
- package/.claude/commands/maestro-analyze.md +224 -224
- package/.claude/commands/maestro-blueprint.md +189 -189
- package/.claude/commands/maestro-brainstorm.md +218 -218
- package/.claude/commands/maestro-collab.md +185 -185
- package/.claude/commands/maestro-companion.md +531 -531
- package/.claude/commands/maestro-composer.md +188 -188
- package/.claude/commands/maestro-execute.md +183 -183
- package/.claude/commands/maestro-fork.md +111 -111
- package/.claude/commands/maestro-grill.md +175 -175
- package/.claude/commands/maestro-guard.md +103 -103
- package/.claude/commands/maestro-impeccable.md +311 -311
- package/.claude/commands/maestro-init.md +130 -130
- package/.claude/commands/maestro-merge.md +87 -87
- package/.claude/commands/maestro-milestone-audit.md +139 -139
- package/.claude/commands/maestro-milestone-complete.md +136 -136
- package/.claude/commands/maestro-milestone-release.md +136 -136
- package/.claude/commands/maestro-next.md +264 -264
- package/.claude/commands/maestro-overlay.md +189 -189
- package/.claude/commands/maestro-plan.md +236 -236
- package/.claude/commands/maestro-player.md +182 -182
- package/.claude/commands/maestro-quick.md +83 -83
- package/.claude/commands/maestro-ralph-execute.md +300 -289
- package/.claude/commands/maestro-ralph.md +913 -845
- package/.claude/commands/maestro-roadmap.md +173 -173
- package/.claude/commands/maestro-swarm-workflow.md +243 -243
- package/.claude/commands/maestro-tools-execute.md +122 -122
- package/.claude/commands/maestro-tools-register.md +156 -156
- package/.claude/commands/maestro-ui-codify.md +115 -115
- package/.claude/commands/maestro-universal-workflow.md +548 -548
- package/.claude/commands/maestro-update.md +122 -122
- package/.claude/commands/maestro.md +248 -242
- package/.claude/commands/manage-codebase-rebuild.md +87 -87
- package/.claude/commands/manage-drift-realign.md +151 -0
- package/.claude/commands/manage-harvest.md +100 -100
- package/.claude/commands/manage-issue-discover.md +83 -83
- package/.claude/commands/manage-issue.md +72 -72
- package/.claude/commands/manage-kg-extractors.md +2 -2
- package/.claude/commands/manage-knowhow-capture.md +92 -92
- package/.claude/commands/manage-knowhow.md +83 -83
- package/.claude/commands/manage-knowledge-audit.md +134 -134
- package/.claude/commands/manage-status.md +62 -62
- package/.claude/commands/manage-wiki.md +82 -82
- package/.claude/commands/odyssey-debug.md +479 -479
- package/.claude/commands/odyssey-improve.md +510 -510
- package/.claude/commands/odyssey-planex.md +608 -608
- package/.claude/commands/odyssey-review-test-fix.md +436 -436
- package/.claude/commands/odyssey-ui.md +464 -464
- package/.claude/commands/quality-auto-test.md +153 -153
- package/.claude/commands/quality-debug.md +159 -159
- package/.claude/commands/quality-refactor.md +105 -105
- package/.claude/commands/quality-retrospective.md +123 -123
- package/.claude/commands/quality-review.md +158 -158
- package/.claude/commands/quality-sync.md +88 -88
- package/.claude/commands/quality-test.md +171 -171
- package/.claude/commands/security-audit.md +230 -230
- package/.claude/commands/spec-add.md +77 -77
- package/.claude/commands/spec-load.md +77 -77
- package/.claude/commands/spec-remove.md +55 -55
- package/.claude/commands/spec-setup.md +48 -48
- package/.claude/skills/codify-to-knowhow/SKILL.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/03-generate-specs.md +1 -1
- package/.claude/skills/codify-to-knowhow/phases/04-index-verify.md +2 -2
- package/.claude/skills/delegation-check/SKILL.md +297 -297
- package/.claude/skills/delegation-check/specs/separation-rules.md +269 -269
- package/.claude/skills/maestro-help/index/catalog.json +1 -1
- package/.claude/skills/maestro-help/phases/03-workflow-guide.md +1 -1
- package/.claude/skills/prompt-generator/SKILL.md +470 -470
- package/.claude/skills/prompt-generator/specs/agent-design-spec.md +299 -299
- package/.claude/skills/prompt-generator/specs/command-design-spec.md +367 -367
- package/.claude/skills/prompt-generator/specs/conversion-spec.md +207 -207
- package/.claude/skills/prompt-generator/templates/agent-md.md +145 -145
- package/.claude/skills/prompt-generator/templates/command-md.md +118 -118
- package/.claude/skills/scholar-anti-ai-writing/SKILL.md +173 -173
- package/.claude/skills/scholar-anti-ai-writing/phases/01-detect-score.md +126 -126
- package/.claude/skills/scholar-anti-ai-writing/phases/02-rewrite-polish.md +177 -177
- package/.claude/skills/scholar-anti-ai-writing/phases/03-validate-score.md +134 -134
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-chinese.md +242 -242
- package/.claude/skills/scholar-anti-ai-writing/references/patterns-english.md +242 -242
- package/.claude/skills/scholar-citation-verify/SKILL.md +166 -166
- package/.claude/skills/scholar-citation-verify/phases/01-scan-extract.md +141 -141
- package/.claude/skills/scholar-citation-verify/phases/02-verify.md +310 -310
- package/.claude/skills/scholar-citation-verify/phases/03-report-fix.md +190 -190
- package/.claude/skills/scholar-citation-verify/references/api-usage.md +372 -372
- package/.claude/skills/scholar-citation-verify/references/common-errors.md +384 -384
- package/.claude/skills/scholar-citation-verify/references/verification-rules.md +399 -399
- package/.claude/skills/scholar-experiment/SKILL.md +321 -321
- package/.claude/skills/scholar-experiment/phases/01-data-loading.md +209 -209
- package/.claude/skills/scholar-experiment/phases/02-statistical-analysis.md +269 -269
- package/.claude/skills/scholar-experiment/phases/03-visualization.md +319 -319
- package/.claude/skills/scholar-experiment/phases/04-results-writing.md +229 -229
- package/.claude/skills/scholar-experiment/phases/05-quality-check.md +261 -261
- package/.claude/skills/scholar-ideation/SKILL.md +288 -288
- package/.claude/skills/scholar-ideation/phases/01-literature-search.md +317 -317
- package/.claude/skills/scholar-ideation/phases/02-gap-analysis.md +249 -249
- package/.claude/skills/scholar-ideation/phases/03-research-question.md +200 -200
- package/.claude/skills/scholar-ideation/phases/04-method-selection.md +185 -185
- package/.claude/skills/scholar-ideation/phases/05-research-planning.md +385 -385
- package/.claude/skills/scholar-latex-organizer/SKILL.md +186 -186
- package/.claude/skills/scholar-latex-organizer/phases/01-extract-analyze.md +228 -228
- package/.claude/skills/scholar-latex-organizer/phases/02-cleanup-organize.md +500 -500
- package/.claude/skills/scholar-latex-organizer/phases/03-readme-finalize.md +349 -349
- package/.claude/skills/scholar-publish/SKILL.md +220 -220
- package/.claude/skills/scholar-publish/phases/01-presentation.md +243 -243
- package/.claude/skills/scholar-publish/phases/02-poster.md +239 -239
- package/.claude/skills/scholar-publish/phases/03-promotion.md +255 -255
- package/.claude/skills/scholar-rebuttal-pro/README.md +313 -313
- package/.claude/skills/scholar-rebuttal-pro/SKILL.md +511 -511
- package/.claude/skills/scholar-rebuttal-pro/phases/01-review-parsing.md +227 -227
- package/.claude/skills/scholar-rebuttal-pro/phases/02-multi-perspective-discussion.md +395 -395
- package/.claude/skills/scholar-rebuttal-pro/phases/03-strategy-formulation.md +459 -459
- package/.claude/skills/scholar-rebuttal-pro/phases/04-rebuttal-writing.md +384 -384
- package/.claude/skills/scholar-rebuttal-pro/phases/05-quality-validation.md +691 -691
- package/.claude/skills/scholar-review/SKILL.md +227 -227
- package/.claude/skills/scholar-review/phases/01-self-review.md +186 -186
- package/.claude/skills/scholar-review/phases/02-review-analysis.md +203 -203
- package/.claude/skills/scholar-review/phases/03-response-strategy.md +193 -193
- package/.claude/skills/scholar-review/phases/04-rebuttal-writing.md +181 -181
- package/.claude/skills/scholar-review/phases/05-revision.md +183 -183
- package/.claude/skills/scholar-review/specs/tone-guidelines.md +76 -76
- package/.claude/skills/scholar-thesis-docx/README.md +111 -111
- package/.claude/skills/scholar-thesis-docx/README_EN.md +108 -108
- package/.claude/skills/scholar-thesis-docx/SKILL.md +212 -212
- package/.claude/skills/scholar-thesis-docx/examples/final-audit-checklist.sample.md +46 -46
- package/.claude/skills/scholar-thesis-docx/references/failure-patterns-and-quality-gates.md +178 -178
- package/.claude/skills/scholar-thesis-docx/references/figure-and-code-rules.md +33 -33
- package/.claude/skills/scholar-thesis-docx/references/paper-format-workflow.md +68 -68
- package/.claude/skills/scholar-thesis-docx/references/script-usage.md +157 -157
- package/.claude/skills/scholar-writing/SKILL.md +296 -296
- package/.claude/skills/scholar-writing/phases/01-repo-understanding.md +178 -178
- package/.claude/skills/scholar-writing/phases/02-structure-planning.md +197 -197
- package/.claude/skills/scholar-writing/phases/03-section-drafting.md +215 -215
- package/.claude/skills/scholar-writing/phases/04-citation-management.md +310 -310
- package/.claude/skills/scholar-writing/phases/05-anti-ai-polish.md +202 -202
- package/.claude/skills/scholar-writing/phases/06-conference-formatting.md +260 -260
- package/.claude/skills/skill-generator/SKILL.md +471 -471
- package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -238
- package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -261
- package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -976
- package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
- package/.claude/skills/skill-generator/specs/cli-integration.md +442 -442
- package/.claude/skills/skill-generator/specs/execution-modes.md +399 -399
- package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -271
- package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.claude/skills/skill-generator/templates/autonomous-action.md +330 -330
- package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +300 -300
- package/.claude/skills/skill-generator/templates/code-analysis-action.md +514 -514
- package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
- package/.claude/skills/skill-generator/templates/script-template.md +368 -368
- package/.claude/skills/skill-generator/templates/sequential-phase.md +474 -474
- package/.claude/skills/skill-generator/templates/skill-md.md +312 -312
- package/.claude/skills/skill-iter-tune/SKILL.md +382 -382
- package/.claude/skills/skill-iter-tune/phases/01-setup.md +144 -144
- package/.claude/skills/skill-iter-tune/phases/02-execute.md +292 -292
- package/.claude/skills/skill-iter-tune/phases/03-evaluate.md +312 -312
- package/.claude/skills/skill-iter-tune/phases/04-improve.md +186 -186
- package/.claude/skills/skill-iter-tune/phases/05-report.md +166 -166
- package/.claude/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -63
- package/.claude/skills/skill-iter-tune/templates/eval-prompt.md +134 -134
- package/.claude/skills/skill-iter-tune/templates/execute-prompt.md +97 -97
- package/.claude/skills/skill-simplify/SKILL.md +63 -63
- package/.claude/skills/skill-simplify/phases/01-analysis.md +224 -224
- package/.claude/skills/skill-simplify/phases/02-optimize.md +111 -111
- package/.claude/skills/skill-simplify/phases/03-check.md +224 -224
- package/.claude/skills/skill-tuning/SKILL.md +174 -174
- package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -164
- package/.claude/skills/skill-tuning/phases/actions/{action-gemini-analysis.md → action-agy-analysis.md} +322 -322
- package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -406
- package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -206
- package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -195
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -243
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -318
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -299
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -269
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -200
- package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -228
- package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -149
- package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -317
- package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -222
- package/.claude/skills/skill-tuning/phases/orchestrator.md +190 -190
- package/.claude/skills/skill-tuning/phases/state-schema.md +378 -378
- package/.claude/skills/skill-tuning/specs/category-mappings.json +5 -5
- package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -212
- package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +210 -210
- package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -263
- package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +192 -192
- package/.claude/skills/skill-tuning/specs/tuning-strategies.md +392 -392
- package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -153
- package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -204
- package/.claude/skills/team-arch-opt/SKILL.md +158 -158
- package/.claude/skills/team-arch-opt/roles/analyzer/role.md +86 -86
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/analyze.md +57 -57
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/dispatch.md +371 -371
- package/.claude/skills/team-arch-opt/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-arch-opt/roles/coordinator/role.md +146 -146
- package/.claude/skills/team-arch-opt/roles/designer/role.md +115 -115
- package/.claude/skills/team-arch-opt/roles/refactorer/role.md +104 -104
- package/.claude/skills/team-arch-opt/roles/reviewer/role.md +111 -111
- package/.claude/skills/team-arch-opt/roles/validator/role.md +115 -115
- package/.claude/skills/team-arch-opt/specs/pipelines.md +102 -102
- package/.claude/skills/team-brainstorm/SKILL.md +171 -171
- package/.claude/skills/team-brainstorm/roles/challenger/role.md +61 -61
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/analyze.md +58 -58
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/dispatch.md +206 -206
- package/.claude/skills/team-brainstorm/roles/coordinator/commands/monitor.md +199 -199
- package/.claude/skills/team-brainstorm/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-brainstorm/roles/evaluator/role.md +56 -56
- package/.claude/skills/team-brainstorm/roles/ideator/role.md +69 -69
- package/.claude/skills/team-brainstorm/roles/synthesizer/role.md +57 -57
- package/.claude/skills/team-brainstorm/specs/pipelines.md +72 -72
- package/.claude/skills/team-coordinate/SKILL.md +266 -266
- package/.claude/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -247
- package/.claude/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -131
- package/.claude/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -358
- package/.claude/skills/team-coordinate/roles/coordinator/role.md +363 -363
- package/.claude/skills/team-coordinate/specs/knowledge-transfer.md +111 -111
- package/.claude/skills/team-coordinate/specs/pipelines.md +97 -97
- package/.claude/skills/team-coordinate/specs/quality-gates.md +112 -112
- package/.claude/skills/team-coordinate/specs/role-spec-template.md +198 -198
- package/.claude/skills/team-designer/SKILL.md +160 -160
- package/.claude/skills/team-designer/phases/01-requirements-analysis.md +265 -265
- package/.claude/skills/team-designer/phases/02-scaffold-generation.md +236 -236
- package/.claude/skills/team-designer/phases/03-content-generation.md +330 -330
- package/.claude/skills/team-designer/phases/04-validation.md +329 -329
- package/.claude/skills/team-executor/SKILL.md +189 -189
- package/.claude/skills/team-executor/roles/executor/commands/monitor.md +239 -239
- package/.claude/skills/team-executor/roles/executor/role.md +171 -171
- package/.claude/skills/team-executor/specs/session-schema.md +264 -264
- package/.claude/skills/team-frontend/SKILL.md +136 -136
- package/.claude/skills/team-frontend/roles/analyst/role.md +100 -100
- package/.claude/skills/team-frontend/roles/architect/role.md +86 -86
- package/.claude/skills/team-frontend/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-frontend/roles/coordinator/commands/dispatch.md +197 -197
- package/.claude/skills/team-frontend/roles/coordinator/commands/monitor.md +233 -233
- package/.claude/skills/team-frontend/roles/coordinator/role.md +158 -158
- package/.claude/skills/team-frontend/roles/developer/role.md +93 -93
- package/.claude/skills/team-frontend/roles/qa/role.md +79 -79
- package/.claude/skills/team-frontend/specs/pipelines.md +76 -76
- package/.claude/skills/team-frontend-debug/SKILL.md +198 -198
- package/.claude/skills/team-frontend-debug/roles/analyzer/role.md +208 -208
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/analyze.md +174 -174
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/dispatch.md +256 -256
- package/.claude/skills/team-frontend-debug/roles/coordinator/commands/monitor.md +148 -148
- package/.claude/skills/team-frontend-debug/roles/coordinator/role.md +131 -131
- package/.claude/skills/team-frontend-debug/roles/fixer/role.md +147 -147
- package/.claude/skills/team-frontend-debug/roles/reproducer/role.md +155 -155
- package/.claude/skills/team-frontend-debug/roles/tester/role.md +231 -231
- package/.claude/skills/team-frontend-debug/roles/verifier/role.md +172 -172
- package/.claude/skills/team-frontend-debug/specs/debug-tools.md +215 -215
- package/.claude/skills/team-frontend-debug/specs/pipelines.md +94 -94
- package/.claude/skills/team-interactive-craft/SKILL.md +141 -141
- package/.claude/skills/team-interactive-craft/roles/a11y-tester/role.md +159 -159
- package/.claude/skills/team-interactive-craft/roles/builder/role.md +216 -216
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/dispatch.md +192 -192
- package/.claude/skills/team-interactive-craft/roles/coordinator/commands/monitor.md +215 -215
- package/.claude/skills/team-interactive-craft/roles/coordinator/role.md +166 -166
- package/.claude/skills/team-interactive-craft/roles/interaction-designer/role.md +144 -144
- package/.claude/skills/team-interactive-craft/roles/researcher/role.md +131 -131
- package/.claude/skills/team-interactive-craft/specs/interaction-patterns.md +362 -362
- package/.claude/skills/team-interactive-craft/specs/pipelines.md +85 -85
- package/.claude/skills/team-interactive-craft/specs/vanilla-constraints.md +83 -83
- package/.claude/skills/team-issue/SKILL.md +171 -171
- package/.claude/skills/team-issue/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-issue/roles/coordinator/commands/dispatch.md +349 -349
- package/.claude/skills/team-issue/roles/coordinator/commands/monitor.md +229 -229
- package/.claude/skills/team-issue/roles/coordinator/role.md +175 -175
- package/.claude/skills/team-issue/roles/explorer/role.md +102 -102
- package/.claude/skills/team-issue/roles/implementer/role.md +87 -87
- package/.claude/skills/team-issue/roles/integrator/role.md +84 -84
- package/.claude/skills/team-issue/roles/planner/role.md +81 -81
- package/.claude/skills/team-issue/roles/reviewer/role.md +86 -86
- package/.claude/skills/team-issue/specs/pipelines.md +124 -124
- package/.claude/skills/team-lifecycle-v4/SKILL.md +209 -209
- package/.claude/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -56
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -206
- package/.claude/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -130
- package/.claude/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -35
- package/.claude/skills/team-lifecycle-v4/roles/executor/role.md +67 -67
- package/.claude/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -34
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -44
- package/.claude/skills/team-lifecycle-v4/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-lifecycle-v4/roles/supervisor/role.md +192 -192
- package/.claude/skills/team-lifecycle-v4/roles/tester/role.md +87 -87
- package/.claude/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
- package/.claude/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -114
- package/.claude/skills/team-lifecycle-v4/specs/pipelines.md +140 -140
- package/.claude/skills/team-lifecycle-v4/specs/quality-gates.md +130 -130
- package/.claude/skills/team-lifecycle-v4/templates/architecture.md +254 -254
- package/.claude/skills/team-lifecycle-v4/templates/epics.md +196 -196
- package/.claude/skills/team-lifecycle-v4/templates/product-brief.md +133 -133
- package/.claude/skills/team-lifecycle-v4/templates/requirements.md +224 -224
- package/.claude/skills/team-motion-design/SKILL.md +142 -142
- package/.claude/skills/team-motion-design/roles/animator/role.md +194 -194
- package/.claude/skills/team-motion-design/roles/choreographer/role.md +164 -164
- package/.claude/skills/team-motion-design/roles/coordinator/commands/analyze.md +64 -64
- package/.claude/skills/team-motion-design/roles/coordinator/commands/dispatch.md +203 -203
- package/.claude/skills/team-motion-design/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-motion-design/roles/coordinator/role.md +167 -167
- package/.claude/skills/team-motion-design/roles/motion-researcher/role.md +115 -115
- package/.claude/skills/team-motion-design/roles/motion-tester/role.md +175 -175
- package/.claude/skills/team-motion-design/specs/gpu-constraints.md +114 -114
- package/.claude/skills/team-motion-design/specs/motion-tokens.md +128 -128
- package/.claude/skills/team-motion-design/specs/pipelines.md +74 -74
- package/.claude/skills/team-motion-design/specs/reduced-motion.md +129 -129
- package/.claude/skills/team-perf-opt/SKILL.md +175 -175
- package/.claude/skills/team-perf-opt/roles/benchmarker/role.md +89 -89
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/dispatch.md +376 -376
- package/.claude/skills/team-perf-opt/roles/coordinator/commands/monitor.md +362 -362
- package/.claude/skills/team-perf-opt/roles/coordinator/role.md +147 -147
- package/.claude/skills/team-perf-opt/roles/optimizer/role.md +99 -99
- package/.claude/skills/team-perf-opt/roles/profiler/role.md +81 -81
- package/.claude/skills/team-perf-opt/roles/reviewer/role.md +75 -75
- package/.claude/skills/team-perf-opt/roles/strategist/role.md +94 -94
- package/.claude/skills/team-perf-opt/specs/pipelines.md +65 -65
- package/.claude/skills/team-planex/SKILL.md +137 -137
- package/.claude/skills/team-planex/roles/coordinator/commands/analyze.md +52 -52
- package/.claude/skills/team-planex/roles/coordinator/commands/dispatch.md +87 -87
- package/.claude/skills/team-planex/roles/coordinator/commands/monitor.md +195 -195
- package/.claude/skills/team-planex/roles/coordinator/role.md +140 -140
- package/.claude/skills/team-planex/roles/executor/role.md +91 -91
- package/.claude/skills/team-planex/roles/planner/role.md +119 -119
- package/.claude/skills/team-planex/specs/pipelines.md +93 -93
- package/.claude/skills/team-quality-assurance/SKILL.md +147 -147
- package/.claude/skills/team-quality-assurance/roles/analyst/role.md +88 -88
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -111
- package/.claude/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -250
- package/.claude/skills/team-quality-assurance/roles/coordinator/role.md +143 -143
- package/.claude/skills/team-quality-assurance/roles/executor/role.md +66 -66
- package/.claude/skills/team-quality-assurance/roles/generator/role.md +68 -68
- package/.claude/skills/team-quality-assurance/roles/scout/role.md +79 -79
- package/.claude/skills/team-quality-assurance/roles/strategist/role.md +71 -71
- package/.claude/skills/team-quality-assurance/specs/pipelines.md +115 -115
- package/.claude/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.claude/skills/team-review/SKILL.md +147 -147
- package/.claude/skills/team-review/roles/coordinator/commands/analyze.md +71 -71
- package/.claude/skills/team-review/roles/coordinator/commands/dispatch.md +91 -91
- package/.claude/skills/team-review/roles/coordinator/commands/monitor.md +224 -224
- package/.claude/skills/team-review/roles/coordinator/role.md +132 -132
- package/.claude/skills/team-review/roles/fixer/role.md +76 -76
- package/.claude/skills/team-review/specs/dimensions.md +82 -82
- package/.claude/skills/team-review/specs/pipelines.md +102 -102
- package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/analyze.md +61 -61
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/dispatch.md +212 -212
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/monitor.md +477 -477
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/pause.md +90 -90
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/resume.md +137 -137
- package/.claude/skills/team-roadmap-dev/roles/coordinator/commands/roadmap-discuss.md +287 -287
- package/.claude/skills/team-roadmap-dev/roles/coordinator/role.md +302 -302
- package/.claude/skills/team-roadmap-dev/roles/executor/role.md +72 -72
- package/.claude/skills/team-roadmap-dev/roles/planner/role.md +86 -86
- package/.claude/skills/team-roadmap-dev/roles/verifier/role.md +74 -74
- package/.claude/skills/team-roadmap-dev/specs/pipelines.md +93 -93
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +3 -3
- package/.claude/skills/team-swarm/SKILL.md +178 -178
- package/.claude/skills/team-tech-debt/SKILL.md +128 -128
- package/.claude/skills/team-tech-debt/roles/assessor/role.md +77 -77
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -47
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -156
- package/.claude/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -209
- package/.claude/skills/team-tech-debt/roles/coordinator/role.md +123 -123
- package/.claude/skills/team-tech-debt/roles/executor/role.md +1 -1
- package/.claude/skills/team-tech-debt/roles/planner/role.md +69 -69
- package/.claude/skills/team-tech-debt/roles/scanner/role.md +90 -90
- package/.claude/skills/team-tech-debt/roles/validator/role.md +2 -2
- package/.claude/skills/team-tech-debt/specs/pipelines.md +47 -47
- package/.claude/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.claude/skills/team-testing/SKILL.md +143 -143
- package/.claude/skills/team-testing/roles/analyst/role.md +103 -103
- package/.claude/skills/team-testing/roles/coordinator/commands/analyze.md +70 -70
- package/.claude/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -108
- package/.claude/skills/team-testing/roles/coordinator/commands/monitor.md +257 -257
- package/.claude/skills/team-testing/roles/coordinator/role.md +134 -134
- package/.claude/skills/team-testing/roles/executor/role.md +2 -2
- package/.claude/skills/team-testing/roles/generator/role.md +1 -1
- package/.claude/skills/team-testing/roles/strategist/role.md +83 -83
- package/.claude/skills/team-testing/specs/pipelines.md +101 -101
- package/.claude/skills/team-ui-polish/SKILL.md +141 -141
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/analyze.md +77 -77
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/dispatch.md +194 -194
- package/.claude/skills/team-ui-polish/roles/coordinator/commands/monitor.md +212 -212
- package/.claude/skills/team-ui-polish/roles/coordinator/role.md +170 -170
- package/.claude/skills/team-ui-polish/roles/diagnostician/role.md +160 -160
- package/.claude/skills/team-ui-polish/roles/optimizer/role.md +225 -225
- package/.claude/skills/team-ui-polish/roles/scanner/role.md +356 -356
- package/.claude/skills/team-ui-polish/roles/verifier/role.md +142 -142
- package/.claude/skills/team-ui-polish/specs/anti-patterns.md +141 -141
- package/.claude/skills/team-ui-polish/specs/design-standards.md +356 -356
- package/.claude/skills/team-ui-polish/specs/fix-strategies.md +235 -235
- package/.claude/skills/team-ui-polish/specs/pipelines.md +81 -81
- package/.claude/skills/team-ui-polish/specs/scoring-guide.md +162 -162
- package/.claude/skills/team-uidesign/SKILL.md +144 -144
- package/.claude/skills/team-uidesign/roles/coordinator/commands/analyze.md +59 -59
- package/.claude/skills/team-uidesign/roles/coordinator/commands/dispatch.md +185 -185
- package/.claude/skills/team-uidesign/roles/coordinator/commands/monitor.md +216 -216
- package/.claude/skills/team-uidesign/roles/coordinator/role.md +168 -168
- package/.claude/skills/team-uidesign/roles/designer/role.md +93 -93
- package/.claude/skills/team-uidesign/roles/implementer/role.md +94 -94
- package/.claude/skills/team-uidesign/roles/researcher/role.md +101 -101
- package/.claude/skills/team-uidesign/roles/reviewer/role.md +69 -69
- package/.claude/skills/team-uidesign/specs/anti-patterns.md +211 -211
- package/.claude/skills/team-uidesign/specs/design-standards.md +329 -329
- package/.claude/skills/team-uidesign/specs/pipelines.md +76 -76
- package/.claude/skills/team-uidesign/specs/scoring-guide.md +114 -114
- package/.claude/skills/team-uidesign/specs/ux-writing.md +86 -86
- package/.claude/skills/team-ultra-analyze/SKILL.md +173 -173
- package/.claude/skills/team-ultra-analyze/roles/analyst/role.md +98 -98
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/analyze.md +73 -73
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/dispatch.md +285 -285
- package/.claude/skills/team-ultra-analyze/roles/coordinator/commands/monitor.md +372 -372
- package/.claude/skills/team-ultra-analyze/roles/coordinator/role.md +247 -247
- package/.claude/skills/team-ultra-analyze/roles/discussant/role.md +107 -107
- package/.claude/skills/team-ultra-analyze/roles/explorer/role.md +82 -82
- package/.claude/skills/team-ultra-analyze/roles/synthesizer/role.md +78 -78
- package/.claude/skills/team-ultra-analyze/specs/pipelines.md +64 -64
- package/.claude/skills/team-ultra-analyze/specs/team-config.json +6 -6
- package/.claude/skills/team-ux-improve/SKILL.md +151 -151
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/analyze.md +62 -62
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/dispatch.md +200 -200
- package/.claude/skills/team-ux-improve/roles/coordinator/commands/monitor.md +186 -186
- package/.claude/skills/team-ux-improve/roles/coordinator/role.md +142 -142
- package/.claude/skills/team-ux-improve/roles/designer/role.md +152 -152
- package/.claude/skills/team-ux-improve/roles/diagnoser/role.md +108 -108
- package/.claude/skills/team-ux-improve/roles/explorer/role.md +77 -77
- package/.claude/skills/team-ux-improve/roles/implementer/role.md +102 -102
- package/.claude/skills/team-ux-improve/roles/scanner/role.md +135 -135
- package/.claude/skills/team-ux-improve/roles/tester/role.md +84 -84
- package/.claude/skills/team-ux-improve/specs/anti-patterns.md +103 -103
- package/.claude/skills/team-ux-improve/specs/design-standards.md +54 -54
- package/.claude/skills/team-ux-improve/specs/heuristics.md +88 -88
- package/.claude/skills/team-ux-improve/specs/pipelines.md +54 -54
- package/.claude/skills/team-ux-improve/wisdom/anti-patterns/common-ux-pitfalls.md +49 -49
- package/.claude/skills/team-ux-improve/wisdom/patterns/state-management.md +34 -34
- package/.claude/skills/team-ux-improve/wisdom/patterns/ui-feedback.md +40 -40
- package/.claude/skills/team-ux-improve/wisdom/principles/general-ux.md +43 -43
- package/.claude/skills/team-visual-a11y/SKILL.md +156 -156
- package/.claude/skills/team-visual-a11y/roles/color-auditor/role.md +178 -178
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/analyze.md +72 -72
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/dispatch.md +250 -250
- package/.claude/skills/team-visual-a11y/roles/coordinator/commands/monitor.md +236 -236
- package/.claude/skills/team-visual-a11y/roles/coordinator/role.md +169 -169
- package/.claude/skills/team-visual-a11y/roles/fix-implementer/role.md +246 -246
- package/.claude/skills/team-visual-a11y/roles/focus-auditor/role.md +222 -222
- package/.claude/skills/team-visual-a11y/roles/remediation-planner/role.md +206 -206
- package/.claude/skills/team-visual-a11y/roles/typo-auditor/role.md +185 -185
- package/.claude/skills/team-visual-a11y/specs/focus-patterns.md +325 -325
- package/.claude/skills/team-visual-a11y/specs/oklch-standards.md +130 -130
- package/.claude/skills/team-visual-a11y/specs/pipelines.md +98 -98
- package/.claude/skills/team-visual-a11y/specs/typography-scale.md +165 -165
- package/.claude/skills/team-visual-a11y/specs/wcag-matrix.md +133 -133
- package/.codex/skills/codify-to-knowhow/SKILL.md +3 -3
- package/.codex/skills/learn-decompose/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +1 -1
- package/.codex/skills/maestro/SKILL.md +573 -565
- package/.codex/skills/maestro-analyze/SKILL.md +3 -3
- package/.codex/skills/maestro-blueprint/SKILL.md +2 -2
- package/.codex/skills/maestro-brainstorm/SKILL.md +3 -3
- package/.codex/skills/maestro-collab/SKILL.md +2 -2
- package/.codex/skills/maestro-companion/SKILL.md +5 -5
- package/.codex/skills/maestro-composer/SKILL.md +2 -2
- package/.codex/skills/maestro-execute/SKILL.md +2 -2
- package/.codex/skills/maestro-fork/SKILL.md +156 -156
- package/.codex/skills/maestro-grill/SKILL.md +2 -2
- package/.codex/skills/maestro-impeccable/SKILL.md +1 -1
- package/.codex/skills/maestro-init/SKILL.md +161 -161
- package/.codex/skills/maestro-milestone-audit/SKILL.md +202 -202
- package/.codex/skills/maestro-milestone-complete/SKILL.md +1 -1
- package/.codex/skills/maestro-overlay/SKILL.md +119 -119
- package/.codex/skills/maestro-plan/SKILL.md +1 -1
- package/.codex/skills/maestro-quick/SKILL.md +2 -2
- package/.codex/skills/maestro-ralph/SKILL.md +138 -11
- package/.codex/skills/maestro-ralph-execute/SKILL.md +17 -6
- package/.codex/skills/maestro-roadmap/SKILL.md +2 -2
- package/.codex/skills/maestro-tools-execute/SKILL.md +3 -3
- package/.codex/skills/maestro-tools-register/SKILL.md +2 -2
- package/.codex/skills/maestro-ui-codify/SKILL.md +2 -2
- package/.codex/skills/manage-codebase-refresh/SKILL.md +72 -72
- package/.codex/skills/manage-drift-realign/SKILL.md +471 -0
- package/.codex/skills/manage-issue/SKILL.md +88 -88
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-learn/SKILL.md +137 -137
- package/.codex/skills/manage-status/SKILL.md +75 -75
- package/.codex/skills/odyssey-debug/SKILL.md +2 -2
- package/.codex/skills/odyssey-improve/SKILL.md +3 -3
- package/.codex/skills/odyssey-planex/SKILL.md +3 -3
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +2 -2
- package/.codex/skills/odyssey-ui/SKILL.md +3 -3
- package/.codex/skills/quality-debug/SKILL.md +1 -1
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-review/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +1 -1
- package/.codex/skills/spec-load/SKILL.md +1 -1
- package/.codex/skills/spec-setup/SKILL.md +73 -73
- package/.codex/skills/team-coordinate/SKILL.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/executor/role.md +3 -3
- package/.codex/skills/team-quality-assurance/roles/analyst/role.md +1 -1
- package/.codex/skills/team-quality-assurance/roles/executor/role.md +1 -1
- package/.codex/skills/team-quality-assurance/specs/team-config.json +8 -8
- package/.codex/skills/team-review/roles/reviewer/role.md +1 -1
- package/.codex/skills/team-tech-debt/roles/assessor/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/planner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +2 -2
- package/.codex/skills/team-tech-debt/roles/validator/role.md +1 -1
- package/.codex/skills/team-tech-debt/specs/team-config.json +5 -5
- package/.codex/skills/team-testing/roles/executor/role.md +2 -2
- package/.codex/skills/team-testing/roles/generator/role.md +1 -1
- package/README.md +25 -8
- package/README.zh-CN.md +6 -6
- package/chains/_intent-map.json +307 -313
- package/chains/_router.json +149 -168
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +3 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.d.ts +0 -10
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js +0 -73
- package/dashboard/dist-server/dashboard/src/server/execution/execution-scheduler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js +3 -23
- package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +61 -2
- package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +47 -54
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/maestro-session-types.d.ts +4 -0
- package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
- package/dashboard/dist-server/src/commands/hooks.js +7 -3
- package/dashboard/dist-server/src/commands/hooks.js.map +1 -1
- package/dashboard/dist-server/src/commands/install-backend.d.ts +11 -1
- package/dashboard/dist-server/src/commands/install-backend.js +70 -1
- package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
- package/dashboard/dist-server/src/coordinator/graph-types.d.ts +6 -0
- package/dashboard/dist-server/src/coordinator/graph-walker.js +7 -2
- package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
- package/dashboard/dist-server/src/core/component-defs.d.ts +17 -0
- package/dashboard/dist-server/src/core/component-defs.js +49 -2
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/hooks/spec-injector.js +7 -8
- package/dashboard/dist-server/src/hooks/spec-injector.js.map +1 -1
- package/dashboard/dist-server/src/search/daemon-client.d.ts +33 -0
- package/dashboard/dist-server/src/search/daemon-client.js +115 -0
- package/dashboard/dist-server/src/search/daemon-client.js.map +1 -0
- package/dashboard/dist-server/src/tools/spec-entry-parser.js +1 -1
- package/dashboard/dist-server/src/tools/spec-entry-parser.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-loader.js +2 -2
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
- package/dist/shared/agent-types.d.ts +2 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/api-explore/config.d.ts +5 -1
- package/dist/src/agents/api-explore/config.d.ts.map +1 -1
- package/dist/src/agents/api-explore/config.js +6 -3
- package/dist/src/agents/api-explore/config.js.map +1 -1
- package/dist/src/agents/api-explore/index.js +6 -1
- package/dist/src/agents/api-explore/index.js.map +1 -1
- package/dist/src/agents/api-explore/llm.d.ts +2 -0
- package/dist/src/agents/api-explore/llm.d.ts.map +1 -1
- package/dist/src/agents/api-explore/llm.js +138 -2
- package/dist/src/agents/api-explore/llm.js.map +1 -1
- package/dist/src/cli.js +2 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/coordinate.d.ts.map +1 -1
- package/dist/src/commands/coordinate.js +2 -0
- package/dist/src/commands/coordinate.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +7 -3
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +11 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +70 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +8 -2
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/load.d.ts +12 -0
- package/dist/src/commands/load.d.ts.map +1 -0
- package/dist/src/commands/load.js +185 -0
- package/dist/src/commands/load.js.map +1 -0
- package/dist/src/commands/ralph.d.ts.map +1 -1
- package/dist/src/commands/ralph.js +8 -0
- package/dist/src/commands/ralph.js.map +1 -1
- package/dist/src/commands/search.d.ts +15 -1
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +184 -52
- package/dist/src/commands/search.js.map +1 -1
- package/dist/src/commands/timeline.d.ts +14 -0
- package/dist/src/commands/timeline.d.ts.map +1 -0
- package/dist/src/commands/timeline.js +377 -0
- package/dist/src/commands/timeline.js.map +1 -0
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +50 -47
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/wiki.d.ts.map +1 -1
- package/dist/src/commands/wiki.js +29 -28
- package/dist/src/commands/wiki.js.map +1 -1
- package/dist/src/coordinator/graph-types.d.ts +6 -0
- package/dist/src/coordinator/graph-types.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
- package/dist/src/coordinator/graph-walker.js +7 -2
- package/dist/src/coordinator/graph-walker.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +17 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +49 -2
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/core/install-executor.d.ts.map +1 -1
- package/dist/src/core/install-executor.js +11 -1
- package/dist/src/core/install-executor.js.map +1 -1
- package/dist/src/core/install-profile.d.ts +7 -0
- package/dist/src/core/install-profile.d.ts.map +1 -1
- package/dist/src/core/install-profile.js +108 -9
- package/dist/src/core/install-profile.js.map +1 -1
- package/dist/src/graph/kg/surface/cli.d.ts.map +1 -1
- package/dist/src/graph/kg/surface/cli.js +2 -1
- package/dist/src/graph/kg/surface/cli.js.map +1 -1
- package/dist/src/hooks/plugins/explore-plugin.d.ts +16 -0
- package/dist/src/hooks/plugins/explore-plugin.d.ts.map +1 -0
- package/dist/src/hooks/plugins/explore-plugin.js +63 -0
- package/dist/src/hooks/plugins/explore-plugin.js.map +1 -0
- package/dist/src/hooks/plugins/index.d.ts +2 -0
- package/dist/src/hooks/plugins/index.d.ts.map +1 -1
- package/dist/src/hooks/plugins/index.js +1 -0
- package/dist/src/hooks/plugins/index.js.map +1 -1
- package/dist/src/hooks/spec-injector.d.ts.map +1 -1
- package/dist/src/hooks/spec-injector.js +7 -8
- package/dist/src/hooks/spec-injector.js.map +1 -1
- package/dist/src/i18n/detect.d.ts +2 -1
- package/dist/src/i18n/detect.d.ts.map +1 -1
- package/dist/src/i18n/detect.js +32 -8
- package/dist/src/i18n/detect.js.map +1 -1
- package/dist/src/i18n/locales/en.d.ts.map +1 -1
- package/dist/src/i18n/locales/en.js +4 -1
- package/dist/src/i18n/locales/en.js.map +1 -1
- package/dist/src/i18n/locales/zh.d.ts.map +1 -1
- package/dist/src/i18n/locales/zh.js +4 -1
- package/dist/src/i18n/locales/zh.js.map +1 -1
- package/dist/src/i18n/types.d.ts +3 -0
- package/dist/src/i18n/types.d.ts.map +1 -1
- package/dist/src/ralph/cmd-complete.d.ts +4 -0
- package/dist/src/ralph/cmd-complete.d.ts.map +1 -1
- package/dist/src/ralph/cmd-complete.js +8 -0
- package/dist/src/ralph/cmd-complete.js.map +1 -1
- package/dist/src/ralph/cmd-next.d.ts.map +1 -1
- package/dist/src/ralph/cmd-next.js +68 -9
- package/dist/src/ralph/cmd-next.js.map +1 -1
- package/dist/src/ralph/status-schema.d.ts +29 -2
- package/dist/src/ralph/status-schema.d.ts.map +1 -1
- package/dist/src/ralph/status-schema.js +1 -1
- package/dist/src/search/daemon-client.d.ts +34 -0
- package/dist/src/search/daemon-client.d.ts.map +1 -0
- package/dist/src/search/daemon-client.js +115 -0
- package/dist/src/search/daemon-client.js.map +1 -0
- package/dist/src/search/daemon.d.ts.map +1 -1
- package/dist/src/search/daemon.js +8 -6
- package/dist/src/search/daemon.js.map +1 -1
- package/dist/src/tools/spec-entry-parser.js +1 -1
- package/dist/src/tools/spec-entry-parser.js.map +1 -1
- package/dist/src/tools/spec-loader.js +2 -2
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts.map +1 -1
- package/dist/src/tools/store-knowhow.js +4 -4
- package/dist/src/tools/store-knowhow.js.map +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js +1 -1
- package/dist/src/tui/install-ui/BackupConfig.js.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.js +71 -38
- package/dist/src/tui/install-ui/ComponentGrid.js.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts +12 -3
- package/dist/src/tui/install-ui/ComponentGrid.logic.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ComponentGrid.logic.js +21 -4
- package/dist/src/tui/install-ui/ComponentGrid.logic.js.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.d.ts +3 -1
- package/dist/src/tui/install-ui/CyberItem.d.ts.map +1 -1
- package/dist/src/tui/install-ui/CyberItem.js +13 -15
- package/dist/src/tui/install-ui/CyberItem.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +2 -4
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.d.ts +9 -0
- package/dist/src/tui/install-ui/GroupedHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.js +59 -52
- package/dist/src/tui/install-ui/GroupedHub.js.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.d.ts.map +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js +1 -1
- package/dist/src/tui/install-ui/HooksConfig.js.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +2 -2
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +3 -3
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +54 -5
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +3 -3
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/tui/install-ui/McpConfig.js +1 -1
- package/dist/src/tui/install-ui/McpConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StatuslineConfig.js +2 -2
- package/dist/src/tui/install-ui/StatuslineConfig.js.map +1 -1
- package/dist/src/tui/install-ui/StepSelector.js +1 -1
- package/dist/src/tui/install-ui/StepSelector.js.map +1 -1
- package/dist/src/tui/install-ui/types.d.ts +1 -0
- package/dist/src/tui/install-ui/types.d.ts.map +1 -1
- package/dist/src/tui/install-ui/types.js.map +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts +8 -2
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts.map +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.js +145 -15
- package/dist/src/tui/install-ui/useInstallFlowState.js.map +1 -1
- package/dist/src/utils/cli-format.d.ts +3 -3
- package/dist/src/utils/cli-format.d.ts.map +1 -1
- package/dist/src/utils/cli-format.js +32 -21
- package/dist/src/utils/cli-format.js.map +1 -1
- package/dist/src/utils/update-notices.js +12 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/shared/agent-types.ts +2 -0
- package/workflows/agy-instructions.md +127 -88
- package/workflows/analyze.md +2 -2
- package/workflows/auto-test.md +7 -1
- package/workflows/blueprint.md +22 -19
- package/workflows/brainstorm.md +11 -3
- package/workflows/business-test.md +4 -0
- package/workflows/claude-instructions.md +47 -29
- package/workflows/codebase-rebuild.md +8 -1
- package/workflows/codebase-refresh.md +7 -1
- package/workflows/codex-instructions.md +47 -29
- package/workflows/debug.md +5 -2
- package/workflows/domain-add.md +6 -0
- package/workflows/drift-realign.md +396 -0
- package/workflows/execute.md +5 -4
- package/workflows/explore-usage.md +8 -3
- package/workflows/finish-work.md +6 -6
- package/workflows/fork.md +2 -2
- package/workflows/grill.md +6 -5
- package/workflows/harvest.md +2 -2
- package/workflows/impeccable.md +3 -2
- package/workflows/init.md +7 -7
- package/workflows/integration-test.md +1 -0
- package/workflows/issue-discover.md +4 -4
- package/workflows/issue-gaps-analyze.codex.md +3 -1
- package/workflows/issue-gaps-analyze.md +6 -7
- package/workflows/issue-plan.md +1 -1
- package/workflows/knowhow.md +7 -1
- package/workflows/knowledge-audit.md +1 -1
- package/workflows/maestro-super.md +2 -2
- package/workflows/maestro.md +3 -3
- package/workflows/map.md +2 -2
- package/workflows/milestone-audit.md +1 -1
- package/workflows/milestone-complete.md +1 -1
- package/workflows/plan.md +7 -6
- package/workflows/quick.md +8 -6
- package/workflows/ralph-amend-goal.md +177 -0
- package/workflows/refactor.md +2 -0
- package/workflows/retrospective.md +7 -3
- package/workflows/review.md +6 -4
- package/workflows/roadmap-common.md +3 -3
- package/workflows/roadmap.md +8 -5
- package/workflows/spec-generate.md +23 -18
- package/workflows/specs-load.md +1 -1
- package/workflows/specs-setup.md +2 -0
- package/workflows/sync.md +4 -2
- package/workflows/test-gen.md +1 -1
- package/workflows/test.md +1 -1
- package/workflows/ui-codify-extract.md +1 -0
- package/workflows/ui-codify-knowhow.md +1 -1
- package/workflows/ui-codify-package.md +1 -1
- package/workflows/ui-codify.md +9 -7
- package/workflows/ui-design.md +9 -7
- package/workflows/ui-style.md +6 -4
- package/workflows/verify.md +4 -4
- package/workflows/wiki-connect.md +2 -0
- package/workflows/wiki-digest.md +5 -3
- package/workflows/wiki-manage.md +4 -0
- package/chains/singles/spec-generate.json +0 -31
- package/workflows/maestro.codex.md +0 -365
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro-ralph
|
|
3
3
|
description: Use when the optimal command sequence is unclear and needs automated state-based determination
|
|
4
|
-
argument-hint: "<intent> [-y] | status | continue"
|
|
4
|
+
argument-hint: "<intent> [-y] | status | continue | --amend [change]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- read_file
|
|
7
7
|
- write_file
|
|
@@ -14,834 +14,902 @@ allowed-tools:
|
|
|
14
14
|
---
|
|
15
15
|
<!-- Open-standard mirror generated by scripts/build-agents-standard.mjs — do not edit; re-run after editing .claude/ source. -->
|
|
16
16
|
|
|
17
|
-
<purpose>
|
|
18
|
-
Closed-loop decision engine: read project state → infer position → build adaptive chain → delegate execution.
|
|
19
|
-
Ralph builds/evaluates; ralph-execute runs steps. Session: `.workflow/.maestro/ralph-{YYYYMMDD-HHmmss}/status.json`.
|
|
20
|
-
</purpose>
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
S_STATUS:
|
|
89
|
-
→
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
→
|
|
93
|
-
→
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
→
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
→
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
→
|
|
106
|
-
GUARD:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
→
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
→
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
→
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
→
|
|
138
|
-
|
|
139
|
-
→
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
→ S_APPLY_VERDICT WHEN:
|
|
146
|
-
DO:
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
→
|
|
150
|
-
|
|
151
|
-
→
|
|
152
|
-
|
|
153
|
-
→
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
→
|
|
158
|
-
→
|
|
159
|
-
→
|
|
160
|
-
→ END WHEN: post-
|
|
161
|
-
→ S_DISPATCH WHEN: post-
|
|
162
|
-
→ S_DISPATCH WHEN:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
→
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
|
255
|
-
|
|
256
|
-
|
|
|
257
|
-
|
|
|
258
|
-
|
|
|
259
|
-
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
|
286
|
-
|
|
287
|
-
|
|
|
288
|
-
|
|
|
289
|
-
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
|
299
|
-
|
|
|
300
|
-
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
|
313
|
-
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
**
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
|
389
|
-
|
|
390
|
-
|
|
|
391
|
-
|
|
|
392
|
-
|
|
|
393
|
-
|
|
|
394
|
-
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
**
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
"
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
"
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
"
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
"
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
maestro
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
{
|
|
793
|
-
- {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
-
|
|
821
|
-
|
|
822
|
-
-
|
|
823
|
-
-
|
|
824
|
-
-
|
|
825
|
-
-
|
|
826
|
-
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
-
|
|
833
|
-
- [ ]
|
|
834
|
-
|
|
835
|
-
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
17
|
+
<purpose>
|
|
18
|
+
Closed-loop decision engine: read project state → infer position → build adaptive chain → delegate execution.
|
|
19
|
+
Ralph builds/evaluates; ralph-execute runs steps. Session: `.workflow/.maestro/ralph-{YYYYMMDD-HHmmss}/status.json`.
|
|
20
|
+
</purpose>
|
|
21
|
+
|
|
22
|
+
<deferred_reading>
|
|
23
|
+
- [ralph-amend-goal.md](~/.maestro/workflows/ralph-amend-goal.md) — read when `--amend` flag active for goal amendment flow
|
|
24
|
+
</deferred_reading>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
$ARGUMENTS — intent text, flags, or keywords.
|
|
28
|
+
|
|
29
|
+
**Parse:**
|
|
30
|
+
```
|
|
31
|
+
-y flag → auto_confirm = true # 唯一来源:用户显式传入;ralph 不内部推断(invariant 14)
|
|
32
|
+
--roadmap → wants_roadmap = true (强制多发布 roadmap 路径;roadmap 默认 opt-in)
|
|
33
|
+
--amend / -a → amend_mode = true (running session 存在时触发目标修改流程)
|
|
34
|
+
.md/.txt path → input_doc (supplementary context only, NEVER substitutes lifecycle stages)
|
|
35
|
+
Remaining → intent (amend_mode 时为 change_request)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**State files:**
|
|
39
|
+
- `.workflow/state.json` — artifact registry, milestones, phases
|
|
40
|
+
- `.workflow/roadmap.md` — milestone/phase structure
|
|
41
|
+
- `.workflow/.maestro/ralph-*/status.json` — ralph session state
|
|
42
|
+
</context>
|
|
43
|
+
|
|
44
|
+
<invariants>
|
|
45
|
+
1. **Ralph never executes steps** — only creates sessions and evaluates decisions
|
|
46
|
+
2. **Handoff via invoke_skill("maestro-ralph-execute")** — 创建 session 后始终自动 handoff;decision 评估后始终 handoff
|
|
47
|
+
3. **Decision delegates read-only** — `maestro delegate --role analyze --mode analysis`
|
|
48
|
+
4. **执行 step 通过 `maestro ralph next` CLI 加载并内联执行**(详见 invariant 8)
|
|
49
|
+
5. **status.json 是唯一真源** — 不生成 markdown 清单或侧文件
|
|
50
|
+
6. **每个 step 必须 `completion_confirmed: true`** — 由 `maestro ralph complete N --status DONE`(或 DONE_WITH_CONCERNS)写入;CLI 是唯一合法写入路径
|
|
51
|
+
7. **command_path 在 A_BUILD_STEPS 解析** — 通过 `maestro ralph skills --platform agent --json --quiet` 预校验(project 覆盖 global,限定 `.claude/commands/` + `.claude/skills/`),命中即写绝对路径到 status.json;未命中标 `command_scope = "missing"`
|
|
52
|
+
8. **执行 step 加载契约** — 由 `maestro ralph next` CLI 在执行期完成:解析 frontmatter + `<required_reading>` + `<deferred_reading>`,自动读取 required 文件全文并拼入 prompt;缺失 required → 退出码 1(E007),pause session。ralph build 阶段只通过 `maestro ralph skills --platform agent` 校验路径存在性,不读 .md 内容
|
|
53
|
+
9. **Decomposition is outcome-oriented** — sub-goals 为可观测交付,禁止 lifecycle 复刻;`/goal` 用户绑定,ralph 输出提示词后继续 handoff,用户可在执行过程中随时输入 `/goal`
|
|
54
|
+
10. **planning_mode governs arg granularity** — `unified` → skill args 无 `{phase}`;`independent` → 含 `{phase}`
|
|
55
|
+
11. **task_decomposition 驱动 steps[] 动态生长** — `post-goal-audit` 按 unmet 子目标插入 scoped mini-loop;字段可选/累加,既有字段不删不改
|
|
56
|
+
12. **Invariant violation = BLOCK** — 违反上述任一 invariant 即阻断当前操作。不得以 "效率" 或 "意图明确" 为由绕过。特别是 invariant 1(ralph 不执行 step)和 invariant 6(completion_confirmed 由 CLI 写入)不可隐性违反。
|
|
57
|
+
13. **Delegate fallback 必须标记** — A_DELEGATE_EVALUATE 解析 verdict 失败时 fallback 为 "fix",但 MUST 在 decisions.ndjson 记录 `"parse_failed": true, "confidence_score": 0`,后续 step 继承 LOW CONFIDENCE 标记。
|
|
58
|
+
14. **auto_confirm 单一来源** — `auto_confirm` 仅由用户 `-y` 标志设定;ralph 不得内部推断。`session.auto_mode` 仅反映用户输入。
|
|
59
|
+
15. **分解契约单一所有者** — `boundary_contract` / `task_decomposition` 由 session 创建者拥有(`source=="ralph"` → `decomposition_owner="ralph"`;`source=="maestro"` → `"maestro"`)。contract 已存在时,后续 S_DECOMPOSE MUST 跳过 ask_user,仅做 shape 校验 + 缺省补齐;goal-audit 只更新 `task_decomposition[*].status/completion_confirmed/completed_at`,禁止改 `goal/done_when/boundary`。
|
|
60
|
+
16. **控制权优先级(范式治理)** — FSM 独占 session 生命周期 + step 排序 + retry/fix/escalate + cross-step decision 节点;Pipeline 命令只拥有自身 artifact GATE(GATE 失败 → `maestro ralph complete <idx> --status BLOCKED|NEEDS_RETRY`,自身 GATE 全过 → DONE);Router 命令不得出现在 FSM step 内。
|
|
61
|
+
</invariants>
|
|
62
|
+
|
|
63
|
+
<state_machine>
|
|
64
|
+
|
|
65
|
+
<states>
|
|
66
|
+
S_PARSE_ROUTE — 解析参数、路由入口 PERSIST: —
|
|
67
|
+
S_STATUS — 显示 session 进度 PERSIST: —
|
|
68
|
+
S_CONTINUE — 恢复执行 PERSIST: —
|
|
69
|
+
S_RESOLVE_PHASE — 解析 phase + phase_is_new + D-007 milestone PERSIST: session.phase, session.phase_is_new, session.milestone
|
|
70
|
+
S_INFER — 基于已解析 phase 推断 lifecycle_position PERSIST: session.lifecycle_position, session.wants_roadmap
|
|
71
|
+
S_RESOLVE_SCOPE — 读 macro analyze conclusions.scope_verdict PERSIST: session.scope_verdict, session.analyze_macro_id
|
|
72
|
+
S_QUALITY_MODE — 决定质量管线模式 PERSIST: session.quality_mode
|
|
73
|
+
S_PLANNING_MODE — 决定统一/独立规划模式 PERSIST: session.planning_mode
|
|
74
|
+
S_DECOMPOSE — 边界澄清、写执行准则+子目标清单 PERSIST: session.boundary_contract, .execution_criteria, .task_decomposition
|
|
75
|
+
S_BUILD_CHAIN — 构建步骤链 PERSIST: session.steps[]
|
|
76
|
+
S_CREATE_SESSION — 写 status.json PERSIST: session (全量)
|
|
77
|
+
S_CONFIRM — 用户确认 PERSIST: —
|
|
78
|
+
S_DISPATCH — 移交 maestro-ralph-execute PERSIST: —
|
|
79
|
+
S_DECISION_EVAL — 委托评估质量门 PERSIST: —
|
|
80
|
+
S_APPLY_VERDICT — 应用裁决 + 插入命令 PERSIST: session.steps[], session.passed_gates[]
|
|
81
|
+
S_AMEND_GOAL — 修改 running session 目标 PERSIST: session.task_decomposition, .boundary_contract, .goal_changelog, .steps[]
|
|
82
|
+
S_FALLBACK — 请求用户输入 PERSIST: —
|
|
83
|
+
</states>
|
|
84
|
+
|
|
85
|
+
<transitions>
|
|
86
|
+
|
|
87
|
+
S_PARSE_ROUTE:
|
|
88
|
+
→ S_STATUS WHEN: intent == "status"
|
|
89
|
+
→ S_CONTINUE WHEN: intent == "continue"
|
|
90
|
+
→ S_AMEND_GOAL WHEN: amend_mode == true AND running session exists
|
|
91
|
+
→ S_FALLBACK WHEN: amend_mode == true AND no running session DO: Display: "无运行中的 ralph 会话,--amend 需要活跃 session"
|
|
92
|
+
→ S_DECISION_EVAL WHEN: running session with decision step in "running" status
|
|
93
|
+
→ S_RESOLVE_PHASE WHEN: intent is non-empty ← phase 必须先于 position
|
|
94
|
+
→ S_FALLBACK WHEN: no intent AND no running session
|
|
95
|
+
|
|
96
|
+
S_STATUS:
|
|
97
|
+
→ END DO: A_SHOW_STATUS
|
|
98
|
+
|
|
99
|
+
S_CONTINUE:
|
|
100
|
+
→ S_DISPATCH WHEN: running session found
|
|
101
|
+
→ S_FALLBACK WHEN: no running session DO: display "无运行中的 ralph 会话"
|
|
102
|
+
|
|
103
|
+
S_RESOLVE_PHASE:
|
|
104
|
+
→ S_INFER WHEN: phase resolved or null DO: A_RESOLVE_PHASE
|
|
105
|
+
→ S_FALLBACK WHEN: ambiguous
|
|
106
|
+
GUARD: auto_confirm does NOT skip phase ambiguity
|
|
107
|
+
|
|
108
|
+
S_INFER:
|
|
109
|
+
→ S_RESOLVE_SCOPE WHEN: position resolved DO: A_INFER_POSITION
|
|
110
|
+
→ S_FALLBACK WHEN: cannot infer
|
|
111
|
+
|
|
112
|
+
S_RESOLVE_SCOPE:
|
|
113
|
+
→ S_QUALITY_MODE DO: A_RESOLVE_SCOPE_VERDICT
|
|
114
|
+
GUARD: position ∈ {grill, brainstorm, blueprint, init} → skip (scope_verdict = null)
|
|
115
|
+
|
|
116
|
+
S_QUALITY_MODE:
|
|
117
|
+
→ S_PLANNING_MODE DO: A_DETERMINE_QUALITY_MODE
|
|
118
|
+
|
|
119
|
+
S_PLANNING_MODE:
|
|
120
|
+
→ S_DECOMPOSE DO: A_DETERMINE_PLANNING_MODE
|
|
121
|
+
GUARD: lifecycle_position ∈ {grill, brainstorm, blueprint, init, analyze-macro, roadmap} → skip (force independent)
|
|
122
|
+
|
|
123
|
+
S_DECOMPOSE:
|
|
124
|
+
→ S_BUILD_CHAIN DO: A_DECOMPOSE_TASKS
|
|
125
|
+
GUARD: broad intent → MUST clarify boundary even if auto_confirm
|
|
126
|
+
GUARD: narrow intent → auto-derive, skip questions
|
|
127
|
+
GUARD: position ∈ {grill, brainstorm, blueprint, init} → skip decomposition
|
|
128
|
+
|
|
129
|
+
S_BUILD_CHAIN:
|
|
130
|
+
→ S_CREATE_SESSION DO: A_BUILD_STEPS
|
|
131
|
+
|
|
132
|
+
S_CREATE_SESSION:
|
|
133
|
+
→ S_CONFIRM WHEN: not auto_confirm DO: A_CREATE_SESSION
|
|
134
|
+
→ S_DISPATCH WHEN: auto_confirm DO: A_CREATE_SESSION
|
|
135
|
+
|
|
136
|
+
S_CONFIRM:
|
|
137
|
+
→ S_DISPATCH WHEN: user selects "Proceed"
|
|
138
|
+
→ S_BUILD_CHAIN WHEN: user selects "Edit"
|
|
139
|
+
→ END WHEN: user selects "Cancel"
|
|
140
|
+
|
|
141
|
+
S_DISPATCH:
|
|
142
|
+
→ END DO: invoke_skill({ skill: "maestro-ralph-execute" })
|
|
143
|
+
|
|
144
|
+
S_DECISION_EVAL: (decision 节点 == `step.decision` 非空,下述 gate 名取自该字段)
|
|
145
|
+
→ S_APPLY_VERDICT WHEN: quality-gate (post-execute, post-business-test, post-review, post-test, post-frontend-verify)
|
|
146
|
+
DO: A_DELEGATE_EVALUATE
|
|
147
|
+
→ S_APPLY_VERDICT WHEN: goal-gate (post-goal-audit)
|
|
148
|
+
DO: A_GOAL_AUDIT_EVALUATE
|
|
149
|
+
→ S_APPLY_VERDICT WHEN: scope-gate (post-analyze-scope)
|
|
150
|
+
DO: A_SCOPE_EVALUATE
|
|
151
|
+
→ S_APPLY_VERDICT WHEN: structural (post-milestone, post-debug-escalate)
|
|
152
|
+
DO: A_STRUCTURAL_EVALUATE
|
|
153
|
+
→ S_APPLY_VERDICT WHEN: reground-gate (post-reground)
|
|
154
|
+
DO: A_REGROUND_EVALUATE
|
|
155
|
+
|
|
156
|
+
S_APPLY_VERDICT:
|
|
157
|
+
→ S_DISPATCH WHEN: verdict == "proceed" DO: A_APPLY_PROCEED
|
|
158
|
+
→ S_DISPATCH WHEN: post-goal-audit + has_unmet DO: A_APPLY_GOAL_FIX
|
|
159
|
+
→ S_DISPATCH WHEN: post-goal-audit + all_met + INTENT_ALIGNED=true DO: A_APPLY_GOAL_DONE
|
|
160
|
+
→ END WHEN: post-goal-audit + all_met + INTENT_ALIGNED=false DO: A_REGROUND_HALT(尾部漂移熔断)
|
|
161
|
+
→ S_DISPATCH WHEN: post-analyze-scope DO: A_APPLY_SCOPE_VERDICT
|
|
162
|
+
→ S_DISPATCH WHEN: verdict == "fix" DO: A_APPLY_FIX
|
|
163
|
+
→ S_DISPATCH WHEN: verdict == "escalate" DO: A_APPLY_ESCALATE
|
|
164
|
+
→ S_DISPATCH WHEN: post-milestone + standard + next milestone DO: A_ADVANCE_MILESTONE
|
|
165
|
+
→ END WHEN: post-milestone + standard + no next milestone DO: mark completed
|
|
166
|
+
→ END WHEN: post-milestone + adhoc DO: mark completed (adhoc self-contained)
|
|
167
|
+
→ END WHEN: post-debug-escalate (always STOP) DO: A_PAUSE_ESCALATE
|
|
168
|
+
→ END WHEN: post-reground + drifted + confidence_score >= 60 DO: A_REGROUND_HALT
|
|
169
|
+
→ S_DISPATCH WHEN: post-reground + aligned DO: A_APPLY_PROCEED
|
|
170
|
+
→ S_DISPATCH WHEN: post-reground + drifted + confidence_score < 60 DO: A_APPLY_PROCEED (标 LOW CONFIDENCE)
|
|
171
|
+
GUARD: retry_count >= max_retries → force escalate
|
|
172
|
+
GUARD: confidence_score < 60 AND proceed → override to fix
|
|
173
|
+
GUARD: confidence_score > 95 AND fix AND retry > 0 → suggest proceed
|
|
174
|
+
GUARD: auto_confirm → skip user prompt, apply adjusted verdict
|
|
175
|
+
GUARD: not auto_confirm → ask_user with override options
|
|
176
|
+
GUARD: post-reground + drifted + confidence_score >= 60 → A_REGROUND_HALT(漂移熔断为安全门,auto_confirm 不跳过)
|
|
177
|
+
|
|
178
|
+
S_AMEND_GOAL:
|
|
179
|
+
→ S_DISPATCH WHEN: change applied + user confirmed DO: A_AMEND_GOAL
|
|
180
|
+
→ END WHEN: user cancels
|
|
181
|
+
GUARD: RISK_LEVEL=high → auto_confirm 无效,必须 ask_user
|
|
182
|
+
|
|
183
|
+
S_FALLBACK:
|
|
184
|
+
→ S_PARSE_ROUTE WHEN: user provides input DO: ask_user
|
|
185
|
+
→ END WHEN: user cancels
|
|
186
|
+
|
|
187
|
+
</transitions>
|
|
188
|
+
|
|
189
|
+
<actions>
|
|
190
|
+
|
|
191
|
+
### A_SHOW_STATUS
|
|
192
|
+
|
|
193
|
+
1. Find latest ralph session (by created_at)
|
|
194
|
+
2. Display: Session, Status, Position, Progress, Current step
|
|
195
|
+
3. List steps: [✓] completion_confirmed, [▸] current, [ ] pending, [◆] decision(`step.decision` 非空);执行 step 附 `command_scope`(global/project) + `command_path`
|
|
196
|
+
4. If `task_decomposition` present (absent → skip):
|
|
197
|
+
```
|
|
198
|
+
Sub-goals ({done}/{total}) source: {session_dir}/status.json#/task_decomposition
|
|
199
|
+
[x] G1 done_when={done_when} evidence={evidence} confirmed={completion_confirmed}
|
|
200
|
+
[ ] G2 done_when={done_when} evidence={evidence} confirmed=false ◀ unmet
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### A_RESOLVE_PHASE
|
|
204
|
+
|
|
205
|
+
前置于 A_INFER_POSITION。产出 `phase` + `phase_is_new` + `milestone`(D-007 反查)三元组。
|
|
206
|
+
|
|
207
|
+
**Priority:**
|
|
208
|
+
|
|
209
|
+
| Step | 行为 | phase_is_new |
|
|
210
|
+
|------|------|--------------|
|
|
211
|
+
| 1 | intent 匹配 `phase\s*(\d+)` → 取 state.json 对应 phase | false |
|
|
212
|
+
| 2 | intent 派生短语 → 在 `state.json.milestones[*].phase_slugs` / `artifacts[*].path` 查找 | false (匹配) / true (无匹配) |
|
|
213
|
+
| 3 | 未派生 → 取最新 in-progress artifact 的 phase | false |
|
|
214
|
+
| 4 | 仍无 → state.json 首个 incomplete phase | false |
|
|
215
|
+
| 5 | position 将是 brainstorm/blueprint/init/roadmap/analyze-macro → phase = null | n/a |
|
|
216
|
+
| 6 | 仍模糊 → `ask_user` | 由用户回答确定 |
|
|
217
|
+
|
|
218
|
+
**D-007 Phase→Milestone 反查**(数字 phase 已解析时):
|
|
219
|
+
```
|
|
220
|
+
resolve_milestone(phase_number):
|
|
221
|
+
for ms in state.json.milestones:
|
|
222
|
+
if str(phase_number) in ms.phase_slugs: return ms.id
|
|
223
|
+
return state.json.current_milestone # fallback
|
|
224
|
+
```
|
|
225
|
+
写入 `session.milestone`;禁止直接使用 `current_milestone` 当做 phase 所属 milestone。
|
|
226
|
+
|
|
227
|
+
**写入 session**: `phase`, `phase_is_new`, `milestone`。
|
|
228
|
+
|
|
229
|
+
**新派生 phase 时 milestone 处理**:
|
|
230
|
+
- state.json 当前 milestone 仍 active → 沿用,新增 phase
|
|
231
|
+
- intent 派生新 milestone 名 → 写入 session 仅作标签;`state.json.milestones` 由 `maestro-roadmap` / `maestro-milestone-release` 创建
|
|
232
|
+
|
|
233
|
+
### A_INFER_POSITION
|
|
234
|
+
|
|
235
|
+
**Intent-based overrides** (按顺序匹配,先命中先用):
|
|
236
|
+
|
|
237
|
+
| Pattern | Position |
|
|
238
|
+
|---------|----------|
|
|
239
|
+
| 压力测试 / 拷问 / 验证假设 / grill / stress-test | `grill`(**auto_confirm=true 时透传 `-y`,grill 以 Auto mode 代码代答,不跳过**) |
|
|
240
|
+
| brainstorm / 头脑风暴 / 探索 / ideate / 设计思路 | `brainstorm` |
|
|
241
|
+
| blueprint / 规格 / 正式文档 / spec-generate / 7-phase | `blueprint` |
|
|
242
|
+
| broad/medium intent 无数字 phase (重构/全面/重写/迁移/新功能 X) | `analyze-macro` |
|
|
243
|
+
|
|
244
|
+
**Roadmap opt-in detection** (设 `session.wants_roadmap`,缺省 `false`):
|
|
245
|
+
```
|
|
246
|
+
wants_roadmap = (--roadmap flag)
|
|
247
|
+
OR (intent 含多发布信号: 多发布|多版本|分阶段交付|按里程碑发布|v1.*v2|multi-release|roadmap)
|
|
248
|
+
OR (.workflow/roadmap.md 已存在) ← 向后兼容:既有 roadmap 项目行为不变
|
|
249
|
+
```
|
|
250
|
+
默认 `false` → large 项目走单一多波次 `plan --from analyze`,不引入 roadmap 横切层;roadmap 仅多发布场景 opt-in。
|
|
251
|
+
|
|
252
|
+
**Bootstrap detection:**
|
|
253
|
+
|
|
254
|
+
| Condition | Position |
|
|
255
|
+
|-----------|----------|
|
|
256
|
+
| No `.workflow/` + no source files | `brainstorm` |
|
|
257
|
+
| No `.workflow/` + has source files | `init` |
|
|
258
|
+
| Has `.workflow/` but no state.json | `init` |
|
|
259
|
+
| Has state.json | → phase-aware artifact inference |
|
|
260
|
+
|
|
261
|
+
**Phase-aware artifact inference** (使用 A_RESOLVE_PHASE 已写入的 `session.phase` + `session.phase_is_new`):
|
|
262
|
+
|
|
263
|
+
| Condition | Position |
|
|
264
|
+
|-----------|----------|
|
|
265
|
+
| `phase_is_new == true` (新 phase) | `analyze` |
|
|
266
|
+
| no milestones AND no roadmap.md AND has analyze macro artifact | `roadmap` if `wants_roadmap` else `plan` (--from analyze) |
|
|
267
|
+
| no milestones AND no roadmap.md AND no analyze artifact | `analyze-macro` |
|
|
268
|
+
| `phase == null` (grill/brainstorm/blueprint/init/roadmap/analyze-macro override 已定) | n/a |
|
|
269
|
+
| phase 已存在 + 无任何 artifact | `analyze` |
|
|
270
|
+
| phase 已存在 + 最新 artifact = analyze | `plan` |
|
|
271
|
+
| phase 已存在 + 最新 artifact = plan | `execute` |
|
|
272
|
+
| phase 已存在 + 最新 artifact = execute | → refine from post-execute results |
|
|
273
|
+
|
|
274
|
+
**关键不变量**:artifact 过滤按 `session.phase`,不读 `state.json.current_phase`。`phase_is_new` → 直接 `analyze`。
|
|
275
|
+
|
|
276
|
+
### A_RESOLVE_SCOPE_VERDICT
|
|
277
|
+
|
|
278
|
+
仅当 `lifecycle_position ∈ {analyze-macro, roadmap, plan}` 且存在最新 analyze artifact 时执行。
|
|
279
|
+
|
|
280
|
+
1. 定位最新 macro analyze artifact(`type=="analyze"` 且 `scope=="macro"`,按 created_at DESC)→ 记 `session.analyze_macro_id = ANL-xxx`
|
|
281
|
+
2. 读 `{artifact_path}/conclusions.json` 的 `scope_verdict` 字段(`large | medium | small`)
|
|
282
|
+
3. 写入 `session.scope_verdict`;缺失时设 `unknown`
|
|
283
|
+
4. 路由建议(A_BUILD_STEPS 据此决定是否插入 roadmap、plan 是否走 `--from`):
|
|
284
|
+
|
|
285
|
+
| scope_verdict | 链路 |
|
|
286
|
+
|---------------|------|
|
|
287
|
+
| `large` + `wants_roadmap` | analyze-macro → roadmap → analyze → plan → execute → ...(多发布 opt-in) |
|
|
288
|
+
| `large`(默认)/ `medium` / `small` | analyze-macro → plan --from analyze:{ANL_ID} → execute → ...(跳过 roadmap + analyze-phase;单一多波次计划) |
|
|
289
|
+
| `unknown` | 默认走 standalone(plan --from analyze)路径,post-analyze-scope 决策节点再纠正 |
|
|
290
|
+
|
|
291
|
+
**Refine from post-execute results:**
|
|
292
|
+
|
|
293
|
+
在 execute artifact 的 scratch dir 中检查结果文件(verification.json 由 execute 内置 gate 产出):
|
|
294
|
+
|
|
295
|
+
| Condition | Position |
|
|
296
|
+
|-----------|----------|
|
|
297
|
+
| 无 verification.json 或 passed==false 或 gaps[] | `execute` (触发 post-execute fix loop) |
|
|
298
|
+
| passed==true, no review.json | `business-test` |
|
|
299
|
+
| review.json: verdict=="BLOCK" | `review-failed` |
|
|
300
|
+
| review.json: verdict!="BLOCK" | `test` |
|
|
301
|
+
| uat.md: all passed + `session.milestone` 存在 | `milestone-audit` |
|
|
302
|
+
| uat.md: all passed + `session.milestone=null` (standalone) | 标记 session completed(无 milestone 可审计) |
|
|
303
|
+
| uat.md: has failures | `test-failed` |
|
|
304
|
+
|
|
305
|
+
### A_DETERMINE_QUALITY_MODE
|
|
306
|
+
|
|
307
|
+
决定下游质量管线长度。读 `session.quality_mode_override`(CLI 标志 `--quality`),无则按规则推断:
|
|
308
|
+
|
|
309
|
+
| Condition | Mode | Pipeline (execute 之后) |
|
|
310
|
+
|-----------|------|-------------------------|
|
|
311
|
+
| Has `specs/REQ-*.md` + 当前 phase 业务范围明确 | `full` | business-test → review → test-gen → test |
|
|
312
|
+
| Default | `standard` | review → test-gen (当 coverage<80%) → test |
|
|
313
|
+
| `--quality quick` | `quick` | review --tier quick |
|
|
314
|
+
|
|
315
|
+
写入 `session.quality_mode`。A_BUILD_STEPS 据此过滤 stage(见下)。
|
|
316
|
+
|
|
317
|
+
### A_DETERMINE_PLANNING_MODE
|
|
318
|
+
|
|
319
|
+
决定里程碑的规划粒度:一次性规划整个里程碑(统一)还是逐 phase 走完整生命周期(独立)。
|
|
320
|
+
|
|
321
|
+
**Auto-resolve rules (按优先级):**
|
|
322
|
+
|
|
323
|
+
| Condition | Mode | Reason |
|
|
324
|
+
|-----------|------|--------|
|
|
325
|
+
| lifecycle_position ∈ {grill, brainstorm, init, roadmap} | `independent` | 前期阶段不涉及多 phase 规划 |
|
|
326
|
+
| `phase_is_new == true` | `independent` | 新 phase 尚无里程碑上下文 |
|
|
327
|
+
| intent 显式指定 phase 编号(如 "phase 2"、"P3") | `independent` | 用户明确针对单个 phase |
|
|
328
|
+
| milestone 仅含 1 个 phase(读 state.json) | `independent` | 统一无意义 |
|
|
329
|
+
| milestone 含多个 phase + `auto_confirm` | `unified` | 自动模式倾向高效 |
|
|
330
|
+
| milestone 含多个 phase + 非 `auto_confirm` | → ask_user | 征询用户选择 |
|
|
331
|
+
|
|
332
|
+
**ask_user** (仅当 milestone 含 ≥2 phase 且非 auto_confirm):
|
|
333
|
+
|
|
334
|
+
```
|
|
335
|
+
question: "当前里程碑含 {N} 个 phase,选择规划模式?"
|
|
336
|
+
options:
|
|
337
|
+
- label: "统一规划 (Recommended)"
|
|
338
|
+
description: "一次性分析+规划整个里程碑所有 phase,analyze/plan 走里程碑级,适合 phase 间关联紧密"
|
|
339
|
+
- label: "独立规划"
|
|
340
|
+
description: "逐个 phase 走完整生命周期(analyze→plan→execute→...),适合 phase 间独立性高"
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
写入 `session.planning_mode`(`"unified"` 或 `"independent"`)。`A_BUILD_STEPS` 据此决定 skill args 是否携带 `{phase}` 占位符。
|
|
344
|
+
|
|
345
|
+
### A_DECOMPOSE_TASKS
|
|
346
|
+
|
|
347
|
+
Runs once before chain build; additive to status.json. 设 `session.decomposition_owner = "ralph"`。
|
|
348
|
+
|
|
349
|
+
**0. Ownership guard** (invariant 15): 若 `session.boundary_contract` 或 `session.task_decomposition` 已非空(上游 maestro 已写入,`decomposition_owner == "maestro"`)→ MUST 跳过下述提问,仅做 shape 校验 + 缺省字段补齐,直接进入步骤 6。
|
|
350
|
+
|
|
351
|
+
**1. Classify intent breadth:**
|
|
352
|
+
|
|
353
|
+
| Pattern | Breadth | Clarify? |
|
|
354
|
+
|---------|---------|----------|
|
|
355
|
+
| 重构/全面/重写/重做/整体/迁移 · overhaul/migrate/rewrite/revamp | broad | MUST (ignores auto_confirm) |
|
|
356
|
+
| named single file/function/bug, "fix X", "add Y to Z" | narrow | skip — auto-derive |
|
|
357
|
+
| otherwise | medium | clarify unless auto_confirm |
|
|
358
|
+
|
|
359
|
+
**2. Clarify boundary** (broad/medium) — `ask_user`, ≤3 rounds, options pre-filled from intent + a quick Glob/Grep scan of the target module:
|
|
360
|
+
|
|
361
|
+
| Round | Question | Drives |
|
|
362
|
+
|-------|----------|--------|
|
|
363
|
+
| Scope | 哪些目录/文件/层在范围内?明确排除什么? | boundary_contract.in_scope / out_of_scope |
|
|
364
|
+
| Constraints | 必须向后兼容?公共 API 冻结?行为/性能预算?测试门槛? | boundary_contract.constraints + execution_criteria |
|
|
365
|
+
| Done | 什么可观测结果算"完成"?(如:测试全绿 + 行为零变更 + X 指标) | boundary_contract.definition_of_done |
|
|
366
|
+
|
|
367
|
+
narrow → derive defaults from intent + codebase, skip questions.
|
|
368
|
+
|
|
369
|
+
**3. Derive `execution_criteria`**: backward-compat、scope-freeze、test/coverage bar、fix-don't-hide、incremental commit。
|
|
370
|
+
|
|
371
|
+
**4. Derive `task_decomposition`** (子目标清单 — outcome-oriented, NOT lifecycle stages). Each entry:
|
|
372
|
+
```json
|
|
373
|
+
{ "id": "G1", "goal": "<deliverable>", "boundary": "<in/out note>",
|
|
374
|
+
"done_when": "<objectively checkable condition>",
|
|
375
|
+
"evidence": "verification.json|review.json|uat.md|e2e-results.json|<test path>",
|
|
376
|
+
"lifecycle": ["analyze","execute"], "status": "pending" }
|
|
377
|
+
```
|
|
378
|
+
`done_when` 必须客观可验证,且引用 ralph 已产出的 artifact;`lifecycle` 字段映射到产出 evidence 的生命周期 stage。涉及前端可用性的子目标,`done_when` 应引用 `e2e-results.json`(frontend-verify 门产出),不得仅以后端 API/build 证据判定可用。
|
|
379
|
+
|
|
380
|
+
**5. Persist** (additive): `boundary_contract`, `execution_criteria`, `task_decomposition`。每个 sub-goal 含 `status: "pending"` + `completion_confirmed: false`。
|
|
381
|
+
|
|
382
|
+
**6. Stage** the Goal Prompt (Appendix) for A_CREATE_SESSION to emit.
|
|
383
|
+
|
|
384
|
+
### A_BUILD_STEPS
|
|
385
|
+
|
|
386
|
+
Generate steps from `session.lifecycle_position` to `milestone-complete`(`session.milestone` 存在时)或最后一个质量门(standalone 时)。
|
|
387
|
+
|
|
388
|
+
| Stage | invoke_skill(independent) | invoke_skill(unified) | Decision after | quality_mode |
|
|
389
|
+
|-------|---------------------|-----------------|----------------|--------------|
|
|
390
|
+
| grill | `maestro-grill "{intent}"` | *(same)* | — | all (**auto_confirm → 透传 `-y` 到 grill args,不删除 stage**) |
|
|
391
|
+
| brainstorm | `maestro-brainstorm "{intent}" --from grill:{grill_id}` *(if grill ran)* / `maestro-brainstorm "{intent}"` *(otherwise)* | *(same)* | — | all |
|
|
392
|
+
| blueprint | `maestro-blueprint "{intent}"` | *(same)* | — | all |
|
|
393
|
+
| init | `maestro-init` | *(same)* | — | all |
|
|
394
|
+
| spec-setup | `spec-setup` | *(same)* | — | all (**仅当 `.workflow/specs/` 不存在时插入**) |
|
|
395
|
+
| analyze-macro | `maestro-analyze "{intent}"` | *(same)* | `post-analyze-scope` | all |
|
|
396
|
+
| roadmap | `maestro-roadmap --from analyze:{analyze_macro_id}` | *(same)* | — | all |
|
|
397
|
+
| analyze | `maestro-analyze {phase}` | `maestro-analyze` | — | all |
|
|
398
|
+
| plan | `maestro-plan {phase}` *(scope=phase)* / `maestro-plan --from analyze:{analyze_macro_id}` *(scope=standalone)* / `maestro-plan --from blueprint:{blueprint_id}` *(scope=standalone)* | `maestro-plan` | — | all |
|
|
399
|
+
| execute | `maestro-execute {phase}` | `maestro-execute` | `post-execute` | all |
|
|
400
|
+
| business-test | `quality-auto-test {phase}` | `quality-auto-test` | `post-business-test` | full only |
|
|
401
|
+
| review | `quality-review {phase}` | `quality-review` | `post-review` | all (quick: append `--tier quick`) |
|
|
402
|
+
| test-gen | `quality-auto-test {phase}` | `quality-auto-test` | — | full / standard if coverage<80% |
|
|
403
|
+
| test | `quality-test {phase}` | `quality-test` | `post-test` | full, standard |
|
|
404
|
+
| frontend-verify | `quality-test {phase} --frontend-verify` | `quality-test --frontend-verify` | `post-frontend-verify` | all(**仅当 phase 交付 UI 时插入**:检出 `dashboard/` 或 UI 关键词 `landing\|page\|dashboard\|frontend\|UI\|component\|界面`) |
|
|
405
|
+
| milestone-audit | `maestro-milestone-audit` | *(same)* | — | all |
|
|
406
|
+
| goal-audit | *(decision-only)* | *(same)* | `post-goal-audit` | all (only if decomposed) |
|
|
407
|
+
| milestone-complete | `maestro-milestone-complete` | *(same)* | `post-milestone` | all |
|
|
408
|
+
|
|
409
|
+
> 所有执行 stage 统一通过 `maestro ralph next` CLI 加载 + 内联执行;decision 节点单独作为独立 step 插入(见规则 4)。
|
|
410
|
+
|
|
411
|
+
**Build rules (按顺序应用):**
|
|
412
|
+
|
|
413
|
+
0. **planning_mode 选列**:`unified` → invoke_skill(unified) 列;`independent` → invoke_skill(independent) 列
|
|
414
|
+
0.5. **specs 预检**:当 `lifecycle_position ∉ {grill, brainstorm, blueprint, init}` 且 `.workflow/specs/` 目录不存在时,在链路最前面插入 `spec-setup` 步骤(stage=`spec-setup`,无 decision)。确保下游 analyze/plan/execute 可获得项目约束规则注入
|
|
415
|
+
1. **起点**:从 `session.lifecycle_position` 开始
|
|
416
|
+
2. **跳过已完成**:跳过当前 milestone+phase 下已有 completed artifact 的 stage(按 `session.phase` 过滤);unified 按 milestone 过滤
|
|
417
|
+
3. **quality_mode 过滤**:按 `session.quality_mode` 排除不匹配 stage
|
|
418
|
+
3.5. **grill auto_confirm 透传**:`auto_confirm == true` 时为 `grill` step args 追加 `-y`(grill 自身 Auto mode 用代码代答,见 maestro-grill `<context>` Mode selection);保留 `grill` stage 与 brainstorm 的 `--from grill:*`(grill 仍产出 grill-report/terminology/context-package)
|
|
419
|
+
3.6. **frontend-verify UI 门控**:仅当当前 phase 交付前端(检出 `dashboard/` 目录,或 phase 目标/计划含 UI 关键词 `landing|page|dashboard|frontend|UI|component|界面`)时保留 `frontend-verify` stage + `post-frontend-verify` decision;纯后端 phase 删除该 stage
|
|
420
|
+
4. **决策节点**:每个 Decision after 非空的 stage 之后插入 `{ decision: "<gate>", retry_count: 0, max_retries: 2, command_scope: null, command_path: null }`
|
|
421
|
+
5. **goal-audit 插入**:`task_decomposition` 存在时,在最后一个 evidence-producing stage(execute/review/test)之后、`milestone-complete` 之前插入 `decision:post-goal-audit`
|
|
422
|
+
5.5. **re-grounding 插入**:WHEN `task_decomposition` 存在 AND 执行 step(不含 decision)≥3
|
|
423
|
+
- 从第 3 个执行 step 起每隔 3 个插入 `{ decision: "post-reground", retry_count: 0, max_retries: 0, command_scope: null, command_path: null }`
|
|
424
|
+
- 不在最后一个执行 step 后插入(由 goal-audit 覆盖)
|
|
425
|
+
- 不与已有 quality-gate decision 节点相邻(顺延到下一个 3-step 边界)
|
|
426
|
+
- fix-loop 动态插入的 step **纳入**计数(从插入点起重新计算 3-step 间隔)
|
|
427
|
+
6. **终点硬约束**:`session.milestone` 存在时 chain 以 `milestone-complete` 结尾;`session.milestone=null`(standalone)时跳过 `milestone-audit` + `milestone-complete` stage,chain 以最后一个质量门 stage 结尾
|
|
428
|
+
7. **goal_ref 传播**:`task_decomposition` 存在时,每个 step 按 `step.stage ∈ g.lifecycle` 匹配 `step.goal_ref = g.id`(多匹配取字典序最小);decision 节点不打 goal_ref
|
|
429
|
+
8. **占位符**:independent 保留 `{phase}` `{intent}`;unified 不带 `{phase}`
|
|
430
|
+
9. **command_path 解析**(每个执行 step,decision 节点跳过):
|
|
431
|
+
- 取 skill 名(args 前的第一个 token)
|
|
432
|
+
- **预校验通过 `shell("maestro ralph skills --platform agent --json --quiet")`** 一次性拉取 claude 平台可用 commands + skills(global + project,project 覆盖 global),匹配 skill 名得到:
|
|
433
|
+
- 命中 commands → `command_scope = "global" | "project"`,`command_path = <绝对路径>`
|
|
434
|
+
- 命中 skills → 同上(type=skill)
|
|
435
|
+
- 未命中 → `command_scope = "missing"`, `command_path = null`,A_CREATE_SESSION 报错 E006
|
|
436
|
+
- **不在 build 阶段读取 .md 内容**;`<required_reading>` / `<deferred_reading>` 解析与加载由 `maestro ralph next` CLI 在执行期完成
|
|
437
|
+
10. **每个 step 初始化** `completion_confirmed: false`, `completion_status: null`, `completion_evidence: null`, `completion_summary: null`, `completion_decisions: null`, `completion_caveats: null`, `completion_deferred: null`, `deferred_reads: []`, `load: null`(由 `ralph next` 写入)
|
|
438
|
+
11. **scope_verdict gating**(仅当 chain 起点 = `analyze-macro`):
|
|
439
|
+
- `scope_verdict == large` **且** `wants_roadmap` → 保留 `roadmap` + `analyze`;`plan` 选 phase 列(`{phase}`)
|
|
440
|
+
- 其余(`medium` / `small`,或 `large` 但非 `wants_roadmap`)→ 跳过 `roadmap` + `analyze` 两 stage;`plan` 选 standalone 列(`--from analyze:{analyze_macro_id}`),不带 `{phase}`
|
|
441
|
+
- `scope_verdict == unknown` → 默认 standalone(非 roadmap)路径;由 `post-analyze-scope` 决策节点在 macro analyze 完成后纠正(A_APPLY_SCOPE_VERDICT)
|
|
442
|
+
12. **--from 自动注入**:
|
|
443
|
+
- `analyze_macro_id` 存在且当前 step 是 `roadmap` → args 改为 `--from analyze:{analyze_macro_id}`
|
|
444
|
+
- `analyze_macro_id` 存在且当前 `plan` step 处于 standalone 列(即非 wants_roadmap 路径:`medium`/`small`,或 `large` 但非 `wants_roadmap`)→ args 改为 `--from analyze:{analyze_macro_id}`
|
|
445
|
+
- `blueprint_id` 存在 → 当前 step 是 `plan` → args 改为 `--from blueprint:{blueprint_id}`(优先级低于 phase 数字参数)
|
|
446
|
+
- **phase-level deferred chaining**(独立模式,step 含 `{phase}` 占位符):build 阶段前序 artifact 尚未产出,由 A_RESOLVE_ARGS(ralph-execute)运行时从 state.json 查找同 phase+milestone 最新 completed artifact 注入:
|
|
447
|
+
- `plan` step → `--from analyze:{phase_analyze_id}`,写 `source_artifact_ref`
|
|
448
|
+
- `execute` step → `--dir {plan_path}`(现有逻辑),写 `source_artifact_ref = "plan:{id}"`
|
|
449
|
+
- 写入 `step.source_artifact_ref` 以便审计
|
|
450
|
+
13. **D-007 Milestone-ref 标注**:每个含 `{phase}` 占位符的 step → `step.milestone_id = session.milestone`(由 A_RESOLVE_PHASE 反查得出),禁止读 `current_milestone`
|
|
451
|
+
14. **动态插入步骤**(A_APPLY_*)同样应用规则 7-13
|
|
452
|
+
|
|
453
|
+
### A_CREATE_SESSION
|
|
454
|
+
|
|
455
|
+
1. Validate: 所有 step 的 `command_scope != "missing"`;否则 raise E006 + 列出缺失 skill
|
|
456
|
+
2. Write `.workflow/.maestro/ralph-{YYYYMMDD-HHmmss}/status.json` (Appendix: Session Schema)
|
|
457
|
+
3. Display chain overview:每步显示 `{index}. {skill} [{type}] [{command_scope}]`
|
|
458
|
+
4. **Goal Prompt 显示(强制)**:`task_decomposition` 存在时,chain overview 之后**必须逐字显示** Goal Prompt block(Appendix),不得省略或摘要。显示后继续 handoff,不阻塞
|
|
459
|
+
|
|
460
|
+
### A_DELEGATE_EVALUATE
|
|
461
|
+
|
|
462
|
+
1. Resolve artifact dir: `.workflow/scratch/{artifact.path}/` with fallback glob
|
|
463
|
+
2. Parse decision metadata: `{ decision, retry_count, max_retries }`
|
|
464
|
+
3. Map result files:
|
|
465
|
+
| Decision | Files |
|
|
466
|
+
|----------|-------|
|
|
467
|
+
| post-execute | verification.json |
|
|
468
|
+
| post-business-test | .tests/auto-test/report.json |
|
|
469
|
+
| post-review | review.json |
|
|
470
|
+
| post-test | uat.md, .tests/test-results.json |
|
|
471
|
+
| post-frontend-verify | e2e-results.json |
|
|
472
|
+
4. Check artifact for confidence section → include as signal
|
|
473
|
+
5. Execute delegate (run_in_background, STOP, wait for callback):
|
|
474
|
+
```
|
|
475
|
+
maestro delegate "PURPOSE: 评估 {decision} 质量门结果
|
|
476
|
+
TASK: 读取结果 | 分析状态 | 评估严重性 | 给出建议
|
|
477
|
+
EXPECTED: ---VERDICT--- STATUS/REASON/GAP_SUMMARY/CONFIDENCE(high|medium|low)/CONFIDENCE_SCORE(0-100)/WEAKEST_DIMENSION ---END---
|
|
478
|
+
CONSTRAINTS: 只评估 | 置信度<60% 倾向 fix | retry {n}/{max} 达上限必须 escalate"
|
|
479
|
+
--role analyze --mode analysis
|
|
480
|
+
```
|
|
481
|
+
6. On callback: parse verdict; if parse fails → fallback STATUS="fix", BUT MUST set `parse_failed: true` and `confidence_score: 0` in decision log (invariant 13). Subsequent steps inherit LOW CONFIDENCE flag.
|
|
482
|
+
7. Confidence adjustment: <60 + proceed → fix; >95 + fix + retry>0 → suggest proceed
|
|
483
|
+
8. **Decision log**: Append to `{session_dir}/decisions.ndjson`:
|
|
484
|
+
```json
|
|
485
|
+
{ "id": "DEC-{timestamp}", "timestamp": "{ISO}", "source": "ralph",
|
|
486
|
+
"node_id": "{step.decision}", "type": "quality-gate",
|
|
487
|
+
"verdict": "{adjusted_verdict}", "confidence_score": {N},
|
|
488
|
+
"parse_failed": false,
|
|
489
|
+
"close_call": {N>=50 && N<=70}, "summary": "{REASON}" }
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### A_STRUCTURAL_EVALUATE
|
|
493
|
+
|
|
494
|
+
**post-milestone:**
|
|
495
|
+
1. Read state.json → resolve completed milestone object
|
|
496
|
+
2. Determine milestone type: `milestone_obj.type` (default `"standard"` if missing)
|
|
497
|
+
3. **Standard milestone** (`type != "adhoc"`): next milestone exists? → insert lifecycle steps / complete
|
|
498
|
+
4. **Adhoc milestone** (`type == "adhoc"`): always END — adhoc milestones are self-contained, no successor to advance to. Set `current_milestone = null`.
|
|
499
|
+
|
|
500
|
+
**post-debug-escalate:** Always STOP → set paused, display "请人工介入"
|
|
501
|
+
|
|
502
|
+
### A_SCOPE_EVALUATE
|
|
503
|
+
|
|
504
|
+
仅由 `post-analyze-scope` 决策节点触发;macro analyze 完成后读 `conclusions.json.scope_verdict` 决定下游链路。
|
|
505
|
+
|
|
506
|
+
1. 定位刚完成的 macro analyze artifact → `analyze_macro_id`, `conclusions_path = {artifact_path}/conclusions.json`
|
|
507
|
+
2. 读取 `conclusions.scope_verdict`(`large | medium | small`),缺失 → `unknown`
|
|
508
|
+
3. 写入 `session.scope_verdict` + `session.analyze_macro_id`
|
|
509
|
+
4. Append `{session_dir}/decisions.ndjson`:
|
|
510
|
+
```json
|
|
511
|
+
{ "id": "DEC-{timestamp}", "type": "scope-gate",
|
|
512
|
+
"source": "ralph", "node_id": "post-analyze-scope",
|
|
513
|
+
"verdict": "{scope_verdict}", "analyze_macro_id": "{ANL_ID}" }
|
|
514
|
+
```
|
|
515
|
+
5. → A_APPLY_SCOPE_VERDICT
|
|
516
|
+
|
|
517
|
+
### A_GOAL_AUDIT_EVALUATE
|
|
518
|
+
|
|
519
|
+
Runs only when `task_decomposition` present.
|
|
520
|
+
|
|
521
|
+
1. Read `session.task_decomposition` from status.json
|
|
522
|
+
2. For each sub-goal `status != "done"`: resolve `evidence` artifact under current phase scratch dir
|
|
523
|
+
3. Delegate read-only audit (run_in_background, STOP, wait):
|
|
524
|
+
```
|
|
525
|
+
maestro delegate "PURPOSE: 审计未完成子目标,判定 met / unmet
|
|
526
|
+
TASK:
|
|
527
|
+
1. 读取 status.json.task_decomposition 中 status!=done 的子目标
|
|
528
|
+
2. 打开 evidence 产物,对照 done_when 严格判定
|
|
529
|
+
3. 输出 met / unmet,unmet 给出 gap + target_phase
|
|
530
|
+
4. 对照 intent + definition_of_done 判定累积产出是否仍服务原始意图(意图保真检查)
|
|
531
|
+
CONTEXT:
|
|
532
|
+
status.json = {session_dir}/status.json
|
|
533
|
+
intent = {session.intent}
|
|
534
|
+
definition_of_done = {boundary_contract.definition_of_done}
|
|
535
|
+
evidence = {evidence artifacts}
|
|
536
|
+
execution_criteria = {execution_criteria}
|
|
537
|
+
boundary_contract = {boundary_contract}
|
|
538
|
+
EXPECTED:
|
|
539
|
+
---VERDICT---
|
|
540
|
+
STATUS=all_met|has_unmet
|
|
541
|
+
INTENT_ALIGNED=true|false
|
|
542
|
+
UNMET=[{id:G2,gap:'...',target_phase:execute}, ...]
|
|
543
|
+
CONFIDENCE_SCORE=0-100
|
|
544
|
+
---END---
|
|
545
|
+
CONSTRAINTS:
|
|
546
|
+
- 只评估,不修改文件
|
|
547
|
+
- 严格按 done_when 判定;evidence 缺失 → unmet
|
|
548
|
+
- 不得建议超出 boundary_contract 的修改
|
|
549
|
+
"
|
|
550
|
+
--role analyze --mode analysis
|
|
551
|
+
```
|
|
552
|
+
4. On callback: 对每个 met 子目标,set `task_decomposition[i].status="done"` + `completion_confirmed=true` + `completed_at=now`
|
|
553
|
+
5. Append `{session_dir}/decisions.ndjson` with `"type": "goal-gate"`, `unmet_count`, `unmet_ids`
|
|
554
|
+
6. Verdict routing:
|
|
555
|
+
- `all_met` + `INTENT_ALIGNED=true` → A_APPLY_GOAL_DONE
|
|
556
|
+
- `all_met` + `INTENT_ALIGNED=false` → A_REGROUND_HALT(尾部漂移熔断,auto_confirm 不跳过)
|
|
557
|
+
- `has_unmet` → A_APPLY_GOAL_FIX
|
|
558
|
+
GUARD: retry_count >= max_retries AND still unmet → A_APPLY_ESCALATE
|
|
559
|
+
|
|
560
|
+
### A_REGROUND_EVALUATE
|
|
561
|
+
|
|
562
|
+
GUARD: `task_decomposition` 存在(周期触发,见 build rule 5.5)
|
|
563
|
+
|
|
564
|
+
1. Read status.json:
|
|
565
|
+
- `session.intent`, `session.boundary_contract`
|
|
566
|
+
- `steps[]` WHERE `status=="completed"` → 取 `completion_evidence`, `completion_summary`, `completion_decisions`, `completion_caveats`
|
|
567
|
+
- `task_decomposition[]` WHERE `status=="done"` → 取 `goal`, `done_when`
|
|
568
|
+
2. Delegate read-only audit (run_in_background, STOP, wait):
|
|
569
|
+
```
|
|
570
|
+
maestro delegate "PURPOSE: 意图保真检查 — 对照 intent 验证累积执行是否漂移
|
|
571
|
+
TASK:
|
|
572
|
+
1. 读取 intent + boundary_contract.definition_of_done
|
|
573
|
+
2. 读取已完成 steps 的 completion_evidence + 已 done 子目标 done_when
|
|
574
|
+
3. 判定累积产出是否仍服务 intent;是否有 step 产出超出 in_scope 或触碰 out_of_scope
|
|
575
|
+
4. 输出 aligned / drifted,drifted 给出 drift_description + corrective_action
|
|
576
|
+
CONTEXT:
|
|
577
|
+
intent = {session.intent}
|
|
578
|
+
definition_of_done = {boundary_contract.definition_of_done}
|
|
579
|
+
in_scope = {boundary_contract.in_scope}
|
|
580
|
+
out_of_scope = {boundary_contract.out_of_scope}
|
|
581
|
+
completed_steps = [{index, skill, stage, completion_evidence, completion_summary, completion_decisions, completion_caveats}, ...]
|
|
582
|
+
done_goals = [{id, goal, done_when}, ...]
|
|
583
|
+
accumulated_deferred = [{from_step, item}, ...]
|
|
584
|
+
goal_changelog = {session.goal_changelog ?? []}
|
|
585
|
+
EXPECTED:
|
|
586
|
+
---VERDICT---
|
|
587
|
+
STATUS=aligned|drifted
|
|
588
|
+
DRIFT_DESCRIPTION=<空或具体描述>
|
|
589
|
+
CORRECTIVE_ACTION=<空或建议>
|
|
590
|
+
CONFIDENCE_SCORE=0-100
|
|
591
|
+
---END---
|
|
592
|
+
CONSTRAINTS:
|
|
593
|
+
- 只评估,不修改文件
|
|
594
|
+
- aligned 阈值:≥80% 已完成产出直接服务 intent
|
|
595
|
+
- 单个 step 触碰 out_of_scope → 直接判 drifted
|
|
596
|
+
- goal_changelog 存在 → 以最新 after.goals 为基准"
|
|
597
|
+
--role analyze --mode analysis
|
|
598
|
+
```
|
|
599
|
+
3. On callback: parse verdict
|
|
600
|
+
4. Append `{session_dir}/decisions.ndjson`:`{ "id": "DEC-{ts}", "type": "reground-gate", "source": "ralph", "node_id": "post-reground", "verdict": "{aligned|drifted}", "confidence_score": {N}, "drift_description": "...", "corrective_action": "..." }`
|
|
601
|
+
5. Verdict routing:`aligned` → A_APPLY_PROCEED;`drifted` + `confidence_score >= 60` → A_REGROUND_HALT;`drifted` + `confidence_score < 60` → A_APPLY_PROCEED(标 LOW CONFIDENCE)
|
|
602
|
+
|
|
603
|
+
### A_REGROUND_HALT
|
|
604
|
+
|
|
605
|
+
漂移熔断(安全门,auto_confirm 不跳过)。
|
|
606
|
+
|
|
607
|
+
1. Set `session.status = "paused"`,write status.json
|
|
608
|
+
2. Display:
|
|
609
|
+
```
|
|
610
|
+
⚠️ Re-grounding 检测失败 — 执行已偏离 intent。
|
|
611
|
+
Intent: {session.intent}
|
|
612
|
+
Drift: {drift_description}
|
|
613
|
+
建议回归: {corrective_action}
|
|
614
|
+
选项:1) /maestro-ralph continue 忽略漂移继续 2) 手动修正后 continue 3) /maestro-ralph status 查看后决定
|
|
615
|
+
```
|
|
616
|
+
3. GUARD: auto_confirm 对本动作无效——漂移熔断不可自动跳过
|
|
617
|
+
|
|
618
|
+
### A_APPLY_PROCEED
|
|
619
|
+
|
|
620
|
+
1. Mark decision completed, write status.json
|
|
621
|
+
2. Display: ◆ Decision: {type} → proceed ({reason})
|
|
622
|
+
|
|
623
|
+
### A_APPLY_FIX
|
|
624
|
+
|
|
625
|
+
1. Insert fix-loop commands after current step (see Appendix: Fix-Loop Templates)
|
|
626
|
+
2. Reindex steps, increment retry_count, write status.json
|
|
627
|
+
3. Display: ◆ Decision: {type} → fix, +{N} commands inserted
|
|
628
|
+
|
|
629
|
+
### A_APPLY_ESCALATE
|
|
630
|
+
|
|
631
|
+
1. Insert `[quality-debug "{gap_summary}", decision:post-debug-escalate]`
|
|
632
|
+
2. Increment retry_count, reindex, write status.json
|
|
633
|
+
|
|
634
|
+
### A_APPLY_SCOPE_VERDICT
|
|
635
|
+
|
|
636
|
+
由 `post-analyze-scope` 触发,依据 `session.scope_verdict` 重塑下游链路。
|
|
637
|
+
|
|
638
|
+
1. 读 `session.scope_verdict` + `session.wants_roadmap`
|
|
639
|
+
2. 路径 A(`large` 且 `wants_roadmap`):保持当前链(roadmap+analyze);为后续 `roadmap` step 注入 `--from analyze:{analyze_macro_id}`;为后续 `plan` step 选 phase 列;继续推进
|
|
640
|
+
3. 路径 B(`medium` / `small`,或 `large` 但非 `wants_roadmap`):
|
|
641
|
+
- 删除 `goal-audit` 之前所有未完成的 `roadmap` + `analyze` (phase) step
|
|
642
|
+
- 把下一个未完成的 `plan` step 改为 `maestro-plan --from analyze:{analyze_macro_id}`,去掉 `{phase}`,`source_artifact_ref = analyze:{analyze_macro_id}`
|
|
643
|
+
- 后续 `execute` 等沿用同一 standalone scope(不带 `{phase}`,由 plan 写出的 task 列表驱动)
|
|
644
|
+
4. 路径 C(`unknown`):
|
|
645
|
+
- 非 auto_confirm → ask_user 二选一(roadmap 多发布 / 单一计划);auto_confirm → 默认路径 B(单一计划,不引入 roadmap)
|
|
646
|
+
5. Reindex steps,标 decision completed,write status.json
|
|
647
|
+
6. Display: ◆ Scope verdict: {verdict} → {kept|collapsed to standalone via analyze:{ANL_ID}}
|
|
648
|
+
|
|
649
|
+
### A_APPLY_GOAL_FIX
|
|
650
|
+
|
|
651
|
+
1. 对每个 unmet 子目标 `G{n}`(按 `target_phase` 分组去重):在 `goal-audit` 节点前插入 scoped mini-loop(见 Appendix: Fix-Loop Templates → post-goal-audit),每条插入 step `goal_ref: "G{n}"`,按 A_BUILD_STEPS 规则 9 解析 `command_path`
|
|
652
|
+
2. 重新追加 `decision:post-goal-audit {retry+1}`
|
|
653
|
+
3. Reindex steps, increment retry_count, write status.json
|
|
654
|
+
4. Display: ◆ Goal audit: {k} unmet → +{N} steps inserted (G{ids}), retry {r}/{max}
|
|
655
|
+
|
|
656
|
+
### A_APPLY_GOAL_DONE
|
|
657
|
+
|
|
658
|
+
1. status.json: set 每个 `task_decomposition[*].status="done"`, `completion_confirmed=true`, `completed_at=now`,顶层 `task_decomposition_all_done=true`
|
|
659
|
+
2. Mark goal-audit decision completed;proceed to `milestone-complete`
|
|
660
|
+
3. Display: ◆ Goal audit: all met ✓
|
|
661
|
+
|
|
662
|
+
### A_ADVANCE_MILESTONE
|
|
663
|
+
|
|
664
|
+
1. Update session: milestone, phase, reset passed_gates
|
|
665
|
+
2. Insert full lifecycle steps for next milestone
|
|
666
|
+
3. Reindex, write status.json
|
|
667
|
+
|
|
668
|
+
### A_PAUSE_ESCALATE
|
|
669
|
+
|
|
670
|
+
1. Set session status = "paused", write status.json
|
|
671
|
+
2. Display: ◆ 已达最大重试次数,debug 已执行。请人工介入。
|
|
672
|
+
3. Display: /maestro-ralph continue 恢复
|
|
673
|
+
|
|
674
|
+
### A_AMEND_GOAL
|
|
675
|
+
|
|
676
|
+
运行中 session 的目标热修改。详细流程由 `<deferred_reading>` 加载 `ralph-amend-goal.md`。
|
|
677
|
+
|
|
678
|
+
| Phase | 行为 | 产出 |
|
|
679
|
+
|-------|------|------|
|
|
680
|
+
| 1. 快照 | 读 `task_decomposition` + `boundary_contract` + 已完成 steps 的 `completion_summary` | Display: 目标列表 + 进度 |
|
|
681
|
+
| 2. 解析 | `change_request` 非空 → 直接用;为空 → ask_user(修改/新增/移除/调整边界) | `change_type` + `change_request` |
|
|
682
|
+
| 3. Mini Grill | `maestro delegate --role analyze --mode analysis`:评估影响 | RISK_LEVEL + AFFECTED_GOALS + INVALIDATED_STEPS + NEW_GAPS |
|
|
683
|
+
| 4. 确认 | ask_user:应用并继续 / 仅改目标 / 取消 | 用户选择 |
|
|
684
|
+
| 5. 应用 | 归档旧目标(`superseded`)→ 写入新目标(`origin: CHG-xxx`)→ 重建链路 → write status.json | handoff ralph-execute |
|
|
685
|
+
|
|
686
|
+
GUARD: `RISK_LEVEL == high` → ask_user 不跳过(auto_confirm 无效)
|
|
687
|
+
GUARD: 已完成(`status: "done"`)的目标不可 supersede(skip + warn)
|
|
688
|
+
|
|
689
|
+
</actions>
|
|
690
|
+
|
|
691
|
+
</state_machine>
|
|
692
|
+
|
|
693
|
+
<appendix>
|
|
694
|
+
|
|
695
|
+
### Session Schema
|
|
696
|
+
|
|
697
|
+
```json
|
|
698
|
+
{
|
|
699
|
+
"session_id": "ralph-{YYYYMMDD-HHmmss}",
|
|
700
|
+
"source": "ralph", "status": "running",
|
|
701
|
+
"ralph_protocol_version": "2", // CLI-driven; absent/0 → legacy; "1" → basic CLI; "2" → structured completion + enhanced anchor
|
|
702
|
+
"active_step_index": null, // CLI-managed; only one step held at a time
|
|
703
|
+
"intent": "", "lifecycle_position": "",
|
|
704
|
+
"phase": null, "phase_is_new": false,
|
|
705
|
+
"milestone": "", // D-007 反查结果,禁止读 current_milestone
|
|
706
|
+
"auto_mode": false,
|
|
707
|
+
"decomposition_owner": "ralph", // 分解契约所有者(invariant 15);缺省按 source 推断
|
|
708
|
+
|
|
709
|
+
"quality_mode": "standard", // "full" | "standard" | "quick"
|
|
710
|
+
"planning_mode": "independent", // "unified" | "independent"
|
|
711
|
+
"scope_verdict": null, // "large" | "medium" | "small" | "unknown" | null
|
|
712
|
+
"wants_roadmap": false, // roadmap opt-in:--roadmap | 多发布 intent | roadmap.md 已存在
|
|
713
|
+
"analyze_macro_id": null, // "ANL-xxx" 来自最新 macro analyze
|
|
714
|
+
"blueprint_id": null, // "BLP-xxx" 若存在
|
|
715
|
+
"cli_tool": "claude", "passed_gates": [],
|
|
716
|
+
"context": { "issue_id": null, "scratch_dir": null, "plan_dir": null,
|
|
717
|
+
"analysis_dir": null, "brainstorm_dir": null, "blueprint_dir": null },
|
|
718
|
+
"steps": [{
|
|
719
|
+
"index": 0,
|
|
720
|
+
"skill": "", // 执行 step 有值;decision 节点为空字符串/null
|
|
721
|
+
"args": "",
|
|
722
|
+
"stage": "", // brainstorm|blueprint|init|analyze-macro|roadmap|analyze|plan|execute|...
|
|
723
|
+
"scope": null, // "phase"|"standalone"|"milestone"|null(plan 等需要)
|
|
724
|
+
"decision": null, // 非 null → decision 节点(值为 gate 名,如 "post-execute");null → 执行 step
|
|
725
|
+
"retry_count": 0, // decision 节点专用
|
|
726
|
+
"max_retries": 2, // decision 节点专用
|
|
727
|
+
"command_scope": "global|project|missing|null", // 执行 step;decision 节点固定 null
|
|
728
|
+
"command_path": "<absolute path resolved by `maestro ralph skills --platform agent --json --quiet`> | null",
|
|
729
|
+
"milestone_id": null, // D-007 反查注入;仅含 {phase} 占位符的 step 有
|
|
730
|
+
"source_artifact_ref": null, // "analyze:ANL-xxx" | "blueprint:BLP-xxx" | null
|
|
731
|
+
"status": "pending|running|completed|skipped|failed",
|
|
732
|
+
"goal_ref": null,
|
|
733
|
+
"completion_confirmed": false,
|
|
734
|
+
"completion_status": null,
|
|
735
|
+
"completion_evidence": null,
|
|
736
|
+
"completion_summary": null, // 一句话总结:做了什么(MUST on DONE)
|
|
737
|
+
"completion_decisions": null, // 本 step 做出的关键决策列表
|
|
738
|
+
"completion_caveats": null, // 后续 step 需注意的事项
|
|
739
|
+
"completion_deferred": null, // 被推迟到后续的工作列表
|
|
740
|
+
"completed_at": null,
|
|
741
|
+
"deferred_reads": [], // 由 ralph next CLI 解析 .md 时填充
|
|
742
|
+
"load": null // { loaded_at, required_files[], deferred_files[], resolve_version } —— 由 ralph next 写入
|
|
743
|
+
}],
|
|
744
|
+
"waves": [], "current_step": 0,
|
|
745
|
+
|
|
746
|
+
// Optional decomposition block (additive; absent → decomposition off)
|
|
747
|
+
"boundary_contract": {
|
|
748
|
+
"in_scope": [], "out_of_scope": [], "constraints": [], "definition_of_done": ""
|
|
749
|
+
},
|
|
750
|
+
"execution_criteria": [],
|
|
751
|
+
"task_decomposition": [
|
|
752
|
+
{ "id": "G1", "goal": "", "boundary": "", "done_when": "",
|
|
753
|
+
"evidence": "", "lifecycle": [], "status": "pending|done|superseded",
|
|
754
|
+
"completion_confirmed": false, "completed_at": null,
|
|
755
|
+
"superseded_by": null, "superseded_at": null, "origin": null }
|
|
756
|
+
],
|
|
757
|
+
"task_decomposition_all_done": false,
|
|
758
|
+
|
|
759
|
+
// goal_changelog: additive; absent → no amendments
|
|
760
|
+
"goal_changelog": [
|
|
761
|
+
{ "id": "CHG-001", "timestamp": "{ISO}",
|
|
762
|
+
"change_type": "modify|add|remove|boundary",
|
|
763
|
+
"reason": "变更描述",
|
|
764
|
+
"impact_assessment": { "risk_level": "low|medium|high",
|
|
765
|
+
"invalidated_steps": [], "new_steps_inserted": 0 },
|
|
766
|
+
"before": { "goals": [{"id":"G1","goal":"...","done_when":"..."}] },
|
|
767
|
+
"after": { "goals": [{"id":"G1v2","goal":"...","done_when":"..."}] } }
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
新增字段可选,缺省=旧行为;既有字段名不删不改。
|
|
773
|
+
|
|
774
|
+
### Fix-Loop Templates
|
|
775
|
+
|
|
776
|
+
所有插入的执行 step 按 A_BUILD_STEPS 规则 9 解析 `command_path` + `command_scope`;`decision:*` 条目为 decision 节点(`step.decision` 字段)。
|
|
777
|
+
|
|
778
|
+
**post-execute:**
|
|
779
|
+
```
|
|
780
|
+
quality-debug "{gap_summary}"
|
|
781
|
+
maestro-plan --gaps {phase}
|
|
782
|
+
maestro-execute {phase}
|
|
783
|
+
decision:post-execute {retry+1}
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
**post-business-test:**
|
|
787
|
+
```
|
|
788
|
+
quality-debug --from-business-test "{gap_summary}"
|
|
789
|
+
maestro-plan --gaps {phase}
|
|
790
|
+
maestro-execute {phase}
|
|
791
|
+
decision:post-execute {retry: 0}
|
|
792
|
+
quality-auto-test {phase}
|
|
793
|
+
decision:post-business-test {retry+1}
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
**post-review:**
|
|
797
|
+
```
|
|
798
|
+
quality-debug "{gap_summary}"
|
|
799
|
+
maestro-plan --gaps {phase}
|
|
800
|
+
maestro-execute {phase}
|
|
801
|
+
quality-review {phase}
|
|
802
|
+
decision:post-review {retry+1}
|
|
803
|
+
```
|
|
804
|
+
|
|
805
|
+
**post-test:**
|
|
806
|
+
```
|
|
807
|
+
quality-debug --from-uat "{gap_summary}"
|
|
808
|
+
maestro-plan --gaps {phase}
|
|
809
|
+
maestro-execute {phase}
|
|
810
|
+
decision:post-execute {retry: 0}
|
|
811
|
+
quality-auto-test {phase}
|
|
812
|
+
decision:post-business-test {retry: 0}
|
|
813
|
+
quality-review {phase}
|
|
814
|
+
decision:post-review {retry: 0}
|
|
815
|
+
quality-auto-test {phase}
|
|
816
|
+
quality-test {phase}
|
|
817
|
+
decision:post-test {retry+1}
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
**post-frontend-verify:** (UI 写端点未接线/不可用时)
|
|
821
|
+
```
|
|
822
|
+
quality-debug --from-frontend-verify "{gap_summary}"
|
|
823
|
+
maestro-plan --gaps {phase}
|
|
824
|
+
maestro-execute {phase}
|
|
825
|
+
quality-test {phase} --frontend-verify
|
|
826
|
+
decision:post-frontend-verify {retry+1}
|
|
827
|
+
```
|
|
828
|
+
|
|
829
|
+
**post-goal-audit:** (per unmet sub-goal group)
|
|
830
|
+
```
|
|
831
|
+
# for each unmet sub-goal G{n}, scoped to target_phase:
|
|
832
|
+
maestro-plan --gaps {target_phase} "G{n}: {gap}" [goal_ref: G{n}]
|
|
833
|
+
maestro-execute {target_phase} [goal_ref: G{n}]
|
|
834
|
+
# after all unmet groups inserted:
|
|
835
|
+
decision:post-goal-audit {retry+1}
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
### Goal Prompt Template
|
|
839
|
+
|
|
840
|
+
链路概览后逐字显示(仅当 decomposition 已产出):
|
|
841
|
+
|
|
842
|
+
```
|
|
843
|
+
📋 任务分解完成。可随时复制以下 /goal 设定终止条件(执行过程中输入即可):
|
|
844
|
+
|
|
845
|
+
/goal 完成以下子目标:
|
|
846
|
+
{for each G in task_decomposition:}
|
|
847
|
+
- {G.id}: {G.goal} — 完成条件: {G.done_when}
|
|
848
|
+
{end for}
|
|
849
|
+
直到 {session_dir}/status.json 的 task_decomposition[*] 与 steps[*] 全部 completion_confirmed=true 才停。每轮以 status.json 为唯一行动手册,通过 /maestro-ralph-execute 推进 step;decision 节点由其自动 handoff 回 ralph 评估。禁止手动执行 skill 或修改 boundary_contract.out_of_scope。
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
`/goal` 由用户输入;ralph 输出提示词后继续 handoff,不阻塞。
|
|
853
|
+
|
|
854
|
+
### Error Codes
|
|
855
|
+
|
|
856
|
+
| Code | Severity | Description | Recovery |
|
|
857
|
+
|------|----------|-------------|----------|
|
|
858
|
+
| E001 | error | No intent and no running session | Prompt for intent |
|
|
859
|
+
| E002 | error | Cannot infer lifecycle position | Show raw state, ask |
|
|
860
|
+
| E003 | error | Artifact dir not found for decision | Show glob, ask |
|
|
861
|
+
| E004 | error | Delegate verdict parse failed | Fallback: "fix" |
|
|
862
|
+
| E005 | error | Delegate execution failed | Fallback: "fix" |
|
|
863
|
+
| E006 | error | command_scope == "missing" for one or more steps | List missing skills, abort build |
|
|
864
|
+
| W001 | warning | Decision expanded chain | Auto-handled |
|
|
865
|
+
| W002 | warning | Max retries, escalating | Auto-handled |
|
|
866
|
+
| W003 | warning | Multiple running sessions | Use latest, warn |
|
|
867
|
+
| W004 | warning | Low delegate confidence | Show warning |
|
|
868
|
+
|
|
869
|
+
### Success Criteria
|
|
870
|
+
|
|
871
|
+
- [ ] Phase 先于 position 解析;phase_is_new 标记写入 session
|
|
872
|
+
- [ ] D-007 反查:phase 数字 → `session.milestone`,禁止读 current_milestone;写入 step.milestone_id
|
|
873
|
+
- [ ] phase_is_new=true → lifecycle_position 强制 `analyze`
|
|
874
|
+
- [ ] Intent overrides 识别 grill / brainstorm / blueprint / analyze-macro
|
|
875
|
+
- [ ] auto_confirm=true 时 grill step args 追加 `-y`(grill 以 Auto mode 执行,stage 不跳过,产出 grill-report/terminology/context-package)
|
|
876
|
+
- [ ] A_RESOLVE_SCOPE_VERDICT 读 macro analyze conclusions.scope_verdict,写入 session.scope_verdict + analyze_macro_id
|
|
877
|
+
- [ ] 链路起点 = analyze-macro 时:large+wants_roadmap→roadmap+analyze+plan(phase);其余(含 large 默认/medium/small)→直跳 plan --from analyze:{ANL_ID}(跳过 roadmap+analyze)
|
|
878
|
+
- [ ] post-analyze-scope decision 节点在 macro analyze 之后插入;A_SCOPE_EVALUATE/A_APPLY_SCOPE_VERDICT 重塑链路
|
|
879
|
+
- [ ] plan step args 支持三路径:`{phase}` / `--from analyze:{ANL_ID}` / `--from blueprint:{BLP_ID}`,写入 step.source_artifact_ref
|
|
880
|
+
- [ ] roadmap step args 自动注入 `--from analyze:{analyze_macro_id}`(若存在)
|
|
881
|
+
- [ ] artifact 过滤按 session.phase;unified 按 milestone
|
|
882
|
+
- [ ] quality_mode 由 A_DETERMINE_QUALITY_MODE 决定,过滤 build steps
|
|
883
|
+
- [ ] frontend-verify stage 仅在 phase 交付 UI 时插入(test 后、milestone-audit 前);post-frontend-verify 走 quality-gate 评估,evidence=e2e-results.json
|
|
884
|
+
- [ ] Decomposition: broad intent ≤3 question clarify;narrow auto-derive
|
|
885
|
+
- [ ] status.json 唯一真源:boundary_contract + execution_criteria + task_decomposition;无外部清单
|
|
886
|
+
- [ ] 执行 step 含 `command_scope` + `command_path`(通过 `maestro ralph skills --platform agent --json --quiet` 预校验,project 覆盖 global);decision step 通过 `step.decision` 字段标识
|
|
887
|
+
- [ ] Ralph build 阶段只通过 `ralph skills --platform agent` 校验路径存在性,不读 .md 内容;`<required_reading>` 加载由 `maestro ralph next` CLI 完成
|
|
888
|
+
- [ ] 每个 step 含 `completion_confirmed` + `completion_status` + `completion_evidence` + `deferred_reads`(初始 false/null/[])
|
|
889
|
+
- [ ] 每个 sub-goal 含 `completion_confirmed`(初始 false)
|
|
890
|
+
- [ ] post-goal-audit decision 仅在 decomposed 时插入,位于 milestone-complete 之前
|
|
891
|
+
- [ ] Unmet sub-goals 动态 grow steps[](goal_ref tagged);max retries → escalate
|
|
892
|
+
- [ ] planning_mode 显式决定;unified=无 `{phase}`, independent=带 `{phase}`
|
|
893
|
+
- [ ] specs 预检:lifecycle_position 在 init 之后 + `.workflow/specs/` 不存在 → 链路最前面插入 `spec-setup`
|
|
894
|
+
- [ ] Chain 必须以 `milestone-complete` 结尾
|
|
895
|
+
- [ ] Decision nodes 由 maestro delegate --role analyze 评估
|
|
896
|
+
- [ ] Ralph 不执行 step,只 evaluate;invoke_skill("maestro-ralph-execute") handoff
|
|
897
|
+
- [ ] Phase-level deferred chaining:plan/execute step 的 `--from`/`--dir` 注入由 A_RESOLVE_ARGS(ralph-execute)运行时完成;build 阶段标记意图,不预知 artifact ID
|
|
898
|
+
- [ ] Phase-level plan step 运行时获得 `--from analyze:{phase_analyze_id}`(由 ralph-execute 从 state.json 查找注入)
|
|
899
|
+
- [ ] Phase-level execute step 运行时获得 `source_artifact_ref = "plan:{id}"`
|
|
900
|
+
- [ ] 每个 step 含 `completion_summary` + `completion_decisions` + `completion_caveats` + `completion_deferred`(初始 null)
|
|
901
|
+
- [ ] `completion_summary` 在 DONE/DONE_WITH_CONCERNS 时为 MUST(由 CLI `--summary` 参数传入)
|
|
902
|
+
- [ ] session_anchor 包含最近 5 个已完成 step 的 `completion_summary` + `completion_caveats`(滑动窗口)
|
|
903
|
+
- [ ] session_anchor 包含 task_decomposition 全局视图(仅 `status != "superseded"` 的目标)
|
|
904
|
+
- [ ] session_anchor boundary_contract 不截断(`capAnchorList` n=8)
|
|
905
|
+
- [ ] session_anchor 包含 Accumulated Signals(聚合所有 caveats + deferred)
|
|
906
|
+
- [ ] re-grounding 完成 steps 信息含 completion_summary/decisions/caveats
|
|
907
|
+
- [ ] fix-loop 动态插入的 step 纳入 re-grounding 3-step 计数
|
|
908
|
+
- [ ] `--amend` 路由到 S_AMEND_GOAL(需 running session)
|
|
909
|
+
- [ ] A_AMEND_GOAL:5 步流程(快照→解析→mini grill→确认→应用)
|
|
910
|
+
- [ ] 旧目标标 `superseded`(`superseded_by` + `superseded_at`),新目标标 `origin: "CHG-xxx"`
|
|
911
|
+
- [ ] `goal_changelog` 记录完整 before/after 快照 + impact_assessment
|
|
912
|
+
- [ ] `RISK_LEVEL=high` 时 amend 不跳过 auto_confirm
|
|
913
|
+
- [ ] session_anchor 中 superseded 目标仅占一行标注,不展开细节
|
|
914
|
+
|
|
915
|
+
</appendix>
|