maestro-flow 0.3.4 → 0.3.6

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.
Files changed (105) hide show
  1. package/.claude/commands/maestro-brainstorm.md +10 -1
  2. package/.claude/commands/maestro-milestone-audit.md +1 -1
  3. package/.claude/commands/maestro-milestone-complete.md +2 -1
  4. package/.claude/commands/maestro-milestone-release.md +96 -0
  5. package/.claude/commands/maestro-phase-add.md +9 -1
  6. package/.claude/commands/maestro-phase-transition.md +9 -1
  7. package/.claude/commands/maestro.md +6 -0
  8. package/.claude/commands/manage-codebase-rebuild.md +76 -50
  9. package/.claude/commands/manage-codebase-refresh.md +9 -1
  10. package/.claude/commands/quality-refactor.md +1 -1
  11. package/.claude/commands/quality-sync.md +9 -1
  12. package/.claude/commands/spec-setup.md +1 -1
  13. package/.codex/skills/maestro-coordinate/SKILL.md +20 -6
  14. package/.codex/skills/maestro-init/SKILL.md +167 -167
  15. package/.codex/skills/maestro-phase-add/SKILL.md +154 -154
  16. package/.codex/skills/maestro-phase-transition/SKILL.md +173 -173
  17. package/.codex/skills/maestro-verify/SKILL.md +566 -566
  18. package/.codex/skills/manage-codebase-rebuild/SKILL.md +5 -5
  19. package/.codex/skills/manage-codebase-refresh/SKILL.md +5 -5
  20. package/.codex/skills/manage-issue/SKILL.md +7 -7
  21. package/.codex/skills/manage-issue-analyze/SKILL.md +8 -8
  22. package/.codex/skills/manage-issue-discover/SKILL.md +503 -503
  23. package/.codex/skills/manage-issue-execute/SKILL.md +9 -9
  24. package/.codex/skills/manage-issue-plan/SKILL.md +8 -8
  25. package/.codex/skills/manage-learn/SKILL.md +7 -7
  26. package/.codex/skills/manage-memory/SKILL.md +72 -72
  27. package/.codex/skills/manage-memory-capture/SKILL.md +86 -86
  28. package/.codex/skills/manage-status/SKILL.md +2 -2
  29. package/.codex/skills/quality-business-test/SKILL.md +8 -8
  30. package/.codex/skills/quality-debug/SKILL.md +5 -5
  31. package/.codex/skills/quality-integration-test/SKILL.md +544 -544
  32. package/.codex/skills/quality-refactor/SKILL.md +6 -6
  33. package/.codex/skills/quality-retrospective/SKILL.md +13 -13
  34. package/.codex/skills/quality-review/SKILL.md +408 -408
  35. package/.codex/skills/quality-sync/SKILL.md +6 -6
  36. package/.codex/skills/quality-test/SKILL.md +5 -5
  37. package/.codex/skills/quality-test-gen/SKILL.md +447 -447
  38. package/.codex/skills/spec-add/SKILL.md +5 -5
  39. package/.codex/skills/spec-load/SKILL.md +5 -5
  40. package/.codex/skills/spec-map/SKILL.md +5 -5
  41. package/.codex/skills/spec-setup/SKILL.md +2 -2
  42. package/.codex/skills/team-coordinate/SKILL.md +1 -1
  43. package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +19 -10
  44. package/.codex/skills/team-coordinate/roles/coordinator/role.md +2 -2
  45. package/.codex/skills/team-executor/SKILL.md +1 -1
  46. package/.codex/skills/team-executor/roles/executor/commands/monitor.md +20 -9
  47. package/.codex/skills/team-lifecycle-v4/SKILL.md +2 -2
  48. package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +31 -12
  49. package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +1 -1
  50. package/.codex/skills/team-quality-assurance/SKILL.md +1 -1
  51. package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +20 -9
  52. package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +1 -1
  53. package/.codex/skills/team-review/SKILL.md +1 -1
  54. package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +20 -9
  55. package/.codex/skills/team-review/roles/coordinator/role.md +1 -1
  56. package/.codex/skills/team-tech-debt/SKILL.md +1 -1
  57. package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +20 -9
  58. package/.codex/skills/team-tech-debt/roles/coordinator/role.md +1 -1
  59. package/.codex/skills/team-testing/SKILL.md +2 -2
  60. package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +20 -9
  61. package/.codex/skills/team-testing/roles/coordinator/role.md +1 -1
  62. package/chains/singles/spec-map.json +2 -2
  63. package/dashboard/dist-server/dashboard/src/server/agents/codex-app-server-adapter.d.ts +4 -0
  64. package/dashboard/dist-server/dashboard/src/server/agents/codex-app-server-adapter.js +47 -1
  65. package/dashboard/dist-server/dashboard/src/server/agents/codex-app-server-adapter.js.map +1 -1
  66. package/dashboard/dist-server/src/commands/delegate.d.ts +23 -0
  67. package/dashboard/dist-server/src/commands/delegate.js +91 -55
  68. package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
  69. package/dist/src/brainstorm-visualize/frame.d.ts +8 -0
  70. package/dist/src/brainstorm-visualize/frame.d.ts.map +1 -0
  71. package/dist/src/brainstorm-visualize/frame.js +655 -0
  72. package/dist/src/brainstorm-visualize/frame.js.map +1 -0
  73. package/dist/src/brainstorm-visualize/server.d.ts +2 -0
  74. package/dist/src/brainstorm-visualize/server.d.ts.map +1 -0
  75. package/dist/src/brainstorm-visualize/server.js +180 -0
  76. package/dist/src/brainstorm-visualize/server.js.map +1 -0
  77. package/dist/src/cli.js +11 -1
  78. package/dist/src/cli.js.map +1 -1
  79. package/dist/src/commands/brainstorm-visualize.d.ts +3 -0
  80. package/dist/src/commands/brainstorm-visualize.d.ts.map +1 -0
  81. package/dist/src/commands/brainstorm-visualize.js +337 -0
  82. package/dist/src/commands/brainstorm-visualize.js.map +1 -0
  83. package/dist/src/commands/core-memory.d.ts +3 -0
  84. package/dist/src/commands/core-memory.d.ts.map +1 -0
  85. package/dist/src/commands/core-memory.js +101 -0
  86. package/dist/src/commands/core-memory.js.map +1 -0
  87. package/dist/src/commands/delegate.d.ts +23 -0
  88. package/dist/src/commands/delegate.d.ts.map +1 -1
  89. package/dist/src/commands/delegate.js +91 -55
  90. package/dist/src/commands/delegate.js.map +1 -1
  91. package/dist/src/commands/install-backend.d.ts.map +1 -1
  92. package/dist/src/commands/install-backend.js +5 -2
  93. package/dist/src/commands/install-backend.js.map +1 -1
  94. package/dist/src/mcp/delegate-channel-relay.d.ts.map +1 -1
  95. package/dist/src/mcp/delegate-channel-relay.js +6 -0
  96. package/dist/src/mcp/delegate-channel-relay.js.map +1 -1
  97. package/dist/src/mcp/server.d.ts.map +1 -1
  98. package/dist/src/mcp/server.js +28 -1
  99. package/dist/src/mcp/server.js.map +1 -1
  100. package/dist/src/tools/index.d.ts +1 -6
  101. package/dist/src/tools/index.d.ts.map +1 -1
  102. package/dist/src/tools/index.js +1 -460
  103. package/dist/src/tools/index.js.map +1 -1
  104. package/package.json +2 -1
  105. package/.claude/commands/spec-map.md +0 -82
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-issue-execute
2
+ name: manage-issue-execute
3
3
  description: Execute a planned solution for an issue via dual-mode dispatch. Auto-detects server UP (POST to /api/execution/dispatch) or DOWN (direct maestro delegate). Updates issue status on completion with next-step routing to close, debug, or verify.
