substrate-ai 0.21.17 → 0.21.19

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.
@@ -1,15 +1,15 @@
1
- import "./health-CI8pIygU.js";
1
+ import "./health-CzbtBIx0.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-3cF8yP3_.js";
6
- import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-AKetuV82.js";
5
+ import "./manifest-read-B80k9pb_.js";
6
+ import { normalizeGraphSummaryToStatus, registerRunCommand, resolveMaxReviewCycles, resolveProbeAuthorStateIntegrating, runRunAction, wireNdjsonEmitter } from "./run-BYySwmdu.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-BWdH9Lb9.js";
12
+ import "./interactive-prompt-DVX_J6Mp.js";
13
13
  import "./recovery-engine-dtLHyV4M.js";
14
14
 
15
15
  export { runRunAction };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "substrate-ai",
3
- "version": "0.21.17",
3
+ "version": "0.21.19",
4
4
  "description": "Substrate — multi-agent orchestration daemon for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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
- - Format: "User goal Entry point → Steps → Success state → Failure state"
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
- - Example: "New user onboarding Landing page Sign up Dashboard First action → Completion"
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
- - "First run: User installs CLI → runs 'substrate init' → provides project concept → pipeline starts automatically → watches real-time progress → reviews results"
59
- - "Resume after failure: User sees failed story → inspects error → runs 'substrate resume' → pipeline retries from last checkpoint → completes successfully"
60
- - "Amend existing run: User wants to change direction → runs 'substrate amend --concept ...' → sees diff of changes → approves → pipeline re-runs affected phases"
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"