maestro-flow 0.4.12 → 0.4.14

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 (141) hide show
  1. package/.agents/agents/role-design-author.md +6 -4
  2. package/.agents/skills/learn-decompose/SKILL.md +6 -6
  3. package/.agents/skills/learn-follow/SKILL.md +4 -4
  4. package/.agents/skills/learn-investigate/SKILL.md +6 -6
  5. package/.agents/skills/learn-retro/SKILL.md +7 -7
  6. package/.agents/skills/learn-second-opinion/SKILL.md +4 -4
  7. package/.agents/skills/maestro-amend/SKILL.md +1 -0
  8. package/.agents/skills/maestro-analyze/SKILL.md +10 -3
  9. package/.agents/skills/maestro-blueprint/SKILL.md +4 -3
  10. package/.agents/skills/maestro-brainstorm/SKILL.md +6 -5
  11. package/.agents/skills/maestro-fork/SKILL.md +1 -1
  12. package/.agents/skills/maestro-guard/SKILL.md +3 -2
  13. package/.agents/skills/maestro-impeccable/SKILL.md +13 -11
  14. package/.agents/skills/maestro-milestone-release/SKILL.md +1 -1
  15. package/.agents/skills/maestro-plan/SKILL.md +3 -1
  16. package/.agents/skills/maestro-ralph/SKILL.md +21 -16
  17. package/.agents/skills/maestro-ralph-execute/SKILL.md +30 -11
  18. package/.agents/skills/maestro-roadmap/SKILL.md +4 -3
  19. package/.agents/skills/maestro-verify/SKILL.md +1 -1
  20. package/.agents/skills/manage-harvest/SKILL.md +1 -0
  21. package/.agents/skills/manage-issue-discover/SKILL.md +1 -1
  22. package/.agents/skills/manage-knowhow/SKILL.md +1 -1
  23. package/.agents/skills/manage-learn/SKILL.md +4 -4
  24. package/.agents/skills/quality-auto-test/SKILL.md +5 -5
  25. package/.agents/skills/quality-refactor/SKILL.md +1 -1
  26. package/.agents/skills/quality-retrospective/SKILL.md +2 -2
  27. package/.agents/skills/security-audit/SKILL.md +24 -0
  28. package/.agents/skills/spec-remove/SKILL.md +6 -2
  29. package/.agy/agents/role-design-author.md +6 -4
  30. package/.agy/skills/learn-decompose/SKILL.md +6 -6
  31. package/.agy/skills/learn-follow/SKILL.md +4 -4
  32. package/.agy/skills/learn-investigate/SKILL.md +6 -6
  33. package/.agy/skills/learn-retro/SKILL.md +7 -7
  34. package/.agy/skills/learn-second-opinion/SKILL.md +4 -4
  35. package/.agy/skills/maestro-amend/SKILL.md +1 -0
  36. package/.agy/skills/maestro-analyze/SKILL.md +10 -3
  37. package/.agy/skills/maestro-blueprint/SKILL.md +4 -3
  38. package/.agy/skills/maestro-brainstorm/SKILL.md +6 -5
  39. package/.agy/skills/maestro-fork/SKILL.md +1 -1
  40. package/.agy/skills/maestro-guard/SKILL.md +3 -2
  41. package/.agy/skills/maestro-impeccable/SKILL.md +13 -11
  42. package/.agy/skills/maestro-milestone-release/SKILL.md +1 -1
  43. package/.agy/skills/maestro-plan/SKILL.md +3 -1
  44. package/.agy/skills/maestro-ralph/SKILL.md +21 -16
  45. package/.agy/skills/maestro-ralph-execute/SKILL.md +30 -11
  46. package/.agy/skills/maestro-roadmap/SKILL.md +4 -3
  47. package/.agy/skills/maestro-verify/SKILL.md +1 -1
  48. package/.agy/skills/manage-harvest/SKILL.md +1 -0
  49. package/.agy/skills/manage-issue-discover/SKILL.md +1 -1
  50. package/.agy/skills/manage-knowhow/SKILL.md +1 -1
  51. package/.agy/skills/manage-learn/SKILL.md +4 -4
  52. package/.agy/skills/quality-auto-test/SKILL.md +5 -5
  53. package/.agy/skills/quality-refactor/SKILL.md +1 -1
  54. package/.agy/skills/quality-retrospective/SKILL.md +2 -2
  55. package/.agy/skills/security-audit/SKILL.md +24 -0
  56. package/.agy/skills/spec-remove/SKILL.md +6 -2
  57. package/.claude/agents/role-design-author.md +6 -4
  58. package/.claude/commands/learn-decompose.md +6 -6
  59. package/.claude/commands/learn-follow.md +4 -4
  60. package/.claude/commands/learn-investigate.md +6 -6
  61. package/.claude/commands/learn-retro.md +7 -7
  62. package/.claude/commands/learn-second-opinion.md +4 -4
  63. package/.claude/commands/maestro-amend.md +1 -0
  64. package/.claude/commands/maestro-analyze.md +10 -3
  65. package/.claude/commands/maestro-blueprint.md +4 -3
  66. package/.claude/commands/maestro-brainstorm.md +6 -5
  67. package/.claude/commands/maestro-fork.md +1 -1
  68. package/.claude/commands/maestro-guard.md +3 -2
  69. package/.claude/commands/maestro-impeccable.md +13 -11
  70. package/.claude/commands/maestro-milestone-release.md +1 -1
  71. package/.claude/commands/maestro-plan.md +3 -1
  72. package/.claude/commands/maestro-ralph-execute.md +30 -11
  73. package/.claude/commands/maestro-ralph.md +21 -16
  74. package/.claude/commands/maestro-roadmap.md +4 -3
  75. package/.claude/commands/maestro-verify.md +1 -1
  76. package/.claude/commands/manage-harvest.md +1 -0
  77. package/.claude/commands/manage-issue-discover.md +1 -1
  78. package/.claude/commands/manage-knowhow.md +1 -1
  79. package/.claude/commands/manage-learn.md +4 -4
  80. package/.claude/commands/quality-auto-test.md +5 -5
  81. package/.claude/commands/quality-refactor.md +1 -1
  82. package/.claude/commands/quality-retrospective.md +2 -2
  83. package/.claude/commands/security-audit.md +24 -0
  84. package/.claude/commands/spec-remove.md +6 -2
  85. package/.codex/skills/learn-decompose/SKILL.md +4 -4
  86. package/.codex/skills/learn-follow/SKILL.md +3 -3
  87. package/.codex/skills/learn-investigate/SKILL.md +3 -3
  88. package/.codex/skills/learn-retro/SKILL.md +3 -3
  89. package/.codex/skills/learn-second-opinion/SKILL.md +3 -3
  90. package/.codex/skills/maestro-analyze/SKILL.md +4 -3
  91. package/.codex/skills/maestro-blueprint/SKILL.md +4 -3
  92. package/.codex/skills/maestro-brainstorm/SKILL.md +148 -7
  93. package/.codex/skills/maestro-fork/SKILL.md +2 -0
  94. package/.codex/skills/maestro-guard/SKILL.md +3 -2
  95. package/.codex/skills/maestro-impeccable/SKILL.md +13 -11
  96. package/.codex/skills/maestro-ralph/SKILL.md +1 -1
  97. package/.codex/skills/maestro-roadmap/SKILL.md +4 -3
  98. package/.codex/skills/manage-codebase-rebuild/SKILL.md +9 -5
  99. package/.codex/skills/manage-harvest/SKILL.md +1 -1
  100. package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
  101. package/.codex/skills/manage-knowhow/SKILL.md +1 -1
  102. package/.codex/skills/manage-learn/SKILL.md +3 -3
  103. package/.codex/skills/quality-refactor/SKILL.md +2 -2
  104. package/.codex/skills/quality-retrospective/SKILL.md +3 -3
  105. package/.codex/skills/security-audit/SKILL.md +24 -0
  106. package/.codex/skills/spec-remove/SKILL.md +8 -2
  107. package/package.json +1 -1
  108. package/workflows/agy-instructions.md +2 -0
  109. package/workflows/analyze.md +6 -6
  110. package/workflows/auto-test.md +6 -1
  111. package/workflows/brainstorm.md +26 -12
  112. package/workflows/claude-instructions.md +2 -0
  113. package/workflows/codex-instructions.md +16 -83
  114. package/workflows/debug.md +5 -5
  115. package/workflows/harvest.md +2 -2
  116. package/workflows/impeccable.md +2 -0
  117. package/workflows/init.md +1 -1
  118. package/workflows/issue-analyze.md +14 -100
  119. package/workflows/issue-discover.md +2 -3
  120. package/workflows/issue-execute.md +1 -1
  121. package/workflows/issue-gaps-analyze.md +2 -0
  122. package/workflows/learn.md +1 -1
  123. package/workflows/maestro-chain-execute.md +10 -228
  124. package/workflows/maestro.md +1 -0
  125. package/workflows/milestone-complete.md +3 -3
  126. package/workflows/milestone-release.md +82 -0
  127. package/workflows/plan.md +5 -5
  128. package/workflows/quick.md +4 -4
  129. package/workflows/refactor.md +3 -3
  130. package/workflows/retrospective.md +4 -4
  131. package/workflows/roadmap.md +1 -1
  132. package/workflows/spec-generate.md +2 -0
  133. package/workflows/specs-add.md +6 -1
  134. package/workflows/specs-load.md +6 -1
  135. package/workflows/specs-setup.md +6 -1
  136. package/workflows/sync.md +13 -0
  137. package/workflows/tools-spec.md +4 -0
  138. package/workflows/ui-design.md +4 -4
  139. package/workflows/ui-style.md +1 -1
  140. package/workflows/verify.md +1 -1
  141. package/workflows/wiki-manage.md +2 -0