4
4
  argument-hint: "<ISS-ID> [--executor claude-code|codex|gemini] [--dry-run]"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep
@@ -10,10 +10,10 @@ allowed-tools: Read, Write, Bash, Glob, Grep
10
10
  ## Usage
11
11
 
12
12
  ```bash
13
- $maestro-issue-execute "ISS-20260401-001"
14
- $maestro-issue-execute "ISS-20260401-001 --dry-run"
15
- $maestro-issue-execute "ISS-20260401-001 --executor codex"
16
- $maestro-issue-execute "ISS-20260401-001 --executor gemini"
13
+ $manage-issue-execute "ISS-20260401-001"
14
+ $manage-issue-execute "ISS-20260401-001 --dry-run"
15
+ $manage-issue-execute "ISS-20260401-001 --executor codex"
16
+ $manage-issue-execute "ISS-20260401-001 --executor gemini"
17
17
  ```
18
18
 
19
19
  **Flags**:
@@ -172,9 +172,9 @@ Mode: <server|cli>
172
172
  Status: resolved
173
173
 
174
174
  Next steps:
175
- Close: $maestro-issue "close <ISS-ID> --resolution fixed"
175
+ Close: $manage-issue "close <ISS-ID> --resolution fixed"
176
176
  Verify: $maestro-verify "<phase>"
