substrate-ai 0.21.17 → 0.21.18
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/dist/cli/index.js +10 -8
- package/dist/{health-C1m6-7WH.js → health-4VCoTtz_.js} +2 -2
- package/dist/{health-CI8pIygU.js → health-Bu5nYB6q.js} +2 -2
- package/dist/index.d.ts +33 -1
- package/dist/{interactive-prompt-BWdH9Lb9.js → interactive-prompt-BbeQO4mm.js} +2 -2
- package/dist/{manifest-read-3cF8yP3_.js → manifest-read-leQdHLyo.js} +37 -2
- package/dist/modules/interactive-prompt/index.js +2 -2
- package/dist/{run-AKetuV82.js → run-BXP4F8a2.js} +737 -553
- package/dist/{run-CvP_sgQ4.js → run-CTfGK9yU.js} +4 -4
- package/package.json +1 -1
- package/packs/bmad/prompts/ux-step-3-journeys.md +18 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./health-
|
|
1
|
+
import "./health-Bu5nYB6q.js";
|
|
2
2
|
import "./logger-KeHncl-f.js";
|
|
3
3
|
import "./helpers-CElYrONe.js";
|
|
4
4
|
import "./dist-BZGqn-XQ.js";
|
|
5
|
-
import "./manifest-read-
|
|
6
|
-
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-
|
|
5
|
+
import "./manifest-read-leQdHLyo.js";
|
|
6
|
+
import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-BXP4F8a2.js";
|
|
7
7
|
import "./acceptance-judge-COyOxhQ2.js";
|
|
8
8
|
import "./routing-DZT5PN3N.js";
|
|
9
9
|
import "./work-graph-repository-4cKsf8Lf.js";
|
|
10
10
|
import "./decisions-BAaxpVD0.js";
|
|
11
11
|
import "./decision-router-Dyby0fUf.js";
|
|
12
|
-
import "./interactive-prompt-
|
|
12
|
+
import "./interactive-prompt-BbeQO4mm.js";
|
|
13
13
|
import "./recovery-engine-dtLHyV4M.js";
|
|
14
14
|
|
|
15
15
|
export { runRunAction };
|
package/package.json
CHANGED
|
@@ -22,11 +22,11 @@ Complete the UX design by mapping **user journeys**, defining the **component st
|
|
|
22
22
|
|
|
23
23
|
## Instructions
|
|
24
24
|
|
|
25
|
-
1. **Map 2-4 critical user journeys
|
|
25
|
+
1. **Map 2-4 critical user journeys** (STRUCTURED — these seed the acceptance-gate journey registry):
|
|
26
26
|
- Each journey covers a key workflow from the user's perspective
|
|
27
|
-
-
|
|
27
|
+
- Emit each as a structured entry: stable `id` (`UJ-<n>` in order), actor-first one-line `title`, `criticality` (`critical` ONLY for the product's reason-to-exist paths — the demo path, the core loop; `standard` otherwise), `surfaces` where the user experiences it (only `email` | `cli` | `file` | `web`), and a prose `walk` ("Entry point → Steps → Success state")
|
|
28
28
|
- Focus on the 2-4 highest-value workflows from the requirements
|
|
29
|
-
-
|
|
29
|
+
- A journey omitted here is invisible to downstream acceptance checks — when in doubt, include it
|
|
30
30
|
|
|
31
31
|
2. **Define the component strategy**:
|
|
32
32
|
- What are the 3-5 most complex/critical UI components to design first?
|
|
@@ -55,9 +55,21 @@ Emit ONLY this YAML block as your final output — no other text.
|
|
|
55
55
|
```yaml
|
|
56
56
|
result: success
|
|
57
57
|
user_journeys:
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
- id: "UJ-1"
|
|
59
|
+
title: "New user runs the pipeline for the first time"
|
|
60
|
+
criticality: "critical"
|
|
61
|
+
surfaces: ["cli"]
|
|
62
|
+
walk: "User installs CLI → runs 'substrate init' → provides project concept → pipeline starts automatically → watches real-time progress → reviews results"
|
|
63
|
+
- id: "UJ-2"
|
|
64
|
+
title: "User resumes after a failed story"
|
|
65
|
+
criticality: "standard"
|
|
66
|
+
surfaces: ["cli"]
|
|
67
|
+
walk: "User sees failed story → inspects error → runs 'substrate resume' → pipeline retries from last checkpoint → completes successfully"
|
|
68
|
+
- id: "UJ-3"
|
|
69
|
+
title: "User amends an existing run's direction"
|
|
70
|
+
criticality: "standard"
|
|
71
|
+
surfaces: ["cli"]
|
|
72
|
+
walk: "User runs 'substrate amend --concept ...' → sees diff of changes → approves → pipeline re-runs affected phases"
|
|
61
73
|
component_strategy: "Priority components: (1) Pipeline status view — hierarchical phase/story progress with real-time updates; (2) Story detail panel — structured view of AC, tasks, and test results; (3) Error inspector — contextual error display with suggested fixes"
|
|
62
74
|
ux_patterns:
|
|
63
75
|
- "Streaming output: display pipeline logs in real-time with ANSI color preservation"
|