maestro-flow 0.3.47 → 0.3.49

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 (94) hide show
  1. package/.claude/agents/impeccable-agent.md +99 -0
  2. package/.claude/commands/maestro-analyze.md +2 -2
  3. package/.claude/commands/maestro-brainstorm.md +116 -112
  4. package/.claude/commands/maestro-composer.md +5 -0
  5. package/.claude/commands/maestro-impeccable.md +46 -9
  6. package/.claude/commands/maestro-merge.md +3 -0
  7. package/.claude/commands/maestro-roadmap.md +5 -1
  8. package/.claude/commands/maestro-ui-craft.md +56 -4
  9. package/.claude/commands/maestro.md +1 -1
  10. package/.claude/commands/manage-issue-discover.md +4 -0
  11. package/.claude/commands/quality-refactor.md +3 -0
  12. package/.claude/skills/maestro-help/index/catalog.json +1 -1
  13. package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
  14. package/.claude/skills/maestro-impeccable/SKILL.md +3 -1
  15. package/.codex/skills/maestro/SKILL.md +167 -25
  16. package/.codex/skills/maestro-brainstorm/SKILL.md +19 -2
  17. package/.codex/skills/maestro-composer/SKILL.md +5 -0
  18. package/.codex/skills/maestro-help/catalog.json +1 -1
  19. package/.codex/skills/maestro-impeccable/SKILL.md +24 -5
  20. package/.codex/skills/maestro-merge/SKILL.md +3 -0
  21. package/.codex/skills/maestro-milestone-audit/SKILL.md +64 -7
  22. package/.codex/skills/maestro-quick/SKILL.md +1 -1
  23. package/.codex/skills/maestro-ralph/SKILL.md +45 -25
  24. package/.codex/skills/maestro-roadmap/SKILL.md +1 -1
  25. package/.codex/skills/maestro-tools-execute/SKILL.md +1 -1
  26. package/.codex/skills/maestro-tools-register/SKILL.md +1 -1
  27. package/.codex/skills/maestro-ui-craft/SKILL.md +51 -6
  28. package/.codex/skills/quality-refactor/SKILL.md +114 -22
  29. package/chains/_intent-map.json +1 -1
  30. package/chains/singles/ui-design.json +4 -4
  31. package/chains/{ui-design-driven.json → ui-craft-build.json} +8 -8
  32. package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +3 -3
  33. package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
  34. package/dist/src/commands/delegate.d.ts.map +1 -1
  35. package/dist/src/commands/delegate.js +12 -7
  36. package/dist/src/commands/delegate.js.map +1 -1
  37. package/dist/src/commands/impeccable.d.ts +2 -1
  38. package/dist/src/commands/impeccable.d.ts.map +1 -1
  39. package/dist/src/commands/impeccable.js +80 -1
  40. package/dist/src/commands/impeccable.js.map +1 -1
  41. package/package.json +1 -1
  42. package/templates/planning-roles/ui-designer.md +86 -99
  43. package/templates/workflows/specs/node-catalog.md +1 -1
  44. package/workflows/brainstorm.md +26 -0
  45. package/workflows/cli-tools-usage.md +9 -26
  46. package/workflows/delegate-usage.md +301 -343
  47. package/workflows/impeccable/design.md +462 -0
  48. package/workflows/impeccable/explore.md +157 -0
  49. package/workflows/impeccable/shape.md +4 -0
  50. package/workflows/impeccable/ui-search/__pycache__/core.cpython-313.pyc +0 -0
  51. package/workflows/impeccable/ui-search/__pycache__/design_system.cpython-313.pyc +0 -0
  52. package/workflows/impeccable/ui-search/core.py +262 -0
  53. package/workflows/impeccable/ui-search/data/app-interface.csv +31 -0
  54. package/workflows/impeccable/ui-search/data/charts.csv +26 -0
  55. package/workflows/impeccable/ui-search/data/colors.csv +162 -0
  56. package/workflows/impeccable/ui-search/data/design.csv +1776 -0
  57. package/workflows/impeccable/ui-search/data/draft.csv +1779 -0
  58. package/workflows/impeccable/ui-search/data/google-fonts.csv +1924 -0
  59. package/workflows/impeccable/ui-search/data/icons.csv +106 -0
  60. package/workflows/impeccable/ui-search/data/landing.csv +35 -0
  61. package/workflows/impeccable/ui-search/data/products.csv +162 -0
  62. package/workflows/impeccable/ui-search/data/react-performance.csv +45 -0
  63. package/workflows/impeccable/ui-search/data/stacks/angular.csv +51 -0
  64. package/workflows/impeccable/ui-search/data/stacks/astro.csv +54 -0
  65. package/workflows/impeccable/ui-search/data/stacks/flutter.csv +53 -0
  66. package/workflows/impeccable/ui-search/data/stacks/html-tailwind.csv +56 -0
  67. package/workflows/impeccable/ui-search/data/stacks/jetpack-compose.csv +53 -0
  68. package/workflows/impeccable/ui-search/data/stacks/laravel.csv +51 -0
  69. package/workflows/impeccable/ui-search/data/stacks/nextjs.csv +53 -0
  70. package/workflows/impeccable/ui-search/data/stacks/nuxt-ui.csv +51 -0
  71. package/workflows/impeccable/ui-search/data/stacks/nuxtjs.csv +59 -0
  72. package/workflows/impeccable/ui-search/data/stacks/react-native.csv +52 -0
  73. package/workflows/impeccable/ui-search/data/stacks/react.csv +54 -0
  74. package/workflows/impeccable/ui-search/data/stacks/shadcn.csv +61 -0
  75. package/workflows/impeccable/ui-search/data/stacks/svelte.csv +54 -0
  76. package/workflows/impeccable/ui-search/data/stacks/swiftui.csv +51 -0
  77. package/workflows/impeccable/ui-search/data/stacks/threejs.csv +54 -0
  78. package/workflows/impeccable/ui-search/data/stacks/vue.csv +50 -0
  79. package/workflows/impeccable/ui-search/data/styles.csv +85 -0
  80. package/workflows/impeccable/ui-search/data/typography.csv +74 -0
  81. package/workflows/impeccable/ui-search/data/ui-reasoning.csv +162 -0
  82. package/workflows/impeccable/ui-search/data/ux-guidelines.csv +100 -0
  83. package/workflows/impeccable/ui-search/design_system.py +1148 -0
  84. package/workflows/impeccable/ui-search/prototype-template.html +511 -0
  85. package/workflows/impeccable/ui-search/render-prototype.js +208 -0
  86. package/workflows/impeccable/ui-search/search.py +114 -0
  87. package/workflows/maestro-chain-execute.md +2 -2
  88. package/workflows/maestro.codex.md +3 -3
  89. package/workflows/maestro.md +5 -5
  90. package/workflows/plan.md +1 -1
  91. package/workflows/ui-design.md +1 -1
  92. package/workflows/ui-style.md +1 -1
  93. package/.claude/commands/maestro-ui-design.md +0 -104
  94. package/.codex/skills/maestro-ui-design/SKILL.md +0 -242