177
- Debug: $maestro-debug "<failure description>" (if issues found)
177
+ Debug: $quality-debug "<failure description>" (if issues found)
178
178
  ```
179
179
 
180
180
  ---
@@ -184,8 +184,8 @@ Next steps:
184
184
  | Code | Severity | Condition | Recovery |
185
185
  |------|----------|-----------|----------|
186
186
  | E001 | error | No ISS-ID provided | Display usage hint |
187
- | E002 | error | No solution record on issue | Run `$maestro-issue-plan "<ISS-ID>"` first |
188
- | E003 | error | ISS-ID not found in issues.jsonl | Suggest `$maestro-issue "list"` |
187
+ | E002 | error | No solution record on issue | Run `$manage-issue-plan "<ISS-ID>"` first |
188
+ | E003 | error | ISS-ID not found in issues.jsonl | Suggest `$manage-issue "list"` |
189
189
  | E004 | error | Server dispatch or CLI execution failed | Log error, revert status to `open`, display failure details |
190
190
 
191
191
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-issue-plan
2
+ name: manage-issue-plan
3
3
  description: Solution planning for a specific issue. Auto-detects analysis context, runs maestro delegate planning, and attaches a structured solution record with ordered steps and verification criteria to the issue in issues.jsonl.
4
4
  argument-hint: "<ISS-ID> [--tool gemini|qwen] [--from-analysis]"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep
@@ -10,9 +10,9 @@ allowed-tools: Read, Write, Bash, Glob, Grep
10
10
  ## Usage
11
11
 
12
12
  ```bash
13
- $maestro-issue-plan "ISS-20260401-001"
14
- $maestro-issue-plan "ISS-20260401-001 --from-analysis"
15
- $maestro-issue-plan "ISS-20260401-001 --tool qwen"
13
+ $manage-issue-plan "ISS-20260401-001"
14
+ $manage-issue-plan "ISS-20260401-001 --from-analysis"
15
+ $manage-issue-plan "ISS-20260401-001 --tool qwen"
16
16
  ```
17
17
 
18
18
  **Flags**:
@@ -160,7 +160,7 @@ Steps:
160
160
  Verification:
161
161
  - <verification 1>
162
162
 
163
- Next: $maestro-issue-execute "<ISS-ID>"
163
+ Next: $manage-issue-execute "<ISS-ID>"
164
164
  ```
165
165
 
166
166
  ---
@@ -170,9 +170,9 @@ Next: $maestro-issue-execute "<ISS-ID>"
170
170
  | Code | Severity | Condition | Recovery |
171
171
  |------|----------|-----------|----------|
172
172
  | E001 | error | No ISS-ID provided | Display usage hint |