@@ -11,6 +11,8 @@ brainstorm (optional) → init (REQUIRED) → spec-generate → plan → execute
11
11
  Alternative light path: init → roadmap (light mode) → plan (skip spec-generate)
12
12
  ```
13
13
 
14
+ > **Relation to blueprint**: `spec-generate` is the full-pipeline superset of `blueprint` (adds P7 roadmap stage on top of P0–P6 spec chain). Use `blueprint` when only specs are needed; use `spec-generate` when downstream `roadmap → plan` execution is intended.
15
+
14
16
  ## Architecture
15
17
 
16
18
  ```
@@ -1,4 +1,9 @@
1
- # Workflow: specs-add
1
+ ---
2
+ name: spec-add
3
+ alias: spec-add
4
+ ---
5
+
6
+ # Workflow: spec-add
2
7
 
3
8
  Add a `<spec-entry>` closed-tag entry to a single target spec file by category.
4
9
 
@@ -1,4 +1,9 @@
1
- # Workflow: specs-load
1
+ ---
2
+ name: spec-load
3
+ alias: spec-load
4
+ ---
5
+
6
+ # Workflow: spec-load
2
7
 
3
8
  Load spec files filtered by category. Supports project, global, team, and personal scopes.
4
9
 
@@ -1,4 +1,9 @@
1
- # Workflow: specs-setup
1
+ ---
2
+ name: spec-setup
3
+ alias: spec-setup
4
+ ---
5
+
6
+ # Workflow: spec-setup
2
7
 