@@ -287,6 +287,32 @@ Seven sub-phases producing guidance-specification.md:
287
287
 
288
288
  **Output**: `{output_dir}/guidance-specification.md`, session metadata (workflow-session.json)
289
289
 
290
+ ### Step 3.5: Visual Style Foundation (Auto Mode, conditional)
291
+
292
+ When `ui-designer` is among the selected roles, establish the project's visual direction before role analysis begins. This ensures all downstream UX analysis works within a confirmed design system.
293
+
294
+ **Condition**: Skip if `.workflow/impeccable/DESIGN.md` already exists (visual direction already locked).
295
+
296
+ **Execution** (sequential):
297
+
298
+ 1. **Product context** — if `.workflow/impeccable/PRODUCT.md` missing:
299
+ ```
300
+ Skill({ skill: "maestro-impeccable", args: "teach" })
301
+ ```
302
+ This runs the teach interview to establish brand, users, personality, anti-references.
303
+
304
+ 2. **Visual exploration** — multi-style comparison and selection:
305
+ ```
306
+ Skill({ skill: "maestro-impeccable", args: "explore" })
307
+ ```
308
+ This generates multiple design system variants as HTML prototypes, launches visual comparison, and lets the user select/mix. Produces DESIGN.md on completion.
309
+
310
+ 3. Record in session metadata: `design_system_established: true`, `design_md_path: ".workflow/impeccable/DESIGN.md"`
311
+
312
+ **`--yes` mode**: `explore` auto-selects variant 1 without visual comparison. `teach` still requires minimal input if PRODUCT.md is missing.
313
+
314
+ **Skip mode**: If user explicitly passes `--skip-design` to brainstorm, skip this step entirely. ui-designer role will generate its own independent theme in Phase 2.
315
+
290
316
  ### Step 4: Parallel Role Analysis (Auto Mode)