173
- | E002 | error | ISS-ID not found in issues.jsonl | Suggest `$maestro-issue "list"` |
173
+ | E002 | error | ISS-ID not found in issues.jsonl | Suggest `$manage-issue "list"` |
174
174
  | E003 | error | CLI planning returned no parseable result | Retry with different `--tool` |
175
- | W001 | warning | `--from-analysis` but no analysis record exists | Proceed without context; suggest `$maestro-issue-analyze` |
175
+ | W001 | warning | `--from-analysis` but no analysis record exists | Proceed without context; suggest `$manage-issue-analyze` |
176
176
 
177
177
  ---
178
178
 
@@ -183,4 +183,4 @@ Next: $maestro-issue-execute "<ISS-ID>"
183
183
  3. **Concrete steps only**: Each step must have a file reference — no "investigate further" placeholders
184
184
  4. **Preserve existing fields**: Patch only `solution` + `issue_history` — all other issue fields unchanged
185
185
  5. **Append-only history**: Append to `issue_history`, never overwrite existing entries
186
- 6. **Next-step routing**: Always display `$maestro-issue-execute "<ISS-ID>"` at the end
186
+ 6. **Next-step routing**: Always display `$manage-issue-execute "<ISS-ID>"` at the end
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-learn
2
+ name: manage-learn
3
3
  description: Capture atomic learning insights into .workflow/learning/lessons.jsonl. Lightweight CRUD over the shared learning store — supports capture, list, search, and show modes. No LLM or CLI calls; all operations are pure file reads and writes.
4
4
  argument-hint: "[\"<insight text>\"|list|search <query>|show <INS-id>] [--category pattern|antipattern|decision|tool|gotcha|technique] [--tag t1,t2] [--phase N] [--confidence high|medium|low]"
5
5
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
@@ -10,11 +10,11 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
10
10
  ## Usage
11
11
 
12
12
  ```bash
13
- $maestro-learn "Always read state.json before planning to detect current phase"
14
- $maestro-learn "list --limit 10 --category antipattern"
15
- $maestro-learn "search context propagation"
16
- $maestro-learn "show INS-a3f7b2c1"
17
- $maestro-learn "\"Zod v4 breaks z.object().strict() API\" --category gotcha --tag zod,typescript"
13
+ $manage-learn "Always read state.json before planning to detect current phase"
14
+ $manage-learn "list --limit 10 --category antipattern"
15
+ $manage-learn "search context propagation"
16
+ $manage-learn "show INS-a3f7b2c1"
17
+ $manage-learn "\"Zod v4 breaks z.object().strict() API\" --category gotcha --tag zod,typescript"
18
18
  ```
19
19
 
20
20
  **Flags** (capture mode):
@@ -157,7 +157,7 @@ Phase: 3 (phase-03-api-layer)
157
157
  Confidence: medium
158
158
  Tags: manual, zod, typescript
159
159
 
