maestro-flow 0.4.8 → 0.4.10
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/.agy/agents/cli-explore-agent.md +186 -0
- package/.agy/agents/conceptual-planning-agent.md +244 -0
- package/.agy/agents/impeccable-agent.md +97 -0
- package/.agy/agents/team-supervisor.md +142 -0
- package/.agy/agents/team-worker.md +236 -0
- package/.agy/agents/ui-design-agent.md +286 -0
- package/.agy/agents/workflow-analyzer.md +114 -0
- package/.agy/agents/workflow-codebase-mapper.md +76 -0
- package/.agy/agents/workflow-collab-planner.md +142 -0
- package/.agy/agents/workflow-debugger.md +102 -0
- package/.agy/agents/workflow-executor.md +131 -0
- package/.agy/agents/workflow-external-researcher.md +86 -0
- package/.agy/agents/workflow-integration-checker.md +82 -0
- package/.agy/agents/workflow-nyquist-auditor.md +84 -0
- package/.agy/agents/workflow-phase-researcher.md +84 -0
- package/.agy/agents/workflow-plan-checker.md +89 -0
- package/.agy/agents/workflow-planner.md +194 -0
- package/.agy/agents/workflow-project-researcher.md +73 -0
- package/.agy/agents/workflow-research-synthesizer.md +70 -0
- package/.agy/agents/workflow-reviewer.md +81 -0
- package/.agy/agents/workflow-roadmapper.md +81 -0
- package/.agy/agents/workflow-verifier.md +119 -0
- package/.agy/skills/codify-to-knowhow/SKILL.md +172 -0
- package/.agy/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agy/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agy/skills/learn-decompose/SKILL.md +118 -0
- package/.agy/skills/learn-follow/SKILL.md +129 -0
- package/.agy/skills/learn-investigate/SKILL.md +154 -0
- package/.agy/skills/learn-retro/SKILL.md +159 -0
- package/.agy/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agy/skills/maestro/SKILL.md +221 -0
- package/.agy/skills/maestro-amend/SKILL.md +162 -0
- package/.agy/skills/maestro-analyze/SKILL.md +135 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +118 -0
- package/.agy/skills/maestro-collab/SKILL.md +174 -0
- package/.agy/skills/maestro-composer/SKILL.md +180 -0
- package/.agy/skills/maestro-execute/SKILL.md +133 -0
- package/.agy/skills/maestro-fork/SKILL.md +88 -0
- package/.agy/skills/maestro-guard/SKILL.md +101 -0
- package/.agy/skills/maestro-help/SKILL.md +267 -0
- package/.agy/skills/maestro-help/index/catalog.json +184 -0
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agy/skills/maestro-help/phases/02-search-present.md +181 -0
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +186 -0
- package/.agy/skills/maestro-impeccable/SKILL.md +250 -0
- package/.agy/skills/maestro-init/SKILL.md +80 -0
- package/.agy/skills/maestro-learn/SKILL.md +142 -0
- package/.agy/skills/maestro-merge/SKILL.md +66 -0
- package/.agy/skills/maestro-milestone-audit/SKILL.md +70 -0
- package/.agy/skills/maestro-milestone-complete/SKILL.md +77 -0
- package/.agy/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agy/skills/maestro-overlay/SKILL.md +177 -0
- package/.agy/skills/maestro-plan/SKILL.md +172 -0
- package/.agy/skills/maestro-player/SKILL.md +176 -0
- package/.agy/skills/maestro-quick/SKILL.md +67 -0
- package/.agy/skills/maestro-ralph/SKILL.md +546 -0
- package/.agy/skills/maestro-ralph-execute/SKILL.md +255 -0
- package/.agy/skills/maestro-roadmap/SKILL.md +170 -0
- package/.agy/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agy/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agy/skills/maestro-ui-codify/SKILL.md +81 -0
- package/.agy/skills/maestro-update/SKILL.md +175 -0
- package/.agy/skills/maestro-verify/SKILL.md +111 -0
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agy/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agy/skills/manage-harvest/SKILL.md +96 -0
- package/.agy/skills/manage-issue/SKILL.md +72 -0
- package/.agy/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agy/skills/manage-knowhow/SKILL.md +76 -0
- package/.agy/skills/manage-knowhow-capture/SKILL.md +78 -0
- package/.agy/skills/manage-learn/SKILL.md +64 -0
- package/.agy/skills/manage-status/SKILL.md +51 -0
- package/.agy/skills/manage-wiki/SKILL.md +61 -0
- package/.agy/skills/quality-auto-test/SKILL.md +135 -0
- package/.agy/skills/quality-debug/SKILL.md +122 -0
- package/.agy/skills/quality-refactor/SKILL.md +69 -0
- package/.agy/skills/quality-retrospective/SKILL.md +79 -0
- package/.agy/skills/quality-review/SKILL.md +130 -0
- package/.agy/skills/quality-sync/SKILL.md +53 -0
- package/.agy/skills/quality-test/SKILL.md +119 -0
- package/.agy/skills/security-audit/SKILL.md +157 -0
- package/.agy/skills/skill-iter-tune/SKILL.md +381 -0
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +198 -0
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agy/skills/spec-add/SKILL.md +67 -0
- package/.agy/skills/spec-load/SKILL.md +70 -0
- package/.agy/skills/spec-remove/SKILL.md +50 -0
- package/.agy/skills/spec-setup/SKILL.md +47 -0
- package/.agy/skills/team-coordinate/SKILL.md +267 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +348 -0
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +362 -0
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agy/skills/team-executor/SKILL.md +180 -0
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +235 -0
- package/.agy/skills/team-executor/roles/executor/role.md +171 -0
- package/.agy/skills/team-executor/specs/session-schema.md +264 -0
- package/.agy/skills/team-lifecycle-v4/SKILL.md +189 -0
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +64 -0
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +82 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +65 -0
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +188 -0
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +84 -0
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agy/skills/team-quality-assurance/SKILL.md +148 -0
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +85 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +235 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +62 -0
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +65 -0
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +69 -0
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agy/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agy/skills/team-review/SKILL.md +149 -0
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +209 -0
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agy/skills/team-review/roles/fixer/role.md +74 -0
- package/.agy/skills/team-review/roles/reviewer/role.md +66 -0
- package/.agy/skills/team-review/roles/scanner/role.md +77 -0
- package/.agy/skills/team-review/specs/dimensions.md +82 -0
- package/.agy/skills/team-review/specs/finding-schema.json +82 -0
- package/.agy/skills/team-review/specs/pipelines.md +102 -0
- package/.agy/skills/team-review/specs/team-config.json +27 -0
- package/.agy/skills/team-tech-debt/SKILL.md +133 -0
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +198 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agy/skills/team-tech-debt/roles/executor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/planner/role.md +68 -0
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +90 -0
- package/.agy/skills/team-tech-debt/roles/validator/role.md +78 -0
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agy/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agy/skills/team-testing/SKILL.md +144 -0
- package/.agy/skills/team-testing/roles/analyst/role.md +101 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +242 -0
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agy/skills/team-testing/roles/executor/role.md +95 -0
- package/.agy/skills/team-testing/roles/generator/role.md +95 -0
- package/.agy/skills/team-testing/roles/strategist/role.md +81 -0
- package/.agy/skills/team-testing/specs/pipelines.md +101 -0
- package/.agy/skills/team-testing/specs/team-config.json +93 -0
- package/.agy/skills/wiki-connect/SKILL.md +64 -0
- package/.agy/skills/wiki-digest/SKILL.md +70 -0
- package/.agy/skills/workflow-skill-designer/SKILL.md +506 -0
- package/.agy/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agy/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agy/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agy/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/dashboard/dist/assets/{ArtifactsPage-CVh0Z2I2.js → ArtifactsPage-BLvAqQlQ.js} +1 -1
- package/dashboard/dist/assets/{ChatInput-CBI3qHQQ.js → ChatInput-DU9YGZKX.js} +1 -1
- package/dashboard/dist/assets/{ChatPage-BjJ9CYox.js → ChatPage-DYHfheXC.js} +1 -1
- package/dashboard/dist/assets/{CollabPage-CprGGO9y.js → CollabPage-CSlmvEa-.js} +1 -1
- package/dashboard/dist/assets/{ExecutionPanel-CClxD7cH.js → ExecutionPanel-RYWf0dYC.js} +1 -1
- package/dashboard/dist/assets/{KanbanPage-copqjdPg.js → KanbanPage-N55Iv0-X.js} +1 -1
- package/dashboard/dist/assets/{MaestroCoordinatePage-CioZjQ9N.js → MaestroCoordinatePage-BxwZ6yy5.js} +1 -1
- package/dashboard/dist/assets/{MarkdownRenderer-CtUhoxCT.js → MarkdownRenderer-ZGtOY7Ti.js} +1 -1
- package/dashboard/dist/assets/{McpPage-BcPPcJpr.js → McpPage-Im6s4pGR.js} +1 -1
- package/dashboard/dist/assets/{MeetingRoomPage-BgmAKxU-.js → MeetingRoomPage-CxHRn1xx.js} +1 -1
- package/dashboard/dist/assets/{OutputPanel-DgT3gMyp.js → OutputPanel-DaL8c1i5.js} +1 -1
- package/dashboard/dist/assets/{ProblemsPanel-BmG7rxoG.js → ProblemsPanel-BQTd5812.js} +1 -1
- package/dashboard/dist/assets/{RequirementBoardPage-k8YoeQ0r.js → RequirementBoardPage-22y9u1qh.js} +1 -1
- package/dashboard/dist/assets/{RequirementPage-Da2354px.js → RequirementPage-_mO743Xm.js} +1 -1
- package/dashboard/dist/assets/{RoomsPage-BtqDiYaU.js → RoomsPage-CExTbOGr.js} +1 -1
- package/dashboard/dist/assets/{SpecsPage-ByPVH_M3.js → SpecsPage-gr4KX51-.js} +1 -1
- package/dashboard/dist/assets/{TeamsPage-sFDLN30L.js → TeamsPage-BxEXLb5g.js} +1 -1
- package/dashboard/dist/assets/{TreeBrowser-oEx8YJXV.js → TreeBrowser-CVtPF5C9.js} +1 -1
- package/dashboard/dist/assets/{WorkflowPage-JrX7CVHh.js → WorkflowPage-BoN18Lhs.js} +1 -1
- package/dashboard/dist/assets/{arrow-left-DYvgSdIH.js → arrow-left-C5ROg97G.js} +1 -1
- package/dashboard/dist/assets/{check-jcgYBWVR.js → check-Bs8PM0tQ.js} +1 -1
- package/dashboard/dist/assets/{chevron-right-DvZ5sMOg.js → chevron-right-SmErd_1F.js} +1 -1
- package/dashboard/dist/assets/{circle-DYT-zoRZ.js → circle-CjpslL_D.js} +1 -1
- package/dashboard/dist/assets/{circle-alert-Bfbv3gt4.js → circle-alert-CuzAg2fd.js} +1 -1
- package/dashboard/dist/assets/{circle-check-D82WnpbI.js → circle-check-BIkDU5D5.js} +1 -1
- package/dashboard/dist/assets/{circle-check-big-CPVD1GKF.js → circle-check-big-CYctV8bK.js} +1 -1
- package/dashboard/dist/assets/{code-B3bKFGI4.js → code-DoB7rfxt.js} +1 -1
- package/dashboard/dist/assets/{columns-3-BeMAQCix.js → columns-3-Ch5KIyRa.js} +1 -1
- package/dashboard/dist/assets/{download-BCtpoWYB.js → download-DadtG2Nr.js} +1 -1
- package/dashboard/dist/assets/{folder-CTj6SNNu.js → folder-B8ODoZfb.js} +1 -1
- package/dashboard/dist/assets/{index-BxR_3IbJ.js → index-BL4h1OKY.js} +1 -1
- package/dashboard/dist/assets/{index-DpcPd-UG.js → index-DQIlX2w_.js} +4 -4
- package/dashboard/dist/assets/{index-CWBJLu42.js → index-DaFwSmVJ.js} +10 -10
- package/dashboard/dist/assets/{list-BMv8pIQn.js → list-CI-XIPZh.js} +1 -1
- package/dashboard/dist/assets/{loader-DdM4VOgF.js → loader-DpdMoQvh.js} +1 -1
- package/dashboard/dist/assets/{minus-D15s2E__.js → minus-BVbfXGrC.js} +1 -1
- package/dashboard/dist/assets/{pen-line-DO6o4xWz.js → pen-line-CR8GaHt-.js} +1 -1
- package/dashboard/dist/assets/{pencil-qGxg9jOe.js → pencil-I7GE0y29.js} +1 -1
- package/dashboard/dist/assets/{proxy-DOffTzwA.js → proxy-CcYyZZWI.js} +1 -1
- package/dashboard/dist/assets/{refresh-cw-C9UNdLCy.js → refresh-cw-BG9V_T4R.js} +1 -1
- package/dashboard/dist/assets/{rows-2-CifAA5SL.js → rows-2-DP6NjQFk.js} +1 -1
- package/dashboard/dist/assets/{search-pe7pU1YN.js → search-b78eLlw2.js} +1 -1
- package/dashboard/dist/assets/{shallow-r7YynQYA.js → shallow-CJEesgtu.js} +1 -1
- package/dashboard/dist/assets/{table-Bh772iIw.js → table-B_lk-a1d.js} +1 -1
- package/dashboard/dist/assets/{team-types-C_HqX2p2.js → team-types-Se7f9LfJ.js} +1 -1
- package/dashboard/dist/assets/{terminal-EpmtGBlw.js → terminal-DXx4tvzq.js} +1 -1
- package/dashboard/dist/assets/{trash-2-Xen46iNQ.js → trash-2-CVh9mnRj.js} +1 -1
- package/dashboard/dist/assets/{users-BLueDPxF.js → users-Da9zGME5.js} +1 -1
- package/dashboard/dist/assets/{zap-DsQCPF61.js → zap-C0zaC7gJ.js} +1 -1
- package/dashboard/dist/index.html +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/adapter-factory.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/agy-adapter.d.ts +39 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agy-adapter.js +423 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agy-adapter.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.d.ts +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +109 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.js +2 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
- package/dashboard/dist-server/shared/agent-types.d.ts +1 -1
- package/dist/shared/agent-types.d.ts +1 -1
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +3 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/hooks.d.ts +64 -0
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +107 -0
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/install.d.ts.map +1 -1
- package/dist/src/commands/install.js +17 -3
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +53 -0
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +19 -5
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +77 -32
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/config/cli-tools-defaults.json +2 -1
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +53 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +5 -3
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/utils/update-notices.d.ts +62 -0
- package/dist/src/utils/update-notices.d.ts.map +1 -0
- package/dist/src/utils/update-notices.js +178 -0
- package/dist/src/utils/update-notices.js.map +1 -0
- package/package.json +84 -82
- package/shared/agent-types.ts +1 -1
- package/workflows/agy-instructions.md +124 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-harvest
|
|
3
|
+
description: Extract knowledge from artifacts into wiki/spec/issues
|
|
4
|
+
argument-hint: [<session-id|path>] [--to wiki|spec|issue|auto] [--source <type>] [--recent N] [--dry-run] [-y]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- define_subagent
|
|
8
|
+
- grep_search
|
|
9
|
+
- invoke_subagent
|
|
10
|
+
- manage_subagents
|
|
11
|
+
- replace_file_content
|
|
12
|
+
- run_command
|
|
13
|
+
- send_message
|
|
14
|
+
- view_file
|
|
15
|
+
- write_to_file
|
|
16
|
+
---
|
|
17
|
+
<purpose>
|
|
18
|
+
Extract knowledge fragments from workflow artifacts (analysis results, brainstorm outputs, debug sessions, lite-plan/fix results, scratchpad notes, completed sessions) and route them into the project's three knowledge stores: wiki entries, spec conventions, and trackable issues.
|
|
19
|
+
|
|
20
|
+
Complements `quality-retrospective` (which is phase-scoped) by harvesting from **any** workflow artifact. Prevents knowledge loss from completed analysis and planning sessions that would otherwise only exist as stale files.
|
|
21
|
+
|
|
22
|
+
**Closed-loop**: harvest extracts → wiki/spec/issue stores → downstream commands consume (wiki-digest, spec-load, maestro-plan --gaps).
|
|
23
|
+
</purpose>
|
|
24
|
+
|
|
25
|
+
<required_reading>
|
|
26
|
+
@~/.maestro/workflows/harvest.md
|
|
27
|
+
</required_reading>
|
|
28
|
+
|
|
29
|
+
<deferred_reading>
|
|
30
|
+
- @~/.maestro/workflows/issue.md (issues.jsonl schema for issue routing — read when creating issues in Stage 6c)
|
|
31
|
+
- @~/.maestro/workflows/specs-add.md (spec entry format — read when routing to spec in Stage 6b)
|
|
32
|
+
</deferred_reading>
|
|
33
|
+
|
|
34
|
+
<context>
|
|
35
|
+
Arguments: $ARGUMENTS
|
|
36
|
+
|
|
37
|
+
**Modes (auto-detected):**
|
|
38
|
+
- No arguments → `scan` mode: discover all harvestable artifacts, interactive selection
|
|
39
|
+
- `<session-id>` (e.g., `ANL-auth-20260410`, `WFS-xxx`) → `session` mode: harvest specific session
|
|
40
|
+
- `<path>` (e.g., `.workflow/.analysis/ANL-auth-20260410/`) → `path` mode: harvest from explicit directory
|
|
41
|
+
|
|
42
|
+
Flags, source registry (scan paths), and storage locations defined in workflow harvest.md.
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
Follow '~/.maestro/workflows/harvest.md' Stages 1-8 in order.
|
|
47
|
+
|
|
48
|
+
**Key invariants:**
|
|
49
|
+
1. **Read-only until Stage 6** — extraction and classification happen in-memory.
|
|
50
|
+
2. **Dedup before write** — check harvest-log.jsonl and existing stores before each write.
|
|
51
|
+
3. **Never modify source artifacts** — harvest is purely extractive.
|
|
52
|
+
|
|
53
|
+
Extraction patterns, classification rules, routing infrastructure, and fragment ID scheme defined in workflow harvest.md.
|
|
54
|
+
|
|
55
|
+
**Next-step routing on completion:**
|
|
56
|
+
- Review wiki entries → `maestro wiki list --type note`
|
|
57
|
+
- Connect wiki graph → `/wiki-connect --fix`
|
|
58
|
+
- Triage issues → `/manage-issue list --source harvest`
|
|
59
|
+
- View specs → `/spec-load --role implement`
|
|
60
|
+
- Full retrospective → `/quality-retrospective`
|
|
61
|
+
</execution>
|
|
62
|
+
|
|
63
|
+
<error_codes>
|
|
64
|
+
| Code | Severity | Condition | Recovery |
|
|
65
|
+
|------|----------|-----------|----------|
|
|
66
|
+
| E001 | error | `.workflow/` not initialized | Run `/maestro-init` first |
|
|
67
|
+
| E002 | error | Invalid `--to` target (must be: wiki, spec, issue, auto) | Display valid options |
|
|
68
|
+
| E003 | error | Invalid `--source` type | Display valid source types from registry |
|
|
69
|
+
| E004 | error | Session ID not found in any source path | Show available sessions with `--source all` |
|
|
70
|
+
| E005 | error | Path does not exist or contains no parseable artifacts | Verify path and file structure |
|
|
71
|
+
| W001 | warning | No harvestable artifacts found within `--recent` window | Widen time window or check `.workflow/` contents |
|
|
72
|
+
| W002 | warning | `maestro wiki create` failed — wiki entries saved to `.workflow/harvest/wiki-pending-*.md` | Apply pending entries manually or retry |
|
|
73
|
+
| W003 | warning | Some fragments below confidence threshold — logged but not routed | Lower `--min-confidence` to include |
|
|
74
|
+
| W004 | warning | Duplicate fragments skipped | Review harvest-log.jsonl for prior routing |
|
|
75
|
+
| W005 | warning | `.workflow/issues/` directory missing | Auto-create directory and empty issues.jsonl |
|
|
76
|
+
</error_codes>
|
|
77
|
+
|
|
78
|
+
<success_criteria>
|
|
79
|
+
- [ ] Mode correctly resolved (scan / session / path)
|
|
80
|
+
- [ ] Source artifacts discovered and listed with metadata
|
|
81
|
+
- [ ] User selected artifact(s) to harvest (or auto-selected via session/path mode)
|
|
82
|
+
- [ ] All files in selected artifacts loaded and parsed
|
|
83
|
+
- [ ] Knowledge fragments extracted with category, confidence, tags
|
|
84
|
+
- [ ] Fragments filtered by `--min-confidence`
|
|
85
|
+
- [ ] Routing classification applied (auto or forced by `--to`)
|
|
86
|
+
- [ ] Dedup check passed against harvest-log.jsonl and existing stores
|
|
87
|
+
- [ ] If `--dry-run`: preview displayed, no files written
|
|
88
|
+
- [ ] If not dry-run: all routed items written to target stores
|
|
89
|
+
- [ ] Wiki entries created via `maestro wiki create` (or fallback to pending files)
|
|
90
|
+
- [ ] Spec entries added via `spec-add` mechanism
|
|
91
|
+
- [ ] Issue entries appended to `issues.jsonl` with canonical schema
|
|
92
|
+
- [ ] `harvest-log.jsonl` updated with provenance for each routed item
|
|
93
|
+
- [ ] `harvest-report-{date}.md` written with full summary
|
|
94
|
+
- [ ] No source artifacts modified
|
|
95
|
+
- [ ] Summary displayed with counts and next-step routing
|
|
96
|
+
</success_criteria>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-issue
|
|
3
|
+
description: Create, query, update, close, and link issues
|
|
4
|
+
argument-hint: <subcommand: create|list|status|update|close|link> [--title text] [--severity S] [--status S] [--resolution text]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- grep_search
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- run_command
|
|
10
|
+
- view_file
|
|
11
|
+
- write_to_file
|
|
12
|
+
---
|
|
13
|
+
<purpose>
|
|
14
|
+
Issue lifecycle management for the project issue tracker. Supports create, list, status, update, close, and link (bidirectional issue-task cross-reference). All issues stored in `.workflow/issues/issues.jsonl` using the issue.json schema.
|
|
15
|
+
|
|
16
|
+
For automated issue discovery, use `/manage-issue-discover`.
|
|
17
|
+
|
|
18
|
+
**Closed-loop workflow**: After creating an issue, use `/maestro-analyze --gaps <ISS-ID>` for root cause analysis, `/maestro-plan --gaps` for solution planning, and `/maestro-execute` for execution.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/issue.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<deferred_reading>
|
|
26
|
+
- [issue.json template](~/.maestro/templates/issue.json) — read when creating or updating issue records (create, update, close)
|
|
27
|
+
</deferred_reading>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
$ARGUMENTS -- subcommand + options. Parse first token as subcommand.
|
|
31
|
+
|
|
32
|
+
**Valid subcommands:**
|
|
33
|
+
- `create` -- create a new issue (--title, --severity, --source, --phase, --description)
|
|
34
|
+
- `list` -- list issues with optional filters (--status, --phase, --severity, --source)
|
|
35
|
+
- `status` -- show full detail for a specific issue (ISS-XXXXXXXX-NNN)
|
|
36
|
+
- `update` -- update issue fields (ISS-XXXXXXXX-NNN --status, --priority, --severity, --tags, ...)
|
|
37
|
+
- `close` -- close an issue with resolution (ISS-XXXXXXXX-NNN --resolution)
|
|
38
|
+
- `link` -- link issue to a task (ISS-XXXXXXXX-NNN --task TASK-NNN)
|
|
39
|
+
|
|
40
|
+
**State files:**
|
|
41
|
+
- `.workflow/issues/issues.jsonl` -- active issues (one JSON per line)
|
|
42
|
+
- `.workflow/issues/issue-history.jsonl` -- archived/closed issues
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
Parse subcommand from first token of $ARGUMENTS.
|
|
47
|
+
Follow '~/.maestro/workflows/issue.md' completely.
|
|
48
|
+
|
|
49
|
+
**Next-step routing on completion:**
|
|
50
|
+
- create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
|
|
51
|
+
- list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
|
|
52
|
+
- close → `/manage-status`
|
|
53
|
+
</execution>
|
|
54
|
+
|
|
55
|
+
<error_codes>
|
|
56
|
+
| Code | Severity | Condition | Recovery |
|
|
57
|
+
|------|----------|-----------|----------|
|
|
58
|
+
| E_NO_SUBCOMMAND | error | No subcommand provided in $ARGUMENTS | Display valid subcommands, prompt user to select |
|
|
59
|
+
| E_INVALID_SUBCOMMAND | error | Unrecognized subcommand | Display valid subcommands with usage hints |
|
|
60
|
+
| E_ISSUES_DIR_MISSING | warning | `.workflow/issues/` directory does not exist | Auto-create directory and empty issues.jsonl |
|
|
61
|
+
</error_codes>
|
|
62
|
+
|
|
63
|
+
<success_criteria>
|
|
64
|
+
- [ ] Subcommand parsed and routed to correct handler
|
|
65
|
+
- [ ] Issue data read/written to correct JSONL file
|
|
66
|
+
- [ ] Output displayed in appropriate format (table for list, detail for status)
|
|
67
|
+
- [ ] Cross-references maintained (link creates bidirectional references)
|
|
68
|
+
- [ ] Next step routing by subcommand:
|
|
69
|
+
- create → `/maestro-analyze --gaps <ISS-ID>` or `/maestro-plan --gaps`
|
|
70
|
+
- list → `/maestro-analyze --gaps <ISS-ID>` for any open issue
|
|
71
|
+
- close → `/manage-status`
|
|
72
|
+
</success_criteria>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-issue-discover
|
|
3
|
+
description: Discover issues via multi-perspective analysis
|
|
4
|
+
argument-hint: [multi-perspective | by-prompt <prompt>] [-y] [--scope <glob>] [--depth standard|deep]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- define_subagent
|
|
8
|
+
- grep_search
|
|
9
|
+
- invoke_subagent
|
|
10
|
+
- manage_subagents
|
|
11
|
+
- run_command
|
|
12
|
+
- send_message
|
|
13
|
+
- view_file
|
|
14
|
+
- write_to_file
|
|
15
|
+
---
|
|
16
|
+
<purpose>
|
|
17
|
+
Automated issue discovery via multi-perspective codebase analysis (8 perspectives) or prompt-driven exploration. Discovers issues, deduplicates findings, and records them in `.workflow/issues/issues.jsonl`.
|
|
18
|
+
|
|
19
|
+
- **Default (no args)**: Interactive mode selection — choose multi-perspective or prompt-driven.
|
|
20
|
+
- **`multi-perspective`**: 8-perspective parallel agent scan — security, performance, reliability, maintainability, scalability, UX, accessibility, compliance.
|
|
21
|
+
- **`by-prompt "..."`**: Prompt-driven — CLI delegate plans exploration strategy, agents explore iteratively with cross-dimension analysis.
|
|
22
|
+
|
|
23
|
+
For CRUD operations (create, list, update, close, link), use `/manage-issue`.
|
|
24
|
+
|
|
25
|
+
After discovery, use `/maestro-analyze --gaps <ISS-ID>` to perform root cause analysis on individual findings.
|
|
26
|
+
</purpose>
|
|
27
|
+
|
|
28
|
+
<required_reading>
|
|
29
|
+
@~/.maestro/workflows/issue-discover.md
|
|
30
|
+
</required_reading>
|
|
31
|
+
|
|
32
|
+
<deferred_reading>
|
|
33
|
+
- [issue.json template](~/.maestro/templates/issue.json) — read when creating issue records from findings (Step 6/11)
|
|
34
|
+
- [search-tools](~/.maestro/templates/search-tools.md) — search tool priority, passed to agents via workflow
|
|
35
|
+
</deferred_reading>
|
|
36
|
+
|
|
37
|
+
<context>
|
|
38
|
+
$ARGUMENTS -- optional. Parse first token to determine mode.
|
|
39
|
+
|
|
40
|
+
**Modes:**
|
|
41
|
+
- _(empty)_ -- interactive mode selection (ask_question)
|
|
42
|
+
- `multi-perspective` -- 8-perspective parallel agent scan
|
|
43
|
+
- `by-prompt "..."` -- prompt-driven iterative agent exploration (CLI-planned)
|
|
44
|
+
|
|
45
|
+
**Flags:**
|
|
46
|
+
- `-y` / `--yes` -- auto mode, skip confirmations
|
|
47
|
+
- `--scope=<pattern>` -- file scope (default: `**/*`)
|
|
48
|
+
- `--depth=standard|deep` -- exploration depth (by-prompt only, default: `standard`)
|
|
49
|
+
|
|
50
|
+
**State files:**
|
|
51
|
+
- `.workflow/issues/issues.jsonl` -- issues appended here
|
|
52
|
+
- `.workflow/issues/discoveries/{SESSION_ID}/` -- session artifacts
|
|
53
|
+
|
|
54
|
+
### Pre-load specs
|
|
55
|
+
1. **Debug specs**: Run `maestro spec load --category debug` to load known antipatterns, root causes, and gotchas. Informs discovery perspectives with prior findings.
|
|
56
|
+
2. Optional — proceed without if unavailable.
|
|
57
|
+
</context>
|
|
58
|
+
|
|
59
|
+
<execution>
|
|
60
|
+
Determine mode from $ARGUMENTS:
|
|
61
|
+
- No arguments or empty → interactive selection via ask_question
|
|
62
|
+
- First token is `multi-perspective` → multi-perspective mode
|
|
63
|
+
- First token is `by-prompt` → prompt-driven mode, remaining tokens are the user prompt
|
|
64
|
+
|
|
65
|
+
Follow '~/.maestro/workflows/issue-discover.md' completely.
|
|
66
|
+
</execution>
|
|
67
|
+
|
|
68
|
+
<error_codes>
|
|
69
|
+
| Code | Severity | Condition | Recovery |
|
|
70
|
+
|------|----------|-----------|----------|
|
|
71
|
+
| E_NO_PROJECT | error | `.workflow/` does not exist | Prompt user to run `/maestro-init` first |
|
|
72
|
+
| E_DISCOVERY_FAILED | error | CLI analysis returned no results | Retry with different tool or report partial findings |
|
|
73
|
+
| E_EMPTY_PROMPT | warning | `by-prompt` used without prompt text | Interactive prompt with suggested options |
|
|
74
|
+
</error_codes>
|
|
75
|
+
|
|
76
|
+
<success_criteria>
|
|
77
|
+
- [ ] Discovery mode correctly determined from arguments
|
|
78
|
+
- [ ] All perspectives analyzed (multi-perspective) or dimensions explored (by-prompt)
|
|
79
|
+
- [ ] Findings deduplicated before issue creation
|
|
80
|
+
- [ ] Issues appended to issues.jsonl with correct schema
|
|
81
|
+
- [ ] Discovery session fully traceable via session directory
|
|
82
|
+
- [ ] Next step routing: `/maestro-analyze --gaps <ISS-ID>` for root cause analysis, or `/manage-issue list` to review all issues
|
|
83
|
+
</success_criteria>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-knowhow
|
|
3
|
+
description: Manage knowhow entries (workflow and system)
|
|
4
|
+
argument-hint: <subcommand: list|search|view|edit|delete|prune> [query|id] [--store workflow|system|all] [--tag <tag>] [--type compact|tip]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- grep_search
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- run_command
|
|
10
|
+
- view_file
|
|
11
|
+
- write_to_file
|
|
12
|
+
---
|
|
13
|
+
<purpose>
|
|
14
|
+
Unified memory management across two stores:
|
|
15
|
+
1. **Workflow knowhow** (`.workflow/knowhow/`) — Session compacts and tips with JSON index, created by `manage-knowhow-capture`
|
|
16
|
+
2. **System memory** (`~/.claude/projects/{project}/memory/`) — Claude Code auto-memory (MEMORY.md + topic files), persists across conversations
|
|
17
|
+
|
|
18
|
+
Provides list/search/view/edit/delete/prune operations. Default store is `all` (show both).
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/knowhow.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
Arguments: $ARGUMENTS
|
|
27
|
+
|
|
28
|
+
Dual store architecture (paths, formats, index) defined in workflow knowhow.md.
|
|
29
|
+
|
|
30
|
+
**Subcommands:**
|
|
31
|
+
- `list` — List entries from both stores (default if no arguments)
|
|
32
|
+
- `search <query>` — Full-text search across both stores
|
|
33
|
+
- `view <id|file>` — Display a workflow entry by ID or system file by name
|
|
34
|
+
- `edit <file>` — Edit a system memory file (MEMORY.md or topic file)
|
|
35
|
+
- `delete <id|file>` — Remove an entry/file (with confirmation)
|
|
36
|
+
- `prune` — Bulk cleanup by criteria
|
|
37
|
+
|
|
38
|
+
**Flags:**
|
|
39
|
+
- `--store <workflow|system|all>` — Target store (default: `all` for list/search, inferred for other ops)
|
|
40
|
+
- `--tag <tag>` — Filter by tag (workflow store)
|
|
41
|
+
- `--type <compact|tip>` — Filter by entry type (workflow store)
|
|
42
|
+
- `--before <YYYY-MM-DD>` — Entries before date
|
|
43
|
+
- `--after <YYYY-MM-DD>` — Entries after date
|
|
44
|
+
- `--dry-run` — Preview destructive ops without executing
|
|
45
|
+
- `--confirm` — Skip confirmation prompt
|
|
46
|
+
</context>
|
|
47
|
+
|
|
48
|
+
<execution>
|
|
49
|
+
Follow '~/.maestro/workflows/knowhow.md' Part A (KnowHow Management) completely.
|
|
50
|
+
</execution>
|
|
51
|
+
|
|
52
|
+
<error_codes>
|
|
53
|
+
| Code | Severity | Description | Stage |
|
|
54
|
+
|------|----------|-------------|-------|
|
|
55
|
+
| E001 | error | No memory stores found — run `/manage-knowhow-capture` or create MEMORY.md | resolve_paths |
|
|
56
|
+
| E002 | error | Entry ID or filename not found | execute_view, execute_delete |
|
|
57
|
+
| E003 | error | Prune requires at least one filter (--tag, --type, --before, --after) | execute_prune |
|
|
58
|
+
| E004 | error | Cannot delete MEMORY.md — use `edit` subcommand instead | execute_delete |
|
|
59
|
+
| W001 | warning | Workflow index has orphaned files or dangling references | integrity_check |
|
|
60
|
+
| W002 | warning | MEMORY.md references non-existent topic file | integrity_check |
|
|
61
|
+
| W003 | warning | MEMORY.md exceeds 200 lines — content will be truncated at load | execute_edit |
|
|
62
|
+
</error_codes>
|
|
63
|
+
|
|
64
|
+
<success_criteria>
|
|
65
|
+
- [ ] Both store paths correctly resolved
|
|
66
|
+
- [ ] Subcommand correctly detected from arguments
|
|
67
|
+
- [ ] Store auto-detected from argument format (KNW-*/TIP-* vs filename)
|
|
68
|
+
- [ ] List: both stores displayed with appropriate formatting
|
|
69
|
+
- [ ] Search: results from both stores, ranked by relevance
|
|
70
|
+
- [ ] View: correct store selected, full content displayed
|
|
71
|
+
- [ ] Edit: system memory files editable, MEMORY.md kept under 200 lines
|
|
72
|
+
- [ ] Delete: MEMORY.md protected, confirmation required, references checked
|
|
73
|
+
- [ ] Prune: workflow-only, filters validated, index updated
|
|
74
|
+
- [ ] Integrity check catches orphans and broken links
|
|
75
|
+
- [ ] Next step: `/manage-knowhow-capture compact` to save new knowhow, or `/manage-status` to continue workflow
|
|
76
|
+
</success_criteria>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-knowhow-capture
|
|
3
|
+
description: Capture reusable knowledge as templates, recipes, or tips
|
|
4
|
+
argument-hint: [<type>] [<description>] [--lang <lang>] [--source <url>] [--tag t1,t2]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- grep_search
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- run_command
|
|
10
|
+
- view_file
|
|
11
|
+
- write_to_file
|
|
12
|
+
---
|
|
13
|
+
<purpose>
|
|
14
|
+
Capture reusable knowledge into `.workflow/knowhow/` with type-specific structured fields.
|
|
15
|
+
Auto-indexed by WikiIndexer (type=knowhow), searchable via `maestro knowhow search`.
|
|
16
|
+
</purpose>
|
|
17
|
+
|
|
18
|
+
<required_reading>
|
|
19
|
+
@~/.maestro/workflows/knowhow.md
|
|
20
|
+
</required_reading>
|
|
21
|
+
|
|
22
|
+
<context>
|
|
23
|
+
$ARGUMENTS — type token + description + optional flags.
|
|
24
|
+
|
|
25
|
+
**Flags**: `--lang <lang>`, `--source <url>`, `--tag tag1,tag2`, `--title <title>`, `--asset-type <type>`, `--code-paths <paths>`, `--category <cat>`
|
|
26
|
+
|
|
27
|
+
**Type routing** (first token match):
|
|
28
|
+
|
|
29
|
+
| Token | Type | Prefix | Key fields |
|
|
30
|
+
|-------|------|--------|------------|
|
|
31
|
+
| `compact`/`session`/`压缩`/`保存` | compact | KNW- | objective, files, decisions, plan, pending |
|
|
32
|
+
| `template`/`tpl`/`模板` | template | TPL- | language, code block, usage, parameters |
|
|
33
|
+
| `recipe`/`rcp`/`配方`/`步骤` | recipe | RCP- | prerequisites, steps, expected outcome, pitfalls |
|
|
34
|
+
| `reference`/`ref`/`参考`/`引用` | reference | REF- | source URL, key points, scenarios, examples |
|
|
35
|
+
| `decision`/`dcs`/`决策`/`adr` | decision | DCS- | context, alternatives table, rationale, consequences |
|
|
36
|
+
| `tip`/`note`/`记录`/`快速` | tip | TIP- | content, tags |
|
|
37
|
+
| `asset`/`ast`/`资产`/`契约` | asset | AST- | assetType, codePaths, category |
|
|
38
|
+
| `blueprint`/`blp`/`蓝图` | blueprint | BLP- | codePaths, category |
|
|
39
|
+
| `document`/`doc`/`文档` | document | DOC- | (general fallback) |
|
|
40
|
+
| Short text + `--tag` | tip | TIP- | — |
|
|
41
|
+
| No args | — | — | ask_question (9 options) |
|
|
42
|
+
|
|
43
|
+
**Output**: `.workflow/knowhow/{PREFIX}-{YYYYMMDD}-{HHMM}.md` with YAML frontmatter (title, type, category, created, tags, source, lang, status)
|
|
44
|
+
</context>
|
|
45
|
+
|
|
46
|
+
<execution>
|
|
47
|
+
Follow '~/.maestro/workflows/knowhow.md' completely.
|
|
48
|
+
|
|
49
|
+
**Tags language rule**: Tags must match content language. Chinese content → Chinese tags (如 `认证,令牌,刷新`). English content → English tags. Mixed → bilingual.
|
|
50
|
+
|
|
51
|
+
**Type-specific content rules**:
|
|
52
|
+
|
|
53
|
+
| Type | Content extraction |
|
|
54
|
+
|------|-------------------|
|
|
55
|
+
| compact | Extract from conversation: session ID, objective, execution plan (verbatim), working files (3-8), decisions, constraints, pending. Plan priority: workflow IMPL_PLAN.md > TodoWrite > user-stated > inferred. |
|
|
56
|
+
| template | Ask for: language, code block, parameters (placeholders), usage context, dependencies |
|
|
57
|
+
| recipe | Ask for: goal, prerequisites, numbered steps, expected outcome, common pitfalls |
|
|
58
|
+
| reference | From --source URL or ask. Key points, applicable scenarios, quick examples. Offer WebFetch if URL provided. |
|
|
59
|
+
| decision | Context, alternatives (table: alt/pros/cons/rejected-because), rationale, consequences. Status: proposed/accepted/superseded. |
|
|
60
|
+
| tip | Content = everything after type token. Auto-detect context from recent files. |
|
|
61
|
+
| asset | assetType (api-contract/data-model/prompt/config), codePaths, category for agent discovery |
|
|
62
|
+
| blueprint | Architecture design with codePaths and category |
|
|
63
|
+
</execution>
|
|
64
|
+
|
|
65
|
+
<error_codes>
|
|
66
|
+
| Code | Condition | Recovery |
|
|
67
|
+
|------|-----------|----------|
|
|
68
|
+
| E002 | Template: no code provided after prompt | Ask again or cancel |
|
|
69
|
+
| E003 | Recipe: no steps provided after prompt | Ask again or cancel |
|
|
70
|
+
| W001 | No active workflow session (compact) | Captures conversation only |
|
|
71
|
+
| W002 | Plan detection found no explicit plan (compact) | Uses inferred plan |
|
|
72
|
+
</error_codes>
|
|
73
|
+
|
|
74
|
+
<success_criteria>
|
|
75
|
+
- [ ] Type detected or selected, all type-specific fields populated
|
|
76
|
+
- [ ] File written to .workflow/knowhow/ with correct prefix and YAML frontmatter
|
|
77
|
+
- [ ] Confirmation displayed with ID, type, path
|
|
78
|
+
</success_criteria>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-learn
|
|
3
|
+
description: Capture and search learning insights and tips
|
|
4
|
+
argument-hint: [<text> | tip <text> | list | search | show <id>] [--category <cat>] [--tag t1,t2] [--phase N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- grep_search
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- run_command
|
|
10
|
+
- view_file
|
|
11
|
+
- write_to_file
|
|
12
|
+
---
|
|
13
|
+
<purpose>
|
|
14
|
+
Unified atomic knowledge capture for the workflow learning library. Captures two types of knowledge:
|
|
15
|
+
- **Insights**: Timeless "eureka moment" entries (patterns, gotchas, techniques) — the default mode
|
|
16
|
+
- **Tips**: Quick contextual notes for cross-session recovery (formerly in `manage-knowhow-capture tip`)
|
|
17
|
+
|
|
18
|
+
Both types are stored in `.workflow/specs/learnings.md` as `<spec-entry>` blocks with auto-detected phase linkage and keyword-based category inference. Tips are distinguished by `source: "tip"` and implicitly tagged `tip`. Same store as retrospective output, so search and list see the entire knowledge corpus.
|
|
19
|
+
</purpose>
|
|
20
|
+
|
|
21
|
+
<required_reading>
|
|
22
|
+
@~/.maestro/workflows/learn.md
|
|
23
|
+
</required_reading>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
Arguments: $ARGUMENTS
|
|
27
|
+
|
|
28
|
+
**Modes (auto-detected from first token):**
|
|
29
|
+
- `"<insight text>"` (or any non-keyword text) → insight capture mode
|
|
30
|
+
- `tip <text>` → tip capture mode (quick contextual note, auto-tagged `tip`)
|
|
31
|
+
- `list` → list recent entries (default 20)
|
|
32
|
+
- `search <query>` → `maestro spec load --category learning` or text search across `specs/learnings.md`
|
|
33
|
+
- `show <INS-id>` → full detail with phase context
|
|
34
|
+
- empty → ask_question to prompt for text
|
|
35
|
+
|
|
36
|
+
Flags, storage paths, and shared store rationale defined in workflow learn.md.
|
|
37
|
+
</context>
|
|
38
|
+
|
|
39
|
+
<execution>
|
|
40
|
+
Follow `~/.maestro/workflows/learn.md` Stages 1–5 in order.
|
|
41
|
+
</execution>
|
|
42
|
+
|
|
43
|
+
<error_codes>
|
|
44
|
+
| Code | Severity | Description | Stage |
|
|
45
|
+
|------|----------|-------------|-------|
|
|
46
|
+
| E001 | error | `.workflow/` not initialized — run `/maestro-init` first | parse_input |
|
|
47
|
+
| E002 | error | Unknown `--category` value (allowed: pattern, antipattern, decision, tool, gotcha, technique, tip) | parse_input |
|
|
48
|
+
| E003 | error | `show` mode requires an INS-id argument | show |
|
|
49
|
+
| E004 | error | Insight id not found in `specs/learnings.md` | show |
|
|
50
|
+
| W001 | warning | Auto-phase detection found a current_phase but no matching artifact in registry; phase set to null | capture |
|
|
51
|
+
</error_codes>
|
|
52
|
+
|
|
53
|
+
<success_criteria>
|
|
54
|
+
- [ ] Mode correctly routed (capture / list / search / show)
|
|
55
|
+
- [ ] Capture: `<spec-entry>` block appended to `specs/learnings.md` with all required fields
|
|
56
|
+
- [ ] Capture: phase auto-link resolves correctly via artifact registry when `state.json` has `current_phase`
|
|
57
|
+
- [ ] Capture: category inference produces a sensible default when `--category` absent
|
|
58
|
+
- [ ] List: filters apply, output sorted newest-first, default limit 20
|
|
59
|
+
- [ ] Search: results ranked by title (3) > tags (2) > summary (1) match
|
|
60
|
+
- [ ] Show: full insight displayed with phase context and routed-artifact link if any
|
|
61
|
+
- [ ] No file modifications outside `.workflow/knowhow/`
|
|
62
|
+
- [ ] Confirmation banner displayed with INS-id and next-step hints
|
|
63
|
+
- [ ] Next step: `/manage-learn list` to browse, or `/manage-learn search <query>` to find related insights
|
|
64
|
+
</success_criteria>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-status
|
|
3
|
+
description: Show project dashboard with progress and next steps
|
|
4
|
+
argument-hint:
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- grep_search
|
|
7
|
+
- run_command
|
|
8
|
+
- view_file
|
|
9
|
+
---
|
|
10
|
+
<purpose>
|
|
11
|
+
Display a unified project dashboard showing artifact progress, task counts, active work, and intelligent next-step suggestions.
|
|
12
|
+
Reads state.json artifact registry and roadmap to render a formatted overview with progress and status tables.
|
|
13
|
+
Provides situational awareness before continuing work. Uses virtual phase view derived from artifact registry.
|
|
14
|
+
</purpose>
|
|
15
|
+
|
|
16
|
+
<required_reading>
|
|
17
|
+
@~/.maestro/workflows/status.md
|
|
18
|
+
</required_reading>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
$ARGUMENTS (no arguments required)
|
|
22
|
+
|
|
23
|
+
**State files read:**
|
|
24
|
+
- `.workflow/state.json` -- project-level state machine + artifact registry
|
|
25
|
+
- `.workflow/roadmap.md` -- milestone and phase structure
|
|
26
|
+
- `.workflow/scratch/*/plan.json` -- plan metadata (via artifact registry paths)
|
|
27
|
+
- `.workflow/scratch/*/.task/TASK-*.json` -- individual task statuses
|
|
28
|
+
</context>
|
|
29
|
+
|
|
30
|
+
<execution>
|
|
31
|
+
Follow '~/.maestro/workflows/status.md' completely.
|
|
32
|
+
|
|
33
|
+
Next-step decision table defined in workflow status.md Step 5.
|
|
34
|
+
</execution>
|
|
35
|
+
|
|
36
|
+
<error_codes>
|
|
37
|
+
| Code | Severity | Description | Stage |
|
|
38
|
+
|------|----------|-------------|-------|
|
|
39
|
+
| E001 | fatal | `.workflow/` not initialized -- run `/maestro-init` first | parse_input |
|
|
40
|
+
| E002 | fatal | `state.json` missing or corrupt -- project state unrecoverable | parse_input |
|
|
41
|
+
</error_codes>
|
|
42
|
+
|
|
43
|
+
<success_criteria>
|
|
44
|
+
- [ ] Project state loaded from `state.json`
|
|
45
|
+
- [ ] Roadmap parsed with milestone/phase structure
|
|
46
|
+
- [ ] Per-phase progress calculated (task counts, completion %)
|
|
47
|
+
- [ ] Dashboard rendered with progress bars and status table
|
|
48
|
+
- [ ] Active work section shows current phase details
|
|
49
|
+
- [ ] Next steps suggested based on current state analysis
|
|
50
|
+
- [ ] Wiki health score displayed (or graceful unavailable message)
|
|
51
|
+
</success_criteria>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: manage-wiki
|
|
3
|
+
description: Manage wiki graph — health, cleanup, search, stats
|
|
4
|
+
argument-hint: <subcommand: health|search|cleanup|stats> [query] [--fix] [--dry-run]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- ask_question
|
|
7
|
+
- grep_search
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- run_command
|
|
10
|
+
- view_file
|
|
11
|
+
- write_to_file
|
|
12
|
+
---
|
|
13
|
+
<purpose>
|
|
14
|
+
Unified wiki graph management command. Provides interactive access to wiki health monitoring, entry search, orphan cleanup, and graph statistics — the day-to-day operations that keep the knowledge graph healthy.
|
|
15
|
+
|
|
16
|
+
Complements `/wiki-connect` (link discovery) and `/wiki-digest` (synthesis) with operational tooling.
|
|
17
|
+
</purpose>
|
|
18
|
+
|
|
19
|
+
<required_reading>
|
|
20
|
+
@~/.maestro/workflows/wiki-manage.md
|
|
21
|
+
</required_reading>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS — subcommand and optional flags.
|
|
25
|
+
|
|
26
|
+
**Subcommands:**
|
|
27
|
+
| Subcommand | Description |
|
|
28
|
+
|-----------|-------------|
|
|
29
|
+
| `health` | Health dashboard — score, broken links, orphans, hubs (default) |
|
|
30
|
+
| `search <query>` | Interactive BM25 search with follow-up actions |
|
|
31
|
+
| `cleanup` | Find and resolve orphans, broken links, stale entries |
|
|
32
|
+
| `stats` | Graph statistics — type distribution, tag frequency, growth trends |
|
|
33
|
+
| No args | Same as `health` |
|
|
34
|
+
|
|
35
|
+
**Flags:**
|
|
36
|
+
- `--type <type>` — Filter by wiki type: spec, knowhow, note, issue
|
|
37
|
+
- `--fix` — Auto-fix issues found during cleanup (remove broken links, suggest connections)
|
|
38
|
+
- `--json` — Output in JSON format
|
|
39
|
+
</context>
|
|
40
|
+
|
|
41
|
+
<execution>
|
|
42
|
+
Follow '~/.maestro/workflows/wiki-manage.md' completely.
|
|
43
|
+
</execution>
|
|
44
|
+
|
|
45
|
+
<error_codes>
|
|
46
|
+
| Code | Severity | Description | Stage |
|
|
47
|
+
|------|----------|-------------|-------|
|
|
48
|
+
| E001 | fatal | `.workflow/` not initialized — run `/maestro-init` first | validate |
|
|
49
|
+
| E002 | fatal | No wiki entries found — create content first | load |
|
|
50
|
+
| E003 | error | Invalid subcommand | parse_input |
|
|
51
|
+
| W001 | warning | Health score below 50 — graph needs attention | health |
|
|
52
|
+
| W002 | warning | Orphan cleanup had partial failures | cleanup |
|
|
53
|
+
</error_codes>
|
|
54
|
+
|
|
55
|
+
<success_criteria>
|
|
56
|
+
- [ ] Subcommand parsed (health/search/cleanup/stats)
|
|
57
|
+
- [ ] Wiki data loaded via `maestro wiki` CLI
|
|
58
|
+
- [ ] Results displayed in formatted output
|
|
59
|
+
- [ ] If cleanup --fix: issues resolved and delta reported
|
|
60
|
+
- [ ] Next-step suggestions provided
|
|
61
|
+
</success_criteria>
|