3
8
  System specs initialization -- scan project structure, detect tech stack, generate convention files.
4
9
 
package/workflows/sync.md CHANGED
@@ -47,6 +47,19 @@ Read .workflow/codebase/doc-index.json
47
47
  Extract: components[], features[], requirements[], architecture_decisions[]
48
48
  ```
49
49
 
50
+ **Degradation path — doc-index.json missing:**
51
+
52
+ ```
53
+ If .workflow/codebase/doc-index.json does NOT exist:
54
+ 1. Emit WARNING: "doc-index.json missing — sync cannot perform impact analysis."
55
+ 2. Prompt user with two choices:
56
+ (a) Run `/manage-codebase-rebuild` to build doc-index, then re-run sync (recommended)
57
+ (b) Fall back to git-diff-only mode: skip Steps 3-5, emit raw changed-file
58
+ list from Step 2 as the sync output (no component/feature mapping)
59
+ 3. If user picks (b): set DEGRADED_MODE = true and continue with git diff only.
60
+ 4. If user picks (a) or no answer: exit with code E002.
61
+ ```
62
+
50
63
  ### Step 4: Impact Chain Traversal
51
64
 
52
65
  For each `changed_file` in `changed_files[]`:
@@ -1,5 +1,9 @@
1
1
  # Tool Spec Reference
2
2
 
3
+ <reference>
4
+ Tool specs are a **subtype of knowhow** (`tool: true` frontmatter on knowhow documents). For the full knowhow data model, lifecycle, and management commands, see `knowhow.md`. This file documents only the tool-specific subset.
5
+ </reference>
6
+
3
7
  Shared reference for tool spec registration and execution commands.
4
8
 
5
9
  ## Storage
@@ -6,9 +6,9 @@ User reviews via compare.html, selects winner(s), design solidified as code refe
6
6
 
7
7
  Pipeline position: analyze -> **ui-design** -> plan -> execute -> verify
8
8
 
9
- > **Note:** This is the full self-contained pipeline. When ui-ux-pro-max skill is available,
10
- > the command routes to `ui-style.md` instead (lightweight delegation).
11
- > This workflow runs when the skill is absent or `--full` is explicitly requested.
9
+ > **Note:** This is the primary implementation. When the `ui-ux-pro-max` skill is available,
10
+ > the command may delegate to `ui-style.md` for a lightweight path. This workflow is the
11
+ > fallback when the skill is unavailable, and is also used when `--full` is explicitly requested.
12
12
 
13
13
  ---
14
14
 
@@ -24,7 +24,7 @@ Pipeline position: analyze -> **ui-design** -> plan -> execute -> verify
24
24
 
25
25
  ```