160
- Next: $maestro-learn "list" or $maestro-learn "search zod"
160
+ Next: $manage-learn "list" or $manage-learn "search zod"
161
161
  ```
162
162
 
163
163
  ---
@@ -1,72 +1,72 @@
1
- ---
2
- name: maestro-memory
3
- description: Manage memory entries across workflow and system stores (list, search, view, edit, delete, prune)
4
- argument-hint: "[list|search|view|edit|delete|prune] [query|id|file] [--store workflow|system|all] [--tag tag] [--type compact|tip]"
5
- allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
6
- ---
7
-
8
- # Memory Management
9
-
10
- ## Usage
11
-
12
- ```bash
13
- $maestro-memory
14
- $maestro-memory "list --store workflow"
15
- $maestro-memory "search authentication"
16
- $maestro-memory "view MEM-20260318-001"
17
- $maestro-memory "edit MEMORY.md"
18
- $maestro-memory "delete TIP-20260318-001 --confirm"
19
- $maestro-memory "prune --before 2026-01-01 --type tip --dry-run"
20
- ```
21
-
22
- ---
23
-
24
- ## Implementation
25
-
26
- ### Step 1: Resolve Store Paths
27
-
28
- - **Workflow store**: `.workflow/memory/` (entries: `MEM-*.md`, `TIP-*.md`, index: `memory-index.json`)
29
- - **System store**: `~/.claude/projects/{project}/memory/` (files: `MEMORY.md` + topic `.md` files)
30
-
31
- Derive system path from project root (replace path separators with `--`, prefix drive letter).
32
-
33
- ### Step 2: Parse Subcommand
34
-
35
- Default to `list` if no arguments. Parse first token as subcommand.
36
-
37
- ### Step 3: Execute Subcommand
38
-
39
- **list**: Show entries from both stores (or filtered by `--store`, `--tag`, `--type`).
40
- - Workflow: read `memory-index.json`, display ID, type, date, tags, title
41
- - System: list `.md` files in system memory directory
42
-
43
- **search `<query>`**: Full-text grep across both stores. Rank by match count.
44
-
45
- **view `<id|file>`**: Auto-detect store from format (`MEM-*/TIP-*` = workflow, else system). Display full content.
46
-
47
- **edit `<file>`**: Edit a system memory file. Read current content, apply changes. Warn if MEMORY.md exceeds 200 lines (W003).
48
-
49
- **delete `<id|file>`**: Require confirmation (or `--confirm` flag). MEMORY.md cannot be deleted (E004). Remove entry file and update `memory-index.json`.
50
-
51
- **prune**: Requires at least one filter (`--tag`, `--type`, `--before`, `--after`). Workflow store only. `--dry-run` previews without deleting.
52
-
53
- ### Step 4: Integrity Check
54
-
55
- After write operations, verify:
56
- - No orphaned files without index entries (W001)
57
- - No dangling index references to missing files (W001)
58
- - System MEMORY.md references valid topic files (W002)
59
-
60
- ---
61
-
62
- ## Error Handling
63
-
64
- | Code | Severity | Description |
65
- |------|----------|-------------|
66
- | E001 | error | No memory stores found -- run `Skill({ skill: "memory-capture" })` or create MEMORY.md |
67
- | E002 | error | Entry ID or filename not found |
68
- | E003 | error | Prune requires at least one filter flag |
69
- | E004 | error | Cannot delete MEMORY.md -- use `edit` subcommand instead |
70
- | W001 | warning | Index has orphaned files or dangling references |
71
- | W002 | warning | MEMORY.md references non-existent topic file |
72
- | W003 | warning | MEMORY.md exceeds 200 lines -- content truncated at load |
1
+ ---
2
+ name: manage-memory
3
+ description: Manage memory entries across workflow and system stores (list, search, view, edit, delete, prune)
4
+ argument-hint: "[list|search|view|edit|delete|prune] [query|id|file] [--store workflow|system|all] [--tag tag] [--type compact|tip]"
5
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
6
+ ---
7
+
8
+ # Memory Management
9
+
10
+ ## Usage
11
+
12
+ ```bash
13
+ $manage-memory
14
+ $manage-memory "list --store workflow"
15
+ $manage-memory "search authentication"
16
+ $manage-memory "view MEM-20260318-001"
17
+ $manage-memory "edit MEMORY.md"
18
+ $manage-memory "delete TIP-20260318-001 --confirm"
19
+ $manage-memory "prune --before 2026-01-01 --type tip --dry-run"
20
+ ```
21
+
22
+ ---
23
+
24
+ ## Implementation
25
+
26
+ ### Step 1: Resolve Store Paths
27
+
28
+ - **Workflow store**: `.workflow/memory/` (entries: `MEM-*.md`, `TIP-*.md`, index: `memory-index.json`)
29
+ - **System store**: `~/.claude/projects/{project}/memory/` (files: `MEMORY.md` + topic `.md` files)
30
+
31
+ Derive system path from project root (replace path separators with `--`, prefix drive letter).
32
+
33
+ ### Step 2: Parse Subcommand
34
+
35
+ Default to `list` if no arguments. Parse first token as subcommand.
36
+
37
+ ### Step 3: Execute Subcommand
38
+
39
+ **list**: Show entries from both stores (or filtered by `--store`, `--tag`, `--type`).
40
+ - Workflow: read `memory-index.json`, display ID, type, date, tags, title
41
+ - System: list `.md` files in system memory directory
42
+
43
+ **search `<query>`**: Full-text grep across both stores. Rank by match count.
44
+
45
+ **view `<id|file>`**: Auto-detect store from format (`MEM-*/TIP-*` = workflow, else system). Display full content.
46
+
47
+ **edit `<file>`**: Edit a system memory file. Read current content, apply changes. Warn if MEMORY.md exceeds 200 lines (W003).
48
+
49
+ **delete `<id|file>`**: Require confirmation (or `--confirm` flag). MEMORY.md cannot be deleted (E004). Remove entry file and update `memory-index.json`.
50
+
51
+ **prune**: Requires at least one filter (`--tag`, `--type`, `--before`, `--after`). Workflow store only. `--dry-run` previews without deleting.
52
+
53
+ ### Step 4: Integrity Check
54
+
55
+ After write operations, verify:
56
+ - No orphaned files without index entries (W001)
57
+ - No dangling index references to missing files (W001)
58
+ - System MEMORY.md references valid topic files (W002)
59
+
60
+ ---
61
+
62
+ ## Error Handling
63
+
64
+ | Code | Severity | Description |
65
+ |------|----------|-------------|
66
+ | E001 | error | No memory stores found -- run `Skill({ skill: "memory-capture" })` or create MEMORY.md |
67
+ | E002 | error | Entry ID or filename not found |
68
+ | E003 | error | Prune requires at least one filter flag |
69
+ | E004 | error | Cannot delete MEMORY.md -- use `edit` subcommand instead |
70
+ | W001 | warning | Index has orphaned files or dangling references |
71
+ | W002 | warning | MEMORY.md references non-existent topic file |
72
+ | W003 | warning | MEMORY.md exceeds 200 lines -- content truncated at load |
@@ -1,86 +1,86 @@
1
- ---
2
- name: maestro-memory-capture
3
- description: Capture session memory (compact or tip) into .workflow/memory/ with JSON index
4
- argument-hint: "[compact|tip] [description] [--tag tag1,tag2]"
5
- allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
6
- ---
7
-
8
- # Memory Capture
9
-
10
- ## Usage
11
-
12
- ```bash
13
- $maestro-memory-capture
14
- $maestro-memory-capture "compact"
15
- $maestro-memory-capture "tip Always check state.json before phase operations --tag workflow,state"
16
- $maestro-memory-capture "compact Full auth implementation session"
17
- ```
18
-
19
- **Modes**: `compact` (full session compression) or `tip` (quick note with tags).
20
- No arguments: auto-detect or ask user.
21
-
22
- ---
23
-
24
- ## Implementation
25
-
26
- ### Step 1: Validate
27
-
28
- ```bash
29
- test -d .workflow || exit 1 # E001: not initialized
30
- ```
31
-
32
- Create `.workflow/memory/` if it does not exist.
33
-
34
- ### Step 2: Detect Mode
35
-
36
- Parse first token as mode (`compact` or `tip`).
37
- If absent or ambiguous, ask user via AskUserQuestion.
38
-
39
- ### Step 3: Capture Content
40
-
41
- **Compact mode**:
42
- 1. Analyze current conversation for: objective, key decisions, modified files, current plan state, pending work
43
- 2. Generate entry ID: `MEM-{YYYYMMDD}-{NNN}`
44
- 3. Write `.workflow/memory/MEM-{id}.md` with sections:
45
- - Objective, Key Decisions, Files Modified (absolute paths), Execution Plan (verbatim), Pending Work, Context Notes
46
-
47
- **Tip mode**:
48
- 1. Extract content (everything after `tip`) and parse `--tag` flag
49
- 2. Generate entry ID: `TIP-{YYYYMMDD}-{NNN}`
50
- 3. Write `.workflow/memory/TIP-{id}.md` with: content, tags, timestamp, context
51
-
52
- ### Step 4: Update Index
53
-
54
- Read or create `.workflow/memory/memory-index.json`.
55
- Append new entry metadata:
56
-
57
- ```json
58
- {
59
- "id": "{entry_id}",
60
- "type": "compact|tip",
61
- "date": "{ISO}",
62
- "title": "{short title}",
63
- "tags": ["tag1", "tag2"],
64
- "file": "{filename}"
65
- }
66
- ```
67
-
68
- ### Step 5: Confirm
69
-
70
- ```
71
- === MEMORY CAPTURED ===
72
- ID: {entry_id}
73
- Type: {compact|tip}
74
- File: .workflow/memory/{filename}
75
- ```
76
-
77
- ---
78
-
79
- ## Error Handling
80
-
81
- | Code | Severity | Description |
82
- |------|----------|-------------|
83
- | E001 | error | `.workflow/` not initialized -- run `Skill({ skill: "maestro-init" })` first |
84
- | E002 | error | Empty note content in tip mode |
85
- | W001 | warning | No active workflow session -- compact captures conversation only |
86
- | W002 | warning | No explicit plan found -- using inferred plan |
1
+ ---
2
+ name: manage-memory-capture
3
+ description: Capture session memory (compact or tip) into .workflow/memory/ with JSON index
4
+ argument-hint: "[compact|tip] [description] [--tag tag1,tag2]"
5
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
6
+ ---
7
+
8
+ # Memory Capture
9
+
10
+ ## Usage
11
+
12
+ ```bash
13
+ $manage-memory-capture
14
+ $manage-memory-capture "compact"
15
+ $manage-memory-capture "tip Always check state.json before phase operations --tag workflow,state"
16
+ $manage-memory-capture "compact Full auth implementation session"
17
+ ```
18
+
19
+ **Modes**: `compact` (full session compression) or `tip` (quick note with tags).
20
+ No arguments: auto-detect or ask user.
21
+
22
+ ---
23
+
24
+ ## Implementation
25
+
26
+ ### Step 1: Validate
27
+
28
+ ```bash
29
+ test -d .workflow || exit 1 # E001: not initialized
30
+ ```
31
+
32
+ Create `.workflow/memory/` if it does not exist.
33
+
34
+ ### Step 2: Detect Mode
35
+
36
+ Parse first token as mode (`compact` or `tip`).
37
+ If absent or ambiguous, ask user via AskUserQuestion.
38
+
39
+ ### Step 3: Capture Content
40
+
41
+ **Compact mode**:
42
+ 1. Analyze current conversation for: objective, key decisions, modified files, current plan state, pending work
43
+ 2. Generate entry ID: `MEM-{YYYYMMDD}-{NNN}`
44
+ 3. Write `.workflow/memory/MEM-{id}.md` with sections:
45
+ - Objective, Key Decisions, Files Modified (absolute paths), Execution Plan (verbatim), Pending Work, Context Notes
46
+
47
+ **Tip mode**:
48
+ 1. Extract content (everything after `tip`) and parse `--tag` flag
49
+ 2. Generate entry ID: `TIP-{YYYYMMDD}-{NNN}`
50
+ 3. Write `.workflow/memory/TIP-{id}.md` with: content, tags, timestamp, context
51
+
52
+ ### Step 4: Update Index
53
+
54
+ Read or create `.workflow/memory/memory-index.json`.
55
+ Append new entry metadata:
56
+
57
+ ```json
58
+ {
59
+ "id": "{entry_id}",
60
+ "type": "compact|tip",
61
+ "date": "{ISO}",
62
+ "title": "{short title}",
63
+ "tags": ["tag1", "tag2"],
64
+ "file": "{filename}"
65
+ }
66
+ ```
67
+
68
+ ### Step 5: Confirm
69
+
70
+ ```
71
+ === MEMORY CAPTURED ===
72
+ ID: {entry_id}
73
+ Type: {compact|tip}
74
+ File: .workflow/memory/{filename}
75
+ ```
76
+
77
+ ---
78
+
79
+ ## Error Handling
80
+
81
+ | Code | Severity | Description |
82
+ |------|----------|-------------|
83
+ | E001 | error | `.workflow/` not initialized -- run `Skill({ skill: "maestro-init" })` first |
84
+ | E002 | error | Empty note content in tip mode |
85
+ | W001 | warning | No active workflow session -- compact captures conversation only |
86
+ | W002 | warning | No explicit plan found -- using inferred plan |
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-status
2
+ name: manage-status
3
3
  description: Display project dashboard with phase progress, active tasks, and next steps
4
4
  argument-hint: ""
5
5
  allowed-tools: Read, Bash, Glob, Grep
@@ -10,7 +10,7 @@ allowed-tools: Read, Bash, Glob, Grep
10
10
  ## Usage
11
11
 
12
12
  ```bash
