maestro-flow 0.5.46 → 0.5.48
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/ralph-executor.md +14 -24
- package/.agents/skills/domain-add/SKILL.md +9 -0
- package/.agents/skills/learn-decompose/SKILL.md +12 -0
- package/.agents/skills/learn-follow/SKILL.md +41 -0
- package/.agents/skills/learn-investigate/SKILL.md +14 -0
- package/.agents/skills/learn-second-opinion/SKILL.md +14 -0
- package/.agents/skills/maestro-amend/SKILL.md +11 -0
- package/.agents/skills/maestro-analyze/SKILL.md +13 -13
- package/.agents/skills/maestro-companion/SKILL.md +11 -0
- package/.agents/skills/maestro-composer/SKILL.md +12 -1
- package/.agents/skills/maestro-guard/SKILL.md +25 -0
- package/.agents/skills/maestro-help/SKILL.md +2 -0
- package/.agents/skills/maestro-help/index/catalog.json +7 -7
- package/.agents/skills/maestro-init/SKILL.md +29 -1
- package/.agents/skills/maestro-milestone-audit/SKILL.md +2 -2
- package/.agents/skills/maestro-milestone-release/SKILL.md +1 -1
- package/.agents/skills/maestro-next/SKILL.md +2 -2
- package/.agents/skills/maestro-overlay/SKILL.md +11 -0
- package/.agents/skills/maestro-plan/SKILL.md +31 -9
- package/.agents/skills/maestro-player/SKILL.md +11 -0
- package/.agents/skills/maestro-quick/SKILL.md +29 -0
- package/.agents/skills/maestro-ralph-v2/SKILL.md +26 -50
- package/.agents/skills/maestro-roadmap/SKILL.md +2 -2
- package/.agents/skills/maestro-swarm-workflow/SKILL.md +25 -0
- package/.agents/skills/maestro-tools-execute/SKILL.md +29 -0
- package/.agents/skills/maestro-tools-register/SKILL.md +29 -0
- package/.agents/skills/maestro-ui-codify/SKILL.md +11 -0
- package/.agents/skills/maestro-universal-workflow/SKILL.md +59 -0
- package/.agents/skills/maestro-update/SKILL.md +38 -0
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +29 -0
- package/.agents/skills/manage-drift-realign/SKILL.md +12 -0
- package/.agents/skills/manage-harvest/SKILL.md +30 -6
- package/.agents/skills/manage-issue/SKILL.md +23 -0
- package/.agents/skills/manage-issue-discover/SKILL.md +28 -0
- package/.agents/skills/manage-kg-extractors/SKILL.md +27 -1
- package/.agents/skills/manage-knowhow/SKILL.md +26 -0
- package/.agents/skills/manage-knowhow-capture/SKILL.md +24 -0
- package/.agents/skills/manage-knowledge-audit/SKILL.md +13 -0
- package/.agents/skills/manage-status/SKILL.md +22 -0
- package/.agents/skills/manage-wiki/SKILL.md +28 -0
- package/.agents/skills/odyssey-improve/SKILL.md +50 -0
- package/.agents/skills/odyssey-planex/SKILL.md +46 -0
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +50 -0
- package/.agents/skills/odyssey-ui/SKILL.md +50 -0
- package/.agents/skills/quality-auto-test/SKILL.md +13 -1
- package/.agents/skills/quality-debug/SKILL.md +11 -0
- package/.agents/skills/quality-refactor/SKILL.md +11 -0
- package/.agents/skills/quality-retrospective/SKILL.md +11 -0
- package/.agents/skills/quality-review/SKILL.md +11 -0
- package/.agents/skills/quality-sync/SKILL.md +10 -0
- package/.agents/skills/quality-test/SKILL.md +12 -0
- package/.agents/skills/security-audit/SKILL.md +11 -0
- package/.agents/skills/spec-add/SKILL.md +27 -0
- package/.agents/skills/spec-load/SKILL.md +25 -0
- package/.agents/skills/spec-remove/SKILL.md +26 -0
- package/.agents/skills/spec-setup/SKILL.md +30 -0
- package/.agy/agents/ralph-executor.md +14 -23
- package/.agy/skills/domain-add/SKILL.md +9 -0
- package/.agy/skills/learn-decompose/SKILL.md +12 -0
- package/.agy/skills/learn-follow/SKILL.md +41 -0
- package/.agy/skills/learn-investigate/SKILL.md +14 -0
- package/.agy/skills/learn-second-opinion/SKILL.md +14 -0
- package/.agy/skills/maestro-amend/SKILL.md +11 -0
- package/.agy/skills/maestro-analyze/SKILL.md +13 -13
- package/.agy/skills/maestro-companion/SKILL.md +11 -0
- package/.agy/skills/maestro-composer/SKILL.md +12 -1
- package/.agy/skills/maestro-guard/SKILL.md +25 -0
- package/.agy/skills/maestro-help/SKILL.md +2 -0
- package/.agy/skills/maestro-help/index/catalog.json +7 -7
- package/.agy/skills/maestro-init/SKILL.md +29 -1
- package/.agy/skills/maestro-milestone-audit/SKILL.md +2 -2
- package/.agy/skills/maestro-milestone-release/SKILL.md +1 -1
- package/.agy/skills/maestro-next/SKILL.md +2 -2
- package/.agy/skills/maestro-overlay/SKILL.md +11 -0
- package/.agy/skills/maestro-plan/SKILL.md +31 -9
- package/.agy/skills/maestro-player/SKILL.md +11 -0
- package/.agy/skills/maestro-quick/SKILL.md +29 -0
- package/.agy/skills/maestro-ralph-v2/SKILL.md +26 -50
- package/.agy/skills/maestro-roadmap/SKILL.md +2 -2
- package/.agy/skills/maestro-swarm-workflow/SKILL.md +25 -0
- package/.agy/skills/maestro-tools-execute/SKILL.md +29 -0
- package/.agy/skills/maestro-tools-register/SKILL.md +29 -0
- package/.agy/skills/maestro-ui-codify/SKILL.md +11 -0
- package/.agy/skills/maestro-universal-workflow/SKILL.md +59 -0
- package/.agy/skills/maestro-update/SKILL.md +38 -0
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +29 -0
- package/.agy/skills/manage-drift-realign/SKILL.md +12 -0
- package/.agy/skills/manage-harvest/SKILL.md +30 -6
- package/.agy/skills/manage-issue/SKILL.md +23 -0
- package/.agy/skills/manage-issue-discover/SKILL.md +28 -0
- package/.agy/skills/manage-kg-extractors/SKILL.md +27 -1
- package/.agy/skills/manage-knowhow/SKILL.md +26 -0
- package/.agy/skills/manage-knowhow-capture/SKILL.md +24 -0
- package/.agy/skills/manage-knowledge-audit/SKILL.md +13 -0
- package/.agy/skills/manage-status/SKILL.md +22 -0
- package/.agy/skills/manage-wiki/SKILL.md +28 -0
- package/.agy/skills/odyssey-improve/SKILL.md +50 -0
- package/.agy/skills/odyssey-planex/SKILL.md +46 -0
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +50 -0
- package/.agy/skills/odyssey-ui/SKILL.md +50 -0
- package/.agy/skills/quality-auto-test/SKILL.md +13 -1
- package/.agy/skills/quality-debug/SKILL.md +11 -0
- package/.agy/skills/quality-refactor/SKILL.md +11 -0
- package/.agy/skills/quality-retrospective/SKILL.md +11 -0
- package/.agy/skills/quality-review/SKILL.md +11 -0
- package/.agy/skills/quality-sync/SKILL.md +10 -0
- package/.agy/skills/quality-test/SKILL.md +12 -0
- package/.agy/skills/security-audit/SKILL.md +11 -0
- package/.agy/skills/spec-add/SKILL.md +27 -0
- package/.agy/skills/spec-load/SKILL.md +25 -0
- package/.agy/skills/spec-remove/SKILL.md +26 -0
- package/.agy/skills/spec-setup/SKILL.md +30 -0
- package/.claude/agents/ralph-executor.md +14 -24
- package/.claude/commands/domain-add.md +9 -0
- package/.claude/commands/learn-decompose.md +12 -0
- package/.claude/commands/learn-follow.md +41 -0
- package/.claude/commands/learn-investigate.md +14 -0
- package/.claude/commands/learn-second-opinion.md +14 -0
- package/.claude/commands/maestro-amend.md +11 -0
- package/.claude/commands/maestro-analyze.md +13 -13
- package/.claude/commands/maestro-companion.md +11 -0
- package/.claude/commands/maestro-composer.md +12 -1
- package/.claude/commands/maestro-guard.md +25 -0
- package/.claude/commands/maestro-init.md +29 -1
- package/.claude/commands/maestro-milestone-audit.md +2 -2
- package/.claude/commands/maestro-milestone-release.md +1 -1
- package/.claude/commands/maestro-next.md +2 -2
- package/.claude/commands/maestro-overlay.md +11 -0
- package/.claude/commands/maestro-plan.md +31 -9
- package/.claude/commands/maestro-player.md +11 -0
- package/.claude/commands/maestro-quick.md +29 -0
- package/.claude/commands/maestro-ralph-v2.md +26 -50
- package/.claude/commands/maestro-roadmap.md +2 -2
- package/.claude/commands/maestro-swarm-workflow.md +25 -0
- package/.claude/commands/maestro-tools-execute.md +29 -0
- package/.claude/commands/maestro-tools-register.md +29 -0
- package/.claude/commands/maestro-ui-codify.md +11 -0
- package/.claude/commands/maestro-universal-workflow.md +59 -0
- package/.claude/commands/maestro-update.md +38 -0
- package/.claude/commands/manage-codebase-rebuild.md +29 -0
- package/.claude/commands/manage-drift-realign.md +12 -0
- package/.claude/commands/manage-harvest.md +30 -6
- package/.claude/commands/manage-issue-discover.md +28 -0
- package/.claude/commands/manage-issue.md +23 -0
- package/.claude/commands/manage-kg-extractors.md +27 -1
- package/.claude/commands/manage-knowhow-capture.md +24 -0
- package/.claude/commands/manage-knowhow.md +26 -0
- package/.claude/commands/manage-knowledge-audit.md +13 -0
- package/.claude/commands/manage-status.md +22 -0
- package/.claude/commands/manage-wiki.md +28 -0
- package/.claude/commands/odyssey-improve.md +50 -0
- package/.claude/commands/odyssey-planex.md +46 -0
- package/.claude/commands/odyssey-review-test-fix.md +50 -0
- package/.claude/commands/odyssey-ui.md +50 -0
- package/.claude/commands/quality-auto-test.md +13 -1
- package/.claude/commands/quality-debug.md +11 -0
- package/.claude/commands/quality-refactor.md +11 -0
- package/.claude/commands/quality-retrospective.md +11 -0
- package/.claude/commands/quality-review.md +11 -0
- package/.claude/commands/quality-sync.md +10 -0
- package/.claude/commands/quality-test.md +12 -0
- package/.claude/commands/security-audit.md +11 -0
- package/.claude/commands/spec-add.md +27 -0
- package/.claude/commands/spec-load.md +25 -0
- package/.claude/commands/spec-remove.md +26 -0
- package/.claude/commands/spec-setup.md +30 -0
- package/.claude/skills/maestro-help/SKILL.md +2 -0
- package/.claude/skills/maestro-help/index/catalog.json +7 -7
- package/.codex/skills/codify-to-knowhow/SKILL.md +2 -0
- package/.codex/skills/domain-add/SKILL.md +26 -0
- package/.codex/skills/domain-discover/SKILL.md +46 -0
- package/.codex/skills/domain-list/SKILL.md +29 -0
- package/.codex/skills/learn-decompose/SKILL.md +2 -0
- package/.codex/skills/learn-follow/SKILL.md +34 -0
- package/.codex/skills/learn-investigate/SKILL.md +33 -0
- package/.codex/skills/learn-retro/SKILL.md +33 -0
- package/.codex/skills/learn-second-opinion/SKILL.md +30 -0
- package/.codex/skills/maestro/SKILL.md +6 -5
- package/.codex/skills/maestro-amend/SKILL.md +11 -0
- package/.codex/skills/maestro-analyze/SKILL.md +13 -18
- package/.codex/skills/maestro-companion/SKILL.md +11 -0
- package/.codex/skills/maestro-composer/SKILL.md +11 -0
- package/.codex/skills/maestro-guard/SKILL.md +25 -0
- package/.codex/skills/maestro-help/SKILL.md +2 -0
- package/.codex/skills/maestro-help/catalog.json +7 -7
- package/.codex/skills/maestro-init/SKILL.md +16 -0
- package/.codex/skills/maestro-learn/SKILL.md +2 -0
- package/.codex/skills/maestro-next/SKILL.md +2 -2
- package/.codex/skills/maestro-overlay/SKILL.md +1 -0
- package/.codex/skills/maestro-plan/SKILL.md +13 -16
- package/.codex/skills/maestro-player/SKILL.md +2 -0
- package/.codex/skills/maestro-quick/SKILL.md +17 -0
- package/.codex/skills/maestro-ralph/SKILL.md +11 -11
- package/.codex/skills/maestro-ralph-execute/SKILL.md +8 -8
- package/.codex/skills/maestro-tools-execute/SKILL.md +31 -0
- package/.codex/skills/maestro-tools-register/SKILL.md +29 -0
- package/.codex/skills/maestro-ui-codify/SKILL.md +2 -0
- package/.codex/skills/maestro-update/SKILL.md +38 -0
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +2 -0
- package/.codex/skills/manage-codebase-refresh/SKILL.md +11 -0
- package/.codex/skills/manage-drift-realign/SKILL.md +2 -0
- package/.codex/skills/manage-harvest/SKILL.md +30 -8
- package/.codex/skills/manage-issue/SKILL.md +24 -0
- package/.codex/skills/manage-issue-discover/SKILL.md +2 -0
- package/.codex/skills/manage-knowhow/SKILL.md +26 -0
- package/.codex/skills/manage-knowhow-capture/SKILL.md +23 -0
- package/.codex/skills/manage-learn/SKILL.md +2 -0
- package/.codex/skills/manage-status/SKILL.md +22 -0
- package/.codex/skills/manage-wiki/SKILL.md +28 -0
- package/.codex/skills/odyssey-debug/SKILL.md +44 -0
- package/.codex/skills/odyssey-improve/SKILL.md +49 -0
- package/.codex/skills/odyssey-planex/SKILL.md +44 -0
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +48 -0
- package/.codex/skills/odyssey-ui/SKILL.md +49 -0
- package/.codex/skills/quality-auto-test/SKILL.md +2 -0
- package/.codex/skills/quality-debug/SKILL.md +2 -0
- package/.codex/skills/quality-refactor/SKILL.md +2 -0
- package/.codex/skills/quality-retrospective/SKILL.md +2 -0
- package/.codex/skills/quality-review/SKILL.md +2 -0
- package/.codex/skills/quality-sync/SKILL.md +24 -0
- package/.codex/skills/quality-test/SKILL.md +2 -0
- package/.codex/skills/security-audit/SKILL.md +30 -0
- package/.codex/skills/spec-add/SKILL.md +28 -0
- package/.codex/skills/spec-load/SKILL.md +26 -0
- package/.codex/skills/spec-map/SKILL.md +1 -0
- package/.codex/skills/spec-remove/SKILL.md +28 -0
- package/.codex/skills/spec-setup/SKILL.md +28 -0
- package/.codex/skills/wiki-connect/SKILL.md +11 -0
- package/.codex/skills/wiki-digest/SKILL.md +11 -0
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js +3 -1
- package/dashboard/dist-server/dashboard/src/server/agents/api-explore-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.d.ts +5 -0
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.js +42 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/embedding.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/db/queries.d.ts +4 -0
- package/dashboard/dist-server/src/graph/kg/db/queries.js +35 -19
- package/dashboard/dist-server/src/graph/kg/db/queries.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/embedding/code-embedding.js +2 -0
- package/dashboard/dist-server/src/graph/kg/embedding/code-embedding.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/engine.js +5 -1
- package/dashboard/dist-server/src/graph/kg/engine.js.map +1 -1
- package/dashboard/dist-server/src/graph/kg/extraction/orchestrator.js +19 -11
- package/dashboard/dist-server/src/graph/kg/extraction/orchestrator.js.map +1 -1
- package/dashboard/dist-server/src/hooks/kg-sync-hook.js +5 -3
- package/dashboard/dist-server/src/hooks/kg-sync-hook.js.map +1 -1
- package/dashboard/dist-server/src/hooks/session-context.js +3 -1
- package/dashboard/dist-server/src/hooks/session-context.js.map +1 -1
- package/dist/src/agents/api-explore/circuit-breaker.d.ts +41 -0
- package/dist/src/agents/api-explore/circuit-breaker.d.ts.map +1 -0
- package/dist/src/agents/api-explore/circuit-breaker.js +82 -0
- package/dist/src/agents/api-explore/circuit-breaker.js.map +1 -0
- package/dist/src/agents/api-explore/config.d.ts +15 -34
- package/dist/src/agents/api-explore/config.d.ts.map +1 -1
- package/dist/src/agents/api-explore/config.js +17 -42
- package/dist/src/agents/api-explore/config.js.map +1 -1
- package/dist/src/agents/api-explore/index.js +6 -6
- 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 +16 -4
- package/dist/src/agents/api-explore/llm.js.map +1 -1
- package/dist/src/agents/api-explore/runner.d.ts +5 -0
- package/dist/src/agents/api-explore/runner.d.ts.map +1 -1
- package/dist/src/agents/api-explore/runner.js +66 -15
- package/dist/src/agents/api-explore/runner.js.map +1 -1
- package/dist/src/commands/explore.d.ts.map +1 -1
- package/dist/src/commands/explore.js +23 -4
- package/dist/src/commands/explore.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +62 -28
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/moa.d.ts.map +1 -1
- package/dist/src/commands/moa.js +18 -3
- package/dist/src/commands/moa.js.map +1 -1
- package/dist/src/commands/search.d.ts.map +1 -1
- package/dist/src/commands/search.js +2 -0
- package/dist/src/commands/search.js.map +1 -1
- package/dist/src/config/api-config.d.ts +61 -0
- package/dist/src/config/api-config.d.ts.map +1 -0
- package/dist/src/config/api-config.js +59 -0
- package/dist/src/config/api-config.js.map +1 -0
- package/dist/src/config/cli-tools-config.d.ts +1 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +22 -1
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/graph/kg/db/queries.d.ts +4 -0
- package/dist/src/graph/kg/db/queries.d.ts.map +1 -1
- package/dist/src/graph/kg/db/queries.js +35 -19
- package/dist/src/graph/kg/db/queries.js.map +1 -1
- package/dist/src/graph/kg/embedding/code-embedding.d.ts.map +1 -1
- package/dist/src/graph/kg/embedding/code-embedding.js +2 -0
- package/dist/src/graph/kg/embedding/code-embedding.js.map +1 -1
- package/dist/src/graph/kg/engine.d.ts.map +1 -1
- package/dist/src/graph/kg/engine.js +5 -1
- package/dist/src/graph/kg/engine.js.map +1 -1
- package/dist/src/graph/kg/extraction/orchestrator.d.ts.map +1 -1
- package/dist/src/graph/kg/extraction/orchestrator.js +19 -11
- package/dist/src/graph/kg/extraction/orchestrator.js.map +1 -1
- package/dist/src/hooks/kg-sync-hook.d.ts.map +1 -1
- package/dist/src/hooks/kg-sync-hook.js +5 -3
- package/dist/src/hooks/kg-sync-hook.js.map +1 -1
- package/dist/src/hooks/plugins/explore-plugin.d.ts.map +1 -1
- package/dist/src/hooks/plugins/explore-plugin.js +3 -2
- package/dist/src/hooks/plugins/explore-plugin.js.map +1 -1
- package/dist/src/hooks/session-context.js +3 -1
- package/dist/src/hooks/session-context.js.map +1 -1
- package/dist/src/tui/install-ui/EmbeddingConfig.d.ts +25 -0
- package/dist/src/tui/install-ui/EmbeddingConfig.d.ts.map +1 -0
- package/dist/src/tui/install-ui/EmbeddingConfig.js +58 -0
- package/dist/src/tui/install-ui/EmbeddingConfig.js.map +1 -0
- package/dist/src/tui/install-ui/EmbeddingPanel.d.ts +6 -0
- package/dist/src/tui/install-ui/EmbeddingPanel.d.ts.map +1 -0
- package/dist/src/tui/install-ui/EmbeddingPanel.js +101 -0
- package/dist/src/tui/install-ui/EmbeddingPanel.js.map +1 -0
- package/dist/src/tui/install-ui/GroupedHub.d.ts +2 -0
- package/dist/src/tui/install-ui/GroupedHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/GroupedHub.js +8 -1
- package/dist/src/tui/install-ui/GroupedHub.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +4 -2
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/embedding-status.d.ts +12 -0
- package/dist/src/tui/install-ui/embedding-status.d.ts.map +1 -0
- package/dist/src/tui/install-ui/embedding-status.js +82 -0
- package/dist/src/tui/install-ui/embedding-status.js.map +1 -0
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.d.ts.map +1 -1
- package/dist/src/tui/install-ui/useInstallFlowState.js +52 -2
- package/dist/src/tui/install-ui/useInstallFlowState.js.map +1 -1
- package/dist/src/tui/shared/tokens.d.ts +1 -1
- package/dist/src/tui/shared/tokens.js +1 -1
- package/dist/src/utils/update-notices.js +11 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/workflows/analyze.md +13 -15
- package/workflows/plan.md +33 -21
package/workflows/analyze.md
CHANGED
|
@@ -41,10 +41,10 @@ Quick mode (-q):
|
|
|
41
41
|
## Arguments
|
|
42
42
|
|
|
43
43
|
```
|
|
44
|
-
$ARGUMENTS: "[
|
|
44
|
+
$ARGUMENTS: "[milestone|topic] [-y] [-c] [-q] [--from <source>]"
|
|
45
45
|
|
|
46
46
|
(no args) -- Milestone-wide analysis (requires init + roadmap)
|
|
47
|
-
<
|
|
47
|
+
<milestone> -- Milestone number (milestone-scoped, requires init + roadmap)
|
|
48
48
|
<topic> -- Topic text (adhoc if milestone exists, standalone if not)
|
|
49
49
|
-y / --yes -- Auto mode, skip interactive scoping, auto-deepen
|
|
50
50
|
-c / --continue -- Resume from existing session
|
|
@@ -55,14 +55,14 @@ $ARGUMENTS: "[phase|topic] [-y] [-c] [-q] [--from <source>]"
|
|
|
55
55
|
## Scope Routing
|
|
56
56
|
|
|
57
57
|
```
|
|
58
|
-
Worktree guard: If .workflow/worktree-scope.json exists, reject
|
|
58
|
+
Worktree guard: If .workflow/worktree-scope.json exists, reject milestone args not in owned scope.
|
|
59
59
|
|
|
60
60
|
Auto-bootstrap: Create minimal .workflow/state.json if missing.
|
|
61
61
|
|
|
62
62
|
Scope determination → OUTPUT_DIR:
|
|
63
63
|
(no args) + milestone + roadmap → scope="milestone", mode="micro", OUTPUT_DIR=.workflow/scratch/{YYYYMMDD}-analyze-M{N}-{milestone_slug}/
|
|
64
64
|
(no args) without milestone/roadmap → ERROR E001
|
|
65
|
-
(number) + milestone + roadmap → scope="
|
|
65
|
+
(number) + milestone + roadmap → scope="milestone", mode="micro", OUTPUT_DIR=.workflow/scratch/{YYYYMMDD}-analyze-M{N}-{milestone_slug}/
|
|
66
66
|
(number) without milestone/roadmap → ERROR
|
|
67
67
|
(text) + milestone → scope="adhoc", mode="macro", OUTPUT_DIR=.workflow/scratch/{YYYYMMDD}-analyze-{topic_slug}/
|
|
68
68
|
(text) without milestone → scope="standalone", mode="macro", OUTPUT_DIR=.workflow/scratch/{YYYYMMDD}-analyze-{topic_slug}/
|
|
@@ -75,14 +75,12 @@ Macro mode additions (scope="adhoc" or "standalone"):
|
|
|
75
75
|
- Write scope_verdict to context.md conclusions section
|
|
76
76
|
- Include scope_verdict in context-package.json for downstream consumption
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
BREAK
|
|
83
|
-
IF no match: target_milestone = current_milestone (fallback)
|
|
78
|
+
Milestone resolution (when scope="milestone"):
|
|
79
|
+
IF numeric arg specified: target_milestone = that milestone number
|
|
80
|
+
ELSE: target_milestone = current_milestone (fallback)
|
|
81
|
+
IF target_milestone not found in state.json.milestones[]: ERROR
|
|
84
82
|
|
|
85
|
-
Use target_milestone
|
|
83
|
+
Use target_milestone for:
|
|
86
84
|
- artifact registration (milestone field in Step 8.9)
|
|
87
85
|
- loading prior artifacts (Step 1 context loading)
|
|
88
86
|
|
|
@@ -137,7 +135,7 @@ Parse $ARGUMENTS to determine mode and flags:
|
|
|
137
135
|
- `-c` present: locate existing session folder (discussion.md exists), resume from last round
|
|
138
136
|
- `-y` present: set AUTO_MODE=true
|
|
139
137
|
- `-q` present: set QUICK_MODE=true (skip Steps 2-7, jump to Step 8: Decision Extraction)
|
|
140
|
-
- Number (e.g., "3") =
|
|
138
|
+
- Number (e.g., "3") = milestone scope: resolve milestone slug from roadmap, output to scratch/{YYYYMMDD}-analyze-M{N}-{milestone-slug}/
|
|
141
139
|
- Text (e.g., "microservices vs monolith") = adhoc/standalone scope: output to scratch/{YYYYMMDD}-analyze-{slug}/
|
|
142
140
|
- Missing/empty = milestone scope (if roadmap exists) or error E001
|
|
143
141
|
|
|
@@ -610,7 +608,7 @@ For each Deferred decision, create an issue in .workflow/issues/issues.jsonl:
|
|
|
610
608
|
id: "ISS-{YYYYMMDD}-{NNN}"
|
|
611
609
|
title: "Deferred: {item.title}"
|
|
612
610
|
status: "deferred", priority: 5, severity: "low"
|
|
613
|
-
source: "analyze",
|
|
611
|
+
source: "analyze", milestone_ref: target_milestone
|
|
614
612
|
description: "{item.context} -- Chosen to defer: {item.reason}"
|
|
615
613
|
tags: ["deferred", "analyze"]
|
|
616
614
|
```
|
|
@@ -621,8 +619,8 @@ For each Deferred decision, create an issue in .workflow/issues/issues.jsonl:
|
|
|
621
619
|
Register artifact in .workflow/state.json:
|
|
622
620
|
id: "ANL-{next sequential 3-digit id}"
|
|
623
621
|
type: "analyze", scope: scope, status: "completed"
|
|
624
|
-
milestone:
|
|
625
|
-
phase:
|
|
622
|
+
milestone: target_milestone (null if standalone/adhoc)
|
|
623
|
+
phase: null (analyze operates at milestone level)
|
|
626
624
|
path: OUTPUT_DIR relative to .workflow/
|
|
627
625
|
context_package: "{OUTPUT_DIR}/context-package.json" // relative to .workflow/
|
|
628
626
|
harvested: false, created_at: session_start_time, completed_at: now()
|
package/workflows/plan.md
CHANGED
|
@@ -11,16 +11,16 @@ All output goes to `.workflow/scratch/{YYYYMMDD}-plan-[P{N}-|M{N}-]{slug}/`. Dat
|
|
|
11
11
|
## Prerequisites
|
|
12
12
|
|
|
13
13
|
- None for standalone operation (state.json auto-bootstraps)
|
|
14
|
-
- For milestone
|
|
14
|
+
- For milestone scope: init + roadmap required
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
## Scope Resolution
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
Input: [
|
|
21
|
+
Input: [milestone] argument OR --dir <path> OR --from <source>
|
|
22
22
|
|
|
23
|
-
Worktree guard: reject if
|
|
23
|
+
Worktree guard: reject if milestone not in .workflow/worktree-scope.json owned scope
|
|
24
24
|
Auto-bootstrap: create minimal state.json if missing
|
|
25
25
|
|
|
26
26
|
Resolution priority (highest to lowest):
|
|
@@ -32,16 +32,16 @@ Resolution priority (highest to lowest):
|
|
|
32
32
|
4. --dir <path> → CONTEXT_DIR = path, scope from state.json artifact or "standalone"
|
|
33
33
|
5. no arguments + roadmap → scope = "milestone", CONTEXT_DIR = latest analyze artifact for current_milestone
|
|
34
34
|
(ERROR E001 if no roadmap)
|
|
35
|
-
6. numeric arg → scope = "
|
|
36
|
-
CONTEXT_DIR = latest analyze artifact for
|
|
35
|
+
6. numeric arg → scope = "milestone", resolve MILESTONE_SLUG from roadmap.md,
|
|
36
|
+
CONTEXT_DIR = latest analyze artifact for milestone
|
|
37
37
|
(ERROR if no init + roadmap)
|
|
38
38
|
7. no arguments + no roadmap → search state.json for latest analyze artifact
|
|
39
39
|
Found → scope = "standalone", CONTEXT_DIR = artifact path
|
|
40
40
|
Not found → ERROR E001
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Milestone resolution (when scope="milestone"):
|
|
43
43
|
FOR each ms in state.json.milestones[]:
|
|
44
|
-
IF
|
|
44
|
+
IF ms matches milestone_number:
|
|
45
45
|
target_milestone = ms.id
|
|
46
46
|
BREAK
|
|
47
47
|
IF no match: target_milestone = current_milestone (fallback)
|
|
@@ -84,11 +84,10 @@ When plan resolves to `scope == "standalone"` AND `state.json.current_milestone
|
|
|
84
84
|
|
|
85
85
|
| Flag | Effect |
|
|
86
86
|
|------|--------|
|
|
87
|
-
| `--collab` | Use collaborative multi-planner mode in P3 |
|
|
88
87
|
| `--spec SPEC-xxx` | Load task-spec as requirements source |
|
|
89
88
|
| `--auto` | Skip P2 (clarification), proceed directly to P3 |
|
|
90
89
|
| `--gaps` | Load verification.json gaps, skip P1 exploration, plan only gap fixes |
|
|
91
|
-
| `--dir <path>` | Use arbitrary directory instead of
|
|
90
|
+
| `--dir <path>` | Use arbitrary directory instead of milestone resolution (skip roadmap validation) |
|
|
92
91
|
| `--revise [instructions]` | Revise existing plan (skip P1-P3, load → modify → P4). Auto-discovers latest plan or use `--dir` |
|
|
93
92
|
| `--check <plan-dir>` | Standalone plan verification (P4 only, read-only) |
|
|
94
93
|
| `--tdd` | Generate TDD task chains (RED-GREEN-REFACTOR triplets). Load `@~/.maestro/workflows/tdd.md` for discipline and task structure |
|
|
@@ -246,9 +245,9 @@ When `--tdd` is active:
|
|
|
246
245
|
MUST spawn `workflow-planner` agent with: context.md, spec-ref, doc-index.json, explorationContext (incl. implementationScope from P1 Step 5), clarificationContext, phase goal + success_criteria, templates (plan.json, task.json).
|
|
247
246
|
|
|
248
247
|
**Task count guard**: Before spawning, assess scope complexity:
|
|
249
|
-
- Single feature / simple change → expect **1-
|
|
250
|
-
- Medium feature (multiple files,
|
|
251
|
-
- Large
|
|
248
|
+
- Single feature / simple change → expect **1-4 tasks** max
|
|
249
|
+
- Medium feature (multiple files, cross-module) → expect **4-8 tasks** max
|
|
250
|
+
- Large milestone (>3 modules, 2+1 agent mode) → expect **8-16 tasks** max
|
|
252
251
|
- If planner outputs more tasks than these thresholds, re-prompt with explicit instruction to merge.
|
|
253
252
|
|
|
254
253
|
Agent responsibilities:
|
|
@@ -298,12 +297,26 @@ Every TASK-*.json MUST include these fields — they are NOT optional:
|
|
|
298
297
|
|
|
299
298
|
**Why this matters:** Executor agents work from the task JSON. Vague instructions produce shallow one-line changes. Concrete instructions produce complete work.
|
|
300
299
|
|
|
301
|
-
###
|
|
300
|
+
### Plan Agent Model
|
|
302
301
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
-
|
|
302
|
+
Plan automatically selects agent mode based on milestone scope:
|
|
303
|
+
|
|
304
|
+
**Single agent mode** (default):
|
|
305
|
+
- Milestone involves ≤3 modules
|
|
306
|
+
- 1 workflow-planner agent, max 8 TASK JSON output
|
|
307
|
+
- Directly produces plan.json
|
|
308
|
+
|
|
309
|
+
**2+1 agent mode** (auto-triggered when milestone involves >3 modules):
|
|
310
|
+
- 2 parallel workflow-planner agents, each scoped to 2-3 modules
|
|
311
|
+
- Each agent produces max 8 TASK JSON (total max 16)
|
|
312
|
+
- +1 synthesis agent:
|
|
313
|
+
- Merges TASK JSON from both agents
|
|
314
|
+
- DAG analysis: dependency correctness, cycle detection, cross-module conflicts
|
|
315
|
+
- Terminology consistency check
|
|
316
|
+
- Wave ordering optimization
|
|
317
|
+
- Produces unified plan.json
|
|
318
|
+
|
|
319
|
+
Module count is derived from milestone phase definitions and analyze upstream context.
|
|
307
320
|
|
|
308
321
|
### Gap Mode (`--gaps`)
|
|
309
322
|
|
|
@@ -316,7 +329,6 @@ Bidirectional linking (main flow, post-planner): update matching issues in `.wor
|
|
|
316
329
|
### Output
|
|
317
330
|
- `plan.json` in PHASE_DIR
|
|
318
331
|
- `.task/TASK-{NNN}.json` files in PHASE_DIR/.task/
|
|
319
|
-
- `plan-note.md` (collab mode only)
|
|
320
332
|
|
|
321
333
|
---
|
|
322
334
|
|
|
@@ -414,10 +426,10 @@ Bidirectional linking (main flow, post-planner): update matching issues in `.wor
|
|
|
414
426
|
|
|
415
427
|
| Error | Action |
|
|
416
428
|
|-------|--------|
|
|
417
|
-
| E001: No args and no roadmap | Provide
|
|
429
|
+
| E001: No args and no roadmap | Provide milestone number or topic, or create roadmap |
|
|
418
430
|
| E004: No plan found to revise | Use --dir to specify plan, or create plan first |
|
|
419
431
|
| E005: Plan directory not found (--check) | Check path, use --dir |
|
|
420
|
-
|
|
|
432
|
+
| Milestone not found | Abort with message: "Milestone {milestone} not found. Run /maestro-roadmap first." |
|
|
421
433
|
| No context.md | Warn, proceed with exploration only |
|
|
422
434
|
| Exploration agent fails | Log error, continue with available explorations; flag plan as [LOW CONFIDENCE] (partial explorations) |
|
|
423
435
|
| Planner produces invalid JSON | Retry once, then abort with error details |
|
|
@@ -444,7 +456,7 @@ Incrementally modify an existing plan without rebuilding from scratch.
|
|
|
444
456
|
### Plan Discovery
|
|
445
457
|
|
|
446
458
|
- `--dir` specified → use directly
|
|
447
|
-
- Else → latest completed plan artifact for current
|
|
459
|
+
- Else → latest completed plan artifact for current milestone from state.json
|
|
448
460
|
- Not found → ERROR E004
|
|
449
461
|
|
|
450
462
|
### Execution Flow
|