maestro-flow 0.3.15 → 0.3.17
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/agents/workflow-planner.md +24 -8
- package/.claude/commands/maestro-amend.md +300 -0
- package/.claude/commands/maestro-analyze.md +1 -49
- package/.claude/commands/maestro-execute.md +2 -56
- package/.claude/commands/maestro-fork.md +3 -50
- package/.claude/commands/maestro-merge.md +2 -26
- package/.claude/commands/maestro-milestone-audit.md +1 -5
- package/.claude/commands/maestro-milestone-complete.md +1 -7
- package/.claude/commands/maestro-plan.md +6 -127
- package/.claude/commands/maestro-roadmap.md +3 -101
- package/.claude/commands/maestro-spec-generate.md +1 -25
- package/.claude/commands/maestro-ui-design.md +14 -73
- package/.claude/commands/maestro-verify.md +1 -32
- package/.claude/commands/maestro.md +13 -30
- package/.claude/commands/manage-harvest.md +7 -44
- package/.claude/commands/manage-knowhow-capture.md +193 -0
- package/.claude/commands/{manage-memory.md → manage-knowhow.md} +77 -88
- package/.claude/commands/manage-learn.md +3 -28
- package/.claude/commands/manage-status.md +1 -20
- package/.claude/commands/manage-wiki.md +1 -1
- package/.claude/commands/quality-business-test.md +1 -1
- package/.claude/commands/quality-debug.md +3 -18
- package/.claude/commands/quality-integration-test.md +3 -23
- package/.claude/commands/quality-retrospective.md +1 -28
- package/.claude/commands/quality-review.md +3 -52
- package/.claude/commands/quality-test-gen.md +1 -10
- package/.claude/commands/quality-test.md +3 -25
- package/.claude/commands/spec-add.md +1 -21
- package/.claude/commands/spec-load.md +1 -16
- package/.claude/commands/wiki-connect.md +2 -112
- package/.claude/commands/wiki-digest.md +2 -141
- package/.codex/skills/learn-decompose/SKILL.md +2 -8
- package/.codex/skills/maestro/SKILL.md +60 -146
- package/.codex/skills/maestro-analyze/SKILL.md +52 -150
- package/.codex/skills/maestro-brainstorm/SKILL.md +36 -91
- package/.codex/skills/maestro-composer/SKILL.md +4 -76
- package/.codex/skills/maestro-execute/SKILL.md +46 -177
- package/.codex/skills/maestro-init/SKILL.md +7 -51
- package/.codex/skills/maestro-link-coordinate/SKILL.md +56 -229
- package/.codex/skills/maestro-milestone-audit/SKILL.md +7 -36
- package/.codex/skills/maestro-milestone-complete/SKILL.md +11 -93
- package/.codex/skills/maestro-overlay/SKILL.md +23 -92
- package/.codex/skills/maestro-plan/SKILL.md +70 -166
- package/.codex/skills/maestro-player/SKILL.md +24 -149
- package/.codex/skills/maestro-quick/SKILL.md +5 -48
- package/.codex/skills/maestro-roadmap/SKILL.md +21 -66
- package/.codex/skills/maestro-spec-generate/SKILL.md +20 -56
- package/.codex/skills/maestro-ui-design/SKILL.md +6 -53
- package/.codex/skills/maestro-verify/SKILL.md +39 -136
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +25 -75
- package/.codex/skills/manage-codebase-refresh/SKILL.md +5 -32
- package/.codex/skills/manage-issue/SKILL.md +1 -6
- package/.codex/skills/manage-issue-discover/SKILL.md +33 -93
- package/.codex/skills/{manage-memory → manage-knowhow}/SKILL.md +95 -95
- package/.codex/skills/manage-knowhow-capture/SKILL.md +110 -0
- package/.codex/skills/manage-learn/SKILL.md +17 -71
- package/.codex/skills/manage-status/SKILL.md +4 -35
- package/.codex/skills/manage-wiki/SKILL.md +1 -1
- package/.codex/skills/quality-business-test/SKILL.md +2 -14
- package/.codex/skills/quality-debug/SKILL.md +41 -133
- package/.codex/skills/quality-integration-test/SKILL.md +36 -145
- package/.codex/skills/quality-refactor/SKILL.md +6 -59
- package/.codex/skills/quality-retrospective/SKILL.md +292 -531
- package/.codex/skills/quality-review/SKILL.md +30 -65
- package/.codex/skills/quality-sync/SKILL.md +2 -11
- package/.codex/skills/quality-test/SKILL.md +4 -45
- package/.codex/skills/quality-test-gen/SKILL.md +33 -121
- package/.codex/skills/spec-add/SKILL.md +2 -9
- package/.codex/skills/spec-load/SKILL.md +4 -14
- package/.codex/skills/spec-map/SKILL.md +4 -37
- package/.codex/skills/spec-remove/SKILL.md +3 -35
- package/.codex/skills/spec-setup/SKILL.md +2 -19
- package/.codex/skills/team-coordinate/SKILL.md +20 -132
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +61 -215
- package/.codex/skills/team-executor/SKILL.md +7 -66
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +60 -182
- package/.codex/skills/team-executor/specs/session-schema.md +22 -56
- package/.codex/skills/team-lifecycle-v4/SKILL.md +22 -143
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +31 -223
- package/.codex/skills/team-quality-assurance/SKILL.md +14 -88
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +46 -186
- package/.codex/skills/team-review/SKILL.md +12 -86
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +49 -187
- package/.codex/skills/team-tech-debt/SKILL.md +11 -50
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +50 -239
- package/.codex/skills/team-testing/SKILL.md +14 -99
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +52 -228
- package/.codex/skills/wiki-connect/SKILL.md +2 -5
- package/README.md +6 -0
- package/README.zh-CN.md +6 -0
- package/chains/_intent-map.json +7 -7
- package/chains/singles/{memory-capture.json → knowhow-capture.json} +5 -5
- package/chains/singles/{memory.json → knowhow.json} +6 -6
- package/dashboard/dist/assets/{ArtifactsPage-CUrrDGgN.js → ArtifactsPage-iJZtYsmR.js} +6 -6
- package/dashboard/dist/assets/ChatInput-DNnDLdQF.js +6 -0
- package/dashboard/dist/assets/ChatPage-BjBibfE4.js +22 -0
- package/dashboard/dist/assets/{CollabPage-DIUXeazv.js → CollabPage-8lUMUol_.js} +1 -1
- package/dashboard/dist/assets/{ExecutionPanel-VmYeADFj.js → ExecutionPanel-BKV3GZ7Q.js} +1 -1
- package/dashboard/dist/assets/{KanbanPage-DLq8v7hg.js → KanbanPage-diY3QmGd.js} +2 -2
- package/dashboard/dist/assets/{MarkdownRenderer-D7AehrnR.js → MarkdownRenderer-cYFfe1uX.js} +1 -1
- package/dashboard/dist/assets/McpPage-COjuIf7U.js +21 -0
- package/dashboard/dist/assets/MeetingRoomPage-wnvT7wlB.js +85 -0
- package/dashboard/dist/assets/{OutputPanel-B-Rjwgmv.js → OutputPanel-DDL90Idy.js} +1 -1
- package/dashboard/dist/assets/{ProblemsPanel-GEpF-oi4.js → ProblemsPanel-zFN9IIs0.js} +1 -1
- package/dashboard/dist/assets/{RequirementBoardPage-xs8uDM7I.js → RequirementBoardPage-DOPJoT0I.js} +2 -2
- package/dashboard/dist/assets/{RequirementPage-BKDSFwjA.js → RequirementPage-CEVquRgM.js} +1 -1
- package/dashboard/dist/assets/RoomsPage-D5USEWDh.js +1 -0
- package/dashboard/dist/assets/{SpecsPage-DLFb9ZH0.js → SpecsPage-BOwBin_o.js} +1 -1
- package/dashboard/dist/assets/{SupervisorPage-SOki_kgz.js → SupervisorPage-5iRyMU5T.js} +1 -1
- package/dashboard/dist/assets/TeamsPage-DlcEmr_Q.js +1 -0
- package/dashboard/dist/assets/{TreeBrowser-B9DHdULE.js → TreeBrowser-Y48Wz-QY.js} +1 -1
- package/dashboard/dist/assets/WorkflowPage-CmQaRVgL.js +6 -0
- package/dashboard/dist/assets/arrow-left-NCUOENvg.js +6 -0
- package/dashboard/dist/assets/{check-DJDk3A2a.js → check-o7nfGNHf.js} +1 -1
- package/dashboard/dist/assets/{chevron-right-C7bVDreZ.js → chevron-right-BXySK2fn.js} +1 -1
- package/dashboard/dist/assets/{circle-alert-Na1vf6qQ.js → circle-alert-DcSBokh4.js} +1 -1
- package/dashboard/dist/assets/{circle-check-CEGgy3NV.js → circle-check-Cd-jce4j.js} +1 -1
- package/dashboard/dist/assets/{circle-check-big-3JB8zRYj.js → circle-check-big-BN7Mdp4i.js} +1 -1
- package/dashboard/dist/assets/{circle-Qfgy4LB_.js → circle-cooAwnAR.js} +1 -1
- package/dashboard/dist/assets/{code-Ble63Idz.js → code-BQa9oL1n.js} +1 -1
- package/dashboard/dist/assets/{columns-3-BUcKlxve.js → columns-3-BzgxelGx.js} +1 -1
- package/dashboard/dist/assets/{download-CMqkfn8x.js → download-swRJnate.js} +1 -1
- package/dashboard/dist/assets/en-C_BD3UCD.js +1 -0
- package/dashboard/dist/assets/{folder-B9ewx9LL.js → folder-DbGbLNFN.js} +1 -1
- package/dashboard/dist/assets/index-BEUaOz_b.css +1 -0
- package/dashboard/dist/assets/{index-JTmGteaT.js → index-DIoMBMbv.js} +1 -1
- package/dashboard/dist/assets/index-DLBN_7fb.js +44 -0
- package/dashboard/dist/assets/index-uIqUCT8y.js +236 -0
- package/dashboard/dist/assets/{list-DI8Wn2aT.js → list-BTRAIvDq.js} +1 -1
- package/dashboard/dist/assets/loader-NHtB6Mdn.js +6 -0
- package/dashboard/dist/assets/{minus-Lp_BfctG.js → minus-BjMxRTET.js} +1 -1
- package/dashboard/dist/assets/{pen-line-Ch7sphzZ.js → pen-line-C4_O16H0.js} +1 -1
- package/dashboard/dist/assets/{pencil-_yRMHmGT.js → pencil-DTmKhyDY.js} +1 -1
- package/dashboard/dist/assets/{proxy-D72Y8a4Y.js → proxy-Dtx5p6IO.js} +1 -1
- package/dashboard/dist/assets/rows-2-GR1dZtRu.js +6 -0
- package/dashboard/dist/assets/{search-BS6fI6Bg.js → search-DVtgy2W7.js} +1 -1
- package/dashboard/dist/assets/{shallow-BXasQBvr.js → shallow-BOmvDNsv.js} +1 -1
- package/dashboard/dist/assets/{table-CeGlFjlP.js → table-DCzuJAFh.js} +1 -1
- package/dashboard/dist/assets/team-types-BPeOvVdA.js +6 -0
- package/dashboard/dist/assets/{terminal-BJic2yW-.js → terminal-CzogW4cl.js} +1 -1
- package/dashboard/dist/assets/{trash-2-Czz4X8Fb.js → trash-2-52LATVfW.js} +1 -1
- package/dashboard/dist/assets/users-DLFE2voE.js +6 -0
- package/dashboard/dist/assets/{zap-C3H0jVFA.js → zap-DhiYlgyZ.js} +1 -1
- package/dashboard/dist/assets/zh-CN-DvQKfow3.js +1 -0
- package/dashboard/dist/index.html +2 -2
- package/dashboard/dist-server/dashboard/src/server/agents/agent-manager.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agent-manager.js +19 -11
- package/dashboard/dist-server/dashboard/src/server/agents/agent-manager.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/agent-sdk-adapter.js +5 -0
- package/dashboard/dist-server/dashboard/src/server/agents/agent-sdk-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +21 -4
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/env-cleanup.js +8 -0
- package/dashboard/dist-server/dashboard/src/server/agents/env-cleanup.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +6 -6
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.test.js +2 -2
- package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/index.js +14 -3
- package/dashboard/dist-server/dashboard/src/server/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.d.ts +24 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.js +220 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.test.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.test.js +115 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/mcp-config-builder.test.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.d.ts +44 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.js +260 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.test.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.test.js +194 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/meeting-room-mcp-server.test.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/stdio-bridge.d.ts +2 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/stdio-bridge.js +279 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/stdio-bridge.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.d.ts +14 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.js +131 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.test.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.test.js +134 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/mcp-server/tcp-helpers.test.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/meeting-room-session.d.ts +51 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/meeting-room-session.js +185 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/meeting-room-session.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-agent-registry.d.ts +29 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-agent-registry.js +125 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-agent-registry.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-mailbox.d.ts +18 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-mailbox.js +63 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-mailbox.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-session-manager.d.ts +19 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-session-manager.js +45 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-session-manager.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-task-board.d.ts +25 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-task-board.js +115 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-task-board.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-types.d.ts +53 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-types.js +5 -0
- package/dashboard/dist-server/dashboard/src/server/rooms/room-types.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/routes/agents.js +6 -0
- package/dashboard/dist-server/dashboard/src/server/routes/agents.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/cli-history.js +20 -1
- package/dashboard/dist-server/dashboard/src/server/routes/cli-history.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.d.ts +2 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.js +8 -1
- package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install.js +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/install.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/mcp.js +2 -2
- package/dashboard/dist-server/dashboard/src/server/routes/mcp.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/room-mcp.d.ts +3 -0
- package/dashboard/dist-server/dashboard/src/server/routes/room-mcp.js +246 -0
- package/dashboard/dist-server/dashboard/src/server/routes/room-mcp.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/routes/rooms.d.ts +3 -0
- package/dashboard/dist-server/dashboard/src/server/routes/rooms.js +38 -0
- package/dashboard/dist-server/dashboard/src/server/routes/rooms.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js +7 -7
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js +1 -1
- package/dashboard/dist-server/dashboard/src/server/routes/wiki.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.d.ts +39 -1
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.js +12 -0
- package/dashboard/dist-server/dashboard/src/server/state/event-bus.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +25 -14
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js +6 -6
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js +17 -16
- package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +1 -1
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +18 -7
- package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.d.ts +3 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js +75 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/agent-handler.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/room-handler.d.ts +17 -0
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/room-handler.js +192 -0
- package/dashboard/dist-server/dashboard/src/server/ws/handlers/room-handler.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/ws/session-scoped-event-filter.d.ts +13 -0
- package/dashboard/dist-server/dashboard/src/server/ws/session-scoped-event-filter.js +37 -0
- package/dashboard/dist-server/dashboard/src/server/ws/session-scoped-event-filter.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/server/ws/ws-manager.d.ts +7 -1
- package/dashboard/dist-server/dashboard/src/server/ws/ws-manager.js +39 -2
- package/dashboard/dist-server/dashboard/src/server/ws/ws-manager.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/constants.js +12 -0
- package/dashboard/dist-server/dashboard/src/shared/constants.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/room-leader-prompt.d.ts +1 -0
- package/dashboard/dist-server/dashboard/src/shared/room-leader-prompt.js +38 -0
- package/dashboard/dist-server/dashboard/src/shared/room-leader-prompt.js.map +1 -0
- package/dashboard/dist-server/dashboard/src/shared/team-types.d.ts +66 -0
- package/dashboard/dist-server/dashboard/src/shared/team-types.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/shared/types.d.ts +24 -3
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.d.ts +76 -2
- package/dashboard/dist-server/dashboard/src/shared/ws-protocol.js.map +1 -1
- package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
- package/dashboard/dist-server/src/commands/delegate.js +11 -8
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dist/shared/agent-types.d.ts +2 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/cli.js +2 -2
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +11 -8
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +1 -1
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/install-ui/ExecutionView.d.ts.map +1 -1
- package/dist/src/commands/install-ui/ExecutionView.js +4 -1
- package/dist/src/commands/install-ui/ExecutionView.js.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/commands/install-ui/InstallExecution.js +4 -1
- package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/commands/install.js +5 -5
- package/dist/src/commands/install.js.map +1 -1
- package/dist/src/commands/knowhow.d.ts +10 -0
- package/dist/src/commands/knowhow.d.ts.map +1 -0
- package/dist/src/commands/knowhow.js +217 -0
- package/dist/src/commands/knowhow.js.map +1 -0
- package/dist/src/commands/overlay-ui/OverlayList.d.ts +2 -0
- package/dist/src/commands/overlay-ui/OverlayList.d.ts.map +1 -1
- package/dist/src/commands/overlay-ui/OverlayList.js +6 -3
- package/dist/src/commands/overlay-ui/OverlayList.js.map +1 -1
- package/dist/src/commands/overlay-ui/index.d.ts.map +1 -1
- package/dist/src/commands/overlay-ui/index.js +70 -44
- package/dist/src/commands/overlay-ui/index.js.map +1 -1
- package/dist/src/commands/overlay.d.ts.map +1 -1
- package/dist/src/commands/overlay.js +4 -3
- package/dist/src/commands/overlay.js.map +1 -1
- package/dist/src/commands/update.d.ts.map +1 -1
- package/dist/src/commands/update.js +31 -21
- package/dist/src/commands/update.js.map +1 -1
- 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 +3 -1
- package/dist/src/core/manifest.js.map +1 -1
- package/dist/src/core/overlay/applier.d.ts +1 -1
- package/dist/src/core/overlay/applier.d.ts.map +1 -1
- package/dist/src/core/overlay/applier.js +40 -13
- package/dist/src/core/overlay/applier.js.map +1 -1
- package/dist/src/core/overlay/loader.d.ts.map +1 -1
- package/dist/src/core/overlay/loader.js +6 -0
- package/dist/src/core/overlay/loader.js.map +1 -1
- package/dist/src/core/overlay/types.d.ts +5 -1
- package/dist/src/core/overlay/types.d.ts.map +1 -1
- package/dist/src/core/overlay/types.js +1 -1
- package/dist/src/core/overlay/types.js.map +1 -1
- package/dist/src/hooks/context-monitor.js +1 -1
- package/dist/src/hooks/context-monitor.js.map +1 -1
- package/dist/src/hooks/skill-context.js +1 -1
- package/dist/src/hooks/skill-context.js.map +1 -1
- package/dist/src/mcp/delegate-channel-relay.d.ts +4 -0
- package/dist/src/mcp/delegate-channel-relay.d.ts.map +1 -1
- package/dist/src/mcp/delegate-channel-relay.js +73 -4
- package/dist/src/mcp/delegate-channel-relay.js.map +1 -1
- package/dist/src/tools/index.js +2 -2
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/store-knowhow.d.ts +21 -0
- package/dist/src/tools/store-knowhow.d.ts.map +1 -0
- package/dist/src/tools/store-knowhow.js +295 -0
- package/dist/src/tools/store-knowhow.js.map +1 -0
- package/package.json +1 -1
- package/shared/agent-types.ts +2 -0
- package/workflows/analyze.md +61 -185
- package/workflows/brainstorm.md +3 -23
- package/workflows/codebase-rebuild.md +79 -191
- package/workflows/codebase-refresh.md +26 -124
- package/workflows/debug.md +21 -141
- package/workflows/execute.md +183 -350
- package/workflows/fork.md +72 -230
- package/workflows/harvest.md +12 -79
- package/workflows/init.md +3 -17
- package/workflows/integration-test.md +21 -190
- package/workflows/issue-analyze.md +35 -153
- package/workflows/issue-discover.md +88 -263
- package/workflows/issue-execute.md +29 -208
- package/workflows/issue-plan.md +33 -154
- package/workflows/issue.md +44 -202
- package/workflows/knowhow.md +374 -0
- package/workflows/learn.md +30 -177
- package/workflows/maestro-coordinate.codex.md +77 -362
- package/workflows/maestro-link-coordinate.md +12 -61
- package/workflows/maestro.codex.md +124 -457
- package/workflows/maestro.md +562 -976
- package/workflows/map.md +16 -53
- package/workflows/merge.md +42 -197
- package/workflows/milestone-audit.md +5 -43
- package/workflows/milestone-complete.md +11 -60
- package/workflows/plan.md +188 -387
- package/workflows/quick.md +25 -174
- package/workflows/refactor.md +28 -221
- package/workflows/retrospective.md +104 -443
- package/workflows/review.md +87 -299
- package/workflows/roadmap.md +117 -97
- package/workflows/spec-generate.md +22 -118
- package/workflows/specs-add.md +5 -25
- package/workflows/specs-load.md +1 -5
- package/workflows/specs-remove.md +0 -11
- package/workflows/specs-setup.md +11 -47
- package/workflows/status.md +58 -200
- package/workflows/sync.md +28 -141
- package/workflows/test-gen.md +23 -100
- package/workflows/test.md +15 -125
- package/workflows/ui-design.md +139 -465
- package/workflows/ui-style.md +36 -228
- package/workflows/verify.md +52 -273
- package/workflows/wiki-connect.md +9 -46
- package/workflows/wiki-digest.md +7 -50
- package/workflows/wiki-manage.md +11 -108
- package/.claude/commands/maestro-coordinate.md +0 -63
- package/.claude/commands/manage-memory-capture.md +0 -59
- package/.codex/skills/maestro-coordinate/SKILL.md +0 -213
- package/.codex/skills/manage-memory-capture/SKILL.md +0 -93
- package/dashboard/dist/assets/ChatInput-pUOLJIKE.js +0 -49
- package/dashboard/dist/assets/ChatPage-B8Xqkt0v.js +0 -27
- package/dashboard/dist/assets/McpPage-BY0SjTgw.js +0 -21
- package/dashboard/dist/assets/TeamsPage-BO2kP70F.js +0 -11
- package/dashboard/dist/assets/WorkflowPage-C8hWbYim.js +0 -6
- package/dashboard/dist/assets/en-ZbRpfzuP.js +0 -1
- package/dashboard/dist/assets/index-C2Mcb4TJ.js +0 -231
- package/dashboard/dist/assets/index-DyBbPc18.css +0 -1
- package/dashboard/dist/assets/loader-B5F6PzFT.js +0 -11
- package/dashboard/dist/assets/zh-CN-CoXBFuny.js +0 -1
- package/workflows/maestro-coordinate.md +0 -582
- package/workflows/memory.md +0 -451
|
@@ -13,28 +13,7 @@ allowed-tools:
|
|
|
13
13
|
- AskUserQuestion
|
|
14
14
|
---
|
|
15
15
|
<purpose>
|
|
16
|
-
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?"
|
|
17
|
-
|
|
18
|
-
Supports three review levels that scale with task depth:
|
|
19
|
-
|
|
20
|
-
**Quick** — Single-pass inline scan, no agents. For small changes (≤3 files) or scratch tasks.
|
|
21
|
-
- Dimensions: correctness + security only
|
|
22
|
-
- No deep-dive, issues created for critical only
|
|
23
|
-
|
|
24
|
-
**Standard** — Parallel agent review across all dimensions. Default for most phases.
|
|
25
|
-
- Dimensions: all 6 (correctness, security, performance, architecture, maintainability, best-practices)
|
|
26
|
-
- Auto deep-dive if critical findings > 0
|
|
27
|
-
- Issues created for critical + high
|
|
28
|
-
|
|
29
|
-
**Deep** — Full agent review with forced multi-iteration deep-dive and cross-file impact analysis. For complex/critical phases.
|
|
30
|
-
- Dimensions: all 6
|
|
31
|
-
- Forced deep-dive (max 3 iterations) with impact radius analysis
|
|
32
|
-
- Issues created for critical + high + medium
|
|
33
|
-
|
|
34
|
-
Level auto-detection when not specified:
|
|
35
|
-
- ≤3 changed files → quick
|
|
36
|
-
- 4-19 changed files → standard
|
|
37
|
-
- ≥20 changed files OR phase marked critical in index.json → deep
|
|
16
|
+
Run multi-dimensional code review on a completed phase's changed files. Answers the question "is this code good?" -- complementing maestro-verify ("is the goal met?") and quality-test ("does it work for users?"). Three review levels (quick/standard/deep) scale with task depth, auto-detected from file count. Level definitions, dimension lists, deep-dive rules, and issue creation thresholds defined in workflow review.md.
|
|
38
17
|
</purpose>
|
|
39
18
|
|
|
40
19
|
<required_reading>
|
|
@@ -96,38 +75,10 @@ Append to state.json.artifacts[]:
|
|
|
96
75
|
}
|
|
97
76
|
```
|
|
98
77
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
=== CODE REVIEW RESULTS ===
|
|
103
|
-
Phase: {phase_name}
|
|
104
|
-
Level: {quick | standard | deep}
|
|
105
|
-
Files: {files_reviewed} files across {dimensions_count} dimensions
|
|
106
|
-
Duration: {duration}
|
|
107
|
-
|
|
108
|
-
Severity Distribution:
|
|
109
|
-
Critical: {critical_count}
|
|
110
|
-
High: {high_count}
|
|
111
|
-
Medium: {medium_count}
|
|
112
|
-
Low: {low_count}
|
|
113
|
-
|
|
114
|
-
Top Issues:
|
|
115
|
-
1. [{severity}] {finding_id}: {title} ({file}:{line})
|
|
116
|
-
2. ...
|
|
117
|
-
|
|
118
|
-
Verdict: {PASS | WARN | BLOCK}
|
|
119
|
-
Issues Created: {issue_count}
|
|
120
|
-
|
|
121
|
-
Files:
|
|
122
|
-
{REVIEW_DIR}/review.json
|
|
123
|
-
|
|
124
|
-
Next steps:
|
|
125
|
-
{verdict_based_routing}
|
|
126
|
-
```
|
|
78
|
+
Report format and next-step routing by verdict defined in workflow review.md Report Format and Next Step Routing sections.
|
|
127
79
|
|
|
128
|
-
**Next-step routing
|
|
80
|
+
**Next-step routing summary:**
|
|
129
81
|
- PASS → `/quality-test {phase}`
|
|
130
|
-
- PASS + low test coverage → `/quality-test-gen {phase}`
|
|
131
82
|
- WARN → `/quality-test {phase}` (proceed with caveats)
|
|
132
83
|
- BLOCK → `/maestro-plan {phase} --gaps` (fix critical findings first)
|
|
133
84
|
</execution>
|
|
@@ -13,16 +13,7 @@ allowed-tools:
|
|
|
13
13
|
- AskUserQuestion
|
|
14
14
|
---
|
|
15
15
|
<purpose>
|
|
16
|
-
Generate missing automated tests for a phase based on gap analysis from maestro-verify (Nyquist audit) and quality-test (UAT coverage gaps).
|
|
17
|
-
|
|
18
|
-
Key mechanisms from GSD add-tests:
|
|
19
|
-
- **TDD/E2E/Skip classification**: Categorize changed files by appropriate test type
|
|
20
|
-
- **Test structure discovery**: Find existing test patterns, frameworks, conventions
|
|
21
|
-
- **Test plan with user approval**: Present plan before writing any tests
|
|
22
|
-
- **RED-GREEN generation**: Write failing test first, verify it targets the right behavior
|
|
23
|
-
- **Bug discovery, not fix**: Tests expose bugs; fixing is for quality-debug or maestro-execute
|
|
24
|
-
|
|
25
|
-
This command is the "test gap filler" -- it bridges the gap between verification (maestro-verify finds MISSING coverage) and testing (quality-test runs UAT). It produces the automated tests that make Nyquist coverage pass.
|
|
16
|
+
Generate missing automated tests for a phase based on gap analysis from maestro-verify (Nyquist audit) and quality-test (UAT coverage gaps). Bridges verification (finds MISSING coverage) and testing (runs UAT) by producing the automated tests that make Nyquist coverage pass. TDD/E2E classification, test discovery, plan approval, and RED-GREEN methodology defined in workflow test-gen.md.
|
|
26
17
|
</purpose>
|
|
27
18
|
|
|
28
19
|
<required_reading>
|
|
@@ -32,35 +32,13 @@ Key mechanisms from GSD verify-work:
|
|
|
32
32
|
<context>
|
|
33
33
|
Phase or task: $ARGUMENTS (optional)
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
- `--smoke` -- Run cold-start smoke tests before UAT (basic sanity: app starts, routes respond, no crash)
|
|
37
|
-
- `--auto-fix` -- After diagnosis, auto-trigger gap-fix loop instead of asking user
|
|
38
|
-
|
|
39
|
-
**All context via state.json.artifacts[]:**
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
related = artifacts.filter(a =>
|
|
43
|
-
a.phase === target_phase && a.milestone === current_milestone
|
|
44
|
-
).sort_by(completed_at asc)
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Each artifact's type determines its outputs at `.workflow/{a.path}/`:
|
|
48
|
-
- **execute** → .summaries/, .task/, verification.json, plan.json (test target source)
|
|
49
|
-
- **verify** → verification.json (must_haves, gaps)
|
|
50
|
-
- **review** → review.json (findings become additional test scenarios)
|
|
51
|
-
- **debug** → understanding.md (confirmed root causes become regression tests)
|
|
52
|
-
- **test** → uat.md (existing session, resumable)
|
|
53
|
-
|
|
54
|
-
Extract conclusions from related artifacts that may affect this test session — review findings generate additional scenarios, debug root causes generate regression tests.
|
|
55
|
-
|
|
56
|
-
**Output**: `TEST_DIR = .workflow/scratch/{YYYYMMDD}-test-P{N}-{slug}/` (P{N} = phase number, enables directory-level identification as state.json fallback)
|
|
35
|
+
Flags, artifact context resolution, and output directory format defined in workflow test.md.
|
|
57
36
|
</context>
|
|
58
37
|
|
|
59
38
|
<execution>
|
|
60
39
|
Follow '~/.maestro/workflows/test.md' completely.
|
|
61
40
|
|
|
62
|
-
**
|
|
63
|
-
- uat.md, test-plan.json, .tests/test-results.json, .tests/coverage-report.json
|
|
41
|
+
**Command-specific extensions (not in workflow):**
|
|
64
42
|
|
|
65
43
|
**Review findings integration** (from related review artifacts):
|
|
66
44
|
- Extract critical/high findings as additional test scenarios, marked `source: "review_finding"`
|
|
@@ -88,7 +66,7 @@ Append to state.json.artifacts[]:
|
|
|
88
66
|
```
|
|
89
67
|
|
|
90
68
|
**Next-step routing on completion:**
|
|
91
|
-
- All tests pass → `/maestro-
|
|
69
|
+
- All tests pass → `/maestro-milestone-audit`
|
|
92
70
|
- Issues found, --auto-fix ran and succeeded → `/maestro-verify {phase}`
|
|
93
71
|
- Issues found, --auto-fix ran but gaps remain → `/quality-debug --from-uat {phase}`
|
|
94
72
|
- Issues found, manual fix needed → `/quality-debug --from-uat {phase}`
|
|
@@ -21,27 +21,7 @@ Each category maps 1:1 to a single target file — no dual-write.
|
|
|
21
21
|
<context>
|
|
22
22
|
$ARGUMENTS -- expects `<category> <content>`
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
| Category | Target file |
|
|
26
|
-
|----------|------------|
|
|
27
|
-
| `coding` | `coding-conventions.md` |
|
|
28
|
-
| `arch` | `architecture-constraints.md` |
|
|
29
|
-
| `quality` | `quality-rules.md` |
|
|
30
|
-
| `debug` | `debug-notes.md` |
|
|
31
|
-
| `test` | `test-conventions.md` |
|
|
32
|
-
| `review` | `review-standards.md` |
|
|
33
|
-
| `learning` | `learnings.md` |
|
|
34
|
-
|
|
35
|
-
**Entry format (closed-tag):**
|
|
36
|
-
```markdown
|
|
37
|
-
<spec-entry category="{category}" keywords="{auto-extracted}" date="{YYYY-MM-DD}">
|
|
38
|
-
|
|
39
|
-
### {title}
|
|
40
|
-
|
|
41
|
-
{content}
|
|
42
|
-
|
|
43
|
-
</spec-entry>
|
|
44
|
-
```
|
|
24
|
+
Category-to-file mapping (1:1) and entry format defined in workflow specs-add.md.
|
|
45
25
|
</context>
|
|
46
26
|
|
|
47
27
|
<execution>
|
|
@@ -20,22 +20,7 @@ Supports filtering by category (file-level) and keyword (entry-level via `<spec-
|
|
|
20
20
|
<context>
|
|
21
21
|
$ARGUMENTS -- optional flags and keyword
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
| Category | File loaded |
|
|
25
|
-
|----------|------------|
|
|
26
|
-
| `coding` | `coding-conventions.md` |
|
|
27
|
-
| `arch` | `architecture-constraints.md` |
|
|
28
|
-
| `quality` | `quality-rules.md` |
|
|
29
|
-
| `debug` | `debug-notes.md` |
|
|
30
|
-
| `test` | `test-conventions.md` |
|
|
31
|
-
| `review` | `review-standards.md` |
|
|
32
|
-
| `learning` | `learnings.md` |
|
|
33
|
-
| `all` (default) | All spec files |
|
|
34
|
-
|
|
35
|
-
**Flags:**
|
|
36
|
-
- `--category <type>` — Filter by file category (loads one file)
|
|
37
|
-
- `--keyword <word>` — Filter entries by keyword attribute in `<spec-entry>` tags. Searches across all files (or within category if combined)
|
|
38
|
-
- `--with-lessons` — Also search `.workflow/learning/lessons.jsonl`
|
|
23
|
+
Category-to-file mapping (1:1) and flag details defined in workflow specs-load.md.
|
|
39
24
|
|
|
40
25
|
**Examples:**
|
|
41
26
|
```
|
|
@@ -24,121 +24,11 @@ Leverages maestro's unique wiki graph infrastructure (BM25 search, backlinks, he
|
|
|
24
24
|
<context>
|
|
25
25
|
Arguments: $ARGUMENTS
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
- `--scope <type>` — Limit analysis to a wiki type (spec, memory, note, lesson, issue). Default: all types.
|
|
29
|
-
- `--min-similarity N` — Minimum similarity score threshold 0.0-1.0 (default: 0.3)
|
|
30
|
-
- `--fix` — Auto-apply the top suggestions by updating wiki entries with new `related` links
|
|
31
|
-
- `--max N` — Maximum number of suggestions to generate (default: 20)
|
|
32
|
-
|
|
33
|
-
**Storage written:**
|
|
34
|
-
- `.workflow/learning/wiki-connections-{YYYY-MM-DD}.md` — Connection analysis report
|
|
35
|
-
- If `--fix`: wiki entries updated via `maestro wiki update` with new `related` links
|
|
36
|
-
- `.workflow/learning/lessons.jsonl` — Graph structure insights (source: "wiki-connect")
|
|
37
|
-
|
|
38
|
-
**Storage read (via maestro wiki CLI, offline mode):**
|
|
39
|
-
- `maestro wiki list --json` — All wiki entries
|
|
40
|
-
- `maestro wiki graph` — Full graph structure (forward + backlinks)
|
|
41
|
-
- `maestro wiki health` — Current health score
|
|
42
|
-
- `maestro wiki orphans` — Orphaned entries
|
|
43
|
-
- `maestro wiki hubs` — Hub entries (most referenced)
|
|
27
|
+
Flags, storage paths, and CLI commands defined in workflow wiki-connect.md.
|
|
44
28
|
</context>
|
|
45
29
|
|
|
46
30
|
<execution>
|
|
47
|
-
|
|
48
|
-
### Stage 1: Load Wiki State
|
|
49
|
-
Run these `maestro wiki` commands in parallel:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
maestro wiki list --json
|
|
53
|
-
maestro wiki health
|
|
54
|
-
maestro wiki orphans
|
|
55
|
-
maestro wiki hubs --top 10
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Parse results:
|
|
59
|
-
- Entry count, type distribution
|
|
60
|
-
- Baseline health score (from `wiki health`)
|
|
61
|
-
- Orphan list (entries with 0 in-degree and 0 out-degree)
|
|
62
|
-
- Hub list (most-referenced entries)
|
|
63
|
-
|
|
64
|
-
Apply `--scope` filter if provided.
|
|
65
|
-
|
|
66
|
-
### Stage 2: Identify Connection Candidates
|
|
67
|
-
For each entry, compute potential connections:
|
|
68
|
-
|
|
69
|
-
**2a. Orphan Rescue:**
|
|
70
|
-
For each orphan entry, search for related entries using:
|
|
71
|
-
- `maestro wiki search "<orphan title>"` — BM25 match by title
|
|
72
|
-
- Tag overlap: entries sharing 2+ tags with the orphan
|
|
73
|
-
- Same category: entries with matching `category`
|
|
74
|
-
|
|
75
|
-
**2b. Missing Bidirectional Links:**
|
|
76
|
-
For entries that have forward links but no corresponding backlink (A links to B, but B doesn't link to A), suggest adding the reverse link.
|
|
77
|
-
|
|
78
|
-
**2c. Transitive Closure:**
|
|
79
|
-
If A → B and B → C, but A has no link to C, and A and C share tags or category, suggest A → C.
|
|
80
|
-
|
|
81
|
-
**2d. Type Bridge:**
|
|
82
|
-
Entries of different types that reference the same concept (e.g., a `spec-auth` and a `lesson-auth-gotcha`) but aren't linked.
|
|
83
|
-
|
|
84
|
-
### Stage 3: Score Candidates
|
|
85
|
-
For each candidate connection (source → target), compute similarity:
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
score = 0.4 × tag_overlap_ratio
|
|
89
|
-
+ 0.3 × title_bm25_similarity
|
|
90
|
-
+ 0.2 × same_category_bonus
|
|
91
|
-
+ 0.1 × type_bridge_bonus
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
- `tag_overlap_ratio`: shared_tags / max(source_tags, target_tags)
|
|
95
|
-
- `title_bm25_similarity`: normalized BM25 score from wiki search
|
|
96
|
-
- `same_category_bonus`: 1.0 if same category, else 0.0
|
|
97
|
-
- `type_bridge_bonus`: 1.0 if different types, else 0.0
|
|
98
|
-
|
|
99
|
-
Filter by `--min-similarity`, rank descending, limit to `--max`.
|
|
100
|
-
|
|
101
|
-
### Stage 4: Present Suggestions
|
|
102
|
-
Display ranked connection suggestions:
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
== Wiki Connection Suggestions ==
|
|
106
|
-
Baseline health: 72/100 | Orphans: 8 | Broken links: 3
|
|
107
|
-
|
|
108
|
-
# Score Source → Target Reason
|
|
109
|
-
1 0.85 memory-auth-flow → spec-auth tag overlap (auth, security) + same phase
|
|
110
|
-
2 0.71 note-cache-pattern → spec-performance title BM25 match + type bridge
|
|
111
|
-
3 0.65 lesson-retry-fix → spec-error-handling tag overlap (error, retry)
|
|
112
|
-
...
|
|
113
|
-
|
|
114
|
-
Projected health after fix: 81/100 (+9)
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
If NOT `--fix`: display and exit.
|
|
118
|
-
If `--fix`: proceed to Stage 5.
|
|
119
|
-
|
|
120
|
-
### Stage 5: Apply Connections (--fix only)
|
|
121
|
-
For each accepted suggestion:
|
|
122
|
-
1. Get current entry: `maestro wiki get <source-id> --json`
|
|
123
|
-
2. Extract existing `related` list from frontmatter
|
|
124
|
-
3. Append target-id to `related` if not already present
|
|
125
|
-
4. Update: `maestro wiki update <source-id> --frontmatter "related: [existing..., new-target]"`
|
|
126
|
-
5. Log success/failure
|
|
127
|
-
|
|
128
|
-
After all updates:
|
|
129
|
-
- Re-run `maestro wiki health` to get new health score
|
|
130
|
-
- Report delta
|
|
131
|
-
|
|
132
|
-
### Stage 6: Persist & Report
|
|
133
|
-
1. Write `.workflow/learning/wiki-connections-{date}.md` with:
|
|
134
|
-
- Baseline and final health scores
|
|
135
|
-
- All suggestions (applied and unapplied)
|
|
136
|
-
- Orphan rescue results
|
|
137
|
-
- Graph structure observations (hub concentration, type distribution)
|
|
138
|
-
2. Append graph insights to `lessons.jsonl`:
|
|
139
|
-
- `source: "wiki-connect"`, `category: "technique"`
|
|
140
|
-
- e.g., "Auth-related entries are poorly connected", "Phase 3 has 5 orphaned notes"
|
|
141
|
-
3. Display summary
|
|
31
|
+
Follow '~/.maestro/workflows/wiki-connect.md' completely (Stages 1-6).
|
|
142
32
|
|
|
143
33
|
**Next-step routing:**
|
|
144
34
|
- Generate knowledge digest → `/wiki-digest <topic>`
|
|
@@ -28,150 +28,11 @@ Unlike `maestro wiki list` which shows raw entries, this command synthesizes and
|
|
|
28
28
|
<context>
|
|
29
29
|
Arguments: $ARGUMENTS
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
- `<topic>` — Search wiki for entries matching the topic via `maestro wiki search`
|
|
33
|
-
- `--recent N` — Entries updated in the last N days
|
|
34
|
-
- `--type <type>` — Filter by wiki type (spec, memory, note, lesson, issue)
|
|
35
|
-
- No arguments — digest of the entire wiki
|
|
36
|
-
|
|
37
|
-
**Flags:**
|
|
38
|
-
- `--format brief` — Compact summary, one paragraph per theme (default)
|
|
39
|
-
- `--format full` — Detailed digest with per-entry summaries and full gap analysis
|
|
40
|
-
- `--create-issues` — Auto-create `type: "knowledge-gap"` entries in `.workflow/issues/issues.jsonl` for each identified gap (closes the discovery→action loop)
|
|
41
|
-
|
|
42
|
-
**Storage written:**
|
|
43
|
-
- `.workflow/learning/digest-{slug}-{YYYY-MM-DD}.md` — Digest document
|
|
44
|
-
- `.workflow/learning/lessons.jsonl` — Meta-insights about knowledge structure (source: "wiki-digest")
|
|
45
|
-
- `.workflow/issues/issues.jsonl` — Knowledge-gap issues (only when `--create-issues`)
|
|
46
|
-
|
|
47
|
-
**Storage read (via maestro wiki CLI, offline mode):**
|
|
48
|
-
- `maestro wiki list --json` — All entries (or filtered)
|
|
49
|
-
- `maestro wiki search <topic>` — Topic-scoped entries
|
|
50
|
-
- `maestro wiki get <id>` — Entry bodies for summarization
|
|
51
|
-
- `maestro wiki backlinks <id>` / `maestro wiki forward <id>` — Relationship context
|
|
52
|
-
- `maestro wiki health` — Overall graph health
|
|
53
|
-
- `.workflow/learning/lessons.jsonl` — Cross-reference for unlinked insights
|
|
31
|
+
Flags, scope resolution, storage paths, and CLI commands defined in workflow wiki-digest.md.
|
|
54
32
|
</context>
|
|
55
33
|
|
|
56
34
|
<execution>
|
|
57
|
-
|
|
58
|
-
### Stage 1: Scope & Load
|
|
59
|
-
- Parse arguments to determine scope:
|
|
60
|
-
- Topic: `maestro wiki search "<topic>" --json` → matching entries
|
|
61
|
-
- Recent N: `maestro wiki list --json` → filter by `updated` within N days
|
|
62
|
-
- Type: `maestro wiki list --type <type> --json`
|
|
63
|
-
- All: `maestro wiki list --json`
|
|
64
|
-
- Load entry metadata (id, title, tags, status, type, related, summary)
|
|
65
|
-
- For `--format full`: also load entry bodies via `maestro wiki get <id>` for top entries
|
|
66
|
-
- Run `maestro wiki health` for baseline metrics
|
|
67
|
-
|
|
68
|
-
### Stage 2: Theme Clustering
|
|
69
|
-
Group entries into 3-5 semantic themes using:
|
|
70
|
-
|
|
71
|
-
1. **Tag co-occurrence**: entries sharing 2+ tags belong to the same theme
|
|
72
|
-
2. **Title similarity**: BM25-based grouping (entries whose titles match each other's keywords)
|
|
73
|
-
3. **Relationship proximity**: entries connected by `related` links cluster together
|
|
74
|
-
4. **Type grouping**: if entries are all same type, sub-cluster by content
|
|
75
|
-
|
|
76
|
-
For each theme:
|
|
77
|
-
- Name: most common tag or dominant keyword
|
|
78
|
-
- Entry count
|
|
79
|
-
- Type distribution within theme
|
|
80
|
-
- Status distribution (draft/active/completed/archived)
|
|
81
|
-
|
|
82
|
-
### Stage 3: Per-Theme Analysis
|
|
83
|
-
For each theme, produce:
|
|
84
|
-
|
|
85
|
-
**Summary paragraph**: synthesize the key knowledge in this theme area (what do these entries collectively say?)
|
|
86
|
-
|
|
87
|
-
**Key entries**: top 3-5 most important entries (by hub score / backlink count)
|
|
88
|
-
|
|
89
|
-
**Gap detection**:
|
|
90
|
-
- Broken links: `[[references]]` that don't resolve within the theme
|
|
91
|
-
- Orphans: entries in this theme with no connections
|
|
92
|
-
- Questions: entries with `?` in title or "TODO" / "TBD" markers in body
|
|
93
|
-
- Missing perspectives: if theme has specs but no lessons, or issues but no decisions
|
|
94
|
-
|
|
95
|
-
**Health**: per-theme health score (adapted from wiki health formula)
|
|
96
|
-
|
|
97
|
-
### Stage 4: Cross-Reference with Lessons
|
|
98
|
-
- Search `lessons.jsonl` for insights related to each theme
|
|
99
|
-
- Identify unlinked insights: lessons that match a theme but are not referenced by any wiki entry in that theme
|
|
100
|
-
- Flag these as "knowledge not yet connected to the graph"
|
|
101
|
-
|
|
102
|
-
### Stage 5: Coverage Heatmap
|
|
103
|
-
Build a matrix showing knowledge density by type × theme:
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
Theme 1 Theme 2 Theme 3 Theme 4 Theme 5
|
|
107
|
-
spec ███░░ ░░░░░ █████ ██░░░ ░░░░░
|
|
108
|
-
memory ░░░░░ ████░ ██░░░ ░░░░░ ███░░
|
|
109
|
-
lesson █░░░░ ██░░░ ████░ █░░░░ ░░░░░
|
|
110
|
-
issue ██░░░ ░░░░░ █░░░░ ███░░ ░░░░░
|
|
111
|
-
|
|
112
|
-
Legend: █ = entries exist, ░ = sparse/missing
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Identify: which theme × type cells are empty? These are knowledge gaps.
|
|
116
|
-
|
|
117
|
-
### Stage 6: Write Digest
|
|
118
|
-
Produce `.workflow/learning/digest-{slug}-{date}.md`:
|
|
119
|
-
|
|
120
|
-
```markdown
|
|
121
|
-
# Knowledge Digest: {scope description}
|
|
122
|
-
**Generated:** {date} | **Entries:** {count} | **Health:** {score}/100
|
|
123
|
-
|
|
124
|
-
## Themes
|
|
125
|
-
|
|
126
|
-
### 1. {Theme Name} ({N} entries)
|
|
127
|
-
{summary paragraph}
|
|
128
|
-
|
|
129
|
-
**Key entries:** {linked entry IDs}
|
|
130
|
-
**Gaps:** {list of missing knowledge}
|
|
131
|
-
**Health:** {score}/100
|
|
132
|
-
|
|
133
|
-
### 2. {Theme Name} ...
|
|
134
|
-
|
|
135
|
-
## Coverage Heatmap
|
|
136
|
-
{matrix}
|
|
137
|
-
|
|
138
|
-
## Knowledge Gaps
|
|
139
|
-
| Gap | Theme | Type Missing | Suggested Action |
|
|
140
|
-
|-----|-------|-------------|-----------------|
|
|
141
|
-
| No lessons for auth patterns | Security | lesson | Run /learn-decompose on src/auth/ |
|
|
142
|
-
|
|
143
|
-
## Unlinked Insights
|
|
144
|
-
{lessons.jsonl entries not connected to wiki graph}
|
|
145
|
-
|
|
146
|
-
## Recommended Actions
|
|
147
|
-
1. {action}: {reason}
|
|
148
|
-
2. ...
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### Stage 7: Gap → Issue Routing (if --create-issues)
|
|
152
|
-
For each knowledge gap identified in Stage 5:
|
|
153
|
-
1. Check `.workflow/issues/issues.jsonl` for existing gap with same theme + type
|
|
154
|
-
2. If not duplicate, append to `issues.jsonl` using the canonical schema from `~/.maestro/workflows/issue.md` Step 4:
|
|
155
|
-
- `id`: `ISS-XXXXXXXX-NNN` format (8 hex hash + sequence)
|
|
156
|
-
- `title`: "Knowledge gap: {gap description}"
|
|
157
|
-
- `type`: "knowledge-gap"
|
|
158
|
-
- `status`: "open"
|
|
159
|
-
- `severity`: "low"
|
|
160
|
-
- `priority`: "low"
|
|
161
|
-
- `source`: "wiki-digest"
|
|
162
|
-
- `description`: "Theme: {theme}, Missing type: {type}. Suggested action: {action}"
|
|
163
|
-
- `tags`: ["knowledge-gap", "{theme-slug}"]
|
|
164
|
-
- `created`: ISO date
|
|
165
|
-
- `issue_history`: initial entry with `action: "created"`, `by: "wiki-digest"`, `timestamp`
|
|
166
|
-
3. Report created issue count
|
|
167
|
-
|
|
168
|
-
### Stage 8: Persist
|
|
169
|
-
1. Write digest file
|
|
170
|
-
2. Append meta-insights to `lessons.jsonl`:
|
|
171
|
-
- `source: "wiki-digest"`, `category: "technique"`
|
|
172
|
-
- e.g., "Auth knowledge is concentrated in specs but lacks lessons", "Security category has no decision entries"
|
|
173
|
-
3. Update `learning-index.json`
|
|
174
|
-
4. Display summary with key findings
|
|
35
|
+
Follow '~/.maestro/workflows/wiki-digest.md' completely (Stages 1-8).
|
|
175
36
|
|
|
176
37
|
**Next-step routing:**
|
|
177
38
|
- Deep dive on a theme → `/learn-follow <wiki-id>`
|
|
@@ -47,14 +47,8 @@ $ARGUMENTS — target path/module and optional flags.
|
|
|
47
47
|
|
|
48
48
|
### Phase 1: Session Init + Target Resolution
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
const patternsMatch = $ARGUMENTS.match(/--patterns\s+(\S+)/)
|
|
53
|
-
const patternFilter = patternsMatch ? patternsMatch[1].split(',') : null
|
|
54
|
-
const SAVE_SPEC = $ARGUMENTS.includes('--save-spec')
|
|
55
|
-
const SAVE_WIKI = $ARGUMENTS.includes('--save-wiki')
|
|
56
|
-
const target = $ARGUMENTS.replace(/--yes|-y|--continue|--concurrency\s+\d+|-c\s+\d+|--patterns\s+\S+|--save-spec|--save-wiki/g, '').trim()
|
|
57
|
-
```
|
|
50
|
+
Parse flags from `$ARGUMENTS`: `-y`/`--yes`, `--patterns <list>`, `--save-spec`, `--save-wiki`, `--continue`, `-c N`.
|
|
51
|
+
Extract remaining text as target path/module.
|
|
58
52
|
|
|
59
53
|
Resolve target to file list. Load existing patterns from `coding-conventions.md` + `lessons.jsonl` for dedup set.
|
|
60
54
|
|