maestro-flow 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/maestro-amend.md +300 -0
- package/.claude/commands/maestro-analyze.md +1 -49
- package/.claude/commands/maestro-composer.md +354 -0
- 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-player.md +404 -0
- 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/.claude/skills/skill-iter-tune/SKILL.md +382 -0
- package/.claude/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.claude/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.claude/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.claude/skills/skill-iter-tune/phases/04-improve.md +186 -0
- package/.claude/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.claude/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.claude/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.claude/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.claude/skills/workflow-skill-designer/SKILL.md +496 -0
- package/.claude/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.claude/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.claude/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.claude/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- 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 +213 -0
- 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 +42 -166
- package/.codex/skills/maestro-player/SKILL.md +323 -0
- 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/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/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/templates/workflows/specs/node-catalog.md +170 -0
- package/templates/workflows/specs/template-schema.md +157 -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 +176 -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
package/workflows/memory.md
DELETED
|
@@ -1,451 +0,0 @@
|
|
|
1
|
-
# Memory Workflow
|
|
2
|
-
|
|
3
|
-
Session memory capture, retrieval, and management for cross-session recovery.
|
|
4
|
-
|
|
5
|
-
## Dual Store Architecture
|
|
6
|
-
|
|
7
|
-
Two memory stores with different purposes:
|
|
8
|
-
|
|
9
|
-
| Store | Path | Format | Index |
|
|
10
|
-
|-------|------|--------|-------|
|
|
11
|
-
| `workflow` | `.workflow/memory/` | `MEM-*.md`, `TIP-*.md` | `.workflow/wiki-index.json` (unified, auto-managed by WikiIndexer) |
|
|
12
|
-
| `system` | `~/.claude/projects/{project}/memory/` | `MEMORY.md` + topic `.md` files | None (flat files) |
|
|
13
|
-
|
|
14
|
-
**System memory path detection:**
|
|
15
|
-
```bash
|
|
16
|
-
# Derive from project root — replace path separators with '--', prefix drive letter
|
|
17
|
-
# e.g., D:\maestro2 → ~/.claude/projects/D--maestro2/memory/
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Part A: Memory Management (manage-memory)
|
|
23
|
-
|
|
24
|
-
Operations: list, search, view, edit, delete, prune across both stores.
|
|
25
|
-
|
|
26
|
-
### Step 1: Resolve Paths
|
|
27
|
-
|
|
28
|
-
Detect both memory store paths:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# Workflow memory
|
|
32
|
-
WF_MEMORY_DIR=".workflow/memory"
|
|
33
|
-
WF_INDEX_FILE=".workflow/wiki-index.json" # unified index (auto-managed by WikiIndexer)
|
|
34
|
-
|
|
35
|
-
# System memory — derive from project git root or cwd
|
|
36
|
-
PROJECT_ROOT=$(pwd)
|
|
37
|
-
# Convert to ~/.claude/projects/ path format:
|
|
38
|
-
# D:\maestro2 → D--maestro2
|
|
39
|
-
SYS_MEMORY_DIR="$HOME/.claude/projects/$(echo "$PROJECT_ROOT" | sed 's|[/\\:]|-|g; s|^-*||')/memory"
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Verify which stores exist:
|
|
43
|
-
- Workflow: check `.workflow/memory/` directory exists (index is auto-managed)
|
|
44
|
-
- System: check `$SYS_MEMORY_DIR/MEMORY.md` exists
|
|
45
|
-
|
|
46
|
-
If neither exists, report E001.
|
|
47
|
-
|
|
48
|
-
### Step 2: Parse Input
|
|
49
|
-
|
|
50
|
-
Parse arguments and detect subcommand:
|
|
51
|
-
|
|
52
|
-
| Input | Route |
|
|
53
|
-
|-------|-------|
|
|
54
|
-
| No arguments, `list`, `列表`, `ls` | List mode |
|
|
55
|
-
| `search <query>`, `搜索`, `find` | Search mode |
|
|
56
|
-
| `view <id\|file>`, `查看`, `show` | View mode |
|
|
57
|
-
| `edit <file>`, `编辑` | Edit mode (system store only) |
|
|
58
|
-
| `delete <id\|file>`, `删除`, `rm` | Delete mode |
|
|
59
|
-
| `prune`, `清理`, `cleanup` | Prune mode |
|
|
60
|
-
| Ambiguous | AskUserQuestion |
|
|
61
|
-
|
|
62
|
-
**Store auto-detection for view/edit/delete:**
|
|
63
|
-
- Argument matches `MEM-*` or `TIP-*` pattern → workflow store
|
|
64
|
-
- Argument matches `MEMORY.md` or `*.md` filename → system store
|
|
65
|
-
- Explicit `--store` flag overrides
|
|
66
|
-
|
|
67
|
-
### Step 3: Execute List (list mode)
|
|
68
|
-
|
|
69
|
-
List entries from targeted stores.
|
|
70
|
-
|
|
71
|
-
**Workflow store** (if exists):
|
|
72
|
-
1. Use `maestro wiki list --type memory --json` (reads unified `.workflow/wiki-index.json`)
|
|
73
|
-
2. Apply filters (--tag, --type, --before, --after)
|
|
74
|
-
3. Sort by timestamp descending
|
|
75
|
-
|
|
76
|
-
**System store** (if exists):
|
|
77
|
-
1. Glob `$SYS_MEMORY_DIR/*.md`
|
|
78
|
-
2. For each file: read first 5 lines to extract title/purpose
|
|
79
|
-
3. Show file size and modification date
|
|
80
|
-
|
|
81
|
-
Display combined:
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
=== WORKFLOW MEMORY (.workflow/memory/) — {count} entries ===
|
|
85
|
-
|
|
86
|
-
ID Type Date Tags Summary
|
|
87
|
-
───────────────────── ──────── ────────── ───────────────── ─────────────────────────
|
|
88
|
-
MEM-20260315-143022 compact 2026-03-15 — Implement auth module...
|
|
89
|
-
TIP-20260314-091500 tip 2026-03-14 config, redis Redis config pattern...
|
|
90
|
-
|
|
91
|
-
=== SYSTEM MEMORY (~/.claude/projects/.../memory/) — {count} files ===
|
|
92
|
-
|
|
93
|
-
File Lines Modified Description
|
|
94
|
-
───────────────────────────── ─────── ──────────── ────────────────────────────
|
|
95
|
-
MEMORY.md 38 2026-03-15 Project Memory (auto-loaded)
|
|
96
|
-
claude-code-skills-guide.md 120 2026-03-10 Claude Code Skills 构建指南
|
|
97
|
-
|
|
98
|
-
Hints:
|
|
99
|
-
View: /manage-memory view <ID|filename>
|
|
100
|
-
Edit: /manage-memory edit <filename>
|
|
101
|
-
Search: /manage-memory search <query>
|
|
102
|
-
Capture: /manage-memory-capture compact
|
|
103
|
-
Tips: /manage-learn tip <text>
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### Step 4: Execute Search (search mode)
|
|
107
|
-
|
|
108
|
-
Full-text search across both stores.
|
|
109
|
-
|
|
110
|
-
**Workflow store:**
|
|
111
|
-
1. Use `maestro wiki search "<query>" --json` or filter `.workflow/wiki-index.json` fields: `summary`, `tags`, `id`
|
|
112
|
-
2. For deeper matches, read individual `.md` files and search content
|
|
113
|
-
|
|
114
|
-
**System store:**
|
|
115
|
-
1. Read each `.md` file in `$SYS_MEMORY_DIR/`
|
|
116
|
-
2. Search content for query string (case-insensitive)
|
|
117
|
-
|
|
118
|
-
Rank results: exact match > heading match > content match. Display with store label:
|
|
119
|
-
|
|
120
|
-
```
|
|
121
|
-
=== SEARCH RESULTS for "{query}" ({count} matches) ===
|
|
122
|
-
|
|
123
|
-
[workflow] MEM-20260315-143022 compact 2026-03-15
|
|
124
|
-
Summary: Implement auth module with JWT tokens
|
|
125
|
-
Match: ...configured JWT refresh token rotation for **auth** module...
|
|
126
|
-
|
|
127
|
-
[system] MEMORY.md:22
|
|
128
|
-
Match: ...`manage-*` (4) — status, **memory**, codebase-rebuild...
|
|
129
|
-
|
|
130
|
-
[system] claude-code-skills-guide.md:9
|
|
131
|
-
Match: ...旧 commands 文件继续兼容,推荐使用 **Skills**...
|
|
132
|
-
|
|
133
|
-
View: /manage-memory view <ID|filename>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Step 5: Execute View (view mode)
|
|
137
|
-
|
|
138
|
-
Display full content of a memory entry.
|
|
139
|
-
|
|
140
|
-
**Workflow entry** (ID matches `MEM-*` or `TIP-*`):
|
|
141
|
-
1. Validate ID exists via `maestro wiki get <id>` or in `.workflow/wiki-index.json`
|
|
142
|
-
2. Read the corresponding `.md` file
|
|
143
|
-
3. Display with metadata header
|
|
144
|
-
|
|
145
|
-
**System file** (filename):
|
|
146
|
-
1. Validate file exists in `$SYS_MEMORY_DIR/`
|
|
147
|
-
2. Read full content
|
|
148
|
-
|
|
149
|
-
```
|
|
150
|
-
=== MEMORY: {ID or filename} ===
|
|
151
|
-
Store: {workflow | system}
|
|
152
|
-
File: {full path}
|
|
153
|
-
Modified: {date}
|
|
154
|
-
Lines: {count}
|
|
155
|
-
─────────────────────────────────
|
|
156
|
-
|
|
157
|
-
{full content}
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
If not found, suggest similar entries/files.
|
|
161
|
-
|
|
162
|
-
### Step 6: Execute Edit (edit mode)
|
|
163
|
-
|
|
164
|
-
Edit a system memory file interactively. Only for system store files (`MEMORY.md`, topic files).
|
|
165
|
-
|
|
166
|
-
1. Validate file exists in `$SYS_MEMORY_DIR/`
|
|
167
|
-
2. Read current content, display to user
|
|
168
|
-
3. Use AskUserQuestion to gather edit instructions:
|
|
169
|
-
- "What changes to make? (add/update/remove sections, or provide new content)"
|
|
170
|
-
4. Apply edits using Edit tool
|
|
171
|
-
5. Display diff summary
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
=== MEMORY UPDATED ===
|
|
175
|
-
File: {filename}
|
|
176
|
-
Path: {full path}
|
|
177
|
-
Changes: {summary of edits}
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
**Rules for MEMORY.md edits:**
|
|
181
|
-
- Keep under 200 lines (content after line 200 is truncated at load)
|
|
182
|
-
- Maintain semantic organization by topic
|
|
183
|
-
- For detailed notes, create/update separate topic files and link from MEMORY.md
|
|
184
|
-
- Do not duplicate information already in CLAUDE.md
|
|
185
|
-
|
|
186
|
-
### Step 7: Execute Delete (delete mode)
|
|
187
|
-
|
|
188
|
-
Remove a memory entry or file.
|
|
189
|
-
|
|
190
|
-
**Workflow entry:**
|
|
191
|
-
1. Validate ID via `maestro wiki get <id>` or in `.workflow/wiki-index.json`
|
|
192
|
-
2. Show summary, confirm with AskUserQuestion (unless --confirm)
|
|
193
|
-
3. Remove `.md` file (WikiIndexer auto-updates index on next access)
|
|
194
|
-
|
|
195
|
-
**System file:**
|
|
196
|
-
1. Validate file exists (NEVER allow deleting MEMORY.md — only topic files)
|
|
197
|
-
2. Show content preview, confirm
|
|
198
|
-
3. Remove file
|
|
199
|
-
4. If MEMORY.md references the deleted file, warn user to update links
|
|
200
|
-
|
|
201
|
-
```
|
|
202
|
-
=== ENTRY DELETED ===
|
|
203
|
-
Store: {workflow | system}
|
|
204
|
-
ID/File: {id or filename}
|
|
205
|
-
Path: {full path} (removed)
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
**Safety:** MEMORY.md cannot be deleted, only edited. Use `edit` subcommand instead.
|
|
209
|
-
|
|
210
|
-
### Step 8: Execute Prune (prune mode)
|
|
211
|
-
|
|
212
|
-
Bulk cleanup — workflow store only.
|
|
213
|
-
|
|
214
|
-
At least one filter required: --tag, --type, --before, --after.
|
|
215
|
-
|
|
216
|
-
1. Read `.workflow/wiki-index.json`, apply filters
|
|
217
|
-
2. Display candidates table
|
|
218
|
-
3. If `--dry-run`, stop after display
|
|
219
|
-
4. Confirm with AskUserQuestion
|
|
220
|
-
5. Remove files + update index
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
=== PRUNE COMPLETE ===
|
|
224
|
-
Removed: {count} entries
|
|
225
|
-
Remaining: {remaining} entries
|
|
226
|
-
Criteria: {filters}
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
### Step 9: Integrity Check (after delete/prune only)
|
|
230
|
-
|
|
231
|
-
Post-operation integrity check.
|
|
232
|
-
|
|
233
|
-
**Workflow store:**
|
|
234
|
-
1. Scan `.workflow/memory/` for `.md` files
|
|
235
|
-
2. Compare with `.workflow/wiki-index.json` entries (type=memory)
|
|
236
|
-
3. Report orphaned files or dangling references
|
|
237
|
-
4. Offer to fix inconsistencies (WikiIndexer re-indexes on next write)
|
|
238
|
-
|
|
239
|
-
**System store:**
|
|
240
|
-
1. Check MEMORY.md links to topic files
|
|
241
|
-
2. Report broken links (referenced files that don't exist)
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
## Part B: Memory Capture (manage-memory-capture)
|
|
246
|
-
|
|
247
|
-
Capture session working memory into `.workflow/memory/` for cross-session recovery. Two modes: compact (full session compression) and tip (quick note-taking).
|
|
248
|
-
|
|
249
|
-
### Step 1: Parse Input
|
|
250
|
-
|
|
251
|
-
Parse arguments and detect execution mode:
|
|
252
|
-
|
|
253
|
-
| Input | Route |
|
|
254
|
-
|-------|-------|
|
|
255
|
-
| `compact`, `session`, `压缩`, `保存会话` | Compact mode |
|
|
256
|
-
| `tip`, `note`, `记录`, `快速` | Tips mode |
|
|
257
|
-
| `--tag` flag present | Tips mode |
|
|
258
|
-
| Short text (<100 chars) + no session keywords | Tips mode |
|
|
259
|
-
| No arguments or ambiguous | AskUserQuestion |
|
|
260
|
-
|
|
261
|
-
```bash
|
|
262
|
-
MEMORY_DIR=".workflow/memory"
|
|
263
|
-
mkdir -p "$MEMORY_DIR"
|
|
264
|
-
# Note: wiki-index.json is auto-managed by WikiIndexer at .workflow/wiki-index.json
|
|
265
|
-
# No manual index initialization needed
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
When ambiguous, use AskUserQuestion:
|
|
269
|
-
- Option 1: Compact — 压缩当前完整会话记忆(用于会话恢复)
|
|
270
|
-
- Option 2: Tip — 快速记录一条笔记/想法/提示
|
|
271
|
-
|
|
272
|
-
### Step 2: Analyze Session (compact mode only)
|
|
273
|
-
|
|
274
|
-
Extract session state from conversation history. Skip if tip mode.
|
|
275
|
-
|
|
276
|
-
Analyze conversation to extract:
|
|
277
|
-
|
|
278
|
-
```javascript
|
|
279
|
-
sessionAnalysis = {
|
|
280
|
-
projectRoot: "", // Absolute path to project root
|
|
281
|
-
objective: "", // High-level goal (1-2 sentences)
|
|
282
|
-
executionPlan: {
|
|
283
|
-
source: "workflow" | "todo" | "user-stated" | "inferred",
|
|
284
|
-
content: "" // COMPLETE plan — never summarize
|
|
285
|
-
},
|
|
286
|
-
workingFiles: [], // [{absolutePath, role}] — modified files
|
|
287
|
-
referenceFiles: [], // [{absolutePath, role}] — read-only context
|
|
288
|
-
lastAction: "", // Last significant action + result
|
|
289
|
-
decisions: [], // [{decision, reasoning}]
|
|
290
|
-
constraints: [], // User-specified limitations
|
|
291
|
-
dependencies: [], // Added/changed packages
|
|
292
|
-
knownIssues: [], // Deferred bugs
|
|
293
|
-
changesMade: [], // Completed modifications
|
|
294
|
-
pending: [], // Next steps
|
|
295
|
-
notes: "" // Unstructured thoughts
|
|
296
|
-
}
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
**Plan Detection Priority:**
|
|
300
|
-
|
|
301
|
-
| Priority | Source | Detection |
|
|
302
|
-
|----------|--------|-----------|
|
|
303
|
-
| 1 | Workflow session | `.workflow/active/WFS-*/IMPL_PLAN.md` exists |
|
|
304
|
-
| 2 | TodoWrite | Todo items in current conversation |
|
|
305
|
-
| 3 | User-stated | Explicit plan statements in user messages |
|
|
306
|
-
| 4 | Inferred | Sequence of actions and outstanding work |
|
|
307
|
-
|
|
308
|
-
**Core Rules:**
|
|
309
|
-
- Preserve complete plan content VERBATIM — never abbreviate
|
|
310
|
-
- All file paths must be ABSOLUTE
|
|
311
|
-
- Last Action captures final state (success/failure)
|
|
312
|
-
- Decisions include reasoning, not just choices
|
|
313
|
-
|
|
314
|
-
### Step 3: Generate Content
|
|
315
|
-
|
|
316
|
-
Generate structured markdown content.
|
|
317
|
-
|
|
318
|
-
**Compact mode** — Full session memory:
|
|
319
|
-
|
|
320
|
-
```bash
|
|
321
|
-
TIMESTAMP=$(date -u +%Y%m%d-%H%M%S)
|
|
322
|
-
ENTRY_ID="MEM-${TIMESTAMP}"
|
|
323
|
-
ENTRY_FILE="$MEMORY_DIR/${ENTRY_ID}.md"
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
Write entry file with sections:
|
|
327
|
-
- Session ID (WFS-* if active, none otherwise)
|
|
328
|
-
- Project Root (absolute path)
|
|
329
|
-
- Objective
|
|
330
|
-
- Execution Plan (source + full content in details block)
|
|
331
|
-
- Working Files (modified, with roles)
|
|
332
|
-
- Reference Files (read-only context)
|
|
333
|
-
- Last Action
|
|
334
|
-
- Decisions (with reasoning)
|
|
335
|
-
- Constraints, Dependencies, Known Issues
|
|
336
|
-
- Changes Made, Pending
|
|
337
|
-
- Notes
|
|
338
|
-
|
|
339
|
-
**Tip mode** — Quick note:
|
|
340
|
-
|
|
341
|
-
```bash
|
|
342
|
-
TIMESTAMP=$(date -u +%Y%m%d-%H%M%S)
|
|
343
|
-
ENTRY_ID="TIP-${TIMESTAMP}"
|
|
344
|
-
ENTRY_FILE="$MEMORY_DIR/${ENTRY_ID}.md"
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
Write entry file with sections:
|
|
348
|
-
- Tip ID
|
|
349
|
-
- Timestamp
|
|
350
|
-
- Content (the note text)
|
|
351
|
-
- Tags (from --tag flag)
|
|
352
|
-
- Context (auto-detected from recent conversation files)
|
|
353
|
-
|
|
354
|
-
### Step 4: Wiki Index (Auto-managed)
|
|
355
|
-
|
|
356
|
-
Memory files are automatically indexed by WikiIndexer into the unified `.workflow/wiki-index.json`. No manual index update is needed — the persistent index is regenerated on next `maestro wiki` access or any write operation.
|
|
357
|
-
|
|
358
|
-
For immediate visibility after capture:
|
|
359
|
-
```bash
|
|
360
|
-
maestro wiki get memory-{slug} # verify entry exists in wiki
|
|
361
|
-
maestro wiki list --type memory # list all memory entries
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
### Step 5: Report
|
|
365
|
-
|
|
366
|
-
Display confirmation with entry ID and retrieval instructions.
|
|
367
|
-
|
|
368
|
-
**Compact mode:**
|
|
369
|
-
```
|
|
370
|
-
=== SESSION MEMORY SAVED ===
|
|
371
|
-
Entry: {ENTRY_ID}
|
|
372
|
-
File: .workflow/memory/{ENTRY_ID}.md
|
|
373
|
-
Type: compact
|
|
374
|
-
Plan: {plan_source} ({plan_line_count} lines preserved)
|
|
375
|
-
|
|
376
|
-
To restore: Read .workflow/memory/{ENTRY_ID}.md
|
|
377
|
-
To search: maestro wiki list --type memory
|
|
378
|
-
```
|
|
379
|
-
|
|
380
|
-
**Tip mode:**
|
|
381
|
-
```
|
|
382
|
-
=== TIP SAVED ===
|
|
383
|
-
Entry: {ENTRY_ID}
|
|
384
|
-
File: .workflow/memory/{ENTRY_ID}.md
|
|
385
|
-
Tags: {tags}
|
|
386
|
-
|
|
387
|
-
To search: maestro wiki list --type memory --tag {tags}
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
---
|
|
391
|
-
|
|
392
|
-
## Index
|
|
393
|
-
|
|
394
|
-
Memory entries are indexed in the unified `.workflow/wiki-index.json` by WikiIndexer. Each memory file becomes a wiki entry of type `memory` with fields derived from frontmatter (id, title, tags, summary). Use `maestro wiki list --type memory --json` to query the index programmatically.
|
|
395
|
-
|
|
396
|
-
## Compact Entry Structure
|
|
397
|
-
|
|
398
|
-
Full session memory for recovery. Sections:
|
|
399
|
-
|
|
400
|
-
1. **Session ID** — WFS-* if workflow session active
|
|
401
|
-
2. **Project Root** — Absolute path
|
|
402
|
-
3. **Objective** — High-level goal
|
|
403
|
-
4. **Execution Plan** — Source type + complete verbatim content
|
|
404
|
-
5. **Working Files** — Modified files with roles
|
|
405
|
-
6. **Reference Files** — Read-only context files
|
|
406
|
-
7. **Last Action** — Final action + result
|
|
407
|
-
8. **Decisions** — Choices with reasoning
|
|
408
|
-
9. **Constraints** — User-specified limitations
|
|
409
|
-
10. **Dependencies** — Added/changed packages
|
|
410
|
-
11. **Known Issues** — Deferred bugs
|
|
411
|
-
12. **Changes Made** — Completed modifications
|
|
412
|
-
13. **Pending** — Next steps
|
|
413
|
-
14. **Notes** — Unstructured thoughts
|
|
414
|
-
|
|
415
|
-
### Plan Detection Priority
|
|
416
|
-
|
|
417
|
-
1. Workflow session (`.workflow/active/WFS-*/IMPL_PLAN.md`)
|
|
418
|
-
2. TodoWrite items in conversation
|
|
419
|
-
3. User-stated plan (explicit numbered steps)
|
|
420
|
-
4. Inferred from actions and discussion
|
|
421
|
-
|
|
422
|
-
### Rules
|
|
423
|
-
|
|
424
|
-
- Preserve complete plan VERBATIM — never summarize or abbreviate
|
|
425
|
-
- All file paths must be ABSOLUTE
|
|
426
|
-
- Working files: 3-8 modified files with roles
|
|
427
|
-
- Reference files: key context (CLAUDE.md, types, configs)
|
|
428
|
-
|
|
429
|
-
## Tip Entry Structure
|
|
430
|
-
|
|
431
|
-
Quick note for ideas, snippets, reminders.
|
|
432
|
-
|
|
433
|
-
1. **Tip ID** — TIP-YYYYMMDD-HHMMSS
|
|
434
|
-
2. **Timestamp** — ISO format
|
|
435
|
-
3. **Content** — The note text
|
|
436
|
-
4. **Tags** — Categorization tags
|
|
437
|
-
5. **Context** — Related files/modules (auto-detected or specified)
|
|
438
|
-
|
|
439
|
-
### Suggested Tag Categories
|
|
440
|
-
|
|
441
|
-
| Category | Tags |
|
|
442
|
-
|----------|------|
|
|
443
|
-
| Technical | architecture, performance, security, bug, config, api |
|
|
444
|
-
| Development | testing, debugging, refactoring, documentation |
|
|
445
|
-
| Domain | auth, database, frontend, backend, devops |
|
|
446
|
-
| Organizational | reminder, research, idea, review |
|
|
447
|
-
|
|
448
|
-
## Retrieval
|
|
449
|
-
|
|
450
|
-
Use `maestro wiki list --type memory` to find entries by type, tags, or date.
|
|
451
|
-
Use `maestro wiki get <id>` or read individual `.md` files for full content.
|