291
317
 
292
318
  For EACH selected role, spawn a conceptual-planning-agent in parallel:
@@ -186,35 +186,31 @@ CONSTRAINTS: Focus on authentication | Ignore test files
186
186
 
187
187
  ### Calling Convention
188
188
 
189
- > **CRITICAL BEHAVIOR RULE**: After issuing a `maestro delegate` call with `run_in_background: true`, you MUST end your response immediately. Do not output any text, status message, or additional tool calls after the Bash tool call. Your entire message ends at the tool call.
189
+ `maestro delegate` runs synchronously. Status summary and output are **auto-appended** on completion no manual `output` or `status` commands needed.
190
190
 
191
- **Why**: `maestro delegate` blocks until completion. Background execution + immediate stop ensures the conversation remains responsive.
192
-
193
- **Correct** — response contains ONLY the Bash tool call, nothing after it:
191
+ **Always** use `run_in_background: true` and **end your response immediately**:
194
192
 
195
193
  ```
196
194
  Bash({ command: "maestro delegate \"...\" --to gemini --mode analysis", run_in_background: true })
197
195
  ```
198
196
 
199
- **Wrong** any text or tool call after the Bash call is a violation:
200
-
197
+ When the background callback arrives, the result is already included:
201
198
  ```
202
- Bash({ command: "maestro delegate \"...\" --to gemini --mode analysis", run_in_background: true })
203
- "I've started the analysis..." VIOLATION: response must end above
199
+ [MAESTRO_EXEC_ID=gem-143022-a7f2] , at start
200
+ [DELEGATE COMPLETED] gem-143022-a7f2 gemini/analysis status, on completion
201
+ --- Output ---
202
+ <actual output content> ← output, on completion
204
203
  ```
205
204
 
206
205
  **Rules:**
207
206
  - NEVER use foreground Bash for delegate calls
208
- - NEVER output text, status updates, or additional tool calls after the `run_in_background` Bash call
209
- - NEVER poll with `delegate status` wait for the background completion callback
210
- - When the callback arrives, retrieve output with `maestro delegate output <id>`
207
+ - NEVER output text or tool calls after the `run_in_background` Bash call
208
+ - When the callback arrives, output is already included directly use it
211
209
 
212
210
  ### Execution ID
213
211
 
214
212
  ID prefix: gemini→`gem`, qwen→`qwn`, codex→`cdx`, claude→`cld`, opencode→`opc`
215
213
 
216
- Output to stderr: `[MAESTRO_EXEC_ID=<id>]`
217
-
218
214
  ```bash
219
215
  maestro delegate "<PROMPT>" --to gemini --mode analysis # auto-ID: gem-143022-a7f2
220
216
  maestro delegate "<PROMPT>" --to gemini --mode write --id my-task-1 # custom ID
@@ -229,19 +225,6 @@ maestro delegate "<PROMPT>" --to gemini --resume <id1>,<id2> # merge multipl
229
225
  ```
230
226
 
231
227
  Resume auto-assembles previous conversation context. Warning emitted when context exceeds 32KB.
232
-
233
- ### Subcommands
234
-
235
- ```bash
236
- maestro delegate show # recent 20 executions
237
- maestro delegate show --all # up to 100
238
- maestro delegate output <id> # last reply only (after last tool call)
239
- maestro delegate output <id> --full # full output (all turns)
240
- maestro delegate output <id> --verbose # include start/end timestamps
241
- maestro delegate status <id> # broker + history + snapshot preview
242
- maestro delegate tail <id> # recent events + history
243
- maestro delegate cancel <id> # request cancellation
244
- ```
245
228
  </execution>
246
229
 
247
230
  ---