@substrate-ai/sdlc 0.20.42 → 0.20.44
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/run-model/story-artifact-schema.d.ts +59 -0
- package/dist/run-model/story-artifact-schema.d.ts.map +1 -0
- package/dist/run-model/story-artifact-schema.js +78 -0
- package/dist/run-model/story-artifact-schema.js.map +1 -0
- package/dist/verification/checks/runtime-probe-check.d.ts.map +1 -1
- package/dist/verification/checks/runtime-probe-check.js +33 -0
- package/dist/verification/checks/runtime-probe-check.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Story-artifact frontmatter schema — Epic 64 / Story 64-2.
|
|
3
|
+
*
|
|
4
|
+
* Parses the optional YAML frontmatter block at the top of a story artifact
|
|
5
|
+
* file (delimited by `---` fences) and validates it against the
|
|
6
|
+
* StoryFrontmatterSchema. The `external_state_dependencies` field is the
|
|
7
|
+
* machine-readable declaration that pairs with the `## Runtime Probes`
|
|
8
|
+
* operational section: when a story declares external dependencies but has
|
|
9
|
+
* no probes section, RuntimeProbeCheck escalates to error severity and
|
|
10
|
+
* hard-gates SHIP_IT.
|
|
11
|
+
*
|
|
12
|
+
* Design notes:
|
|
13
|
+
* - `ExternalStateDependencySchema` is `z.string()` (open enum) — the gate
|
|
14
|
+
* only cares about non-empty vs. empty. A closed enum risks false silences
|
|
15
|
+
* if agents invent novel category names (obs_2026-05-01_017 party-mode call).
|
|
16
|
+
* - Parser returns the default (empty array) on ANY parse/validation failure
|
|
17
|
+
* so old story files without frontmatter continue to dispatch normally
|
|
18
|
+
* (backward-compat AC5).
|
|
19
|
+
*/
|
|
20
|
+
import { z } from 'zod';
|
|
21
|
+
/**
|
|
22
|
+
* Open string enum for external-state dependency categories.
|
|
23
|
+
* Suggested values: subprocess, filesystem, git, database, network,
|
|
24
|
+
* registry, os. Open string so novel names don't cause silent skips.
|
|
25
|
+
*/
|
|
26
|
+
export declare const ExternalStateDependencySchema: z.ZodString;
|
|
27
|
+
export declare const StoryFrontmatterSchema: z.ZodObject<{
|
|
28
|
+
external_state_dependencies: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export type StoryFrontmatter = z.infer<typeof StoryFrontmatterSchema>;
|
|
31
|
+
/**
|
|
32
|
+
* Parse the optional YAML frontmatter block from a story artifact.
|
|
33
|
+
*
|
|
34
|
+
* Frontmatter must appear at the very start of the file, delimited by
|
|
35
|
+
* `---\n` lines:
|
|
36
|
+
*
|
|
37
|
+
* ```
|
|
38
|
+
* ---
|
|
39
|
+
* external_state_dependencies:
|
|
40
|
+
* - subprocess
|
|
41
|
+
* - git
|
|
42
|
+
* ---
|
|
43
|
+
* # Story Title
|
|
44
|
+
* ...
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* Returns `StoryFrontmatterSchema.parse({})` (i.e. `{ external_state_dependencies: [] }`)
|
|
48
|
+
* on any of:
|
|
49
|
+
* - No frontmatter block present
|
|
50
|
+
* - Frontmatter YAML is malformed
|
|
51
|
+
* - Frontmatter fields fail Zod validation
|
|
52
|
+
*
|
|
53
|
+
* This preserves backward-compatibility: stories without a frontmatter
|
|
54
|
+
* block (i.e. every story created before Epic 64) continue to pass the
|
|
55
|
+
* external-state-dependencies gate because the empty array is the "no
|
|
56
|
+
* dependencies declared" default.
|
|
57
|
+
*/
|
|
58
|
+
export declare function parseStoryFrontmatter(content: string): StoryFrontmatter;
|
|
59
|
+
//# sourceMappingURL=story-artifact-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story-artifact-schema.d.ts","sourceRoot":"","sources":["../../src/run-model/story-artifact-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,aAAa,CAAA;AAEvD,eAAO,MAAM,sBAAsB;;iBAEjC,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAMrE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAWvE"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Story-artifact frontmatter schema — Epic 64 / Story 64-2.
|
|
3
|
+
*
|
|
4
|
+
* Parses the optional YAML frontmatter block at the top of a story artifact
|
|
5
|
+
* file (delimited by `---` fences) and validates it against the
|
|
6
|
+
* StoryFrontmatterSchema. The `external_state_dependencies` field is the
|
|
7
|
+
* machine-readable declaration that pairs with the `## Runtime Probes`
|
|
8
|
+
* operational section: when a story declares external dependencies but has
|
|
9
|
+
* no probes section, RuntimeProbeCheck escalates to error severity and
|
|
10
|
+
* hard-gates SHIP_IT.
|
|
11
|
+
*
|
|
12
|
+
* Design notes:
|
|
13
|
+
* - `ExternalStateDependencySchema` is `z.string()` (open enum) — the gate
|
|
14
|
+
* only cares about non-empty vs. empty. A closed enum risks false silences
|
|
15
|
+
* if agents invent novel category names (obs_2026-05-01_017 party-mode call).
|
|
16
|
+
* - Parser returns the default (empty array) on ANY parse/validation failure
|
|
17
|
+
* so old story files without frontmatter continue to dispatch normally
|
|
18
|
+
* (backward-compat AC5).
|
|
19
|
+
*/
|
|
20
|
+
import { z } from 'zod';
|
|
21
|
+
import { load as yamlLoad } from 'js-yaml';
|
|
22
|
+
// ---------------------------------------------------------------------------
|
|
23
|
+
// Schema
|
|
24
|
+
// ---------------------------------------------------------------------------
|
|
25
|
+
/**
|
|
26
|
+
* Open string enum for external-state dependency categories.
|
|
27
|
+
* Suggested values: subprocess, filesystem, git, database, network,
|
|
28
|
+
* registry, os. Open string so novel names don't cause silent skips.
|
|
29
|
+
*/
|
|
30
|
+
export const ExternalStateDependencySchema = z.string();
|
|
31
|
+
export const StoryFrontmatterSchema = z.object({
|
|
32
|
+
external_state_dependencies: z.array(ExternalStateDependencySchema).optional().default([]),
|
|
33
|
+
});
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
// Parser
|
|
36
|
+
// ---------------------------------------------------------------------------
|
|
37
|
+
/**
|
|
38
|
+
* Parse the optional YAML frontmatter block from a story artifact.
|
|
39
|
+
*
|
|
40
|
+
* Frontmatter must appear at the very start of the file, delimited by
|
|
41
|
+
* `---\n` lines:
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
* ---
|
|
45
|
+
* external_state_dependencies:
|
|
46
|
+
* - subprocess
|
|
47
|
+
* - git
|
|
48
|
+
* ---
|
|
49
|
+
* # Story Title
|
|
50
|
+
* ...
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* Returns `StoryFrontmatterSchema.parse({})` (i.e. `{ external_state_dependencies: [] }`)
|
|
54
|
+
* on any of:
|
|
55
|
+
* - No frontmatter block present
|
|
56
|
+
* - Frontmatter YAML is malformed
|
|
57
|
+
* - Frontmatter fields fail Zod validation
|
|
58
|
+
*
|
|
59
|
+
* This preserves backward-compatibility: stories without a frontmatter
|
|
60
|
+
* block (i.e. every story created before Epic 64) continue to pass the
|
|
61
|
+
* external-state-dependencies gate because the empty array is the "no
|
|
62
|
+
* dependencies declared" default.
|
|
63
|
+
*/
|
|
64
|
+
export function parseStoryFrontmatter(content) {
|
|
65
|
+
// Match optional leading `---\n...\n---\n` block
|
|
66
|
+
const match = /^---\r?\n([\s\S]*?)\r?\n---\r?\n/.exec(content);
|
|
67
|
+
if (!match)
|
|
68
|
+
return StoryFrontmatterSchema.parse({});
|
|
69
|
+
try {
|
|
70
|
+
const raw = yamlLoad(match[1] ?? '');
|
|
71
|
+
return StoryFrontmatterSchema.parse(raw ?? {});
|
|
72
|
+
}
|
|
73
|
+
catch {
|
|
74
|
+
// Malformed frontmatter — treat as empty (backward-compat)
|
|
75
|
+
return StoryFrontmatterSchema.parse({});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=story-artifact-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"story-artifact-schema.js","sourceRoot":"","sources":["../../src/run-model/story-artifact-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,SAAS,CAAA;AAE1C,8EAA8E;AAC9E,SAAS;AACT,8EAA8E;AAE9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAA;AAEvD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,2BAA2B,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CAC3F,CAAC,CAAA;AAIF,8EAA8E;AAC9E,SAAS;AACT,8EAA8E;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAe;IACnD,iDAAiD;IACjD,MAAM,KAAK,GAAG,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAC9D,IAAI,CAAC,KAAK;QAAE,OAAO,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;IACnD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;QACpC,OAAO,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,CAAC,CAAA;IAChD,CAAC;IAAC,MAAM,CAAC;QACP,2DAA2D;QAC3D,OAAO,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;IACzC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-probe-check.d.ts","sourceRoot":"","sources":["../../../src/verification/checks/runtime-probe-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EAEnB,kBAAkB,EACnB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"runtime-probe-check.d.ts","sourceRoot":"","sources":["../../../src/verification/checks/runtime-probe-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EAEnB,kBAAkB,EACnB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAA;AA+F3B;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAKvE;AAkBD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC,WAAW,CAAC,CAAA;IACnD;wEACoE;IACpE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAAA;CACjE;AAWD,qBAAa,iBAAkB,YAAW,iBAAiB;IACzD,QAAQ,CAAC,IAAI,oBAAmB;IAChC,QAAQ,CAAC,IAAI,EAAG,GAAG,CAAS;IAE5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;gBAEtC,SAAS,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAOhD,GAAG,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CA4MrE"}
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
*/
|
|
25
25
|
import { renderFindings } from '../findings.js';
|
|
26
26
|
import { parseRuntimeProbes, executeProbeOnHost, } from '../probes/index.js';
|
|
27
|
+
import { parseStoryFrontmatter } from '../../run-model/story-artifact-schema.js';
|
|
27
28
|
// ---------------------------------------------------------------------------
|
|
28
29
|
// Finding categories
|
|
29
30
|
// ---------------------------------------------------------------------------
|
|
@@ -64,6 +65,15 @@ const CATEGORY_ERROR_RESPONSE = 'runtime-probe-error-response';
|
|
|
64
65
|
* is verified low.
|
|
65
66
|
*/
|
|
66
67
|
const CATEGORY_MISSING_TRIGGER = 'runtime-probe-missing-production-trigger';
|
|
68
|
+
/**
|
|
69
|
+
* Story 64-2: story declares `external_state_dependencies` in its frontmatter
|
|
70
|
+
* but has no `## Runtime Probes` section. The machine-readable declaration
|
|
71
|
+
* confirms the author knows the story interacts with external state, so the
|
|
72
|
+
* missing probes section is a hard gate — not just advisory.
|
|
73
|
+
* Distinct from `runtime-probe-missing-production-trigger` (which fires when
|
|
74
|
+
* probes are present but don't invoke a production trigger for event-driven ACs).
|
|
75
|
+
*/
|
|
76
|
+
const CATEGORY_MISSING_PROBES_DECLARED = 'runtime-probe-missing-declared-probes';
|
|
67
77
|
// ---------------------------------------------------------------------------
|
|
68
78
|
// Story 60-11: event-driven trigger heuristic
|
|
69
79
|
// ---------------------------------------------------------------------------
|
|
@@ -166,6 +176,29 @@ export class RuntimeProbeCheck {
|
|
|
166
176
|
}
|
|
167
177
|
const parsed = parseRuntimeProbes(context.storyContent);
|
|
168
178
|
if (parsed.kind === 'absent') {
|
|
179
|
+
// Story 64-2: when the story frontmatter declares external_state_dependencies
|
|
180
|
+
// but no ## Runtime Probes section exists, escalate to error and hard-gate
|
|
181
|
+
// SHIP_IT. The frontmatter field is the machine-readable declaration that
|
|
182
|
+
// confirms the author knows this story interacts with external state — a
|
|
183
|
+
// missing probes section is unambiguous non-compliance, not ambiguous.
|
|
184
|
+
// Distinct from the obs_016 detectsEventDrivenAC escalation in
|
|
185
|
+
// source-ac-fidelity-check.ts — different code path, different check.
|
|
186
|
+
const frontmatter = parseStoryFrontmatter(context.storyContent);
|
|
187
|
+
if (frontmatter.external_state_dependencies.length > 0) {
|
|
188
|
+
const findings = [
|
|
189
|
+
{
|
|
190
|
+
category: CATEGORY_MISSING_PROBES_DECLARED,
|
|
191
|
+
severity: 'error',
|
|
192
|
+
message: 'story declares external_state_dependencies but has no `## Runtime Probes` section — probes required per obs_2026-05-01_017.',
|
|
193
|
+
},
|
|
194
|
+
];
|
|
195
|
+
return {
|
|
196
|
+
status: 'fail',
|
|
197
|
+
details: renderFindings(findings),
|
|
198
|
+
duration_ms: Date.now() - start,
|
|
199
|
+
findings,
|
|
200
|
+
};
|
|
201
|
+
}
|
|
169
202
|
return {
|
|
170
203
|
status: 'pass',
|
|
171
204
|
details: 'runtime-probes: no ## Runtime Probes section declared — skipping',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-probe-check.js","sourceRoot":"","sources":["../../../src/verification/checks/runtime-probe-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAQH,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"runtime-probe-check.js","sourceRoot":"","sources":["../../../src/verification/checks/runtime-probe-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAQH,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAA;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2
2
|
"name": "@substrate-ai/sdlc",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=22.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@substrate-ai/core": "0.20.
|
|
27
|
+
"@substrate-ai/core": "0.20.44",
|
|
28
28
|
"js-yaml": "^4.1.1",
|
|
29
29
|
"zod": "^4.3.6"
|
|
30
30
|
},
|