26
26
  Input: <phase> (number) OR topic text
27
- Output: .workflow/scratch/ui-design-{slug}-{date}/
27
+ Output: .workflow/scratch/{YYYYMMDD}-ui-design-{slug}/
28
28
 
29
29
  Resolve scope:
30
30
  number → phase slug from roadmap.md, scope="phase", register with phase
@@ -23,7 +23,7 @@ If argument is phase number/slug:
23
23
  SCRATCH_MODE = false
24
24
 
25
25
  If argument is topic text (scratch mode):
26
- PHASE_DIR = .workflow/scratch/ui-design-{slug}-{YYYYMMDD}
26
+ PHASE_DIR = .workflow/scratch/{YYYYMMDD}-ui-design-{slug}
27
27
  Create directory + minimal index.json (type="ui-design", goal=topic).
28
28
  SCRATCH_MODE = true
29
29
  ```
@@ -82,7 +82,7 @@ Resolve PLAN_DIRS and VERIFY_MODE by input type:
82
82
  numeric arg → phase mode, collect completed execute artifacts for that phase from state.json
83
83
 
84
84
  If no matching artifacts found: ERROR E001.
85
- Milestone mode creates output dir: .workflow/scratch/verify-{milestone_slug}-{date}/
85
+ Milestone mode creates output dir: .workflow/scratch/{YYYYMMDD}-verify-{milestone_slug}/
86
86
  ```
87
87
 
88
88
  ---
@@ -44,6 +44,8 @@ Run in parallel: `maestro wiki health`, `list --json`, `orphans`, `hubs --top 5`
44
44
 
45
45
  Display: health score, entry counts by type, broken links, orphan count, top hubs. Include health status message and quick-action commands (`/wiki-connect --fix`, `/wiki-digest`, `/manage-wiki cleanup --fix`, `maestro wiki graph`).
46
46
 
47
+ > **Scope split (complementary, not conflicting):** `/wiki-connect --fix` repairs/augments `related` links between existing entries (no deletion). `/manage-wiki cleanup --fix` deletes/flags orphans and removes broken-link entries from frontmatter. Run `wiki-connect` first to maximize link recovery, then `cleanup` to handle the true residual orphans.
48
+
47
49
  ---
48
50
 
49
51
  ## Subcommand: search <query>