maestro-flow 0.3.22 → 0.3.24
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/.claude/commands/maestro-analyze.md +1 -1
- package/.claude/commands/maestro-brainstorm.md +1 -1
- package/.claude/commands/maestro-composer.md +3 -3
- package/.claude/commands/maestro-init.md +4 -4
- package/.claude/commands/maestro-roadmap.md +164 -108
- package/.claude/commands/maestro.md +19 -10
- package/.claude/commands/quality-business-test.md +2 -2
- package/.claude/skills/team-quality-assurance/roles/scout/role.md +1 -1
- package/.claude/skills/team-review/roles/reviewer/role.md +1 -1
- package/.claude/skills/team-review/roles/scanner/role.md +1 -1
- package/.claude/skills/team-tech-debt/roles/scanner/role.md +3 -3
- package/.codex/skills/maestro/SKILL.md +12 -9
- package/.codex/skills/maestro-brainstorm/SKILL.md +1 -1
- package/.codex/skills/maestro-composer/SKILL.md +3 -3
- package/.codex/skills/maestro-init/SKILL.md +1 -1
- package/.codex/skills/maestro-link-coordinate/SKILL.md +1 -1
- package/.codex/skills/maestro-player/SKILL.md +2 -2
- package/.codex/skills/maestro-roadmap/SKILL.md +443 -332
- package/.codex/skills/quality-business-test/SKILL.md +2 -2
- package/.codex/skills/team-coordinate/roles/coordinator/role.md +1 -1
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +1 -1
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +1 -1
- package/.codex/skills/team-review/roles/reviewer/role.md +1 -1
- package/.codex/skills/team-review/roles/scanner/role.md +1 -1
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +3 -3
- package/chains/singles/spec-generate.json +3 -3
- package/chains/spec-driven.json +2 -2
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +2 -2
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install-utils.d.ts +5 -12
- package/dashboard/dist-server/dashboard/src/server/routes/install-utils.js +10 -65
- package/dashboard/dist-server/dashboard/src/server/routes/install-utils.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install.js +17 -11
- package/dashboard/dist-server/dashboard/src/server/routes/install.js.map +1 -1
- package/dashboard/dist-server/src/agents/cli-agent-runner.d.ts +4 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js +4 -2
- package/dashboard/dist-server/src/agents/cli-agent-runner.js.map +1 -1
- package/dashboard/dist-server/src/commands/delegate.d.ts +2 -0
- package/dashboard/dist-server/src/commands/delegate.js +20 -4
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/config/cli-tools-config.d.ts +68 -3
- package/dashboard/dist-server/src/config/cli-tools-config.js +248 -9
- package/dashboard/dist-server/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts +4 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +4 -2
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/cli.js +2 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/cli.d.ts.map +1 -1
- package/dist/src/commands/cli.js +21 -4
- package/dist/src/commands/cli.js.map +1 -1
- package/dist/src/commands/delegate.d.ts +2 -0
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +20 -4
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +5 -16
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +8 -104
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install-ui/ExecutionView.js +1 -1
- package/dist/src/commands/install-ui/ExecutionView.js.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.d.ts +1 -0
- package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.js +19 -4
- package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/commands/install-ui/InstallResult.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallResult.js +1 -1
- package/dist/src/commands/install-ui/InstallResult.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +28 -3
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/tools-ui/CommandReference.d.ts +7 -0
- package/dist/src/commands/tools-ui/CommandReference.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/CommandReference.js +33 -0
- package/dist/src/commands/tools-ui/CommandReference.js.map +1 -0
- package/dist/src/commands/tools-ui/ConfigSources.d.ts +6 -0
- package/dist/src/commands/tools-ui/ConfigSources.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/ConfigSources.js +27 -0
- package/dist/src/commands/tools-ui/ConfigSources.js.map +1 -0
- package/dist/src/commands/tools-ui/RegisterSettings.d.ts +8 -0
- package/dist/src/commands/tools-ui/RegisterSettings.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/RegisterSettings.js +125 -0
- package/dist/src/commands/tools-ui/RegisterSettings.js.map +1 -0
- package/dist/src/commands/tools-ui/RoleMappings.d.ts +9 -0
- package/dist/src/commands/tools-ui/RoleMappings.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/RoleMappings.js +104 -0
- package/dist/src/commands/tools-ui/RoleMappings.js.map +1 -0
- package/dist/src/commands/tools-ui/ToolsDashboard.d.ts +8 -0
- package/dist/src/commands/tools-ui/ToolsDashboard.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/ToolsDashboard.js +60 -0
- package/dist/src/commands/tools-ui/ToolsDashboard.js.map +1 -0
- package/dist/src/commands/tools-ui/ToolsOverview.d.ts +9 -0
- package/dist/src/commands/tools-ui/ToolsOverview.d.ts.map +1 -0
- package/dist/src/commands/tools-ui/ToolsOverview.js +84 -0
- package/dist/src/commands/tools-ui/ToolsOverview.js.map +1 -0
- package/dist/src/commands/tools.d.ts +3 -0
- package/dist/src/commands/tools.d.ts.map +1 -0
- package/dist/src/commands/tools.js +78 -0
- package/dist/src/commands/tools.js.map +1 -0
- package/dist/src/config/cli-tools-config.d.ts +68 -3
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +248 -9
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +16 -0
- package/dist/src/core/component-defs.d.ts.map +1 -0
- package/dist/src/core/component-defs.js +142 -0
- package/dist/src/core/component-defs.js.map +1 -0
- package/dist/src/core/manifest.d.ts +8 -1
- package/dist/src/core/manifest.d.ts.map +1 -1
- package/dist/src/core/manifest.js +29 -40
- package/dist/src/core/manifest.js.map +1 -1
- package/dist/src/core/tag-injector.d.ts +72 -0
- package/dist/src/core/tag-injector.d.ts.map +1 -0
- package/dist/src/core/tag-injector.js +228 -0
- package/dist/src/core/tag-injector.js.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/templates/cli/prompts/workflow-skill-conflict-patterns.txt +1 -1
- package/templates/cli/prompts/workflow-skill-lessons-learned.txt +1 -1
- package/templates/search-tools.md +1 -1
- package/templates/workflows/specs/node-catalog.md +1 -1
- package/workflows/brainstorm.md +1 -1
- package/{.claude/CLAUDE.md → workflows/claude-instructions.md} +25 -26
- package/workflows/cli-tools-usage.md +16 -2
- package/workflows/codex-instructions.md +150 -0
- package/workflows/delegate-usage.md +16 -2
- package/workflows/execute.md +28 -14
- package/workflows/init.md +2 -2
- package/workflows/issue-discover.md +2 -2
- package/workflows/maestro-super.md +120 -0
- package/workflows/maestro.codex.md +4 -4
- package/workflows/maestro.md +5 -5
- package/workflows/roadmap-common.md +197 -0
- package/workflows/roadmap.md +190 -355
- package/workflows/spec-generate.md +457 -544
- package/.claude/commands/maestro-spec-generate.md +0 -78
- package/.codex/skills/maestro-spec-generate/SKILL.md +0 -355
package/dist/src/index.d.ts
CHANGED
|
@@ -4,5 +4,9 @@ export { loadConfig, saveConfig } from './config/index.js';
|
|
|
4
4
|
export { paths } from './config/paths.js';
|
|
5
5
|
export { createManifest, addFile, addDir, saveManifest, findManifest, getAllManifests, deleteManifest, cleanManifestFiles, } from './core/manifest.js';
|
|
6
6
|
export type { Manifest, ManifestEntry } from './core/manifest.js';
|
|
7
|
+
export { migrateAndInject, injectContent, injectDocFile, removeContent, removeAllSections, hasSection, hasAnyMarkers, } from './core/tag-injector.js';
|
|
8
|
+
export type { MigrateResult, MigrateAction, CopyStats } from './core/tag-injector.js';
|
|
9
|
+
export { COMPONENT_DEFS } from './core/component-defs.js';
|
|
10
|
+
export type { ComponentDef } from './core/component-defs.js';
|
|
7
11
|
export type * from './types/index.js';
|
|
8
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EACL,cAAc,EACd,OAAO,EACP,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClE,mBAAmB,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EACL,cAAc,EACd,OAAO,EACP,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,aAAa,GACd,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,mBAAmB,kBAAkB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -3,4 +3,6 @@ export { ExtensionLoader } from './core/extension-loader.js';
|
|
|
3
3
|
export { loadConfig, saveConfig } from './config/index.js';
|
|
4
4
|
export { paths } from './config/paths.js';
|
|
5
5
|
export { createManifest, addFile, addDir, saveManifest, findManifest, getAllManifests, deleteManifest, cleanManifestFiles, } from './core/manifest.js';
|
|
6
|
+
export { migrateAndInject, injectContent, injectDocFile, removeContent, removeAllSections, hasSection, hasAnyMarkers, } from './core/tag-injector.js';
|
|
7
|
+
export { COMPONENT_DEFS } from './core/component-defs.js';
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EACL,cAAc,EACd,OAAO,EACP,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,GACnB,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EACL,cAAc,EACd,OAAO,EACP,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,cAAc,EACd,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,aAAa,GACd,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/cli.ts","../src/index.ts","../src/agents/cli-agent-runner.ts","../src/agents/cli-history-store.ts","../src/agents/dashboard-bridge.ts","../src/agents/parallel-cli-runner.ts","../src/agents/terminal-adapter.ts","../src/agents/terminal-backend.ts","../src/async/delegate-broker-client.ts","../src/async/delegate-broker.ts","../src/async/delegate-control.ts","../src/async/index.ts","../src/brainstorm-visualize/frame.ts","../src/brainstorm-visualize/server.ts","../src/commands/brainstorm-visualize.ts","../src/commands/cli.ts","../src/commands/collab.ts","../src/commands/coordinate.ts","../src/commands/delegate.ts","../src/commands/ext.ts","../src/commands/hooks.ts","../src/commands/install-backend.ts","../src/commands/install.ts","../src/commands/knowhow.ts","../src/commands/launcher.ts","../src/commands/msg.ts","../src/commands/overlay.ts","../src/commands/run.ts","../src/commands/serve.ts","../src/commands/spec.ts","../src/commands/stop.ts","../src/commands/tool.ts","../src/commands/uninstall.ts","../src/commands/update.ts","../src/commands/view.ts","../src/commands/wiki.ts","../src/commands/install-ui/backupconfig.tsx","../src/commands/install-ui/blueprintpreview.logic.ts","../src/commands/install-ui/blueprintpreview.tsx","../src/commands/install-ui/componentgrid.logic.ts","../src/commands/install-ui/componentgrid.tsx","../src/commands/install-ui/configpanel.tsx","../src/commands/install-ui/cyberitem.tsx","../src/commands/install-ui/cyberdeckblueprint.tsx","../src/commands/install-ui/executionview.tsx","../src/commands/install-ui/gradientheader.tsx","../src/commands/install-ui/hooksconfig.tsx","../src/commands/install-ui/installconfirm.tsx","../src/commands/install-ui/installexecution.tsx","../src/commands/install-ui/installflow.tsx","../src/commands/install-ui/installhub.tsx","../src/commands/install-ui/installresult.tsx","../src/commands/install-ui/mcpconfig.tsx","../src/commands/install-ui/resultdashboard.tsx","../src/commands/install-ui/reviewpanel.tsx","../src/commands/install-ui/shortcutfooter.tsx","../src/commands/install-ui/statuslineconfig.tsx","../src/commands/install-ui/stepselector.tsx","../src/commands/install-ui/index.ts","../src/commands/install-ui/types.ts","../src/commands/overlay-ui/overlaylist.tsx","../src/commands/overlay-ui/index.ts","../src/commands/uninstall-ui/uninstallflow.tsx","../src/commands/uninstall-ui/index.ts","../src/config/cli-tools-config.ts","../src/config/index.ts","../src/config/paths.ts","../src/config/template-discovery.ts","../src/coordinator/cli-executor.ts","../src/coordinator/coordinate-broker-adapter.ts","../src/coordinator/expr-evaluator.ts","../src/coordinator/graph-loader.ts","../src/coordinator/graph-types.ts","../src/coordinator/graph-walker.ts","../src/coordinator/index.ts","../src/coordinator/intent-router.ts","../src/coordinator/llm-decider.ts","../src/coordinator/output-parser.ts","../src/coordinator/parallel-executor.ts","../src/coordinator/prompt-assembler.ts","../src/coordinator/step-analyzer.ts","../src/core/component-defs.ts","../src/core/extension-loader.ts","../src/core/manifest.ts","../src/core/tag-injector.ts","../src/core/tool-registry.ts","../src/core/overlay/applier.ts","../src/core/overlay/loader.ts","../src/core/overlay/patcher.ts","../src/core/overlay/section-parser.ts","../src/core/overlay/types.ts","../src/db/connection-pool.ts","../src/db/index.ts","../src/db/tenant-migrator.ts","../src/db/tenant-schema.ts","../src/db/schema/core/index.ts","../src/db/schema/core/organizations.ts","../src/db/schema/core/permissions.ts","../src/db/schema/core/refresh-tokens.ts","../src/db/schema/core/users.ts","../src/hooks/auto-mode.ts","../src/hooks/constants.ts","../src/hooks/context-budget.ts","../src/hooks/context-monitor.ts","../src/hooks/coordinator-tracker.ts","../src/hooks/delegate-monitor.ts","../src/hooks/hook-engine.ts","../src/hooks/hook-manager.ts","../src/hooks/index.ts","../src/hooks/keyword-spec-injector.ts","../src/hooks/preflight-core.ts","../src/hooks/session-context.ts","../src/hooks/skill-context.ts","../src/hooks/spec-bridge.ts","../src/hooks/spec-injector.ts","../src/hooks/statusline.ts","../src/hooks/team-monitor.ts","../src/hooks/workflow-hooks.ts","../src/hooks/workspace.ts","../src/hooks/__tests__/statusline-visual-test.ts","../src/hooks/guards/index.ts","../src/hooks/guards/preflight-guard.ts","../src/hooks/guards/prompt-guard.ts","../src/hooks/guards/spec-validator.ts","../src/hooks/guards/workflow-guard.ts","../src/hooks/plugins/index.ts","../src/hooks/plugins/spec-injection-plugin.ts","../src/hooks/plugins/telemetry-plugin.ts","../src/i18n/detect.ts","../src/i18n/index.ts","../src/i18n/types.ts","../src/i18n/locales/en.ts","../src/i18n/locales/zh.ts","../src/mcp/delegate-channel-relay.ts","../src/mcp/server.ts","../src/middleware/auth.ts","../src/middleware/permission.ts","../src/middleware/rate-limit.ts","../src/middleware/tenant.ts","../src/middleware/validation.ts","../src/migrations/_template.ts","../src/migrations/index.ts","../src/migrations/run.ts","../src/migrations/v1-to-v2.ts","../src/routes/auth.ts","../src/routes/members.ts","../src/routes/organizations.ts","../src/services/auth.service.ts","../src/services/password.service.ts","../src/services/rbac.service.ts","../src/services/token.service.ts","../src/team/phase-orchestrator.ts","../src/team/phase-types.ts","../src/tools/collab-adapter.ts","../src/tools/edit-file.ts","../src/tools/index.ts","../src/tools/merge-validator.ts","../src/tools/namespace-guard.ts","../src/tools/phase-gate-evaluator.ts","../src/tools/read-file.ts","../src/tools/read-many-files.ts","../src/tools/spec-entry-parser.ts","../src/tools/spec-init.ts","../src/tools/spec-keyword-index.ts","../src/tools/spec-loader.ts","../src/tools/store-knowhow.ts","../src/tools/team-activity.ts","../src/tools/team-agents.ts","../src/tools/team-mailbox.ts","../src/tools/team-members.ts","../src/tools/team-msg.ts","../src/tools/team-tasks-mcp.ts","../src/tools/team-tasks.ts","../src/tools/transition-recorder.ts","../src/tools/write-file.ts","../src/types/hono.d.ts","../src/types/index.ts","../src/types/tool-schema.ts","../src/utils/cli-format.ts","../src/utils/file-reader.ts","../src/utils/get-version.ts","../src/utils/jsonl-log.ts","../src/utils/migration-registry.ts","../src/utils/path-validator.ts","../src/utils/state-schema.ts","../shared/agent-types.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ MODE: analysis
|
|
|
77
77
|
CONTEXT: @.workflow/.archives/*/IMPL_PLAN.md @.workflow/.archives/manifest.json
|
|
78
78
|
EXPECTED: Conflict patterns with frequency and resolution
|
|
79
79
|
CONSTRAINTS: analysis=READ-ONLY
|
|
80
|
-
" --
|
|
80
|
+
" --role analyze --mode analysis --rule workflow-skill-aggregation --cd .workflow/.archives
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
**Pattern Grouping**:
|
|
@@ -73,7 +73,7 @@ MODE: analysis
|
|
|
73
73
|
CONTEXT: @.workflow/.archives/manifest.json
|
|
74
74
|
EXPECTED: Aggregated lessons with frequency counts
|
|
75
75
|
CONSTRAINTS: analysis=READ-ONLY
|
|
76
|
-
" --
|
|
76
|
+
" --role analyze --mode analysis --rule workflow-skill-aggregation --cd .workflow/.archives
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
**Severity Classification**:
|
|
@@ -17,7 +17,7 @@ Semantic Search → Grep (pattern) → Glob (files) → CLI (deep analysis)
|
|
|
17
17
|
| Find by intent/behavior | Semantic search tool (see above) |
|
|
18
18
|
| Known identifier/regex | `Grep` |
|
|
19
19
|
| Find files by name/ext | `Glob` |
|
|
20
|
-
| Complex cross-file reasoning | `maestro delegate --
|
|
20
|
+
| Complex cross-file reasoning | `maestro delegate --role analyze --mode analysis` |
|
|
21
21
|
| Read identified file | `Read` |
|
|
22
22
|
|
|
23
23
|
## Fallback
|
|
@@ -128,7 +128,7 @@ Deliver: [specify expected output format]
|
|
|
128
128
|
| `testing` | skill | `quality-test` |
|
|
129
129
|
| `review` | skill | `quality-review` |
|
|
130
130
|
| `brainstorm` | skill | `maestro-brainstorm` |
|
|
131
|
-
| `analysis` | cli | `maestro delegate --
|
|
131
|
+
| `analysis` | cli | `maestro delegate --role analyze --mode analysis` |
|
|
132
132
|
| `spec` | skill | `maestro-spec-generate` |
|
|
133
133
|
| `refactor` | skill | `quality-refactor` |
|
|
134
134
|
| `integration-test` | skill | `quality-integration-test` |
|
package/workflows/brainstorm.md
CHANGED
|
@@ -432,7 +432,7 @@ Execute analysis for ONE specified role with optional interactive context gather
|
|
|
432
432
|
- Enhancements applied (EP-IDs)
|
|
433
433
|
- Complexity score and review status
|
|
434
434
|
- Next:
|
|
435
|
-
Skill({ skill: "maestro-
|
|
435
|
+
Skill({ skill: "maestro-roadmap", args: "--mode full --from-brainstorm {sessionId}" }) — Generate full spec package
|
|
436
436
|
Skill({ skill: "maestro-analyze", args: "{topic}" }) — Evaluate feasibility + lock decisions
|
|
437
437
|
Skill({ skill: "maestro-analyze", args: "{phase} -q" }) — Quick decision extraction only
|
|
438
438
|
Skill({ skill: "maestro-plan", args: "{phase}" }) — Plan directly (if scope is clear)
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
# Maestro
|
|
2
|
-
|
|
3
|
-
Workflow orchestration CLI with MCP endpoint support and extensible architecture.
|
|
4
|
-
|
|
5
|
-
- **Coding Philosophy**: @~/.maestro/workflows/coding-philosophy.md
|
|
6
|
-
|
|
7
|
-
## Delegate & CLI
|
|
8
|
-
|
|
9
|
-
- **Delegate Usage**: @~/.maestro/workflows/delegate-usage.md
|
|
10
|
-
- **CLI Endpoints Config**: @~/.maestro/cli-tools.json
|
|
11
|
-
|
|
12
|
-
**Strictly follow the cli-tools.json configuration**
|
|
13
|
-
|
|
14
|
-
Available CLI endpoints are dynamically defined by the config file
|
|
15
|
-
|
|
16
|
-
## Code Diagnostics
|
|
17
|
-
|
|
18
|
-
- **Prefer `mcp__ide__getDiagnostics`** for code error checking over shell-based TypeScript compilation
|
|
19
|
-
|
|
20
|
-
## Knowledge Capture
|
|
21
|
-
|
|
22
|
-
- **Spec writes** → always `<spec-entry>` closed-tag format with `category`, `keywords`, `date`, `source`. Never raw Markdown. Route through `spec-add` when possible.
|
|
23
|
-
- **Capture signal** → when execution surfaces non-obvious knowledge (plan deviation, retry pattern, root cause, constraint violation), ask user once whether to persist it. Match category to content: decisions→`arch`, pitfalls→`debug`/`learning`, patterns→`coding`, rules→`quality`.
|
|
24
|
-
- **Promotion** → at milestone close, scan learnings for repeated keywords (≥2 entries) and offer to graduate them into formal conventions.
|
|
25
|
-
- **Traceability** → every entry needs a source anchor: `file:line`, `INS-{id}`, commit, or phase path.
|
|
26
|
-
|
|
1
|
+
# Maestro
|
|
2
|
+
|
|
3
|
+
Workflow orchestration CLI with MCP endpoint support and extensible architecture.
|
|
4
|
+
|
|
5
|
+
- **Coding Philosophy**: @~/.maestro/workflows/coding-philosophy.md
|
|
6
|
+
|
|
7
|
+
## Delegate & CLI
|
|
8
|
+
|
|
9
|
+
- **Delegate Usage**: @~/.maestro/workflows/delegate-usage.md
|
|
10
|
+
- **CLI Endpoints Config**: @~/.maestro/cli-tools.json
|
|
11
|
+
|
|
12
|
+
**Strictly follow the cli-tools.json configuration**
|
|
13
|
+
|
|
14
|
+
Available CLI endpoints are dynamically defined by the config file
|
|
15
|
+
|
|
16
|
+
## Code Diagnostics
|
|
17
|
+
|
|
18
|
+
- **Prefer `mcp__ide__getDiagnostics`** for code error checking over shell-based TypeScript compilation
|
|
19
|
+
|
|
20
|
+
## Knowledge Capture
|
|
21
|
+
|
|
22
|
+
- **Spec writes** → always `<spec-entry>` closed-tag format with `category`, `keywords`, `date`, `source`. Never raw Markdown. Route through `spec-add` when possible.
|
|
23
|
+
- **Capture signal** → when execution surfaces non-obvious knowledge (plan deviation, retry pattern, root cause, constraint violation), ask user once whether to persist it. Match category to content: decisions→`arch`, pitfalls→`debug`/`learning`, patterns→`coding`, rules→`quality`.
|
|
24
|
+
- **Promotion** → at milestone close, scan learnings for repeated keywords (≥2 entries) and offer to graduate them into formal conventions.
|
|
25
|
+
- **Traceability** → every entry needs a source anchor: `file:line`, `INS-{id}`, commit, or phase path.
|
|
@@ -22,7 +22,8 @@ maestro delegate "<PROMPT>" [options]
|
|
|
22
22
|
|
|
23
23
|
| Option | Description | Default |
|
|
24
24
|
|--------|-------------|---------|
|
|
25
|
-
| `--to <
|
|
25
|
+
| `--to <tool>` | Explicit tool: gemini, qwen, codex, claude, opencode | First enabled in config |
|
|
26
|
+
| `--role <role>` | Capability role: analyze, explore, review, implement, plan, brainstorm, research | — (resolves via config) |
|
|
26
27
|
| `--mode <mode>` | `analysis` (read-only) or `write` (create/modify/delete) | `analysis` |
|
|
27
28
|
| `--model <model>` | Model override | Tool's `primaryModel` |
|
|
28
29
|
| `--cd <dir>` | Working directory | Current directory |
|
|
@@ -32,6 +33,19 @@ maestro delegate "<PROMPT>" [options]
|
|
|
32
33
|
| `--resume [id]` | Resume session (last if no id, comma-separated for merge) | — |
|
|
33
34
|
| `--backend <type>` | Adapter backend: `direct` or `terminal` (tmux/wezterm) | `direct` |
|
|
34
35
|
|
|
36
|
+
### Tool Resolution Priority
|
|
37
|
+
|
|
38
|
+
1. `--to <tool>` — explicit tool selection (backward compat, highest priority)
|
|
39
|
+
2. `--role <role>` — capability-based auto-selection via config
|
|
40
|
+
3. No flag — first enabled tool in config
|
|
41
|
+
|
|
42
|
+
### Role-Based Tool Selection
|
|
43
|
+
|
|
44
|
+
Roles map to tools via `cli-tools.json` configuration:
|
|
45
|
+
- User-defined roles in `roles` section override built-in defaults
|
|
46
|
+
- Workspace `.maestro/cli-tools.json` overrides global `~/.maestro/cli-tools.json`
|
|
47
|
+
- Built-in roles: `analyze`, `explore`, `review`, `implement`, `plan`, `brainstorm`, `research`
|
|
48
|
+
|
|
35
49
|
### Mode Definition (Authoritative)
|
|
36
50
|
|
|
37
51
|
| Mode | Permission | Auto-Invoke Safe | Use For |
|
|
@@ -236,6 +250,6 @@ Proactively invoke `maestro delegate` when these conditions are met — no user
|
|
|
236
250
|
|
|
237
251
|
- Default `--mode analysis` (safe, read-only)
|
|
238
252
|
- Wait for results before next action
|
|
239
|
-
-
|
|
253
|
+
- Use `--role` for capability-based tool selection; fallback chain is config-driven
|
|
240
254
|
- Rule suggestions are guidelines — choose the best fit
|
|
241
255
|
</execution>
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Codex Code Guidelines
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Code Quality Standards
|
|
5
|
+
|
|
6
|
+
### Code Quality
|
|
7
|
+
- Follow project's existing patterns
|
|
8
|
+
- Match import style and naming conventions
|
|
9
|
+
- Single responsibility per function/class
|
|
10
|
+
- DRY (Don't Repeat Yourself)
|
|
11
|
+
- YAGNI (You Aren't Gonna Need It)
|
|
12
|
+
|
|
13
|
+
### Testing
|
|
14
|
+
- Test all public functions
|
|
15
|
+
- Test edge cases and error conditions
|
|
16
|
+
- Mock external dependencies
|
|
17
|
+
- Target 80%+ coverage
|
|
18
|
+
|
|
19
|
+
### Error Handling
|
|
20
|
+
- Proper try-catch blocks
|
|
21
|
+
- Clear error messages
|
|
22
|
+
- Graceful degradation
|
|
23
|
+
- Don't expose sensitive info
|
|
24
|
+
|
|
25
|
+
## Core Principles
|
|
26
|
+
|
|
27
|
+
**Incremental Progress**:
|
|
28
|
+
- Small, testable changes
|
|
29
|
+
- Commit working code frequently
|
|
30
|
+
- Build on previous work (subtasks)
|
|
31
|
+
|
|
32
|
+
**Evidence-Based**:
|
|
33
|
+
- Study 3+ similar patterns before implementing
|
|
34
|
+
- Match project style exactly
|
|
35
|
+
- Verify with existing code
|
|
36
|
+
|
|
37
|
+
**Pragmatic**:
|
|
38
|
+
- Boring solutions over clever code
|
|
39
|
+
- Simple over complex
|
|
40
|
+
- Adapt to project reality
|
|
41
|
+
|
|
42
|
+
**Context Continuity** (Multi-Task):
|
|
43
|
+
- Leverage resume for consistency
|
|
44
|
+
- Maintain established patterns
|
|
45
|
+
- Test integration between subtasks
|
|
46
|
+
|
|
47
|
+
**Git Operations** (Parallel Task Safety):
|
|
48
|
+
- Only stage/commit files directly produced by current task
|
|
49
|
+
- Never touch unrelated changes or other task outputs
|
|
50
|
+
- Use `git add <specific-files>` instead of `git add .`
|
|
51
|
+
- Verify staged files before commit to avoid cross-task conflicts
|
|
52
|
+
|
|
53
|
+
**Multi-CLI Coexistence** (CRITICAL):
|
|
54
|
+
- If your task conflicts with existing uncommitted changes, **STOP and report the conflict** instead of overwriting
|
|
55
|
+
- Treat all pre-existing uncommitted changes as intentional work-in-progress by other tools
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## System Optimization
|
|
59
|
+
|
|
60
|
+
**Direct Binary Calls**: Always call binaries directly in `functions.shell`, set `workdir`, avoid shell wrappers (`bash -lc`, `cmd /c`, etc.)
|
|
61
|
+
|
|
62
|
+
**Text Editing Priority**:
|
|
63
|
+
1. Use `apply_patch` tool for all routine text edits
|
|
64
|
+
2. Fall back to `sed` for single-line substitutions if unavailable
|
|
65
|
+
3. Avoid Python editing scripts unless both fail
|
|
66
|
+
|
|
67
|
+
**apply_patch invocation**:
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"command": ["apply_patch", "*** Begin Patch\n*** Update File: path/to/file\n@@\n- old\n+ new\n*** End Patch\n"],
|
|
71
|
+
"workdir": "<workdir>",
|
|
72
|
+
"justification": "Brief reason"
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Windows UTF-8 Encoding** (before commands):
|
|
77
|
+
```powershell
|
|
78
|
+
[Console]::InputEncoding = [Text.UTF8Encoding]::new($false)
|
|
79
|
+
[Console]::OutputEncoding = [Text.UTF8Encoding]::new($false)
|
|
80
|
+
chcp 65001 > $null
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Context Acquisition (MCP Tools Priority)
|
|
84
|
+
|
|
85
|
+
**For task context gathering and analysis, ALWAYS prefer MCP tools**:
|
|
86
|
+
|
|
87
|
+
1. **mcp__ace-tool__search_context** - HIGHEST PRIORITY for code discovery
|
|
88
|
+
- Semantic search with real-time codebase index
|
|
89
|
+
- Use for: finding implementations, understanding architecture, locating patterns
|
|
90
|
+
- Example: `mcp__ace-tool__search_context(project_root_path="/path", query="authentication logic")`
|
|
91
|
+
|
|
92
|
+
2. **smart_search** - Fallback for structured search
|
|
93
|
+
- Use `smart_search(query="...")` for keyword/regex search
|
|
94
|
+
- Use `smart_search(action="find_files", pattern="*.ts")` for file discovery
|
|
95
|
+
- Supports modes: `auto`, `hybrid`, `exact`, `ripgrep`
|
|
96
|
+
|
|
97
|
+
3. **read_file** - Batch file reading
|
|
98
|
+
- Read multiple files in parallel: `read_file(path="file1.ts")`, `read_file(path="file2.ts")`
|
|
99
|
+
- Supports glob patterns: `read_file(path="src/**/*.config.ts")`
|
|
100
|
+
|
|
101
|
+
**Priority Order**:
|
|
102
|
+
```
|
|
103
|
+
ACE search_context (semantic) → smart_search (structured) → read_file (batch read) → shell commands (fallback)
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**NEVER** use shell commands (`cat`, `find`, `grep`) when MCP tools are available.
|
|
107
|
+
|
|
108
|
+
## Workflow Session Awareness
|
|
109
|
+
|
|
110
|
+
| Workflow | Directory | Summary File |
|
|
111
|
+
|----------|-----------|-------------|
|
|
112
|
+
| `workflow-plan` | `.workflow/active/WFS-*/` | `workflow-session.json` |
|
|
113
|
+
| `workflow-lite-plan` | `.workflow/.lite-plan/{date}-{slug}/` | `plan.json` |
|
|
114
|
+
| `analyze-with-file` | `.workflow/.analysis/ANL-*/` | `conclusions.json` |
|
|
115
|
+
| `multi-cli-plan` | `.workflow/.multi-cli-plan/*/` | `session-state.json` |
|
|
116
|
+
| `lite-fix` | `.workflow/.lite-fix/*/` | `fix-plan.json` |
|
|
117
|
+
| Other | `.workflow/.debug/`, `.workflow/.scratchpad/`, `.workflow/archives/` | — |
|
|
118
|
+
|
|
119
|
+
Before starting work, scan recent sessions (7 days) to avoid conflicts and reuse prior work:
|
|
120
|
+
- Overlapping file scope → warn, suggest referencing prior session
|
|
121
|
+
- Complementary findings → feed into current task context
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## Knowledge Capture
|
|
125
|
+
|
|
126
|
+
- **Spec writes** → always `<spec-entry>` closed-tag format with `category`, `keywords`, `date`, `source`. Never raw Markdown. Route through `spec-add` when possible.
|
|
127
|
+
- **Capture signal** → when execution surfaces non-obvious knowledge (plan deviation, retry pattern, root cause, constraint violation), ask user once whether to persist it. Match category to content: decisions→`arch`, pitfalls→`debug`/`learning`, patterns→`coding`, rules→`quality`.
|
|
128
|
+
- **Promotion** → at milestone close, scan learnings for repeated keywords (≥2 entries) and offer to graduate them into formal conventions.
|
|
129
|
+
- **Traceability** → every entry needs a source anchor: `file:line`, `INS-{id}`, commit, or phase path.
|
|
130
|
+
|
|
131
|
+
## Execution Checklist
|
|
132
|
+
|
|
133
|
+
**Before**:
|
|
134
|
+
- [ ] Understand PURPOSE and TASK clearly
|
|
135
|
+
- [ ] Use ACE search_context first, fallback to smart_search for discovery
|
|
136
|
+
- [ ] Use read_file to batch read context files, find 3+ patterns
|
|
137
|
+
- [ ] Check RULES templates and constraints
|
|
138
|
+
|
|
139
|
+
**During**:
|
|
140
|
+
- [ ] Follow existing patterns exactly
|
|
141
|
+
- [ ] Write tests alongside code
|
|
142
|
+
- [ ] Run tests after every change
|
|
143
|
+
- [ ] Commit working code incrementally
|
|
144
|
+
|
|
145
|
+
**After**:
|
|
146
|
+
- [ ] All tests pass
|
|
147
|
+
- [ ] Coverage meets target
|
|
148
|
+
- [ ] Build succeeds
|
|
149
|
+
- [ ] All EXPECTED deliverables met
|
|
150
|
+
- [ ] Non-obvious knowledge surfaced? → offer `spec-add`
|
|
@@ -22,7 +22,8 @@ maestro delegate "<PROMPT>" [options]
|
|
|
22
22
|
|
|
23
23
|
| Option | Description | Default |
|
|
24
24
|
|--------|-------------|---------|
|
|
25
|
-
| `--to <tool>` |
|
|
25
|
+
| `--to <tool>` | Explicit tool: gemini, qwen, codex, claude, opencode | First enabled in config |
|
|
26
|
+
| `--role <role>` | Capability role: analyze, explore, review, implement, plan, brainstorm, research | — (resolves via config) |
|
|
26
27
|
| `--mode <mode>` | `analysis` (read-only) or `write` (create/modify/delete) | `analysis` |
|
|
27
28
|
| `--model <model>` | Model override | Tool's `primaryModel` |
|
|
28
29
|
| `--cd <dir>` | Working directory | Current directory |
|
|
@@ -32,6 +33,19 @@ maestro delegate "<PROMPT>" [options]
|
|
|
32
33
|
| `--includeDirs <dirs>` | Additional directories (comma-separated) | — |
|
|
33
34
|
| `--backend <type>` | Adapter backend: `direct` or `terminal` (tmux/wezterm) | `direct` |
|
|
34
35
|
|
|
36
|
+
### Tool Resolution Priority
|
|
37
|
+
|
|
38
|
+
1. `--to <tool>` — explicit tool selection (backward compat, highest priority)
|
|
39
|
+
2. `--role <role>` — capability-based auto-selection via config
|
|
40
|
+
3. No flag — first enabled tool in config
|
|
41
|
+
|
|
42
|
+
### Role-Based Tool Selection
|
|
43
|
+
|
|
44
|
+
Roles map to tools via `cli-tools.json` configuration:
|
|
45
|
+
- User-defined roles in `roles` section override built-in defaults
|
|
46
|
+
- Workspace `.maestro/cli-tools.json` overrides global `~/.maestro/cli-tools.json`
|
|
47
|
+
- Built-in roles: `analyze`, `explore`, `review`, `implement`, `plan`, `brainstorm`, `research`
|
|
48
|
+
|
|
35
49
|
### Mode Definition (Authoritative)
|
|
36
50
|
|
|
37
51
|
| Mode | Permission | Auto-Invoke Safe | Use For |
|
|
@@ -284,7 +298,7 @@ Proactively invoke `maestro delegate` when these conditions are met — no user
|
|
|
284
298
|
|
|
285
299
|
- Default `--mode analysis` (safe, read-only)
|
|
286
300
|
- Always `Bash(run_in_background: true)` — stop immediately, wait for callback
|
|
287
|
-
-
|
|
301
|
+
- Use `--role` for capability-based tool selection; fallback chain is config-driven
|
|
288
302
|
- Rule suggestions are guidelines — choose the best fit
|
|
289
303
|
- Use `inject` for supplementary context mid-execution; `after_complete` for chained multi-step tasks
|
|
290
304
|
</execution>
|
package/workflows/execute.md
CHANGED
|
@@ -48,16 +48,30 @@ For each PLAN_DIR in PLAN_DIRS (sequential):
|
|
|
48
48
|
|
|
49
49
|
## E0.5: Execution Options Confirmation
|
|
50
50
|
|
|
51
|
-
**Purpose:** Let user choose how tasks execute. Supports both menu selection and natural language intent
|
|
51
|
+
**Purpose:** Let user choose how tasks execute. Reads available tools from `delegate-config show --json` to build dynamic options. Supports both menu selection and natural language intent. Skipped when `-y` flag or executionContext already confirmed.
|
|
52
52
|
|
|
53
53
|
### Skip conditions
|
|
54
54
|
|
|
55
55
|
- `-y` flag → use resolved defaults, skip prompt
|
|
56
56
|
- `executionContext.executionMethod` already set → skip (confirmed in /maestro-plan)
|
|
57
57
|
|
|
58
|
+
### Pre-step: Load tool config
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Run: maestro delegate-config show --json
|
|
62
|
+
Parse: { tools, roles } — extract enabled tool names and domain tags
|
|
63
|
+
Build dynamic options from enabled tools (exclude agent which is always available)
|
|
64
|
+
```
|
|
65
|
+
|
|
58
66
|
### Tool Call
|
|
59
67
|
|
|
68
|
+
Build AskUserQuestion dynamically from enabled tools:
|
|
69
|
+
|
|
60
70
|
```
|
|
71
|
+
// availableTools = enabled tools from delegate-config (e.g. ["gemini", "claude", "codex"])
|
|
72
|
+
// frontendTool = first tool with "frontend" tag, fallback first enabled
|
|
73
|
+
// backendTool = first tool with "backend" tag, fallback first enabled
|
|
74
|
+
|
|
61
75
|
AskUserQuestion({
|
|
62
76
|
questions: [
|
|
63
77
|
{
|
|
@@ -65,10 +79,10 @@ AskUserQuestion({
|
|
|
65
79
|
header: "Executor",
|
|
66
80
|
multiSelect: false,
|
|
67
81
|
options: [
|
|
68
|
-
{ label: "Auto (Recommended)", description:
|
|
82
|
+
{ label: "Auto (Recommended)", description: `Per-task domain routing: frontend→${frontendTool}, backend→${backendTool}, general→agent` },
|
|
69
83
|
{ label: "Agent", description: "Claude Code agent for all tasks (fastest)" },
|
|
70
|
-
|
|
71
|
-
{ label:
|
|
84
|
+
// One option per enabled CLI tool:
|
|
85
|
+
...availableTools.map(t => ({ label: t, description: `${t} CLI for all tasks` }))
|
|
72
86
|
]
|
|
73
87
|
},
|
|
74
88
|
{
|
|
@@ -77,8 +91,8 @@ AskUserQuestion({
|
|
|
77
91
|
multiSelect: false,
|
|
78
92
|
options: [
|
|
79
93
|
{ label: "Skip (Recommended)", description: "No code review, proceed to verification" },
|
|
80
|
-
|
|
81
|
-
{ label:
|
|
94
|
+
// One option per enabled CLI tool with review capability:
|
|
95
|
+
...availableTools.map(t => ({ label: `${t} Review`, description: `${t} CLI: git diff quality review` }))
|
|
82
96
|
]
|
|
83
97
|
}
|
|
84
98
|
]
|
|
@@ -91,11 +105,11 @@ AskUserQuestion({
|
|
|
91
105
|
|
|
92
106
|
| Answer | executionMethod | domainRouting |
|
|
93
107
|
|--------|----------------|---------------|
|
|
94
|
-
| "Auto" | `"auto"` | `{ frontend:
|
|
95
|
-
| "Agent" /
|
|
96
|
-
| Other text with domain rules | `"auto"` | Parse from user text
|
|
108
|
+
| "Auto" | `"auto"` | `{ frontend: frontendTool, backend: backendTool, default: "agent" }` |
|
|
109
|
+
| "Agent" / tool name | that value | not used |
|
|
110
|
+
| Other text with domain rules | `"auto"` | Parse from user text |
|
|
97
111
|
|
|
98
|
-
Other text parsing
|
|
112
|
+
Other text parsing — match tool names dynamically from enabled tools:
|
|
99
113
|
|
|
100
114
|
| User types | domainRouting |
|
|
101
115
|
|------------|---------------|
|
|
@@ -134,9 +148,9 @@ If executionContext is available in memory:
|
|
|
134
148
|
Read ${PLAN_DIR}/plan.json
|
|
135
149
|
|
|
136
150
|
executionMethod = E0.5 selection || --method flag || config.json.execution.method || "auto"
|
|
137
|
-
defaultExecutor = --executor flag || config.json.execution.default_executor ||
|
|
151
|
+
defaultExecutor = --executor flag || config.json.execution.default_executor || first enabled tool from delegate-config
|
|
138
152
|
executorAssignments = plan.json.executor_assignments || {}
|
|
139
|
-
domainRouting = E0.5 domainRouting ||
|
|
153
|
+
domainRouting = E0.5 domainRouting || built from delegate-config domain tags (frontend→tag match, backend→tag match, default→"agent")
|
|
140
154
|
codeReviewTool = E0.5 selection || "Skip"
|
|
141
155
|
```
|
|
142
156
|
|
|
@@ -340,9 +354,9 @@ If none critical: log "passed" and continue to E2.6
|
|
|
340
354
|
If codeReviewTool == "Skip": continue to E3
|
|
341
355
|
|
|
342
356
|
Dispatch review via maestro delegate (run_in_background: true):
|
|
343
|
-
--to
|
|
357
|
+
--to ${codeReviewTool} --mode analysis
|
|
344
358
|
Prompt: review git diff (execution start → HEAD) for correctness, style, bugs
|
|
345
|
-
Rule: analysis-review-code-quality
|
|
359
|
+
Rule: analysis-review-code-quality
|
|
346
360
|
Expected: severity-ranked issues with file:line references and fix suggestions
|
|
347
361
|
|
|
348
362
|
Wait for completion, log findings summary
|
package/workflows/init.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Workflow: init
|
|
2
2
|
|
|
3
|
-
Project initialization with automatic state detection. Creates project infrastructure only — roadmap creation is handled by maestro-
|
|
3
|
+
Project initialization with automatic state detection. Creates project infrastructure only — roadmap creation is handled by maestro-roadmap (light or full mode).
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -143,7 +143,7 @@ Verify all required directories and files exist:
|
|
|
143
143
|
- Config highlights (mode, granularity, execution method, enabled agents)
|
|
144
144
|
- Research summary (if research was run)
|
|
145
145
|
3. Route next steps:
|
|
146
|
-
- "Run `/maestro-
|
|
146
|
+
- "Run `/maestro-roadmap --mode full` to create full spec package with roadmap (heavy path)"
|
|
147
147
|
- "Run `/maestro-roadmap` to create interactive roadmap directly (light path)"
|
|
148
148
|
- "Run `/manage-status` to view project dashboard"
|
|
149
149
|
- "Run `/maestro-brainstorm` to explore ideas first"
|
|
@@ -109,7 +109,7 @@ Per perspective → delegate analysis:
|
|
|
109
109
|
CONTEXT: @**/*
|
|
110
110
|
EXPECTED: JSON array: [{ title, severity, description, location, fix_direction, affected_components[] }]
|
|
111
111
|
CONSTRAINTS: Evidence-backed findings only
|
|
112
|
-
" --
|
|
112
|
+
" --role analyze --mode analysis
|
|
113
113
|
|
|
114
114
|
Results → .workflow/issues/discoveries/{SESSION_ID}/{PERSPECTIVE}-findings.json
|
|
115
115
|
Update discovery-state.json: perspectives_completed += ["{PERSPECTIVE}"]
|
|
@@ -170,7 +170,7 @@ Delegate to decompose USER_PROMPT into 3-5 exploration dimensions:
|
|
|
170
170
|
|
|
171
171
|
maestro delegate "Decompose into searchable dimensions: {USER_PROMPT}
|
|
172
172
|
EXPECTED: JSON array: [{ name, description, search_patterns[], file_patterns[], finding_criteria }]
|
|
173
|
-
" --
|
|
173
|
+
" --role analyze --mode analysis
|
|
174
174
|
|
|
175
175
|
Store → .workflow/issues/discoveries/{SESSION_ID}/exploration-plan.json
|
|
176
176
|
```
|