13
- $maestro-status
13
+ $manage-status
14
14
  ```
15
15
 
16
16
  No arguments required. Reads `.workflow/` state files and renders a formatted project overview.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-business-test
2
+ name: quality-business-test
3
3
  description: PRD-forward business testing with requirement traceability, multi-layer execution (L1 Interface → L2 Business Rule → L3 Scenario), fixture generation, and feedback loop.
4
4
  argument-hint: "<phase> [--spec SPEC-xxx] [--layer L1|L2|L3] [--gen-code] [--dry-run] [--re-run] [--auto]"
5
5
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep, Agent, AskUserQuestion
@@ -14,13 +14,13 @@ allowed-tools: Read, Write, Edit, Bash, Glob, Grep, Agent, AskUserQuestion
14
14
  ## Usage
15
15
 
16
16
  ```bash
17
- $maestro-business-test "3" # test phase 3 against PRD
18
- $maestro-business-test "3 --layer L1" # L1 interface tests only
19
- $maestro-business-test "3 --gen-code" # generate framework-specific test classes
20
- $maestro-business-test "3 --dry-run" # extract scenarios only, don't execute
21
- $maestro-business-test "3 --re-run" # re-run only previously failed scenarios
22
- $maestro-business-test "3 --spec SPEC-auth-2026-04" # explicit spec reference
23
- $maestro-business-test "3 --auto" # skip plan confirmation
17
+ $quality-business-test "3" # test phase 3 against PRD
18
+ $quality-business-test "3 --layer L1" # L1 interface tests only
19
+ $quality-business-test "3 --gen-code" # generate framework-specific test classes
20
+ $quality-business-test "3 --dry-run" # extract scenarios only, don't execute
21
+ $quality-business-test "3 --re-run" # re-run only previously failed scenarios
22
+ $quality-business-test "3 --spec SPEC-auth-2026-04" # explicit spec reference
23
+ $quality-business-test "3 --auto" # skip plan confirmation
24
24
  ```
25
25
 
26
26
  **Flags**:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: maestro-debug
2
+ name: quality-debug
3
3
  description: Hypothesis-driven debugging via CSV wave pipeline. Wave 1 generates parallel hypotheses, Wave 2 attempts parallel fixes on confirmed hypotheses. Replaces quality-debug command.
4
4
  argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"[bug description] [--from-uat <phase>] [--parallel]\""
5
5
  allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
@@ -14,10 +14,10 @@ When `--yes` or `-y`: Auto-confirm hypothesis selection, skip interactive sympto
14
14
  ## Usage
15
15
 
16
16
  ```bash
17
- $maestro-debug "Login button throws 500 error on click"
18
- $maestro-debug -y "JWT token not refreshed --from-uat 3"
19
- $maestro-debug -c 4 "Navigation crash --from-uat 3 --parallel"
20
- $maestro-debug --continue "debug-jwt-expiry-20260318"
17
+ $quality-debug "Login button throws 500 error on click"
18
+ $quality-debug -y "JWT token not refreshed --from-uat 3"
19
+ $quality-debug -c 4 "Navigation crash --from-uat 3 --parallel"
20
+ $quality-debug --continue "debug-jwt-expiry-20260318"
21
21
  ```
22
22
 
23
23
  **Flags**: