@sdd-method/sdd-cli 0.42.0 → 0.46.0
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/lib/catalogue/archetype/resolver.d.ts +14 -0
- package/dist/lib/catalogue/archetype/resolver.d.ts.map +1 -1
- package/dist/lib/catalogue/archetype/resolver.js +11 -0
- package/dist/lib/catalogue/archetype/resolver.js.map +1 -1
- package/dist/lib/catalogue/archetype/wireframe.d.ts.map +1 -1
- package/dist/lib/catalogue/archetype/wireframe.js +129 -17
- package/dist/lib/catalogue/archetype/wireframe.js.map +1 -1
- package/dist/lib/catalogue/builders/screen-tree.d.ts +4 -0
- package/dist/lib/catalogue/builders/screen-tree.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/screen-tree.js +35 -4
- package/dist/lib/catalogue/builders/screen-tree.js.map +1 -1
- package/dist/lib/catalogue/builders/screens.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/screens.js +35 -6
- package/dist/lib/catalogue/builders/screens.js.map +1 -1
- package/dist/lib/catalogue/canonical-schema.yaml +3 -1
- package/dist/lib/catalogue/screen-validation-loader.d.ts +1 -0
- package/dist/lib/catalogue/screen-validation-loader.d.ts.map +1 -1
- package/dist/lib/catalogue/screen-validation-loader.js +10 -2
- package/dist/lib/catalogue/screen-validation-loader.js.map +1 -1
- package/package.json +2 -2
|
@@ -9,6 +9,13 @@ export interface ArchetypeResolution {
|
|
|
9
9
|
/** An adopter overlay: extends a platform default, overrides/adds entries. */
|
|
10
10
|
export interface ArchetypeOverlay {
|
|
11
11
|
readonly overrides?: Readonly<Record<string, string>>;
|
|
12
|
+
/**
|
|
13
|
+
* Extra vendor/design-system name prefixes the renderer strips when humanising
|
|
14
|
+
* a component name into a display label (e.g. an adopter's `Mdc`/`Mde`/`St`).
|
|
15
|
+
* Adopter-owned — the method ships none; bespoke prefixes live in the overlay.
|
|
16
|
+
* Resolution/findings ignore this; it is a render-only display nicety.
|
|
17
|
+
*/
|
|
18
|
+
readonly strip_prefixes?: readonly string[];
|
|
12
19
|
}
|
|
13
20
|
/** Visual render hints carried by a vocabulary archetype (ADR 0169 §4.1). */
|
|
14
21
|
export interface ArchetypeRender {
|
|
@@ -36,6 +43,13 @@ export declare function resolveArchetype(name: string, platform: Platform, overl
|
|
|
36
43
|
* to the heuristic) so an absent map never mis-classifies a known container.
|
|
37
44
|
*/
|
|
38
45
|
export declare function isContainerArchetype(name: string, platform: string | undefined, overlay?: ArchetypeOverlay): boolean | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The vendor name prefixes the platform's default map strips (e.g. `UI`/`NS` for
|
|
48
|
+
* uikit, `Mui`/`Ch`/… for web-generic). The renderer combines these with the
|
|
49
|
+
* adopter overlay's `strip_prefixes` to humanise component names into labels.
|
|
50
|
+
* Returns `[]` for an unknown platform.
|
|
51
|
+
*/
|
|
52
|
+
export declare function mapStripPrefixes(platform: string | undefined): readonly string[];
|
|
39
53
|
/** Vocabulary metadata for an archetype: container flag + render hints. */
|
|
40
54
|
export declare function archetypeInfo(archetype: string): {
|
|
41
55
|
isContainer: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/resolver.ts"],"names":[],"mappings":"AAwBA,mDAAmD;AACnD,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAGvE,+HAA+H;AAC/H,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAE3E,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC;AAED,8EAA8E;AAC9E,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAA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GAAG,SAAS,GAAG,QAAQ,IAAI,QAAQ,CAElF;AASD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE,gBAAgB,GACzB,mBAAmB,CAgBrB;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE,gBAAgB,GACzB,OAAO,GAAG,SAAS,CAIrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,MAAM,EAAE,CAGhF;AAED,2EAA2E;AAC3E,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,WAAW,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAGlG"}
|
|
@@ -84,6 +84,17 @@ export function isContainerArchetype(name, platform, overlay) {
|
|
|
84
84
|
const { archetype } = resolveArchetype(name, platform, overlay);
|
|
85
85
|
return loadVocabulary().archetypes[archetype]?.is_container === true;
|
|
86
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* The vendor name prefixes the platform's default map strips (e.g. `UI`/`NS` for
|
|
89
|
+
* uikit, `Mui`/`Ch`/… for web-generic). The renderer combines these with the
|
|
90
|
+
* adopter overlay's `strip_prefixes` to humanise component names into labels.
|
|
91
|
+
* Returns `[]` for an unknown platform.
|
|
92
|
+
*/
|
|
93
|
+
export function mapStripPrefixes(platform) {
|
|
94
|
+
if (!isKnownPlatform(platform))
|
|
95
|
+
return [];
|
|
96
|
+
return loadMap(platform).strip_prefixes ?? [];
|
|
97
|
+
}
|
|
87
98
|
/** Vocabulary metadata for an archetype: container flag + render hints. */
|
|
88
99
|
export function archetypeInfo(archetype) {
|
|
89
100
|
const entry = loadVocabulary().archetypes[archetype];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/resolver.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,0EAA0E;AAC1E,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,gFAAgF;AAChF,wEAAwE;AACxE,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,+EAA+E;AAC/E,8EAA8E;AAC9E,0EAA0E;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAE1C,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAI1D,MAAM,SAAS,GAAG,IAAI,GAAG,CAAW,CAAC,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/resolver.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,0EAA0E;AAC1E,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,gFAAgF;AAChF,wEAAwE;AACxE,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,+EAA+E;AAC/E,8EAA8E;AAC9E,0EAA0E;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC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AAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;IAC3E,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,GAAG,CAAC,OAAO,IAAI,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAClF,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAY,EACZ,QAA4B,EAC5B,OAA0B;IAE1B,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;QAAE,OAAO,SAAS,CAAC;IACjD,MAAM,EAAE,SAAS,EAAE,GAAG,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAChE,OAAO,cAAc,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;AACvE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAA4B;IAC3D,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;QAAE,OAAO,EAAE,CAAC;IAC1C,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC,cAAc,IAAI,EAAE,CAAC;AAChD,CAAC;AAED,2EAA2E;AAC3E,MAAM,UAAU,aAAa,CAAC,SAAiB;IAC7C,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACrD,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,YAAY,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC;AACpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireframe.d.ts","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/wireframe.ts"],"names":[],"mappings":"AAiBA,OAAO,
|
|
1
|
+
{"version":3,"file":"wireframe.d.ts","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/wireframe.ts"],"names":[],"mappings":"AAiBA,OAAO,EAKL,KAAK,gBAAgB,EAGtB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,oBAAoB;IACnC,oEAAoE;IACpE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,iDAAiD;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,+CAA+C;IAC/C,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AA6BD,wEAAwE;AACxE,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAkBnE"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
//
|
|
15
15
|
// Deterministic companion to the LLM-driven render-screen-wireframe skill.
|
|
16
16
|
import { buildCompositionTree, stripBlockComments } from "../builders/screen-tree.js";
|
|
17
|
-
import { archetypeInfo, isKnownPlatform, resolveArchetype, } from "./resolver.js";
|
|
17
|
+
import { archetypeInfo, isKnownPlatform, mapStripPrefixes, resolveArchetype, } from "./resolver.js";
|
|
18
18
|
// --- geometry constants ----------------------------------------------------
|
|
19
19
|
const PAD = 8;
|
|
20
20
|
const GAP = 6;
|
|
@@ -31,7 +31,8 @@ export function renderWireframe(input) {
|
|
|
31
31
|
return emptySvg(input.title, "empty composition — no statements");
|
|
32
32
|
}
|
|
33
33
|
const platform = isKnownPlatform(input.platform) ? input.platform : undefined;
|
|
34
|
-
const
|
|
34
|
+
const prefixes = [...(input.overlay?.strip_prefixes ?? []), ...mapStripPrefixes(platform)];
|
|
35
|
+
const root = measure(shape(tree, platform, input.overlay, prefixes));
|
|
35
36
|
const titleOffset = input.title ? TITLE_H : 0;
|
|
36
37
|
const width = root.w + PAD * 2;
|
|
37
38
|
const height = root.h + PAD * 2 + titleOffset;
|
|
@@ -43,18 +44,19 @@ export function renderWireframe(input) {
|
|
|
43
44
|
}
|
|
44
45
|
// --- shape: resolve archetype + classify a render mode per node ------------
|
|
45
46
|
const LEAF_SHAPES = new Set(["button", "chip", "text", "image", "circle", "row"]);
|
|
46
|
-
function shape(node, platform, overlay) {
|
|
47
|
-
const children = node.children.map((c) => shape(c, platform, overlay));
|
|
47
|
+
function shape(node, platform, overlay, prefixes) {
|
|
48
|
+
const children = node.children.map((c) => shape(c, platform, overlay, prefixes));
|
|
48
49
|
const isContainer = children.length > 0;
|
|
50
|
+
linkPagedTabs(children, prefixes);
|
|
49
51
|
if (node.component === "" || platform === undefined) {
|
|
50
|
-
return
|
|
52
|
+
return base("", "none", isContainer ? "stack" : "leaf", "box");
|
|
51
53
|
}
|
|
52
54
|
const { archetype, provenance } = resolveArchetype(node.component, platform, overlay);
|
|
53
55
|
const r = archetypeInfo(archetype).render;
|
|
54
56
|
const sh = r.shape ?? "";
|
|
55
57
|
if (!isContainer) {
|
|
56
58
|
const leafShape = LEAF_SHAPES.has(sh) ? sh : "box";
|
|
57
|
-
return
|
|
59
|
+
return base(archetype, provenance, "leaf", leafShape);
|
|
58
60
|
}
|
|
59
61
|
let mode;
|
|
60
62
|
if (sh === "bar")
|
|
@@ -71,7 +73,32 @@ function shape(node, platform, overlay) {
|
|
|
71
73
|
mode = "floating";
|
|
72
74
|
else
|
|
73
75
|
mode = r.orientation === "horizontal" ? "row" : "stack";
|
|
74
|
-
return
|
|
76
|
+
return base(archetype, provenance, mode, "box");
|
|
77
|
+
function base(archetype, provenance, mode, leafShape) {
|
|
78
|
+
return { node, archetype, provenance, mode, leafShape, children, stripPrefixes: prefixes, derivedLabel: "", w: 0, h: 0 };
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Derive tab labels from windowed content (deterministic, spec-faithful): when a
|
|
83
|
+
* sibling group holds a tab-strip and a paged-panes with the SAME pane count, and
|
|
84
|
+
* the tabs carry no authored label, label each tab from its corresponding pane's
|
|
85
|
+
* content component name. Reads only names already in the spec — no fabrication.
|
|
86
|
+
*/
|
|
87
|
+
function linkPagedTabs(siblings, prefixes) {
|
|
88
|
+
const strip = siblings.find((s) => s.archetype === "tab-strip");
|
|
89
|
+
const paged = siblings.find((s) => s.archetype === "paged-panes");
|
|
90
|
+
if (!strip || !paged)
|
|
91
|
+
return;
|
|
92
|
+
if (strip.children.length === 0 || strip.children.length !== paged.children.length)
|
|
93
|
+
return;
|
|
94
|
+
strip.children.forEach((tab, i) => {
|
|
95
|
+
if (tab.node.args.length > 0 || tab.derivedLabel)
|
|
96
|
+
return; // authored label wins
|
|
97
|
+
const pane = paged.children[i];
|
|
98
|
+
const contentName = pane.children[0]?.node.component || pane.node.component;
|
|
99
|
+
if (contentName)
|
|
100
|
+
tab.derivedLabel = humaniseName(contentName, prefixes);
|
|
101
|
+
});
|
|
75
102
|
}
|
|
76
103
|
// --- measure: size every node bottom-up ------------------------------------
|
|
77
104
|
function leafSize(shapeName, lbl) {
|
|
@@ -87,7 +114,7 @@ function leafSize(shapeName, lbl) {
|
|
|
87
114
|
}
|
|
88
115
|
function measure(s) {
|
|
89
116
|
if (s.mode === "leaf") {
|
|
90
|
-
const { w, h } = leafSize(s.leafShape,
|
|
117
|
+
const { w, h } = leafSize(s.leafShape, labelPlain(s));
|
|
91
118
|
s.w = w;
|
|
92
119
|
s.h = h;
|
|
93
120
|
return s;
|
|
@@ -187,7 +214,7 @@ function emit(s, x, y, out) {
|
|
|
187
214
|
let ry = cy0 + active.h + GAP;
|
|
188
215
|
for (const c of cs.slice(1)) {
|
|
189
216
|
out.push(rect(cx0, ry, s.w - PAD * 2, COLLAPSE_H, c.provenance, false, "#f1f5f9"));
|
|
190
|
-
out.push(text(cx0 + 6, ry + 15, "▸ " +
|
|
217
|
+
out.push(text(cx0 + 6, ry + 15, "▸ " + collapsedPaneLabel(c), "dim"));
|
|
191
218
|
ry += COLLAPSE_H + GAP;
|
|
192
219
|
}
|
|
193
220
|
break;
|
|
@@ -218,10 +245,10 @@ function drawContainer(s, x, y, out) {
|
|
|
218
245
|
out.push(`<rect x="${x + SHADOW}" y="${y + SHADOW}" width="${s.w}" height="${s.h}" rx="4" fill="#0f172a" opacity="0.12"/>`);
|
|
219
246
|
}
|
|
220
247
|
out.push(rect(x, y, s.w, s.h, s.provenance, true, fill));
|
|
221
|
-
out.push(text(x + PAD, y + 12,
|
|
248
|
+
out.push(text(x + PAD, y + 12, labelMarkup(s), dark ? "lblw" : "lbl"));
|
|
222
249
|
}
|
|
223
250
|
function drawLeaf(s, x, y, out) {
|
|
224
|
-
const lbl =
|
|
251
|
+
const lbl = labelMarkup(s);
|
|
225
252
|
switch (s.leafShape) {
|
|
226
253
|
case "button":
|
|
227
254
|
out.push(`<rect x="${x}" y="${y}" width="${s.w}" height="${s.h}" rx="13" fill="#dbeafe" stroke="#3b82f6"${dash(s.provenance)}/>`);
|
|
@@ -258,12 +285,97 @@ function drawLeaf(s, x, y, out) {
|
|
|
258
285
|
out.push(text(x + 6, y + s.h / 2 + 4, lbl, "lbl"));
|
|
259
286
|
}
|
|
260
287
|
}
|
|
261
|
-
|
|
262
|
-
|
|
288
|
+
// --- label derivation ------------------------------------------------------
|
|
289
|
+
/** The primary human label for a node, derived only from tokens in the spec. */
|
|
290
|
+
function primaryLabel(s) {
|
|
291
|
+
if (s.node.args.length > 0)
|
|
292
|
+
return s.node.args[0]; // authored positional label
|
|
293
|
+
if (s.mode === "leaf" && s.node.actions.length > 0 && (s.archetype === "button" || s.archetype === "fab"))
|
|
294
|
+
return humaniseAction(s.node.actions[0]); // CTA from action=
|
|
295
|
+
if (s.derivedLabel)
|
|
296
|
+
return s.derivedLabel; // windowed-pane tab label
|
|
297
|
+
const comp = s.node.component;
|
|
298
|
+
if (!comp)
|
|
299
|
+
return s.node.id;
|
|
300
|
+
// A `default` resolution is a recognised standard widget — its short vendor name
|
|
301
|
+
// reads fine as-is; bespoke names (override / heuristic / fallback) humanise better.
|
|
302
|
+
return s.provenance === "default" || s.provenance === "none" ? comp : humaniseName(comp, s.stripPrefixes);
|
|
303
|
+
}
|
|
304
|
+
function archMark(prov) {
|
|
305
|
+
return prov === "fallback" ? "?" : prov === "heuristic" ? "~" : "";
|
|
306
|
+
}
|
|
307
|
+
/** Plain text label (for width measurement): primary + archetype annotation. */
|
|
308
|
+
function labelPlain(s) {
|
|
309
|
+
const primary = primaryLabel(s);
|
|
263
310
|
if (s.archetype === "" || s.provenance === "none")
|
|
264
|
-
return
|
|
265
|
-
|
|
266
|
-
|
|
311
|
+
return primary;
|
|
312
|
+
return `${primary} :${s.archetype}${archMark(s.provenance)}`;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Collapsed paged-pane label: a wrapper pane often has a generic name (its
|
|
316
|
+
* content carries the identity), so prefer the content component's label when
|
|
317
|
+
* the pane itself has no authored label of its own. Spec-faithful — the content
|
|
318
|
+
* name is already in the block.
|
|
319
|
+
*/
|
|
320
|
+
function collapsedPaneLabel(s) {
|
|
321
|
+
const content = s.children[0];
|
|
322
|
+
if (s.node.args.length === 0 && !s.derivedLabel && content && content.node.component) {
|
|
323
|
+
const lbl = escapeXml(primaryLabel(content));
|
|
324
|
+
return s.archetype === "" ? lbl : `${lbl} <tspan class="arch">:${escapeXml(s.archetype)}</tspan>`;
|
|
325
|
+
}
|
|
326
|
+
return labelMarkup(s);
|
|
327
|
+
}
|
|
328
|
+
/** SVG markup label (for emission): primary text + a small dim `:archetype` tspan. */
|
|
329
|
+
function labelMarkup(s) {
|
|
330
|
+
const primary = escapeXml(primaryLabel(s));
|
|
331
|
+
if (s.archetype === "" || s.provenance === "none")
|
|
332
|
+
return primary;
|
|
333
|
+
return `${primary} <tspan class="arch">:${escapeXml(s.archetype)}${archMark(s.provenance)}</tspan>`;
|
|
334
|
+
}
|
|
335
|
+
// --- humanisation (deterministic, adopter-agnostic) ------------------------
|
|
336
|
+
const HUMANISE_SUFFIXES = [
|
|
337
|
+
"Component", "Container", "Controller", "Activity", "Fragment", "Section",
|
|
338
|
+
"Layout", "Panel", "Popup", "Dialog", "Modal", "Widget", "View", "Screen",
|
|
339
|
+
"Page", "Table", "List", "Card", "Item",
|
|
340
|
+
];
|
|
341
|
+
/** Strip a vendor prefix + a trailing archetype-ish suffix, split camelCase, Title Case. */
|
|
342
|
+
function humaniseName(name, prefixes) {
|
|
343
|
+
let s = name;
|
|
344
|
+
for (const p of prefixes) {
|
|
345
|
+
// Strip only at a PascalCase boundary (next char uppercase) so a short prefix
|
|
346
|
+
// like "St" peels "StLayout" → "Layout" but never "Status" → "atus".
|
|
347
|
+
if (s.length > p.length && s.startsWith(p) && /[A-Z]/.test(s.charAt(p.length))) {
|
|
348
|
+
s = s.slice(p.length);
|
|
349
|
+
break;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
for (const suf of HUMANISE_SUFFIXES) {
|
|
353
|
+
if (s.length > suf.length && s.endsWith(suf)) {
|
|
354
|
+
s = s.slice(0, -suf.length);
|
|
355
|
+
break;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
const words = splitWords(s);
|
|
359
|
+
if (words.length === 0)
|
|
360
|
+
return titleCaseWords(splitWords(name)); // prefix/suffix ate the whole name
|
|
361
|
+
return titleCaseWords(words);
|
|
362
|
+
}
|
|
363
|
+
/** Humanise an action token, prefixing create/add/new verbs with "+ ". */
|
|
364
|
+
function humaniseAction(action) {
|
|
365
|
+
const human = titleCaseWords(splitWords(action));
|
|
366
|
+
return /^(new|add|create)([^a-z]|$)/i.test(action) ? `+ ${human}` : human;
|
|
367
|
+
}
|
|
368
|
+
function splitWords(s) {
|
|
369
|
+
return s
|
|
370
|
+
.replace(/([a-z0-9])([A-Z])/g, "$1 $2")
|
|
371
|
+
.replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2")
|
|
372
|
+
.replace(/[_\-.]+/g, " ")
|
|
373
|
+
.trim()
|
|
374
|
+
.split(/\s+/)
|
|
375
|
+
.filter(Boolean);
|
|
376
|
+
}
|
|
377
|
+
function titleCaseWords(words) {
|
|
378
|
+
return words.map((w) => (w === w.toUpperCase() ? w : w.charAt(0).toUpperCase() + w.slice(1))).join(" ");
|
|
267
379
|
}
|
|
268
380
|
function dash(prov) {
|
|
269
381
|
return prov === "heuristic" ? ' stroke-dasharray="5 3"' : prov === "fallback" ? ' stroke-dasharray="1 4"' : "";
|
|
@@ -281,7 +393,7 @@ function text(x, y, content, cls) {
|
|
|
281
393
|
function svg(width, height, body) {
|
|
282
394
|
return [
|
|
283
395
|
`<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}">`,
|
|
284
|
-
`<style>text{font-family:ui-monospace,monospace;font-size:11px;fill:#334155}.title{font-size:13px;font-weight:600;fill:#0f172a}.lbl{fill:#334155}.lblw{fill:#f8fafc}.dim{fill:#94a3b8}.btn{fill:#1e40af;font-weight:600}</style>`,
|
|
396
|
+
`<style>text{font-family:ui-monospace,monospace;font-size:11px;fill:#334155}.title{font-size:13px;font-weight:600;fill:#0f172a}.lbl{fill:#334155}.lblw{fill:#f8fafc}.dim{fill:#94a3b8}.btn{fill:#1e40af;font-weight:600}.arch{font-size:9px;fill:#a8b3c2}</style>`,
|
|
285
397
|
`<rect width="${width}" height="${height}" fill="#fff"/>`,
|
|
286
398
|
body,
|
|
287
399
|
`</svg>`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wireframe.js","sourceRoot":"","sources":["../../../../src/lib/catalogue/archetype/wireframe.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,EAAE;AACF,gFAAgF;AAChF,8EAA8E;AAC9E,6EAA6E;AAC7E,+EAA+E;AAC/E,gFAAgF;AAChF,iFAAiF;AACjF,+EAA+E;AAC/E,iFAAiF;AACjF,8EAA8E;AAC9E,6EAA6E;AAC7E,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAE3E,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAwB,MAAM,4BAA4B,CAAC;AAC5G,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,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AAC;IACd,OAAO,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,SAAS,CAAC,CAAS;IAC1B,OAAO,CAAC;SACL,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -31,6 +31,10 @@ export interface CompositionNode {
|
|
|
31
31
|
readonly id: string;
|
|
32
32
|
/** The Capitalised component invoked ("" if the rhs has no call head). */
|
|
33
33
|
readonly component: string;
|
|
34
|
+
/** Positional quoted-string args (`MdcTab("Job Types")` → ["Job Types"]). Render-only. */
|
|
35
|
+
readonly args: readonly string[];
|
|
36
|
+
/** `action="..."` values on the node's line. Render-only. */
|
|
37
|
+
readonly actions: readonly string[];
|
|
34
38
|
readonly children: readonly CompositionNode[];
|
|
35
39
|
}
|
|
36
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-tree.d.ts","sourceRoot":"","sources":["../../../../src/lib/catalogue/builders/screen-tree.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"screen-tree.d.ts","sourceRoot":"","sources":["../../../../src/lib/catalogue/builders/screen-tree.ts"],"names":[],"mappings":"AAwCA,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,oCAAoC;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,oDAAoD;IACpD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,2EAA2E;IAC3E,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,8FAA8F;IAC9F,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;CAChD;AAgCD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKxD;AA8DD,wDAAwD;AACxD,MAAM,WAAW,eAAe;IAC9B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,0FAA0F;IAC1F,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,SAAS,eAAe,EAAE,CAAC;CAC/C;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CAa/E;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CAmDzE"}
|
|
@@ -32,6 +32,29 @@ const STATEMENT_RE = /^\s*([A-Za-z_][\w-]*)\s*=\s*(.+?)\s*$/;
|
|
|
32
32
|
const STRING_RE = /"[^"]*"|'[^']*'/g;
|
|
33
33
|
/** Any identifier token. */
|
|
34
34
|
const IDENT_RE = /\b([A-Za-z_][\w-]*)\b/g;
|
|
35
|
+
/** `action="..."` attribute values on a statement (node-scoped CTA/messaging contract). */
|
|
36
|
+
const ACTION_ATTR_RE_G = /\baction\s*=\s*"([^"]*)"/g;
|
|
37
|
+
/** Any `key="..."` / `key='...'` named attribute — removed so its value isn't read as a positional arg. */
|
|
38
|
+
const NAMED_ATTR_RE_G = /\b[\w-]+\s*=\s*("[^"]*"|'[^']*')/g;
|
|
39
|
+
/**
|
|
40
|
+
* Split a call's RHS into its positional string args and its `action=` values.
|
|
41
|
+
* Render-only metadata (the deterministic wireframe renderer reads it to label
|
|
42
|
+
* nodes) — never feeds catalogue rows or the depth metrics. A `key="..."` named
|
|
43
|
+
* attribute's value is NOT a positional arg, so named attrs are removed first.
|
|
44
|
+
*/
|
|
45
|
+
function parseArgsActions(rhs) {
|
|
46
|
+
const actions = [];
|
|
47
|
+
for (const m of rhs.matchAll(ACTION_ATTR_RE_G))
|
|
48
|
+
actions.push(m[1]);
|
|
49
|
+
const positional = rhs.replace(NAMED_ATTR_RE_G, "");
|
|
50
|
+
const args = [];
|
|
51
|
+
for (const m of positional.matchAll(STRING_RE)) {
|
|
52
|
+
const inner = m[0].slice(1, -1);
|
|
53
|
+
if (inner.length > 0)
|
|
54
|
+
args.push(inner);
|
|
55
|
+
}
|
|
56
|
+
return { args, actions };
|
|
57
|
+
}
|
|
35
58
|
/**
|
|
36
59
|
* Strip openui-lang inline comments: from the first *unquoted* `#` to
|
|
37
60
|
* end-of-line, per line (ADR 0168 §4.4, defect g). A `Capitalised(` token inside
|
|
@@ -72,10 +95,18 @@ function parseStatements(cleanBlock) {
|
|
|
72
95
|
continue;
|
|
73
96
|
const id = m[1];
|
|
74
97
|
const rhs = m[2];
|
|
98
|
+
// A component statement's RHS is a call (`Text("Q4")`) or a reference — never a
|
|
99
|
+
// bare string literal. A line like `action="user-details-changed"` (the block-level
|
|
100
|
+
// screen_action messaging contract, ADR 0166) matches the statement shape with
|
|
101
|
+
// id=`action`; skip it so it isn't lexed as a phantom component (and so a node
|
|
102
|
+
// carrying an `action=` attr doesn't pick it up as a spurious child).
|
|
103
|
+
if (/^["']/.test(rhs))
|
|
104
|
+
continue;
|
|
75
105
|
if (!statements.has(id))
|
|
76
106
|
order.push(id);
|
|
77
107
|
// Last assignment wins (re-declaration is unusual; keep it deterministic).
|
|
78
|
-
|
|
108
|
+
const { args, actions } = parseArgsActions(rhs);
|
|
109
|
+
statements.set(id, { id, rhs, head: CALL_HEAD_RE.exec(rhs)?.[1] ?? "", args, actions, childIds: [] });
|
|
79
110
|
}
|
|
80
111
|
const definedIds = new Set(statements.keys());
|
|
81
112
|
// Resolve child references: a defined id (other than self) appearing in the
|
|
@@ -105,11 +136,11 @@ export function buildCompositionTree(cleanBlock) {
|
|
|
105
136
|
const build = (id, seen) => {
|
|
106
137
|
const st = statements.get(id);
|
|
107
138
|
if (st === undefined)
|
|
108
|
-
return { id, component: "", children: [] }; // undefined ref → leaf
|
|
139
|
+
return { id, component: "", args: [], actions: [], children: [] }; // undefined ref → leaf
|
|
109
140
|
if (seen.has(id))
|
|
110
|
-
return { id, component: st.head, children: [] }; // cycle guard
|
|
141
|
+
return { id, component: st.head, args: st.args, actions: st.actions, children: [] }; // cycle guard
|
|
111
142
|
const next = new Set(seen).add(id);
|
|
112
|
-
return { id, component: st.head, children: st.childIds.map((c) => build(c, next)) };
|
|
143
|
+
return { id, component: st.head, args: st.args, actions: st.actions, children: st.childIds.map((c) => build(c, next)) };
|
|
113
144
|
};
|
|
114
145
|
return build(rootId, new Set());
|
|
115
146
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-tree.js","sourceRoot":"","sources":["../../../../src/lib/catalogue/builders/screen-tree.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,+EAA+E;AAC/E,6EAA6E;AAC7E,8EAA8E;AAC9E,EAAE;AACF,iFAAiF;AACjF,8EAA8E;AAC9E,EAAE;AACF,mEAAmE;AACnE,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,oCAAoC;AAEpC,4EAA4E;AAC5E,MAAM,YAAY,GAAG,4BAA4B,CAAC;AAClD,uDAAuD;AACvD,MAAM,cAAc,GAAG,6BAA6B,CAAC;AACrD;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,+BAA+B,C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,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtD,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtD,qEAAqE;IACrE,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtD,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtD;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChE;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAChF;AAOD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,YAAY,EAAE,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,YAAY,EAAE,CAAC;IACvC,QAAQ,CAAC,aAAa,EAAE,YAAY,EAAE,CAAC;IACvC,QAAQ,CAAC,YAAY,EAAE,YAAY,EAAE,CAAC;CACvC;AAqCD,wBAAsB,YAAY,CAChC,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,kBAAkB,CAAC,CA8I7B"}
|
|
@@ -42,6 +42,37 @@ const DEFAULT_FLAT_THRESHOLD = 6;
|
|
|
42
42
|
/** The only maturity value that asserts a faithful, complete composition (ADR 0168 §4.3). */
|
|
43
43
|
const COMPLETENESS_STATUS = "working";
|
|
44
44
|
const SCREENS_DIR_REL = "screens";
|
|
45
|
+
/** Subdir of screens/ holding rendered wireframe artifacts — never screen specs. */
|
|
46
|
+
const WIREFRAMES_DIR = "wireframes";
|
|
47
|
+
/** Reserved documentation files under screens/ that are not screen specs (e.g. a cross-reference index). */
|
|
48
|
+
const isReservedDoc = (name) => /^(INDEX|README)\.md$/i.test(name);
|
|
49
|
+
/**
|
|
50
|
+
* Collect screen-spec `*.md` files under `screens/`, recursively. Adopters with a
|
|
51
|
+
* single platform keep specs flat (`screens/<slug>.md`); multi-platform adopters
|
|
52
|
+
* may nest them (`screens/<platform>/<slug>.md`) — both are found. The screen id
|
|
53
|
+
* comes from frontmatter (`screen:`), not the path, so nesting is purely
|
|
54
|
+
* organisational. The `wireframes/` subtree (rendered SVGs) is skipped. Returns
|
|
55
|
+
* paths relative to `screens/`, sorted. Throws ENOENT if `screens/` is absent.
|
|
56
|
+
*/
|
|
57
|
+
async function collectScreenSpecFiles(dir) {
|
|
58
|
+
const out = [];
|
|
59
|
+
const walk = async (rel) => {
|
|
60
|
+
const entries = await readdir(rel ? join(dir, rel) : dir, { withFileTypes: true });
|
|
61
|
+
for (const e of entries) {
|
|
62
|
+
const r = rel ? `${rel}/${e.name}` : e.name;
|
|
63
|
+
if (e.isDirectory()) {
|
|
64
|
+
if (e.name === WIREFRAMES_DIR)
|
|
65
|
+
continue;
|
|
66
|
+
await walk(r);
|
|
67
|
+
}
|
|
68
|
+
else if (e.isFile() && e.name.endsWith(".md") && !isTemplate(e.name) && !isReservedDoc(e.name)) {
|
|
69
|
+
out.push(r);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
await walk("");
|
|
74
|
+
return out.sort();
|
|
75
|
+
}
|
|
45
76
|
// Recognised standard maturity vocabulary (ADR 0165); other values pass through.
|
|
46
77
|
const STANDARD_MATURITY = new Set(["working", "provisional", "unknown", "absent"]);
|
|
47
78
|
export async function buildScreens(inputs) {
|
|
@@ -53,9 +84,9 @@ export async function buildScreens(inputs) {
|
|
|
53
84
|
const screenAction = new Map();
|
|
54
85
|
const flatThreshold = inputs.flatThreshold ?? DEFAULT_FLAT_THRESHOLD;
|
|
55
86
|
const dir = join(inputs.sddPath, SCREENS_DIR_REL);
|
|
56
|
-
let
|
|
87
|
+
let files;
|
|
57
88
|
try {
|
|
58
|
-
|
|
89
|
+
files = await collectScreenSpecFiles(dir);
|
|
59
90
|
}
|
|
60
91
|
catch (err) {
|
|
61
92
|
if (err.code !== "ENOENT")
|
|
@@ -63,10 +94,6 @@ export async function buildScreens(inputs) {
|
|
|
63
94
|
inputs.findings.add("coverage", `${SCREENS_DIR_REL}/ not found — emitting empty screens family`);
|
|
64
95
|
return emptyResult();
|
|
65
96
|
}
|
|
66
|
-
const files = entries
|
|
67
|
-
.filter((e) => e.isFile() && e.name.endsWith(".md") && !isTemplate(e.name))
|
|
68
|
-
.map((e) => e.name)
|
|
69
|
-
.sort();
|
|
70
97
|
for (const filename of files) {
|
|
71
98
|
const stem = basename(filename).replace(/\.md$/i, "");
|
|
72
99
|
const text = await readFile(join(dir, filename), "utf-8");
|
|
@@ -90,6 +117,8 @@ export async function buildScreens(inputs) {
|
|
|
90
117
|
route: typeof fm.route === "string" ? fm.route : "",
|
|
91
118
|
status,
|
|
92
119
|
source,
|
|
120
|
+
domain: typeof fm.domain === "string" ? fm.domain : "",
|
|
121
|
+
group: typeof fm.group === "string" ? fm.group : "",
|
|
93
122
|
source_sdd_id: "",
|
|
94
123
|
});
|
|
95
124
|
// Evidence integrity (ADR 0168 §4.2, defect f): a reverse-extracted screen
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screens.js","sourceRoot":"","sources":["../../../../src/lib/catalogue/builders/screens.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,8DAA8D;AAC9D,mCAAmC;AACnC,EAAE;AACF,iFAAiF;AACjF,sBAAsB;AACtB,QAAQ;AACR,oEAAoE;AACpE,yCAAyC;AACzC,wEAAwE;AACxE,gEAAgE;AAChE,gEAAgE;AAChE,QAAQ;AACR,qBAAqB;AACrB,mBAAmB;AACnB,uCAAuC;AACvC,yDAAyD;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QAAQ,CAAC,EAAE,CAAC;QAAE,IAAI,CAAC,CAAC,CAAC,CAAC;YAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,MAAM,CAAC,CAAU;IACxB,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QAAE,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC5E,IAAI,OAAO,CAAC,KAAK,QAAQ;QAAE,OAAO,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACpF,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
# Builder contract: see docs/method/methods/catalogue-builder-specification.md.
|
|
46
46
|
# Category taxonomy: see docs/method/methods/product-category-taxonomy.md.
|
|
47
47
|
|
|
48
|
-
schema_version: "2.
|
|
48
|
+
schema_version: "2.18.0"
|
|
49
49
|
schema_owner: "sdd-method"
|
|
50
50
|
schema_status: "canonical"
|
|
51
51
|
# Bump rationale (2.15.0 — additive minor, per ADR 0161): adds a new edge
|
|
@@ -932,6 +932,8 @@ catalogues:
|
|
|
932
932
|
- { name: route, type: string, nullable: true, description: "Route path the screen is mounted at, when applicable." }
|
|
933
933
|
- { name: status, type: string, nullable: true, description: "Maturity marker; uses the standard working | provisional | unknown | absent vocabulary (per ADR 0165) where applicable." }
|
|
934
934
|
- { name: source, type: string, nullable: false, description: "screen-spec (forward) | screen-extraction (reverse)." }
|
|
935
|
+
- { name: domain, type: string, nullable: true, description: "Authored owning-domain hint from frontmatter `domain:` (a docs/domains/<domain>/ slug). Organisational grouping for multi-domain (platform-profile) SDDs; the authoritative screen->domain relationship is still derived via realises -> feature -> capability.domain_id (screen_feature). Empty when unauthored." }
|
|
936
|
+
- { name: group, type: string, nullable: true, description: "Authored sub-grouping hint from frontmatter `group:` — a finer organisational axis within (or orthogonal to) domain, e.g. shell | shell-embed | identity. Free-form adopter label; not an FK. Empty when unauthored." }
|
|
935
937
|
- { name: source_sdd_id, type: string, nullable: true, description: "Originating SDD slug. Populated by the aggregator per ADR 0134." }
|
|
936
938
|
|
|
937
939
|
ui_components:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-validation-loader.d.ts","sourceRoot":"","sources":["../../../src/lib/catalogue/screen-validation-loader.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"screen-validation-loader.d.ts","sourceRoot":"","sources":["../../../src/lib/catalogue/screen-validation-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,eAAO,MAAM,0BAA0B,QAAyC,CAAC;AAEjF,MAAM,WAAW,sBAAsB;IACrC,2EAA2E;IAC3E,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,4EAA4E;IAC5E,QAAQ,CAAC,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnD,6EAA6E;IAC7E,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAClE,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAQD;;;GAGG;AACH,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAuCxC"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* - Divider
|
|
16
16
|
* archetype_overlays: # per-platform overlay (ADR 0169 §4.3)
|
|
17
17
|
* web-generic:
|
|
18
|
+
* strip_prefixes: [Mdc, Mde] # render-only: stripped when humanising labels
|
|
18
19
|
* overrides:
|
|
19
20
|
* VBespokeGrid: grid
|
|
20
21
|
* swiftui:
|
|
@@ -62,8 +63,10 @@ export async function loadScreenValidationConfig(sddPath) {
|
|
|
62
63
|
if (raw.archetype_overlays !== null && typeof raw.archetype_overlays === "object" && !Array.isArray(raw.archetype_overlays)) {
|
|
63
64
|
for (const [platform, body] of Object.entries(raw.archetype_overlays)) {
|
|
64
65
|
const overrides = toStringMap(body?.overrides);
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
const stripPrefixes = toStringList(body?.strip_prefixes);
|
|
67
|
+
if (Object.keys(overrides).length > 0 || stripPrefixes.length > 0) {
|
|
68
|
+
archetypeOverlays.set(platform, { overrides, strip_prefixes: stripPrefixes });
|
|
69
|
+
}
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
return { flatThreshold, decorativePrimitives, archetypeOverlays, relPath: SCREEN_VALIDATION_REL_PATH };
|
|
@@ -78,4 +81,9 @@ function toStringMap(raw) {
|
|
|
78
81
|
}
|
|
79
82
|
return out;
|
|
80
83
|
}
|
|
84
|
+
function toStringList(raw) {
|
|
85
|
+
if (!Array.isArray(raw))
|
|
86
|
+
return [];
|
|
87
|
+
return raw.filter((v) => typeof v === "string" && v !== "");
|
|
88
|
+
}
|
|
81
89
|
//# sourceMappingURL=screen-validation-loader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screen-validation-loader.js","sourceRoot":"","sources":["../../../src/lib/catalogue/screen-validation-loader.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"screen-validation-loader.js","sourceRoot":"","sources":["../../../src/lib/catalogue/screen-validation-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAA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AAC,OAAO,CAAC,GAA8B,CAAC,EAAE,CAAC;QACpE,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE;YAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,YAAY,CAAC,GAAY;IAChC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IACnC,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAC3E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdd-method/sdd-cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Method-layer CLI for SDD repository lifecycle — init, sync, validate, list, plan, generate-briefing, mcp serve, catalogue {build,aggregate,validate,version}, pack {build,validate}, render {screen}. v0.40.0 closes out the ADR 0168/0169 screen-spec surface, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). (1) Source discrimination + the last depth finding: buildScreens reads `source:` from screen frontmatter (ADR 0135 — default screen-spec, screen-extraction for reverse-derived, others flagged) and carries it to ui_components rows; screen-evidence-missing (warn) fires when a reverse-extracted screen cites no [^…] evidence footnote, scoped to reverse-derived screens so forward authoring (no evidence claim) is exempt — all six ADR 0168 findings are now live. (2) Deterministic wireframe renderer: new `sdd-cli render screen <file>` verb lowers a screen-spec's openui-lang block to a structural-wireframe SVG — the deterministic companion to the LLM render-screen-wireframe skill. screen-tree.ts gains buildCompositionTree (cycle-safe, sharing a new parseStatements with analyzeComposition — metrics behaviour unchanged); archetype/resolver.ts exposes archetypeInfo (container flag + render hints); archetype/wireframe.ts resolves each node to an archetype, lays out nested boxes by the archetype's orientation hint, labels them component :archetype, and shades by resolution provenance (heuristic dashed, fallback dotted); platform comes from frontmatter, the overlay from .sdd/screen-validation.yaml. A structural wireframe, not a pixel design; parameterised entirely by the map (adopter-agnostic). 927 unit tests green (was 916; +5 source/evidence + +6 tree/wireframe). v0.39.0 completes the ADR 0168/0169 screen-spec depth surface with adopter-config wiring, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). New optional `.sdd/screen-validation.yaml` (loaded by screen-validation-loader.ts, returns null → method defaults, mirroring the .sdd/*-aliases.yaml pattern) carries three adopter-tunable params: flat_threshold (the screen-flat-composition N, default 6), decorative_primitives (component names that unlock screen-styling-primitive-as-structure), and archetype_overlays (per-platform {overrides: {Component: archetype}} refining the screen-root-is-leaf resolver, ADR 0169 §4.3). screens.ts now emits screen-styling-primitive-as-structure (warn) when a screen composes an adopter-flagged decorative primitive and threads the per-platform overlay into isContainerArchetype; build.ts loads the config and passes it into buildScreens. All three params no-op safely when unset (the vocabulary-free checks still run); the checks stay vocabulary-free — they consume adopter params, never hardcode them. Five of six ADR 0168 findings now live (flat / empty / status-gate / root-is-leaf / styling-primitive); only screen-evidence-missing remains deferred (needs forward/reverse source discrimination — source is hardcoded screen-spec). 916 unit tests green (was 910; +6 across the loader + styling-primitive + overlay-root-is-leaf paths). v0.38.0 implements sdd-method ADR 0168 (Screen-Spec Composition-Depth Validation) + ADR 0169 (OpenUI Archetype Maps and Screen Wireframe Rendering) — a fidelity floor on the screens family, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). The buildScreens path previously accepted any ```openui-lang block that parsed, so a low-fidelity reverse seed (flat / empty / mis-rooted \"widget bag\") was lowered into rows and could be marked status: working undetected. ADR 0168: new builders/screen-tree.ts parses the block into a composition tree (cycle-safe) and computes maxDepth / maxBreadth / rootChildCount / componentCount / containers; screens.ts strips inline # comments before the component + action scans (defect g — a Capitalised( token inside a comment no longer emits a phantom ui_components row) and emits screen-empty-composition + screen-flat-composition (warn) and screen-status-exceeds-depth (error) — a screen cannot claim the completeness-asserting maturity `working` (the sole such value in the ADR 0165 standard set {working, provisional, unknown, absent}) over an empty or flat composition. FindingsLog gains an optional severity (warn|error, default warn) + errorCount(); build.ts now fails the build on any error-severity finding by default, independent of --strict (the same tier as an internal FK failure). ADR 0169: new archetype/resolver.ts resolves a component name to a visual archetype (resolveArchetype → {archetype, provenance}, order override → default by_token after vendor-prefix strip → suffix heuristic → panel fallback) against a method-owned vocabulary (29 archetypes) + four default maps (web-generic / android / swiftui / uikit) vendored from sdd-method — vendor-standard names only, shipped to dist by copy-yaml-assets alongside canonical-schema.yaml; isContainerArchetype feeds the archetype-aware screen-root-is-leaf (error), which fires when a screen declares a known platform: and the map classifies the childless root as a leaf (combined with the appears-with-children heuristic) and no-ops without a platform: (the heuristic alone can't tell an empty container root from a leaf root). The flat-composition threshold N (default 6) is a builder input. The SVG wireframe renderer stays the LLM-driven render-screen-wireframe skill (sdd-method); a deterministic `sdd-cli render screen` verb is a deferred convergence target. Deferred within these ADRs: screen-evidence-missing (needs forward/reverse source discrimination — source is currently hardcoded screen-spec) and screen-styling-primitive-as-structure + manifest-wired adopter parameters (threshold / decorative-set / overlay). All checks reason about tree shape, status, and evidence presence only — never a component vocabulary (adopter-agnostic by construction). 910 unit tests green (was 882; +28 across screen-tree, resolver, and screens depth / status-gate / root-is-leaf / comment-leak tests). v0.37.0 ships catalogue schema 2.16.0 (additive minor; SCHEMA_COMPAT ^2.0.0 unchanged) implementing sdd-method ADR 0166 (Screen Specifications via OpenUI Lang Grammar) — the first forward-authorable + reverse-extractable UI-structure surface and the close of the last reverse-only parity gap (screens). Six new catalogues: screens + ui_components nodes and screen_component, screen_feature, persona_screen, screen_action edges (screen_action.event_id external-capable per ADR 0156); application-product profile, other profiles emit headers-only. New buildScreens builder reads authored screens/*.md screen-spec artefacts (YAML frontmatter + ```openui-lang block): Capitalised call heads → ui_components + screen_component (deduped), realises: → screen_feature and persona_access: → persona_screen (resolved via the feature/persona id maps, orphan findings when unresolved), action=\"...\" → screen_action (event_id best-effort, empty when no domain-event match); an entity-style slug normalises mixed-case component/feature keys. Phase Pre validated the design against a reverse adopter's real Vue 3 estate (research/adr-0166-prototypes/): component registry from the design-system barrel with nested-export resolution (114→183 components, zero genuine compose-only orphans), ~97 shell screens from the host-shell menu/passport registry, persona_screen via featureKey∈token-feature gating, screen_action from postMessage/event-bus messages. The from-code extraction is the reverse toolkit's job (reverse-screen-spec-extraction skill + workflow); the builder consumes the resulting screen-spec artefacts (source: screen-extraction) identically to forward authoring (source: screen-spec) per ADR 0135. 882 unit tests green (was 876; +6 buildScreens tests). v0.36.0 batches three wave-2 follow-ons, no schema change (2.15.0 retained; SCHEMA_COMPAT ^2.0.0). (1) ADR 0165 — features.maturity is wired from the feature-tree `[runway: X]` bullet marker when its value is in the standard set {working, provisional, unknown, absent}: the marker IS the maturity signal, so `maturity` (the cross-SDD-comparable column) is populated from it while `runway` keeps the full verbatim marker (adopter-owned, including non-standard values such as migration codes). Only the feature-tree bullet path sources a marker — feature-spec / capability-spec / feature-grounding leave maturity empty. features.ts gains STANDARD_MATURITY + maturityFromRunway(); the bullet row sets maturity: maturityFromRunway(ev.runway). Reverse adopter maturity 0 → ~185 (the standard-set subset of its 222 aggregated runway rows; the coordination doc's 388/393 was a raw pre-aggregation marker census, deduped to 222 runway / 185 maturity at aggregation); forward adopter unchanged (authors no markers — reverse-only today, a forward authoring source is a future parity item). (2) entities.glossary_term matcher — the glossary builder collapses multi-word term slugs (CONTAINER_MESSAGING → applications-containermessaging) while entitySlug hyphenates (container-messaging), so multi-word same-domain terms missed the exact/cross-domain-suffix match; resolveGlossaryTermBySlug in entities-mermaid.ts gains a boundary-insensitive SAME-DOMAIN fallback (compare hyphen-stripped forms, scoped to the entity's own domain to avoid cross-domain false positives). Reverse adopter glossary_term 100 → 142 (+42, e.g. CONTAINER_MESSAGING / VIEW_POOL / VIEW_POOL_ITEM / LOG_REQUEST / CANONICAL_EVENT / accountFeatures); forward adopter resolves via the manifest path, unaffected. (3) entitySlug acronym-boundary fix (ADR 0164 follow-on) — the [A-Z]{2,} rule that stops splitting a single leading capital off a following word (OAuthClient ≡ OAUTH_CLIENT), held from 0.35.0, ships here; reverse adopter persistence_kind 111 → 112 (OAuthClient resolves). Zero PK churn across both adopters. 876 unit tests green (was 871; +5 across the three changes). v0.35.0 implements ADR 0164 FSC-01 (Option A): the feature_subscription_channels builder now also reads the reverse-method per-domain reverse-evidence layout — `reverse-evidence/<domain>-feature-grounding.yaml` at the SDD root carrying a top-level `feature_subscription_channels:` list ({feature_slug, subscription_channels: [{name, transport, evidence}]}) — alongside the existing per-design-dir `features:` → `subscription_channels:` shape. The reverse adopter's per-domain files are capability-structured with no feature-level entries, so a top-level key is the right home (confirmed against the adopter's authored sample). The walker now collects both `feature-grounding-evidence.yaml` AND `*-feature-grounding.yaml` files in any reverse-evidence/ dir, and the parse loop gathers entries from both the `features:` and `feature_subscription_channels:` keys. Because the per-domain files are primarily authored for other tooling and aren't always strict YAML (backtick scalars, compact mappings), only the canonical per-design-dir `feature-grounding-evidence.yaml` surfaces read/parse-error convention findings — per-domain files that fail to parse are skipped silently (the builder isn't their validation authority). Validated against the reverse adopter's live authored block: 1 row (transport=other preserved verbatim — a custom API Gateway WebSocket broadcast, not AppSync; never auto-corrected), 0 spurious findings. No schema change (2.15.0 retained; SCHEMA_COMPAT ^2.0.0). 872 unit tests green (was 871; +1 per-domain-layout test). Companion wave-2 note: the 0.34.0 persistence_kind coverage at the reverse adopter landed at 109/263 — confirmed correct (the ~157 estimate counted Data Store Mapping store-rows, not distinct erDiagram-resolvable entities; 41 of 43 unresolved are legitimately data-store-only rows with no entity node, 2 are an entitySlug acronym-boundary edge — OAuthClient↔OAUTH_CLIENT — flagged for separate triage, not bundled here because entitySlug drives entity PKs catalogue-wide). v0.34.0 implements sdd-method ADR 0164 (Entity Persistence-Kind Reverse Source) — the tenth instance of the parity-series arc and the second on a node catalogue's descriptive columns (after 0.33.0's services columns). entities.persistence_kind was 0% on both reference adopters: the reverse adopter authors the physical store per entity in the `## Data Store Mapping` table's `Store` column (MySQL/MongoDB/DynamoDB/Kinesis/ActiveMQ/in-memory across four column-shape variants), and `service-entity-tables.ts` ALREADY parsed that table for service_entity edges but read past the Store column; the entity builders (entities-mermaid.ts, entities-manifest.ts) hardcoded persistence_kind empty. Phase Pre against live checkouts overturned the originating coordination doc's proposed mechanism: the doc proposed storing the raw engine family (MySQL/MongoDB/...), but the schema (ADR 0159) already defines persistence_kind as a CLASSIFICATION (relational-table | document-collection | event-payload | dto | view | other) with a [finding] convention on out-of-set values — storing engines verbatim would flag every row. Resolved by DERIVING the classification from the engine (the deriveLanguage precedent — a normalised token from a raw cell: MySQL/Aurora/Postgres→relational-table, Mongo/Dynamo→document-collection, Kinesis/ActiveMQ/Kafka→event-payload, in-memory/transient→dto, else other) and preserving the raw engine string in notes (store=...). New shared builders/data-store-mapping.ts holds the table primitives (findDataStoreTable/detectColumn/splitRow/collectTableLines/normaliseEntity) + derivePersistenceKind, refactored out of service-entity-tables.ts (byte-identical edge output, 12 tests green); new builders/entity-persistence.ts enrichEntityPersistenceKind runs in build.ts after the entity-id indexes exist, fill-if-empty (a persistence_kind already set is never overwritten), emitting a [finding] coverage with the fill count + any unmapped store values. erDiagram-only entities (not in any Data Store Mapping row) stay empty (legitimate partial coverage); forward-method adopters author a store-less Data Store Mapping (Entity | Owning Service | Notes — no Store column) so persistence_kind stays empty with no finding (reverse-only, like services runtime/status in 0.33.0). No schema change (persistence_kind exists since schema 2.13.0; SCHEMA_COMPAT ^2.0.0 unchanged). Cross-adopter validation: Connect (reverse) classifies 157 entities (relational-table 72 / document-collection 36 / dto 19 / event-payload 16 / other 14 — object/blob/cache stores like S3/Redis/Blob); Contextua (forward) 0 (store-less table → reverse-only, correctly empty). 871 unit tests green (was 857; +14 across data-store-mapping classification + entity-persistence enrichment). Wave 2 of the 2026-05-30 column-coverage audit also triaged feature_subscription_channels (Option A — builder to read the reverse adopter's per-domain reverse-evidence layout — accepted but deferred until channels are authored) and events.version (no action, unauthored both); see ADR 0164 §5. v0.33.0 implements sdd-method ADR 0163 (Service Metadata Forward Parity and Federated Reverse Enrichment) — the ninth instance of the parity-series arc and the FIRST on a node catalogue's descriptive columns rather than an edge, extending the ADR 0157 principle from edges to node columns. Two additive pieces, no schema change (schema 2.15.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). P1 (forward parity for services.description): the column now also sources from the FORWARD `repo-config.<repo>.description` field — already parsed by RepoConfigSchema but previously dropped (repositories.ts emitted no description column; services.ts never read it) — alongside the REVERSE `service-architecture.md ## Purpose` source 0.32.0 added. build.ts threads a repoId→description map off reposResult.configs into buildServices, which coalesces forward-wins-on-conflict with a [finding] divergence (usually a plain coalesce since an adopter authors only one of the two). Contextua (forward, 60/60 repo-configs carry description:) lifts services.description 0%→~100%; Connect unaffected by P1 (0% repo-config description; keeps the reverse ## Purpose source). P2 (federated reverse-metadata enrichment): the service-architecture parsing is extracted verbatim into a shared service-architecture-parser.ts (parseServiceArchitecture / readServiceMetadata / indexServiceArchitectures) imported by BOTH the per-SDD services builder and the aggregator — no behaviour change to the per-SDD path. aggregate.ts gains a post-services-union pass (enrichFederatedServiceMetadata) that backfills ONLY the empty reverse columns (runtime_type/language/status/confidence/description) on platform-root service rows whose service-architecture.md lives one federation hop away in a member SDD, indexing each sibling's <sddRoot>/repos/**/docs/service-architecture.md (the aggregator already resolves every sibling root) and matching repo-slug == service-id. Fill-if-empty (connect-local / platform-root metadata is never overwritten; order-independent across members); a slug whose arch doc exists in >1 member is AMBIGUOUS and refused with a [finding] convention rather than guessed; an enrichment [finding] coverage logs cells/rows filled vs still-empty. Option 1 (aggregator reads member repos/ docs directly) chosen over a per-member catalogues/ side-emission (1b) to avoid a schema touch while the deferred 3.0.0 cleanup is pending; member service-emission rejected (both reference adopters centralise the service inventory in the platform-root). Phase Pre validated both against live checkouts: Contextua 60/60 description: (P1 0→~100%); Connect's member arch-doc slugs resolve to platform-root service ids with ZERO cross-member collisions, and the shared parser was run against a live member arch doc (status/confidence/description extracted; runtime_type faithfully empty where the doc carries no Primary-runtime row). For Connect's 38-sibling federation this lifts the ~172 federated services (whose detail lives in member SDDs) from the 0.32.0 connect-local ceiling toward full inventory coverage. The four runtime/operational columns (runtime_type/language/status/confidence) are documented in the metamodel as reverse-only — forward-method adopters legitimately leave them empty (they declare service_type + dependencies). 857 unit tests green (was 843; +14: P1 forward-wins / reverse-fallback / divergence / no-false-divergence; P2 member-enrich / fill-only-empty / no-doc-stays-empty / ambiguous-slug-refused). v0.32.0 lifts catalogue-builder column coverage that the canonical builder previously hardcoded empty, with no schema change (schema 2.15.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged) — the source content already existed and was simply unwired (regression class from the retired python build-catalogues.py → canonical sdd-cli migration). Four builders now populate from existing source: (1) repositories.ts joins `docs/platform/reference/loc-report.csv` (keyed repo_name==id) to fill files/code/comment/blank/total_lines/languages (graceful coverage-finding when the report is absent, as in federated SDDs); (2) services.ts reads each service's `repos/**/docs/service-architecture.md` (recursive index over both flat repos/<repo>/ and grouped repos/<group>/<repo>/ layouts) — `## Runtime / Build Shape` Primary-runtime → runtime_type + derived language; `## Operational Status` Classification → status, Confidence → confidence; `## Purpose` lead paragraph → description (buildServices is now async + takes sddPath); (3) capabilities.ts extracts each spec's `## Overview` lead paragraph → description; (4) glossary.ts backfills glossary_items.canonical_term_id + aliases from the glossary_xref alias-of/references edges (same alignment manifest). Connect rebuild impact: repositories LOC 0%→95% (632/660); capabilities description 0%→99% (193/195); glossary canonical_term_id/aliases 0→6 (the genuinely cross-domain-duplicated terms, the G-02 data floor); services metadata to the 88/260 connect-local ceiling (status/confidence 33%, runtime/language 23%, description 30%) — the remaining 172 services' architecture docs live in federated member SDDs (a federation-topology follow-up, not a builder gap). 851 unit tests green (was 842; +9 across the four builders). v0.31.3 patches the per-SDD catalogue build to make keyed-table emission set-correct over the metamodel-declared primary key per `coordination/feature-edge-cross-source-duplicate-coordination.md` (sdd-method-gov, 2026-05-29) — the direct consequence of the 0.30.2/0.30.3 unconditional-emit fixes. Those fixes correctly stopped feature_repo / feature_service edges being dropped on feature-id collision by relying on each walker's per-walker seenFeatureService / seenFeatureRepo dedup sets; but those sets are fresh per walker, so when two edge sources (feature-grounding from design docs + capability-spec from product specs) assert the SAME feature→service / feature→repo fact, build.ts concatenated both contributions with no cross-source reconciliation, emitting duplicate edge PKs that `catalogue aggregate` then correctly rejected. New `dedupe-keyed-tables.ts` pass runs over every catalogue after collectRows: rows are grouped by the schema-declared primary_key; identical rows for the same PK union to one (silent — the same fact asserted by ≥2 sources is not an error); a same-PK/different-payload collision is a hard build failure with provenance, giving a build-time PK-uniqueness guarantee that catches this class of defect at `build` (where the offending SDD is unambiguous) one level earlier than `aggregate`. Generalises the per-walker guard across sources for ALL keyed tables, not just the two edge tables, so any future multi-source-derived table is set-correct by construction. Connect (first multi-source-edge adopter — feature-grounding + capability-spec both populating feature edges) is the first to exercise the overlap: a fresh build unioned 36 exact-duplicate edge rows (32 feature_service + 4 feature_repo) to 0 dup PKs with aggregate FK PASS and no post-build dedupe workaround; forward single-source adopters (Contextua) emit byte-identical output (no overlap to dedupe). 842 unit tests green (was 836; +6 dedupe-keyed-tables tests: cross-source union, feature_repo union, same-PK/different-payload conflict, null/empty cell parity, single-source untouched, empty-PK verbatim). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.31.0 implements sdd-method ADR 0162 (Platform-Dependencies Forward-Path Parity) — the eighth instance of the parity-series arc and the inverse direction of ADR 0157 (a reverse-only edge gaining its forward sibling). The `product-platform-dependencies` builder now multi-source ingests (ADR 0156 pattern): in addition to the reverse-method `reverse-evidence/feature-grounding-evidence.yaml` `platform_dependencies:` block, it reads the FORWARD source `app-platform-dependencies.yaml` at the SDD root — the same file product-edges already reads for product_capability / product_service. Phase Pre reframed the originating coord doc's Option A (a NEW `repo-config.platform_dependencies:` block): the forward authoring already exists in `app-platform-dependencies.yaml` (its `platform_dependencies:` entries carry capability_id + service_id), so reading it is zero-new-authoring rather than asking adopters to re-author. An entry needs both capability_id and service_id to form a product_platform_dependencies row (single-sided entries remain valid product_capability / product_service rows, skipped silently here). Merge by PK {product_id}__{target_capability_id}__{target_service_id}; forward wins on conflict (reverse entry dropped with [finding] divergence); within-source duplicates keep the first. The aggregator's deriveCrossSddPlatformCapability is unchanged — forward-sourced rows flow through the same per-SDD table, so cross_sdd_platform_capability populates automatically. Forward read is file-presence gated (the file only exists in consuming SDDs), covering both application-product and integration-product consumers. Predicted impact: the reference forward-method 35-sibling federation (already authoring app-platform-dependencies.yaml, feeding product_capability=55 / product_service=53) emits ~55 product_platform_dependencies rows on rebuild; reverse-method adopters unaffected (their reverse-evidence rows emit exactly as before). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. 834 unit tests green (was 830; +4 forward-source tests: forward-only emission, single-sided skip, forward+reverse merge on distinct PKs, forward-wins-with-divergence on PK conflict). v0.30.3 patches the capability-spec walker (`capability-spec.ts`) per `coordination/capability-spec-collision-edges-coordination.md` (sdd-method-gov, 2026-05-29) — the same two-level drop-edges-on-collision bug fixed for feature-grounding in 0.30.2, surfaced by the 0.30.2 defensive-review follow-up. capability-spec runs last of all feature sources (after feature-tree, feature-spec, feature-grounding), so in any forward SDD where feature-spec already emitted every feature, every capability-spec feature id collides; pre-0.30.3 the walker `continue`d past the whole row on collision, dropping its `feature_repo` + `feature_service` edge contributions (the edges live only in capability-spec's `## Feature Grounding (code-path trace)` columns per ADR 0145), and `build.ts:473-491` additionally gated those edges' storage on `featureRows.length > 0` — the identical second-level wiring bug feature-grounding had at `build.ts:431`. Latent in shipped catalogues today (no observed adopter authors edge-bearing capability-spec files that collide), but a real defect. Fix mirrors 0.30.2 exactly: collision skip narrowed to the feature row + capability_feature (those go to the earlier source); `feature_repo` + `feature_service` edges emit unconditionally (the existing `seenFeatureService` / `seenFeatureRepo` dedup sets prevent double-emission); edge storage in `build.ts` moved outside the row-count conditional, matching the grounding fix at `build.ts:445`. Divergence finding softened to '... wins; edges still emitted'. 830 unit tests green (was 830; existing capability-spec collision test extended to assert the colliding feature's `feature_service` edge still emits). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.30.2 patches the feature-grounding walker per `coordination/feature-grounding-collision-edges-coordination.md` (sdd-method-gov, 2026-05-29). Pre-0.30.2 the walker dropped the ENTIRE grounding row — including its `feature_repo` and `feature_service` edge emissions — whenever the feature id collided with a row already emitted by an earlier source (feature-tree or feature-spec). Because feature-spec extraction runs first and covers every feature with an authored spec, grounding's edge contribution was structurally unreachable in any forward SDD with a complete feature spec layer; the canonical builder contradicted ADR 0143 §2's stated purpose ('the three edge catalogues feature_repo, feature_service, capability_feature are easiest to populate from this source'). Fix narrows the collision skip to the row identity only — `features.csv` and `capability_feature.csv` go to the earlier source (correct per spec text: feature-tree/feature-spec carry runway / group / parent context that grounding doesn't), but `feature_repo` and `feature_service` edges emit unconditionally (correct per ADR 0143 §2: those edges live only in grounding's column shape). Phase Pre against the contextua-platform canary file at `docs/domains/party/design/organization-management/feature-grounding.md` (9 features, all pre-existing as feature-spec rows; all pointing at real `contextua-platform-code/party-management/src/...` paths) ALSO caught a second-level bug in `build.ts:431`: the `if (grounding.featureRows.length > 0)` block gated `feature_repo` storage on the row emission; in the all-collide case (every grounding row already exists from feature-spec), the walker would compute the repo edges correctly but `build.ts` would never persist them. Both bugs fixed in this patch; `feature_repo` and `feature_service` are now stored unconditionally from `grounding.*Rows` outputs. Cross-adopter regression on the canary: 0 → **9 feature_repo rows + 11 feature_service rows + 18 feature_event rows** (derived via ADR 0161's `feature_service ⋈ service_event` join); FK PASS. Divergence finding language softened to clarify edges still emit: 'feature id ... already emitted by an earlier source (feature-tree / feature-spec wins for the row; feature_repo + feature_service edges still emitted per ADR 0143 §2)'. Method docs amended: catalogue-builder-specification.md §'Feature grounding table form' precedence rule rewritten to spell out the narrow-collision semantics. 830 unit tests green (was 830; existing collision test extended to assert feature_repo + feature_service edges still emit for the colliding row; no new test files). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.30.1 patched the c4-systems walker per `coordination/c4-systems-l1-priority-bug-coordination.md` (sdd-method-gov, 2026-05-29). Pre-0.30.1 the walker's `L1_CANDIDATES` priority list read `docs/platform/diagrams/c4-l1-context.mermaid.md` first; in federated cohorts where siblings carry a syndicated copy of the platform-root L1 at that path AND also author their own L1 at `docs/c4-l1.md`, the walker would shadow the sibling's own L1. Result: every Connect application sibling's `c4_systems` row reflected the platform's description text instead of its own. Option A from the coord doc applied — `L1_CANDIDATES` order reversed so `docs/c4-l1.md` ranks first (sibling's own L1), `docs/platform/diagrams/c4-l1-context.mermaid.md` ranks last (platform-root's own L1 / syndicated fallback). The platform-root SDD is unaffected — its own L1 IS the syndicated path; the walker now reaches it via fall-through to priority 4, reading identical content. Sibling SDDs that don't author their own L1 (Connect's 23 data-capture + 4 mobile siblings) also unaffected — they fall through to the syndicated copy as before. Cross-adopter regression: Connect cold-chain (forward-method application sibling with own `docs/c4-l1.md`) — `c4_systems` row refreshes from `name=Connect, description='Fleet management platform...'` to `name=Cold Chain, description='Temperature monitoring, alarm management, and EN 12830 compliance reporting'`; FK PASS. Connect calamp (data-capture, no own L1) — row unchanged. Connect + Contextua platform-roots — unchanged. Method docs amended: catalogue-builder-specification.md §Builder-inputs gains the priority-ordered candidate list with rationale; catalogue-metamodel.md §C4System gains the L1 source resolution paragraph. 830 unit tests green (was 828; +2 cross-adopter regression tests: own-L1-wins-over-syndicated; data-capture-fallback-preserved). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged. Important: v0.30.0 (released same day) did NOT include this fix — that release shipped the separately-tracked C4 L3 components walker. Patch sequence: 0.30.0 = L3 walker; 0.30.1 = L1 priority fix. v0.30.0 shipped the C4 L3 components walker per `coordination/c4-l3-walker-and-path-convention-coordination.md` (sdd-method-gov, 2026-05-29). New `c4-components.ts` walker reads `c4-l3-*.mermaid.md` files from the same three location patterns as the L2 walker (per-domain under `docs/domains/<dom>/architecture/diagrams/`; platform-wide at `docs/platform/diagrams/`; per-product at `docs/`). Each `Component(...)` inside a `Container_Boundary(local_id, \"Display Name\")` emits one `c4_components.csv` row with id=`{container_id}-{component-slug}`. container_id resolution: slugify the Container_Boundary's display name and match against `c4_containers.id` rows ending in `-{slug}`; unresolved boundaries fire `[finding] orphan: c4_components: ... Container_Boundary \"X\" doesn't resolve to a c4_containers row — N component(s) skipped`. `service_id` is denormalised from the resolved container. Walker is granularity-agnostic — both per-container files (one Container_Boundary block per file) and per-domain rollup files (multiple Container_Boundary blocks per file) produce identical row output; adopters pick the shape that suits their workflow. The earlier Path-B deferral (build.ts comment, since superseded) assumed reverse-method code-walking for L3; this walker is the forward-method analogue. Phase Pre against both reference adopters confirmed: 0 c4_components rows pre-fix in both (universal-empty across 121 Contextua containers + 329 Connect containers; no L3 file authored anywhere); the L2 walker is the structural template. Cross-adopter regression: Contextua + Connect each emit 0 c4_components on tag day (no L3 files authored yet); FK PASS in both; no regression to c4_containers / c4_systems / persona_c4system row counts. 828 unit tests green (was 818; +10 buildC4Components tests covering single-component, per-domain rollup, orphan resolution, platform-wide path, per-product path, service_id denormalisation, responsibility emission, dedupe, empty-input). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. Phase Pre also surfaced a separate pre-existing bug (c4-systems walker prioritises syndicated platform L1 over sibling's own `docs/c4-l1.md` — every Connect sibling's c4_systems row currently reflects platform content) — filed as a follow-on coord finding in sdd-method-gov, not blocking this release. v0.29.1 patched the personas walker per `persona-walker-platform-product-gap-coordination.md` (sdd-method-gov, 2026-05-29). The walker was profile-gated to application-product only, so platform-product SDDs that author Person() shapes on their L1 context diagram (the natural location for cross-app personas — Group Manager, Operator, Platform Admin, etc.) had no canonical source for the personas walker to resolve against. Every build emitted N coverage findings (one per declared Person) and `persona_c4system` materialised 0 rows from those declarations. The walker now reads `personas/<slug>.md` at SDD root regardless of profile — each SDD's personas/ holds personas at that SDD's scope (application-product: app-specific; platform-product: platform-wide/cross-app surfaced on L1). Phase Pre against both reference adopters surfaced that the original coordination doc's 'symmetric with ADR 0146' framing was incorrect — ADR 0146 chose Option C (cross-app journeys routed through `docs/domains/applications/product/features/cross-app-journeys/` via the capability-spec-as-feature-source pipeline per ADR 0145), NOT a walker extension. The user_journeys walker stays profile-gated to application-product (confirmed in user-journeys.ts:59). With no walker-extension precedent to mirror, the location decision needed fresh argument; relaxing the profile gate (the location both reference adopters independently tried first) is the smallest method change and the obvious-to-authors path. Cross-adopter regression: Contextua (had already authored 4 persona files at `personas/` SDD root before discovering the gap, per coord doc evidence) — 0 → **4 personas + 4 persona_c4system** edges (all 4 L1 Person declarations resolve cleanly: Group Manager, Operator, Partner Developer, Platform Admin). FK PASS. Connect (no personas/ authored yet) — stays at 0 + 0 rows; gains one new informational `personas/ not found` finding under platform-profile (the previously-silent gap is now visible). FK PASS. Sibling application-product SDDs unchanged (regression-checked). 818 unit tests green (was 817; +2 cross-profile personas tests, -1 application-product-only gate test). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged. v0.29.0 shipped catalogue schema 2.15.0 (additive minor) implementing sdd-method ADR 0161 (Feature-Event Derived Edge) — the seventh instance of the parity-series arc and the completion of the capability/feature/service trio of materialised event edges. New edge catalogue `feature_event` (id, feature_id, event_id, role, source) emits from the pure derived join `feature_service ⋈ service_event`, mirroring ADR 0160's capability_event derived path one rung lower in the hierarchy. PK is `{feature_id}__{event_id}__{role}` so a feature can carry both publishes + consumes rows for the same event without collision. No authored shape — every row carries source=derived (the authored signal lives at the service level via service_event, which the feature inherits through feature_service). Phase Pre against both adopters surfaced three findings that materially changed the original coord doc's premise: (1) the parent dependency `events-catalogue-builder-gap-coordination.md` claim that Connect's events.csv = 0 was stale; 0.26.1's slug-from-name patch has events.csv at 62 rows + service_event at 61 rows + capability_event at 144 rows; no parent blocker existed for this work; (2) the existing `feature_subscription_channels` table in canonical-schema is for GraphQL/MQTT/AppSync push channels (sourced from `reverse-evidence/feature-grounding-evidence.yaml` `subscription_channels:` entries per schema 2.9.0), NOT for event-bus subscriptions as the metamodel doc and coord doc both assumed — Track A reconciles the metamodel doc to match canonical-schema's actual semantics; (3) the (feature, event) edge the coord doc imagined is a different concept entirely and is the right scope for materialisation. Cross-adopter regression: Adopter A (Connect, reverse-method) — 0 → 82 derived rows (FK PASS; Phase Pre estimated 55, actual higher because service_event has 61 rows averaging ~2.7 features/service via feature_service's 556 rows); Adopter B (Contextua, forward-method) — 0 → 0 rows (feature_service.csv = 0 today; will populate when ADR 0143's feature-grounding extractor gets a forward-method analogue, same parity gap as platform-dependencies). 825 unit tests green (was 817; +8 buildFeatureEvent tests covering single match, fan-out across features, fan-out across services, both publishes+consumes for same (feature, event), unknown-feature/event filtering, empty input, source=derived assertion). SCHEMA_COMPAT (^2.0.0) unchanged. v0.28.0 shipped catalogue schema 2.14.0 (additive minor) implementing sdd-method ADR 0160 (Capability-Event Multi-Source Ingestion) — the sixth instance of ADR 0157's parity principle and the cleanest 'builder reads X, adopter authors Y' instance in the parity series (a forward adopter actively authoring event intent in a shape the builder never read). The `capability_event` walker (`event-edges.ts::buildCapabilityEvent`) now reads three equal-status sources merged by PK: (1) forward shape A — legacy `traceability.events[{id, role}]` (unauthored across observed adopters, retained for compatibility); (2) forward shape B — `traceability.contracts.published_events[]` / `consumed_events[]` with `{event, status, notes}` (the observed forward-method shape; event name slug-resolves against events.csv via the same normaliser the events walker uses; pre-lock sketches fire `[finding] orphan` rather than dropping silently); (3) reverse-derived — `capability_service ⋈ service_event` join on service_id (zero-authoring associative path; no role filter because Phase Pre verified the originally-proposed role=primary filter is ineffective in practice — Connect 144 → 144). Authored wins on PK conflict. New `source ∈ {authored, derived}` column distinguishes authoritative ownership from associative coupling for governance queries — the 2.4× fan-out in Adopter A (services owning multiple primary capabilities) makes the provenance signal non-negotiable. The retired `## Related Events` capability-spec heading is struck from the canonical schema description, both reverse skills (`reverse-capability-spec-synthesis`, `reverse-event-catalogue-authoring`), and the metamodel — no adopter authored it and the template never carried the section. Cross-adopter regression: Adopter A — 0 → 144 derived rows (FK PASS); Adopter B — 0 → 21 derived rows + 4 shape-B orphan findings for sketches (calendars events pre-lock, will populate authored rows at contract lock-in; FK PASS). 809 unit tests green (was 802; +7 shape-B and derived-path tests). SCHEMA_COMPAT (^2.0.0) unchanged. v0.27.1 patched two issues in the 0.27.0 ADR 0159 walkers reported by adopter cross-validation: (a) profile-gates entities-manifest + glossary-xref to platform-profile only — both walkers read the platform-owned `docs/platform/reference/glossary-alignment-manifest.yaml`, which adopters syndicate verbatim to sibling application-product / integration-product SDDs for documentation accessibility; without profile-gating, every sibling re-emitted the same entity registry locally with unresolved-domain PKs, then collided en masse at aggregation (one adopter reported 304 duplicate-entity findings across 35 siblings). Mirrors the precedent set by domain-models.ts per ADR 0142. (b) platform-wide PK shape: replaces the leading-hyphen `-{slug}` PK for the 107 entries with `domain: platform-wide` with the sentinel-prefix `_platform-wide-{slug}`. The underscore prefix is unreachable via entitySlug (slugify strips underscores), so the sentinel can't collide with any real domain id including ecosystem-named domains. Cross-adopter regression: contextua-platform — entities=411 unchanged at platform-root; 107 platform-wide entries carry `_platform-wide-*` PKs; sibling SDDs cease re-emitting (0 entity rows from siblings); aggregator exit 0 cleanly. Connect — entities=263 unchanged (no `domain: platform-wide` entries authored); 0 `_platform-wide-*` PKs; FK PASS. 802 unit tests green (was 800; +1 profile-gate test per walker). Schema 2.13.0 unchanged; SCHEMA_COMPAT (^2.0.0) unchanged. v0.27.0 shipped catalogue schema 2.13.0 (additive minor) implementing sdd-method ADR 0159 (Data-Model Entities as First-Class Catalogue Nodes) — the fourth instance of ADR 0157's parity principle. Four new catalogues land in one release: entities (data-model entity nodes — distinct from glossary_items vocabulary and from domain_models files); service_entity (services touching entities, relation=owns from Data Store Mapping tables); c4_container_entity (transitive: service_entity ⋈ c4_containers.service_id); c4_system_entity (aggregation: c4_container_entity ⋈ c4_containers.system_id with container_count). Five walkers: entities-manifest (forward: models[].entities[] in glossary-alignment-manifest.yaml; handles platform-wide non-canonical domain, duplicate model entries, superseded status with superseded_by); entities-mermaid (reverse: parses erDiagram blocks in domain_models doc_paths; handles UPPER_SNAKE/PascalCase/lowercase entity authoring, multi-erDiagram-per-file with within-file dedup, Mermaid comments, relationship-arrow skipping, mixed-diagram-types-per-file); service-entity-tables (reverse primary: ## Data Store Mapping markdown tables with heading + column-shape variants, compound owning-service split on ' / ', trailing-parenthetical-annotation strip, cross-domain entity-resolution fallback); c4-container-entity + c4-system-entity (pure derivations, graceful empty-input). New optional alias map at docs/platform/reference/service-name-aliases.yaml resolves adopter display names ('App Shell UI', 'Cloud Bridge', etc.) to canonical services.id; graceful degradation when absent. New entity-aware slug helper (entity-slug.ts) adds an ALLCAPS-then-Pascal split rule on top of the base slugify so OBUConfigurationTemplate and OBU_CONFIGURATION_TEMPLATE produce the same slug — kept local to the entity walkers to avoid affecting events/contracts/capabilities (per ADR 0159 §4.6 deferred decision). Phase 1.1 entity_glossary lift: now also appends rows from entities.csv (reverse-method side) when glossary_term FK is populated, on top of the existing forward-method emission per ADR 0158. Cross-adopter regression: contextua (forward, pre-lock) — entities=411 (manifest-sourced), service_entity / c4_container_entity / c4_system_entity = 0 (empty-input regression-checked); FK PASS. Connect (reverse, mono-SDD platform-product) — entities=263 (Mermaid-extracted across 11 domains; matches Phase Pre prototype), service_entity=97 (heuristic-only resolution against the Data Store Mapping tables; ~135-155 expected after alias-map authoring per ADR 0159 §4.7), c4_container_entity=88, c4_system_entity=82, entity_glossary lifts from 6→100; FK PASS. Phase Pre prototypes (sdd-method/research/adr-0159-prototypes/) ran the walkers as throw-away Python against both adopters before committing to the spec — first ADR in the parity series to formalise this discipline after the 0.26.0→0.26.1 patch cycle showed real-data validation was needed. SCHEMA_COMPAT unchanged (^2.0.0). v0.26.1 fixed two Phase 1 outcomes from v0.26.0's three-ADR rollout, reported by adopter cross-validation. (a) ADR 0156 events walker: required explicit `id:` field on event-catalog.yaml entries, but the original coordination doc spec was \"derive id from name (slugged)\". Connect's authoring uses `name:` only, so all ~62 events skipped in 0.26.0. Walker now derives id-from-name when id absent (lowercase, hyphenate camelCase boundaries, replace non-alphanumerics with hyphens; explicit id wins when both present; within-domain slug collisions fire divergence finding). (b) ADR 0157 §4.2 amendment: repo_contract had only `contracts.source_repo_id` as its reverse derivation, but Connect's 0/30 source_repo_id outcome left them empty. Added a universal Path X analogous to §4.3 — `service_contract ⋈ services.primary_repo_id` (a service exposing a contract is implemented by a repo; the repo \"owns\" the contract). Schema 2.12.0 unchanged; SCHEMA_COMPAT (^2.0.0) unchanged; pure derivation-logic patch. Cross-adopter regression: contextua-platform — 108 repo_contract rows preserved (Path X reproduces forward-path edges; dedup keeps 108 net); Connect expects ~57 new rows via Path X plus ~62 events plus all downstream service_event edges once they rebuild. v0.26.0 ships catalogue schema 2.12.0 (additive minor) implementing three ADRs in one release: ADR 0156 (Event Catalogue Multi-Source Ingestion) adds the reverse-method `docs/domains/<domain>/contracts/events/event-catalog.yaml` walker alongside the existing forward avsc path — YAML wins on name/domain/publisher/transport/consumers; avsc augments schema_path/version when YAML is null. Transport enum opens (no hardcoded \"nats\" default); recommended values surface a convention finding when violated. service_event edges populate from YAML's publisher + consumers[] in addition to repo-config events.produces/consumes. ADR 0157 (Forward-Declared / Reverse-Derived Parity for Edge Catalogues) codifies the principle that every edge with a forward declared source MUST also have a reverse derived source, applied here to repo_capability + repo_contract: reverse derivations add `capability_service ⋈ services.primary_repo_id` (universal Path X) and `capability_feature ⋈ feature_repo` (Path Y via ADR 0143 evidence) for repo_capability, and `contracts.source_repo_id` denormalisation for repo_contract — alongside the existing forward-declared `additional_context:` / `repo-config.contracts:` paths. The orphan-finding pattern surfaces when reverse paths can't derive (e.g. capability_service rows referencing services with empty primary_repo_id). ADR 0158 (Glossary Cross-Reference Multi-Source Ingestion) extends glossary_xref ingestion from one walker to four (forward declared pair-form, reverse cross_domain_terms, reverse multi-domain conflicts with field-inspection disambiguation, forward supersedes via models[].entities[].superseded_by) plus introduces a new sibling edge catalogue entity_glossary for data-model-entity → glossary-term mappings (status ∈ {aligned, matched_direct}). Dedupe by (domain, entity_name, glossary_item_id) collapses same-domain multi-diagram entries while preserving cross-domain cross-level cataloguing. glossary_xref.relation enum extends from {alias-of, conflicts-with} to {alias-of, conflicts-with, references, supersedes}. SCHEMA_COMPAT unchanged (^2.0.0); additive minor across all three ADRs. Cross-adopter regression verified: contextua's existing forward-path rows (12 repo_contract, 78 events, 42 service_event) preserved exactly; new reverse-path additions (+30 repo_capability via Path X; +10 entity_glossary). v0.25.3 ships catalogue schema 2.11.0 (additive minor): relaxes c4_systems.product_id to a nullable FK. Every product is a system, but not every system is a product — external/SaaS systems catalogued as c4_systems (e.g. Salesforce, DocuSign, Zendesk) legitimately have no owning product. The FK + column were nullable: false, so organisation-level aggregation FAILed with dangling-FK errors on c4_systems rows whose product_id is empty (63 such across the bko/latam/masternaut platforms). The FK validator already passes nullable empty values (fk-validator.test.ts \"treats nullable FK with empty value as PASS\"), so no logic change. Builds with populated product_id (e.g. connect, where every c4_system has an owning product) are unaffected — nullable is strictly more permissive. SCHEMA_COMPAT unchanged (still ^2.0.0); backward compatible — existing 2.10.0 catalogues read unchanged, no migration. v0.25.2 fixes a sync bug: bundle.ts inferred is_forward_base from isBundleName (true for ANY known bundle) instead of isForwardBase, so an additive bundle that omits is_forward_base in its manifest — every sdd-method-cut reverse-extension-baseline — was misclassified as a forward base, making `sdd-cli sync` throw \"Forward-base bundle reverse-extension-baseline has no profile mapping\" and blocking adopters from layering the reverse extension over a forward base. Inference now uses isForwardBase (additive bundles correctly resolve to false). v0.25.1 is a conformance patch: v0.25.0's notes advertised that the legacy c4_containers types Infrastructure / External System \"remain recognised-but-WARNed during the 2.x line\", but no code emitted that finding (the builder-spec's \"a conforming builder MUST emit [finding] convention\" was unimplemented). v0.25.1 adds checkContainerTypeAdvisory, wired into both `catalogue build` and `catalogue validate`, emitting a `convention` finding for any c4_containers.type outside the canonical c4_container_type set {Application, Data Store}. It reads the allowed values from the schema enum (no hardcoded list) and self-disables once the enum is bound via column_enums (the 3.0.0 hard-fail path) or removed — handing off cleanly at the major bump with no double-reporting. The validate path has teeth (it fires over an existing catalogues/ dir — e.g. an adopter who upgraded sdd-cli but has not yet rebuilt a catalogue still carrying Infrastructure rows from the old builder, which is the warn-then-enforce migration window ADR 0155 §4.3 relies on before 3.0.0); the build path is defensive (the canonical builder derives type from the C4 macro and cannot emit a legacy value). No schema change; SCHEMA_COMPAT unchanged (^2.0.0); patch release. v0.25.0 ships catalogue schema 2.10.0 (lockstep with sdd-method ADR 0155 — Align C4 Catalogue Capture with Strict C4 Abstractions), bringing the catalogue's C4 layer into line with c4model.com/abstractions. New node catalogue c4_external_systems (C4 L1 external software systems extracted from System_Ext(...) / Container_Ext(...) on L1+L2 mermaid; id = ext-{slug}); new edges persona_c4system (the C4 Person-uses-System relationship, mapping Person(...) actors to personas rows — the C4 Person abstraction reuses Persona) and system_external_dependency (system integrates-with external, from Rel(...) lines, collapsed to system level per ADR 0155 §4.2). New advisory enum c4_container_type = {Application, Data Store}: the c4-containers builder now types ContainerQueue as Data Store (was the non-canonical \"Infrastructure\") and no longer emits Container_Ext as an internal container row (external containers are catalogued as c4_external_systems); the legacy types Infrastructure / External System remain recognised-but-WARNed during the 2.x line and are removed at the 3.0.0 major bump (the enum is intentionally not bound in column_enums until then). The aggregator dedups c4_external_systems by id across SDDs rather than failing the duplicate-PK check — the one narrowly-scoped exception per ADR 0134, since the same external system (e.g. ext-google-maps) is legitimately declared by multiple SDDs; attribute conflicts on a shared id surface as a convention finding. SCHEMA_COMPAT unchanged (still ^2.0.0); additive minor. v0.24.0 ships sdd-mcp Phase 8 — catalogue resources + tools on the read-only MCP server (sdd-method ADR 0128 + ADR 0150). New resources: sdd://catalogue/schema (vendored canonical schema as JSON), sdd://catalogue/metamodel, sdd://catalogue/category-taxonomy, sdd://catalogue (list of built catalogues), and sdd://catalogue/{name} (rows from catalogues/{name}.csv, validated against the schema, distinguishing not-declared from not-built). New tools: query_catalogue_coverage (row count + internal-FK pass), find_products_by_category, find_orphan_rows (broken internal FK targets), and query_edges_for_entity (every edge row referencing an entity). All reuse the existing src/lib/catalogue schema-loader + csv-reader rather than re-parsing; FK checks consider internal FKs only per ADR 0134 (external FKs are validated at aggregation). Markdown resources try the post-IA path (guides/, standards/) then fall back, returning a structured 'run sdd-cli sync' error when absent. v0.23.1 patches v0.23.0: `sdd-cli pack build` now populates source_commit + source_branch in the rendered BUNDLE_MANIFEST.yaml from `git rev-parse HEAD` / `git rev-parse --abbrev-ref HEAD` against the producer-repo working tree, matching sdd-method's build-method-baseline-bundle.sh provenance behaviour. Non-git producer dirs (CI artefact directories etc.) get the sentinel \"uncommitted\" so consumer-side parseManifest (which rejects empty source_commit) still accepts the bundle. Pre-v0.23.1 packs wrote empty strings and were unsyncable — discovered during the contextua-platform Phase 7 first-adopter pilot (ADR 0151) when operations-console refused the first build of contextua-app-context-pack@v0.1.0. v0.23.0 ships the adopter pack producer + consumer surface per sdd-method ADR 0151 (companion plan adopter-bundle-producer-model.md Phases 3a + 3b + 3c). New `pack` verb with build and validate subcommands lets platform-profile adopters (contextua-platform, CXS Connect) produce additive-layer bundles from a context-pack-seed.yaml declaration. The builder validates the seed against the canonical schema, resolves include: directives across files, expands managed_paths (literal + glob against the producer working tree), runs a producer-side leakage check (disjointness with the declared forward base + disjointness with declared forbidden_paths globs), stages the payload tree, emits SHA-256 checksums per managed file, renders BUNDLE_MANIFEST.yaml mirroring the .hbs template shape, and produces <pack-name>-v<semver>.tar.gz + sidecar .sha256. Consumer-side enforcement extends `sdd-cli sync` for the multi-bundle lock chain: requires_forward_base resolution verifies the consumer's lock carries a compatible forward base; requires_pack resolution enforces vertical-extension dependencies with full semver-range support (caret with pre-1.0 narrow per npm convention, tilde, exact pin, >=); the existing cross-bundle path-ownership check now functions for adopter pack names too (consumer-side leakage assertion); produced_by_adopter / scope / requires_forward_base / requires_pack carry from the manifest into the lock entry as additive optional fields preserving lock_version: 2. New `sdd-cli sync --config <path>` reads a multi-bundle method-baseline.config.yaml (ordered bundles[].source list) and iterates each through the single-bundle sync engine — mutually exclusive with --bundle. `sdd-cli list` surfaces adopter pack provenance: forward-base version in the repo line plus indented `+ <pack-name> <version> from <adopter-repo> [requires <base-pack>]` lines beneath; --verbose adds per-bundle managed_path counts; JSON format adds a per-repo bundles[] array carrying full provenance. Type relaxation: BundleManifest.bundleName and BundleEntry.name widened from the closed BundleName enum to string (adopter pack names are arbitrary per ADR 0151); the closed enum still applies to sdd-method forward bases, validated at parse time only when is_forward_base: true. BundleManifest parser migrated from line-by-line scalar regex to the existing yaml library dependency for nested requires_forward_base / requires_pack object parsing. v0.22.0 bundles three landed scopes. (a) ADR 0141 Phase 5 — `--agent-harness` flag on init/sync now accepts `github-copilot-cli` as the second reference implementation alongside the `claude-code` default; Copilot CLI sync writes `.github/hooks/{pre-tool-use,session-start}.json` with the same sentinel-based ownership pattern as the Claude Code `.claude/settings.json` block. Default changes from \"unset\" to `claude-code`; existing adopters on v0.12.2+ get sentinel-tagged-in-place via the dedupe pre-pass. Unknown harness values fail loudly instead of warning. (b) ADR 0148 Phase 4 — init and sync now emit `agent-instructions.md` at the SDD root (harness-neutral, fully method-managed, unconditional overwrite) plus a thin harness wrapper (`CLAUDE.md` under claude-code, `AGENTS.md` under github-copilot-cli) with `<!-- method-managed: begin/end -->` markers; adopter content around the marker block survives sync via the existing `writeMarkedBlockFile` machinery. The v0.3–v0.21 `generate-claude-md` verb + native rich-content renderer retire; the new `generate-briefing` verb regenerates both files from the on-disk templates for the no-bundle-sync case. Older bundles pre-dating ADR 0148 templates sync gracefully with a \"Skipped\" log line. Existing repos carrying a hand-rolled CLAUDE.md without markers will see the wrapper rewrite refused on first sync; pass --allow-overwrite after rehoming any custom content (covered in the upstream agent-instructions-migration-guide). (c) Catalogue schema 2.9.0 (lockstep with sdd-method v0.10.0 reverse-extension-baseline v0.9.0) carrying the Track 2 cohort-sweep field additions per content/plans/v0-9-0-cohort-sweep-derived-bundle.md: capabilities now carries data_subset (foundational/synthesis-tier keying axis) + slice_scope (multi-app-group capability slicing — same capability_id may appear with distinct slice_scope values, row identity becomes (id, slice_scope)); new per-feature edge catalogue feature_subscription_channels built from reverse-evidence/feature-grounding-evidence.yaml subscription_channels: entries (AppSync WebSocket / Pekko WS / MQTT / SSE channel layer, peer of graphql_operations: per resolved §1, kebab name + transport + evidence + optional payload_ref); new per-SDD edge catalogue product_platform_dependencies built from the product-scoped platform_dependencies: block in the same evidence file; new federated edge catalogue cross_sdd_platform_capability derived by the aggregator joining product_platform_dependencies × capability_service on target_service_id == service_id, emitting one row per resolved (consuming-product, platform-capability) pair with orphan findings for unresolved references. SCHEMA_COMPAT unchanged (still ^2.0.0); additive minor across both new catalogues and capability column additions. v0.21.0 ships catalogue schema 2.8.0 closing the long-tail contract-consumer mapping gap (K-03a). The contracts builder now also walks the platform-profile layout `docs/domains/<dom>/contracts/{openapi,proto,avro}/<file>.<ext>` documented in reverse/workflows/contract.md, in addition to the canonical `contracts/<subdir>/<dom>/<file>.<ext>` layout — backward-compatible additive change for federated SDDs that don't carry per-domain contracts. Adds a new buildServiceContractConsumes builder that parses each service's `repos/<service>/docs/service-architecture.md` External Interfaces table, reads Outbound rows, and emits `service_contract` rows with role=consumes via an adopter-supplied `.sdd/service-contract-aliases.yaml` (case-insensitive interface_aliases + interface_contains substring tier + same_product_inference templates with `{prefix}` substitution). Schema 2.8.0 marks service_contract.contract_id as external:true so federated SDDs can emit consumes rows pointing to platform-root contracts; aggregator validates the merged catalogue. Resolution failures become convention findings, not FK-invalid rows. Pattern documented in sdd-method ADR 0147. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.19.0 ships catalogue schema 2.6.0 (lockstep with sdd-method): adds optional `sub_integrations:` array on integration-manifest.yaml per ADR 0144. Multi-provider integration monoliths (modernisation-in-flight or intentional permanent gateways brokering N providers) can declare each provider; the integrations.ts builder emits one integrations.csv row per sub_integration with parent_product_id = umbrella SDD's integrationId. Uses the existing parent_product_id column — no new schema columns. Backward compatible (optional field); SDDs without sub_integrations emit identical output to pre-2.6.0. Originating motivation: connect's sdd-camera-platform-legacy covering Surfsight v2 + VisionTrack v1/v2 + SureCam in one Spring-Boot codebase. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.18.0 ships catalogue schema 2.5.0 (lockstep with sdd-method): adds feature-grounding source per ADR 0143. Canonical builder walks `docs/domains/<dom>/design/<capability>/feature-grounding.md` (platform-profile) and `docs/design/integration/feature-grounding.md` (integration-product), parses the markdown table form, and emits features.csv rows (source: feature-grounding, capability-owned) plus capability_feature / feature_repo / feature_service edges derived from the table columns. Optional per-SDD `.sdd/feature-grounding-aliases.yaml` translates display names (class names, file basenames) to canonical service / repo ids. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.17.0 enables multi-level federation: organisation-level SDDs can now aggregate from organisation-level children (e.g. CXS aggregating sdd-mining, sdd-latam) via optional level: organisation field on siblings, skipping manifest requirements for pure orchestration repos. v0.16.0 adds organisation-profile support for system-of-systems aggregators (e.g. CXS aggregating sdd-connect, sdd-mining, sdd-latam), closing the gap for organisation-level SDD manifests. v0.15.0 ships catalogue schema 2.4.0 (lockstep with sdd-method): adds feature_contract derived edge (forward: capability_feature ⋈ capability_contract; reverse: feature_service ⋈ service_contract) closing the Capability → Feature → Contract chain pre-implementation, plus the new DomainModel entity per ADR 0142 with domain_models / capability_domain_model / feature_domain_model catalogues sourced from a new traceability.domain_model manifest field (forward) or docs/domains/*/architecture/data-model.mermaid.md file-system scan (reverse). Platform-profile only for domain_models; the metamodel now also documents non-catalogued method artefacts (work orders, discovery stories, execution stories, traceability manifests) so it's a complete reference for the forward SDD method's artefact set. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.14.1 patches v0.14.0's domains-builder fix: products-builder now also clears domain_id for non-platform-profile rows even when manifest.domainId is declared. v0.14.0 stopped emitting umbrella domain rows but products.domain_id (and the applications.csv filtered view) still pointed at them, dangling at FK validation. Per ADR 0136 + schema description for products.domain_id, app/integration/support products do not have a primary domain — the builder now honours that statement regardless of manifest declaration, and emits an inferred finding when a manifest-declared value is overridden. v0.14.0 ships two post-v0.9.0-release fixes surfaced by the connect-cohort sync: (1) sync now enforces minimum_sdd_cli_version declared by bundle manifests — previously the orchestration check existed only in the shell sync script and was a no-op when adopters used `sdd-cli sync`, leaving the safety net for stale-CLI scenarios silently absent; (2) per ADR 0136 (App and Integration Products Do Not Belong to a Primary Domain), the domains.ts catalogue builder now skips row emission for non-platform-profile SDDs — application-product and integration-product SDDs that have a docs/domains/<umbrella>/ subdirectory as a structural-organisation convention no longer emit a member-declaration row that collides on PK at aggregation against the canonical platform-profile contribution. v0.13.2 fixed the aggregator's sibling-vendored-schema cross-check to use semver range satisfaction against SCHEMA_COMPAT.catalogue_schema (^2.0.0) instead of strict equality — siblings vendored at lower minor versions inside the same major are now accepted, unblocking aggregation across federated cohorts where the canonical schema is ahead of the bundled schema. v0.13.0 ships the feature-tree.md bullet parser per sdd-method schema 2.2.0 + plan extract-feature-tree-bullets.md: application-product builders now emit features.csv rows with source: \"feature-tree\" from per-app feature-tree.md bullets, populating the previously-empty edge catalogues (persona_feature, journey_feature) for portfolio monoliths whose feature inventory lives in the bullet form. Adds the optional runway column on features.csv with adopter-owned controlled-vocabulary validation via feature-runway-vocabulary.yaml at the SDD root. v0.12.2 dedupes equivalent unmarked adopter PreToolUse entries on settings.json upsert. v0.12.0 extends the integration profileType enum to 11 values (per sdd-method ADR 0137) and fixes the init→sync conflict. v0.11.0 shipped the canonical catalogue surface per ADR 0134 + schema 2.1.0.",
|
|
3
|
+
"version": "0.46.0",
|
|
4
|
+
"description": "Method-layer CLI for SDD repository lifecycle — init, sync, validate, list, plan, generate-briefing, mcp serve, catalogue {build,aggregate,validate,version}, pack {build,validate}, render {screen}. v0.46.0 ships catalogue schema 2.18.0 (additive minor; SCHEMA_COMPAT ^2.0.0 unchanged): adds the nullable `screens.group` column from frontmatter `group:` — a finer organisational sub-axis within/orthogonal to domain (e.g. shell | shell-embed | identity), free-form adopter label. Mirrors the 2.17.0 domain-column addition; empty when unauthored. 949 tests green (+1). v0.45.0 ships catalogue schema 2.17.0 (additive minor; SCHEMA_COMPAT ^2.0.0 unchanged): adds the nullable `screens.domain` column, sourced from screen-spec frontmatter `domain:` (a docs/domains/<domain>/ slug). It is an organisational grouping hint for multi-domain platform-profile SDDs (e.g. sdd-connect grouping identity vs platform screens) — the AUTHORITATIVE screen->domain relationship remains derived via realises -> feature -> capability.domain_id (screen_feature). Empty when unauthored; existing single-product SDDs are unaffected (column emits empty until they set domain:). 948 tests green (+1). v0.44.1 excludes reserved docs (INDEX.md / README.md) from recursive screen-spec discovery — a per-SDD screens/INDEX.md cross-reference must not be lexed as a phantom screen. 947 tests green (+the nested-discovery test now also asserts INDEX.md/README.md are skipped). v0.44.0 lets the screens builder discover screen-spec *.md RECURSIVELY under screens/ (new collectScreenSpecFiles walk), so a multi-platform adopter may nest specs by platform — screens/<platform>/<slug>.md — while single-platform adopters keep them flat (screens/<slug>.md); both are found and emit identical catalogues (screen id comes from frontmatter `screen:`, not the path, so nesting is purely organisational). The screens/wireframes/ subtree (rendered SVG artifacts) is skipped during the walk. Backward-compatible (flat layout unchanged); motivated by the Connect mobile cohort splitting iOS/Android variants into screens/{ios,android}/. No schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0). 947 unit tests green (+1 nested-discovery test). v0.43.0 raises deterministic wireframe-renderer fidelity (ADR 0169 §4.4) by deriving human labels from tokens ALREADY in the openui-lang block — no spec change, no fabrication (Track 1 of the Connect wireframe-fidelity plan). screen-tree.ts buildCompositionTree now also captures each node's positional string args (MdcTab(\"Job Types\") → [\"Job Types\"]) and action=\"...\" values as render-only metadata (CompositionNode.args / .actions) — catalogue rows + depth metrics are byte-identical (the builders parse their own way; this is additive tree metadata). wireframe.ts picks each node's display label in priority order: positional arg → humanised action verb for button/fab leaves (action=\"new-job-type\" → \"+ New Job Type\", a +-prefix for create/new/add) → a windowed-pane tab label (a tab-strip sibling of a paged-panes with equal pane count takes each tab's text from the corresponding pane's content component name) → a humanised component name (strip a vendor prefix + an archetype-ish suffix, split camelCase, Title Case) for bespoke names (override/heuristic/fallback resolutions) → the raw short vendor name for recognised standard widgets (by_token `default` resolutions, e.g. VStack/RecyclerView). The :archetype is now a small dim secondary tspan annotation rather than inline same-size text, keeping resolution provenance visible (~ heuristic / ? fallback) without dominating the label. Humanisation is pure rule-based + deterministic (no Date/random; goldens byte-stable). Adopter-agnostic: the renderer reads vendor prefixes from the resolved default map's strip_prefixes PLUS a new render-only `strip_prefixes` array on the adopter overlay (ArchetypeOverlay.strip_prefixes, parsed by screen-validation-loader from `.sdd/screen-validation.yaml` archetype_overlays.<platform>.strip_prefixes) — bespoke prefixes like Mdc/Mde/St live in the adopter overlay, never in method code. No schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged); render-only — no catalogue/aggregate impact. 943 unit tests green (was 936; +7 across screen-tree args/actions + renderer label-derivation/humanisation/paged-tab-linking). v0.40.0 closes out the ADR 0168/0169 screen-spec surface, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). (1) Source discrimination + the last depth finding: buildScreens reads `source:` from screen frontmatter (ADR 0135 — default screen-spec, screen-extraction for reverse-derived, others flagged) and carries it to ui_components rows; screen-evidence-missing (warn) fires when a reverse-extracted screen cites no [^…] evidence footnote, scoped to reverse-derived screens so forward authoring (no evidence claim) is exempt — all six ADR 0168 findings are now live. (2) Deterministic wireframe renderer: new `sdd-cli render screen <file>` verb lowers a screen-spec's openui-lang block to a structural-wireframe SVG — the deterministic companion to the LLM render-screen-wireframe skill. screen-tree.ts gains buildCompositionTree (cycle-safe, sharing a new parseStatements with analyzeComposition — metrics behaviour unchanged); archetype/resolver.ts exposes archetypeInfo (container flag + render hints); archetype/wireframe.ts resolves each node to an archetype, lays out nested boxes by the archetype's orientation hint, labels them component :archetype, and shades by resolution provenance (heuristic dashed, fallback dotted); platform comes from frontmatter, the overlay from .sdd/screen-validation.yaml. A structural wireframe, not a pixel design; parameterised entirely by the map (adopter-agnostic). 927 unit tests green (was 916; +5 source/evidence + +6 tree/wireframe). v0.39.0 completes the ADR 0168/0169 screen-spec depth surface with adopter-config wiring, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). New optional `.sdd/screen-validation.yaml` (loaded by screen-validation-loader.ts, returns null → method defaults, mirroring the .sdd/*-aliases.yaml pattern) carries three adopter-tunable params: flat_threshold (the screen-flat-composition N, default 6), decorative_primitives (component names that unlock screen-styling-primitive-as-structure), and archetype_overlays (per-platform {overrides: {Component: archetype}} refining the screen-root-is-leaf resolver, ADR 0169 §4.3). screens.ts now emits screen-styling-primitive-as-structure (warn) when a screen composes an adopter-flagged decorative primitive and threads the per-platform overlay into isContainerArchetype; build.ts loads the config and passes it into buildScreens. All three params no-op safely when unset (the vocabulary-free checks still run); the checks stay vocabulary-free — they consume adopter params, never hardcode them. Five of six ADR 0168 findings now live (flat / empty / status-gate / root-is-leaf / styling-primitive); only screen-evidence-missing remains deferred (needs forward/reverse source discrimination — source is hardcoded screen-spec). 916 unit tests green (was 910; +6 across the loader + styling-primitive + overlay-root-is-leaf paths). v0.38.0 implements sdd-method ADR 0168 (Screen-Spec Composition-Depth Validation) + ADR 0169 (OpenUI Archetype Maps and Screen Wireframe Rendering) — a fidelity floor on the screens family, no schema change (2.16.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). The buildScreens path previously accepted any ```openui-lang block that parsed, so a low-fidelity reverse seed (flat / empty / mis-rooted \"widget bag\") was lowered into rows and could be marked status: working undetected. ADR 0168: new builders/screen-tree.ts parses the block into a composition tree (cycle-safe) and computes maxDepth / maxBreadth / rootChildCount / componentCount / containers; screens.ts strips inline # comments before the component + action scans (defect g — a Capitalised( token inside a comment no longer emits a phantom ui_components row) and emits screen-empty-composition + screen-flat-composition (warn) and screen-status-exceeds-depth (error) — a screen cannot claim the completeness-asserting maturity `working` (the sole such value in the ADR 0165 standard set {working, provisional, unknown, absent}) over an empty or flat composition. FindingsLog gains an optional severity (warn|error, default warn) + errorCount(); build.ts now fails the build on any error-severity finding by default, independent of --strict (the same tier as an internal FK failure). ADR 0169: new archetype/resolver.ts resolves a component name to a visual archetype (resolveArchetype → {archetype, provenance}, order override → default by_token after vendor-prefix strip → suffix heuristic → panel fallback) against a method-owned vocabulary (29 archetypes) + four default maps (web-generic / android / swiftui / uikit) vendored from sdd-method — vendor-standard names only, shipped to dist by copy-yaml-assets alongside canonical-schema.yaml; isContainerArchetype feeds the archetype-aware screen-root-is-leaf (error), which fires when a screen declares a known platform: and the map classifies the childless root as a leaf (combined with the appears-with-children heuristic) and no-ops without a platform: (the heuristic alone can't tell an empty container root from a leaf root). The flat-composition threshold N (default 6) is a builder input. The SVG wireframe renderer stays the LLM-driven render-screen-wireframe skill (sdd-method); a deterministic `sdd-cli render screen` verb is a deferred convergence target. Deferred within these ADRs: screen-evidence-missing (needs forward/reverse source discrimination — source is currently hardcoded screen-spec) and screen-styling-primitive-as-structure + manifest-wired adopter parameters (threshold / decorative-set / overlay). All checks reason about tree shape, status, and evidence presence only — never a component vocabulary (adopter-agnostic by construction). 910 unit tests green (was 882; +28 across screen-tree, resolver, and screens depth / status-gate / root-is-leaf / comment-leak tests). v0.37.0 ships catalogue schema 2.16.0 (additive minor; SCHEMA_COMPAT ^2.0.0 unchanged) implementing sdd-method ADR 0166 (Screen Specifications via OpenUI Lang Grammar) — the first forward-authorable + reverse-extractable UI-structure surface and the close of the last reverse-only parity gap (screens). Six new catalogues: screens + ui_components nodes and screen_component, screen_feature, persona_screen, screen_action edges (screen_action.event_id external-capable per ADR 0156); application-product profile, other profiles emit headers-only. New buildScreens builder reads authored screens/*.md screen-spec artefacts (YAML frontmatter + ```openui-lang block): Capitalised call heads → ui_components + screen_component (deduped), realises: → screen_feature and persona_access: → persona_screen (resolved via the feature/persona id maps, orphan findings when unresolved), action=\"...\" → screen_action (event_id best-effort, empty when no domain-event match); an entity-style slug normalises mixed-case component/feature keys. Phase Pre validated the design against a reverse adopter's real Vue 3 estate (research/adr-0166-prototypes/): component registry from the design-system barrel with nested-export resolution (114→183 components, zero genuine compose-only orphans), ~97 shell screens from the host-shell menu/passport registry, persona_screen via featureKey∈token-feature gating, screen_action from postMessage/event-bus messages. The from-code extraction is the reverse toolkit's job (reverse-screen-spec-extraction skill + workflow); the builder consumes the resulting screen-spec artefacts (source: screen-extraction) identically to forward authoring (source: screen-spec) per ADR 0135. 882 unit tests green (was 876; +6 buildScreens tests). v0.36.0 batches three wave-2 follow-ons, no schema change (2.15.0 retained; SCHEMA_COMPAT ^2.0.0). (1) ADR 0165 — features.maturity is wired from the feature-tree `[runway: X]` bullet marker when its value is in the standard set {working, provisional, unknown, absent}: the marker IS the maturity signal, so `maturity` (the cross-SDD-comparable column) is populated from it while `runway` keeps the full verbatim marker (adopter-owned, including non-standard values such as migration codes). Only the feature-tree bullet path sources a marker — feature-spec / capability-spec / feature-grounding leave maturity empty. features.ts gains STANDARD_MATURITY + maturityFromRunway(); the bullet row sets maturity: maturityFromRunway(ev.runway). Reverse adopter maturity 0 → ~185 (the standard-set subset of its 222 aggregated runway rows; the coordination doc's 388/393 was a raw pre-aggregation marker census, deduped to 222 runway / 185 maturity at aggregation); forward adopter unchanged (authors no markers — reverse-only today, a forward authoring source is a future parity item). (2) entities.glossary_term matcher — the glossary builder collapses multi-word term slugs (CONTAINER_MESSAGING → applications-containermessaging) while entitySlug hyphenates (container-messaging), so multi-word same-domain terms missed the exact/cross-domain-suffix match; resolveGlossaryTermBySlug in entities-mermaid.ts gains a boundary-insensitive SAME-DOMAIN fallback (compare hyphen-stripped forms, scoped to the entity's own domain to avoid cross-domain false positives). Reverse adopter glossary_term 100 → 142 (+42, e.g. CONTAINER_MESSAGING / VIEW_POOL / VIEW_POOL_ITEM / LOG_REQUEST / CANONICAL_EVENT / accountFeatures); forward adopter resolves via the manifest path, unaffected. (3) entitySlug acronym-boundary fix (ADR 0164 follow-on) — the [A-Z]{2,} rule that stops splitting a single leading capital off a following word (OAuthClient ≡ OAUTH_CLIENT), held from 0.35.0, ships here; reverse adopter persistence_kind 111 → 112 (OAuthClient resolves). Zero PK churn across both adopters. 876 unit tests green (was 871; +5 across the three changes). v0.35.0 implements ADR 0164 FSC-01 (Option A): the feature_subscription_channels builder now also reads the reverse-method per-domain reverse-evidence layout — `reverse-evidence/<domain>-feature-grounding.yaml` at the SDD root carrying a top-level `feature_subscription_channels:` list ({feature_slug, subscription_channels: [{name, transport, evidence}]}) — alongside the existing per-design-dir `features:` → `subscription_channels:` shape. The reverse adopter's per-domain files are capability-structured with no feature-level entries, so a top-level key is the right home (confirmed against the adopter's authored sample). The walker now collects both `feature-grounding-evidence.yaml` AND `*-feature-grounding.yaml` files in any reverse-evidence/ dir, and the parse loop gathers entries from both the `features:` and `feature_subscription_channels:` keys. Because the per-domain files are primarily authored for other tooling and aren't always strict YAML (backtick scalars, compact mappings), only the canonical per-design-dir `feature-grounding-evidence.yaml` surfaces read/parse-error convention findings — per-domain files that fail to parse are skipped silently (the builder isn't their validation authority). Validated against the reverse adopter's live authored block: 1 row (transport=other preserved verbatim — a custom API Gateway WebSocket broadcast, not AppSync; never auto-corrected), 0 spurious findings. No schema change (2.15.0 retained; SCHEMA_COMPAT ^2.0.0). 872 unit tests green (was 871; +1 per-domain-layout test). Companion wave-2 note: the 0.34.0 persistence_kind coverage at the reverse adopter landed at 109/263 — confirmed correct (the ~157 estimate counted Data Store Mapping store-rows, not distinct erDiagram-resolvable entities; 41 of 43 unresolved are legitimately data-store-only rows with no entity node, 2 are an entitySlug acronym-boundary edge — OAuthClient↔OAUTH_CLIENT — flagged for separate triage, not bundled here because entitySlug drives entity PKs catalogue-wide). v0.34.0 implements sdd-method ADR 0164 (Entity Persistence-Kind Reverse Source) — the tenth instance of the parity-series arc and the second on a node catalogue's descriptive columns (after 0.33.0's services columns). entities.persistence_kind was 0% on both reference adopters: the reverse adopter authors the physical store per entity in the `## Data Store Mapping` table's `Store` column (MySQL/MongoDB/DynamoDB/Kinesis/ActiveMQ/in-memory across four column-shape variants), and `service-entity-tables.ts` ALREADY parsed that table for service_entity edges but read past the Store column; the entity builders (entities-mermaid.ts, entities-manifest.ts) hardcoded persistence_kind empty. Phase Pre against live checkouts overturned the originating coordination doc's proposed mechanism: the doc proposed storing the raw engine family (MySQL/MongoDB/...), but the schema (ADR 0159) already defines persistence_kind as a CLASSIFICATION (relational-table | document-collection | event-payload | dto | view | other) with a [finding] convention on out-of-set values — storing engines verbatim would flag every row. Resolved by DERIVING the classification from the engine (the deriveLanguage precedent — a normalised token from a raw cell: MySQL/Aurora/Postgres→relational-table, Mongo/Dynamo→document-collection, Kinesis/ActiveMQ/Kafka→event-payload, in-memory/transient→dto, else other) and preserving the raw engine string in notes (store=...). New shared builders/data-store-mapping.ts holds the table primitives (findDataStoreTable/detectColumn/splitRow/collectTableLines/normaliseEntity) + derivePersistenceKind, refactored out of service-entity-tables.ts (byte-identical edge output, 12 tests green); new builders/entity-persistence.ts enrichEntityPersistenceKind runs in build.ts after the entity-id indexes exist, fill-if-empty (a persistence_kind already set is never overwritten), emitting a [finding] coverage with the fill count + any unmapped store values. erDiagram-only entities (not in any Data Store Mapping row) stay empty (legitimate partial coverage); forward-method adopters author a store-less Data Store Mapping (Entity | Owning Service | Notes — no Store column) so persistence_kind stays empty with no finding (reverse-only, like services runtime/status in 0.33.0). No schema change (persistence_kind exists since schema 2.13.0; SCHEMA_COMPAT ^2.0.0 unchanged). Cross-adopter validation: Connect (reverse) classifies 157 entities (relational-table 72 / document-collection 36 / dto 19 / event-payload 16 / other 14 — object/blob/cache stores like S3/Redis/Blob); Contextua (forward) 0 (store-less table → reverse-only, correctly empty). 871 unit tests green (was 857; +14 across data-store-mapping classification + entity-persistence enrichment). Wave 2 of the 2026-05-30 column-coverage audit also triaged feature_subscription_channels (Option A — builder to read the reverse adopter's per-domain reverse-evidence layout — accepted but deferred until channels are authored) and events.version (no action, unauthored both); see ADR 0164 §5. v0.33.0 implements sdd-method ADR 0163 (Service Metadata Forward Parity and Federated Reverse Enrichment) — the ninth instance of the parity-series arc and the FIRST on a node catalogue's descriptive columns rather than an edge, extending the ADR 0157 principle from edges to node columns. Two additive pieces, no schema change (schema 2.15.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged). P1 (forward parity for services.description): the column now also sources from the FORWARD `repo-config.<repo>.description` field — already parsed by RepoConfigSchema but previously dropped (repositories.ts emitted no description column; services.ts never read it) — alongside the REVERSE `service-architecture.md ## Purpose` source 0.32.0 added. build.ts threads a repoId→description map off reposResult.configs into buildServices, which coalesces forward-wins-on-conflict with a [finding] divergence (usually a plain coalesce since an adopter authors only one of the two). Contextua (forward, 60/60 repo-configs carry description:) lifts services.description 0%→~100%; Connect unaffected by P1 (0% repo-config description; keeps the reverse ## Purpose source). P2 (federated reverse-metadata enrichment): the service-architecture parsing is extracted verbatim into a shared service-architecture-parser.ts (parseServiceArchitecture / readServiceMetadata / indexServiceArchitectures) imported by BOTH the per-SDD services builder and the aggregator — no behaviour change to the per-SDD path. aggregate.ts gains a post-services-union pass (enrichFederatedServiceMetadata) that backfills ONLY the empty reverse columns (runtime_type/language/status/confidence/description) on platform-root service rows whose service-architecture.md lives one federation hop away in a member SDD, indexing each sibling's <sddRoot>/repos/**/docs/service-architecture.md (the aggregator already resolves every sibling root) and matching repo-slug == service-id. Fill-if-empty (connect-local / platform-root metadata is never overwritten; order-independent across members); a slug whose arch doc exists in >1 member is AMBIGUOUS and refused with a [finding] convention rather than guessed; an enrichment [finding] coverage logs cells/rows filled vs still-empty. Option 1 (aggregator reads member repos/ docs directly) chosen over a per-member catalogues/ side-emission (1b) to avoid a schema touch while the deferred 3.0.0 cleanup is pending; member service-emission rejected (both reference adopters centralise the service inventory in the platform-root). Phase Pre validated both against live checkouts: Contextua 60/60 description: (P1 0→~100%); Connect's member arch-doc slugs resolve to platform-root service ids with ZERO cross-member collisions, and the shared parser was run against a live member arch doc (status/confidence/description extracted; runtime_type faithfully empty where the doc carries no Primary-runtime row). For Connect's 38-sibling federation this lifts the ~172 federated services (whose detail lives in member SDDs) from the 0.32.0 connect-local ceiling toward full inventory coverage. The four runtime/operational columns (runtime_type/language/status/confidence) are documented in the metamodel as reverse-only — forward-method adopters legitimately leave them empty (they declare service_type + dependencies). 857 unit tests green (was 843; +14: P1 forward-wins / reverse-fallback / divergence / no-false-divergence; P2 member-enrich / fill-only-empty / no-doc-stays-empty / ambiguous-slug-refused). v0.32.0 lifts catalogue-builder column coverage that the canonical builder previously hardcoded empty, with no schema change (schema 2.15.0 retained; SCHEMA_COMPAT ^2.0.0 unchanged) — the source content already existed and was simply unwired (regression class from the retired python build-catalogues.py → canonical sdd-cli migration). Four builders now populate from existing source: (1) repositories.ts joins `docs/platform/reference/loc-report.csv` (keyed repo_name==id) to fill files/code/comment/blank/total_lines/languages (graceful coverage-finding when the report is absent, as in federated SDDs); (2) services.ts reads each service's `repos/**/docs/service-architecture.md` (recursive index over both flat repos/<repo>/ and grouped repos/<group>/<repo>/ layouts) — `## Runtime / Build Shape` Primary-runtime → runtime_type + derived language; `## Operational Status` Classification → status, Confidence → confidence; `## Purpose` lead paragraph → description (buildServices is now async + takes sddPath); (3) capabilities.ts extracts each spec's `## Overview` lead paragraph → description; (4) glossary.ts backfills glossary_items.canonical_term_id + aliases from the glossary_xref alias-of/references edges (same alignment manifest). Connect rebuild impact: repositories LOC 0%→95% (632/660); capabilities description 0%→99% (193/195); glossary canonical_term_id/aliases 0→6 (the genuinely cross-domain-duplicated terms, the G-02 data floor); services metadata to the 88/260 connect-local ceiling (status/confidence 33%, runtime/language 23%, description 30%) — the remaining 172 services' architecture docs live in federated member SDDs (a federation-topology follow-up, not a builder gap). 851 unit tests green (was 842; +9 across the four builders). v0.31.3 patches the per-SDD catalogue build to make keyed-table emission set-correct over the metamodel-declared primary key per `coordination/feature-edge-cross-source-duplicate-coordination.md` (sdd-method-gov, 2026-05-29) — the direct consequence of the 0.30.2/0.30.3 unconditional-emit fixes. Those fixes correctly stopped feature_repo / feature_service edges being dropped on feature-id collision by relying on each walker's per-walker seenFeatureService / seenFeatureRepo dedup sets; but those sets are fresh per walker, so when two edge sources (feature-grounding from design docs + capability-spec from product specs) assert the SAME feature→service / feature→repo fact, build.ts concatenated both contributions with no cross-source reconciliation, emitting duplicate edge PKs that `catalogue aggregate` then correctly rejected. New `dedupe-keyed-tables.ts` pass runs over every catalogue after collectRows: rows are grouped by the schema-declared primary_key; identical rows for the same PK union to one (silent — the same fact asserted by ≥2 sources is not an error); a same-PK/different-payload collision is a hard build failure with provenance, giving a build-time PK-uniqueness guarantee that catches this class of defect at `build` (where the offending SDD is unambiguous) one level earlier than `aggregate`. Generalises the per-walker guard across sources for ALL keyed tables, not just the two edge tables, so any future multi-source-derived table is set-correct by construction. Connect (first multi-source-edge adopter — feature-grounding + capability-spec both populating feature edges) is the first to exercise the overlap: a fresh build unioned 36 exact-duplicate edge rows (32 feature_service + 4 feature_repo) to 0 dup PKs with aggregate FK PASS and no post-build dedupe workaround; forward single-source adopters (Contextua) emit byte-identical output (no overlap to dedupe). 842 unit tests green (was 836; +6 dedupe-keyed-tables tests: cross-source union, feature_repo union, same-PK/different-payload conflict, null/empty cell parity, single-source untouched, empty-PK verbatim). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.31.0 implements sdd-method ADR 0162 (Platform-Dependencies Forward-Path Parity) — the eighth instance of the parity-series arc and the inverse direction of ADR 0157 (a reverse-only edge gaining its forward sibling). The `product-platform-dependencies` builder now multi-source ingests (ADR 0156 pattern): in addition to the reverse-method `reverse-evidence/feature-grounding-evidence.yaml` `platform_dependencies:` block, it reads the FORWARD source `app-platform-dependencies.yaml` at the SDD root — the same file product-edges already reads for product_capability / product_service. Phase Pre reframed the originating coord doc's Option A (a NEW `repo-config.platform_dependencies:` block): the forward authoring already exists in `app-platform-dependencies.yaml` (its `platform_dependencies:` entries carry capability_id + service_id), so reading it is zero-new-authoring rather than asking adopters to re-author. An entry needs both capability_id and service_id to form a product_platform_dependencies row (single-sided entries remain valid product_capability / product_service rows, skipped silently here). Merge by PK {product_id}__{target_capability_id}__{target_service_id}; forward wins on conflict (reverse entry dropped with [finding] divergence); within-source duplicates keep the first. The aggregator's deriveCrossSddPlatformCapability is unchanged — forward-sourced rows flow through the same per-SDD table, so cross_sdd_platform_capability populates automatically. Forward read is file-presence gated (the file only exists in consuming SDDs), covering both application-product and integration-product consumers. Predicted impact: the reference forward-method 35-sibling federation (already authoring app-platform-dependencies.yaml, feeding product_capability=55 / product_service=53) emits ~55 product_platform_dependencies rows on rebuild; reverse-method adopters unaffected (their reverse-evidence rows emit exactly as before). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. 834 unit tests green (was 830; +4 forward-source tests: forward-only emission, single-sided skip, forward+reverse merge on distinct PKs, forward-wins-with-divergence on PK conflict). v0.30.3 patches the capability-spec walker (`capability-spec.ts`) per `coordination/capability-spec-collision-edges-coordination.md` (sdd-method-gov, 2026-05-29) — the same two-level drop-edges-on-collision bug fixed for feature-grounding in 0.30.2, surfaced by the 0.30.2 defensive-review follow-up. capability-spec runs last of all feature sources (after feature-tree, feature-spec, feature-grounding), so in any forward SDD where feature-spec already emitted every feature, every capability-spec feature id collides; pre-0.30.3 the walker `continue`d past the whole row on collision, dropping its `feature_repo` + `feature_service` edge contributions (the edges live only in capability-spec's `## Feature Grounding (code-path trace)` columns per ADR 0145), and `build.ts:473-491` additionally gated those edges' storage on `featureRows.length > 0` — the identical second-level wiring bug feature-grounding had at `build.ts:431`. Latent in shipped catalogues today (no observed adopter authors edge-bearing capability-spec files that collide), but a real defect. Fix mirrors 0.30.2 exactly: collision skip narrowed to the feature row + capability_feature (those go to the earlier source); `feature_repo` + `feature_service` edges emit unconditionally (the existing `seenFeatureService` / `seenFeatureRepo` dedup sets prevent double-emission); edge storage in `build.ts` moved outside the row-count conditional, matching the grounding fix at `build.ts:445`. Divergence finding softened to '... wins; edges still emitted'. 830 unit tests green (was 830; existing capability-spec collision test extended to assert the colliding feature's `feature_service` edge still emits). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.30.2 patches the feature-grounding walker per `coordination/feature-grounding-collision-edges-coordination.md` (sdd-method-gov, 2026-05-29). Pre-0.30.2 the walker dropped the ENTIRE grounding row — including its `feature_repo` and `feature_service` edge emissions — whenever the feature id collided with a row already emitted by an earlier source (feature-tree or feature-spec). Because feature-spec extraction runs first and covers every feature with an authored spec, grounding's edge contribution was structurally unreachable in any forward SDD with a complete feature spec layer; the canonical builder contradicted ADR 0143 §2's stated purpose ('the three edge catalogues feature_repo, feature_service, capability_feature are easiest to populate from this source'). Fix narrows the collision skip to the row identity only — `features.csv` and `capability_feature.csv` go to the earlier source (correct per spec text: feature-tree/feature-spec carry runway / group / parent context that grounding doesn't), but `feature_repo` and `feature_service` edges emit unconditionally (correct per ADR 0143 §2: those edges live only in grounding's column shape). Phase Pre against the contextua-platform canary file at `docs/domains/party/design/organization-management/feature-grounding.md` (9 features, all pre-existing as feature-spec rows; all pointing at real `contextua-platform-code/party-management/src/...` paths) ALSO caught a second-level bug in `build.ts:431`: the `if (grounding.featureRows.length > 0)` block gated `feature_repo` storage on the row emission; in the all-collide case (every grounding row already exists from feature-spec), the walker would compute the repo edges correctly but `build.ts` would never persist them. Both bugs fixed in this patch; `feature_repo` and `feature_service` are now stored unconditionally from `grounding.*Rows` outputs. Cross-adopter regression on the canary: 0 → **9 feature_repo rows + 11 feature_service rows + 18 feature_event rows** (derived via ADR 0161's `feature_service ⋈ service_event` join); FK PASS. Divergence finding language softened to clarify edges still emit: 'feature id ... already emitted by an earlier source (feature-tree / feature-spec wins for the row; feature_repo + feature_service edges still emitted per ADR 0143 §2)'. Method docs amended: catalogue-builder-specification.md §'Feature grounding table form' precedence rule rewritten to spell out the narrow-collision semantics. 830 unit tests green (was 830; existing collision test extended to assert feature_repo + feature_service edges still emit for the colliding row; no new test files). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. v0.30.1 patched the c4-systems walker per `coordination/c4-systems-l1-priority-bug-coordination.md` (sdd-method-gov, 2026-05-29). Pre-0.30.1 the walker's `L1_CANDIDATES` priority list read `docs/platform/diagrams/c4-l1-context.mermaid.md` first; in federated cohorts where siblings carry a syndicated copy of the platform-root L1 at that path AND also author their own L1 at `docs/c4-l1.md`, the walker would shadow the sibling's own L1. Result: every Connect application sibling's `c4_systems` row reflected the platform's description text instead of its own. Option A from the coord doc applied — `L1_CANDIDATES` order reversed so `docs/c4-l1.md` ranks first (sibling's own L1), `docs/platform/diagrams/c4-l1-context.mermaid.md` ranks last (platform-root's own L1 / syndicated fallback). The platform-root SDD is unaffected — its own L1 IS the syndicated path; the walker now reaches it via fall-through to priority 4, reading identical content. Sibling SDDs that don't author their own L1 (Connect's 23 data-capture + 4 mobile siblings) also unaffected — they fall through to the syndicated copy as before. Cross-adopter regression: Connect cold-chain (forward-method application sibling with own `docs/c4-l1.md`) — `c4_systems` row refreshes from `name=Connect, description='Fleet management platform...'` to `name=Cold Chain, description='Temperature monitoring, alarm management, and EN 12830 compliance reporting'`; FK PASS. Connect calamp (data-capture, no own L1) — row unchanged. Connect + Contextua platform-roots — unchanged. Method docs amended: catalogue-builder-specification.md §Builder-inputs gains the priority-ordered candidate list with rationale; catalogue-metamodel.md §C4System gains the L1 source resolution paragraph. 830 unit tests green (was 828; +2 cross-adopter regression tests: own-L1-wins-over-syndicated; data-capture-fallback-preserved). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged. Important: v0.30.0 (released same day) did NOT include this fix — that release shipped the separately-tracked C4 L3 components walker. Patch sequence: 0.30.0 = L3 walker; 0.30.1 = L1 priority fix. v0.30.0 shipped the C4 L3 components walker per `coordination/c4-l3-walker-and-path-convention-coordination.md` (sdd-method-gov, 2026-05-29). New `c4-components.ts` walker reads `c4-l3-*.mermaid.md` files from the same three location patterns as the L2 walker (per-domain under `docs/domains/<dom>/architecture/diagrams/`; platform-wide at `docs/platform/diagrams/`; per-product at `docs/`). Each `Component(...)` inside a `Container_Boundary(local_id, \"Display Name\")` emits one `c4_components.csv` row with id=`{container_id}-{component-slug}`. container_id resolution: slugify the Container_Boundary's display name and match against `c4_containers.id` rows ending in `-{slug}`; unresolved boundaries fire `[finding] orphan: c4_components: ... Container_Boundary \"X\" doesn't resolve to a c4_containers row — N component(s) skipped`. `service_id` is denormalised from the resolved container. Walker is granularity-agnostic — both per-container files (one Container_Boundary block per file) and per-domain rollup files (multiple Container_Boundary blocks per file) produce identical row output; adopters pick the shape that suits their workflow. The earlier Path-B deferral (build.ts comment, since superseded) assumed reverse-method code-walking for L3; this walker is the forward-method analogue. Phase Pre against both reference adopters confirmed: 0 c4_components rows pre-fix in both (universal-empty across 121 Contextua containers + 329 Connect containers; no L3 file authored anywhere); the L2 walker is the structural template. Cross-adopter regression: Contextua + Connect each emit 0 c4_components on tag day (no L3 files authored yet); FK PASS in both; no regression to c4_containers / c4_systems / persona_c4system row counts. 828 unit tests green (was 818; +10 buildC4Components tests covering single-component, per-domain rollup, orphan resolution, platform-wide path, per-product path, service_id denormalisation, responsibility emission, dedupe, empty-input). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged; schema 2.15.0 retained. Phase Pre also surfaced a separate pre-existing bug (c4-systems walker prioritises syndicated platform L1 over sibling's own `docs/c4-l1.md` — every Connect sibling's c4_systems row currently reflects platform content) — filed as a follow-on coord finding in sdd-method-gov, not blocking this release. v0.29.1 patched the personas walker per `persona-walker-platform-product-gap-coordination.md` (sdd-method-gov, 2026-05-29). The walker was profile-gated to application-product only, so platform-product SDDs that author Person() shapes on their L1 context diagram (the natural location for cross-app personas — Group Manager, Operator, Platform Admin, etc.) had no canonical source for the personas walker to resolve against. Every build emitted N coverage findings (one per declared Person) and `persona_c4system` materialised 0 rows from those declarations. The walker now reads `personas/<slug>.md` at SDD root regardless of profile — each SDD's personas/ holds personas at that SDD's scope (application-product: app-specific; platform-product: platform-wide/cross-app surfaced on L1). Phase Pre against both reference adopters surfaced that the original coordination doc's 'symmetric with ADR 0146' framing was incorrect — ADR 0146 chose Option C (cross-app journeys routed through `docs/domains/applications/product/features/cross-app-journeys/` via the capability-spec-as-feature-source pipeline per ADR 0145), NOT a walker extension. The user_journeys walker stays profile-gated to application-product (confirmed in user-journeys.ts:59). With no walker-extension precedent to mirror, the location decision needed fresh argument; relaxing the profile gate (the location both reference adopters independently tried first) is the smallest method change and the obvious-to-authors path. Cross-adopter regression: Contextua (had already authored 4 persona files at `personas/` SDD root before discovering the gap, per coord doc evidence) — 0 → **4 personas + 4 persona_c4system** edges (all 4 L1 Person declarations resolve cleanly: Group Manager, Operator, Partner Developer, Platform Admin). FK PASS. Connect (no personas/ authored yet) — stays at 0 + 0 rows; gains one new informational `personas/ not found` finding under platform-profile (the previously-silent gap is now visible). FK PASS. Sibling application-product SDDs unchanged (regression-checked). 818 unit tests green (was 817; +2 cross-profile personas tests, -1 application-product-only gate test). No schema change; SCHEMA_COMPAT (^2.0.0) unchanged. v0.29.0 shipped catalogue schema 2.15.0 (additive minor) implementing sdd-method ADR 0161 (Feature-Event Derived Edge) — the seventh instance of the parity-series arc and the completion of the capability/feature/service trio of materialised event edges. New edge catalogue `feature_event` (id, feature_id, event_id, role, source) emits from the pure derived join `feature_service ⋈ service_event`, mirroring ADR 0160's capability_event derived path one rung lower in the hierarchy. PK is `{feature_id}__{event_id}__{role}` so a feature can carry both publishes + consumes rows for the same event without collision. No authored shape — every row carries source=derived (the authored signal lives at the service level via service_event, which the feature inherits through feature_service). Phase Pre against both adopters surfaced three findings that materially changed the original coord doc's premise: (1) the parent dependency `events-catalogue-builder-gap-coordination.md` claim that Connect's events.csv = 0 was stale; 0.26.1's slug-from-name patch has events.csv at 62 rows + service_event at 61 rows + capability_event at 144 rows; no parent blocker existed for this work; (2) the existing `feature_subscription_channels` table in canonical-schema is for GraphQL/MQTT/AppSync push channels (sourced from `reverse-evidence/feature-grounding-evidence.yaml` `subscription_channels:` entries per schema 2.9.0), NOT for event-bus subscriptions as the metamodel doc and coord doc both assumed — Track A reconciles the metamodel doc to match canonical-schema's actual semantics; (3) the (feature, event) edge the coord doc imagined is a different concept entirely and is the right scope for materialisation. Cross-adopter regression: Adopter A (Connect, reverse-method) — 0 → 82 derived rows (FK PASS; Phase Pre estimated 55, actual higher because service_event has 61 rows averaging ~2.7 features/service via feature_service's 556 rows); Adopter B (Contextua, forward-method) — 0 → 0 rows (feature_service.csv = 0 today; will populate when ADR 0143's feature-grounding extractor gets a forward-method analogue, same parity gap as platform-dependencies). 825 unit tests green (was 817; +8 buildFeatureEvent tests covering single match, fan-out across features, fan-out across services, both publishes+consumes for same (feature, event), unknown-feature/event filtering, empty input, source=derived assertion). SCHEMA_COMPAT (^2.0.0) unchanged. v0.28.0 shipped catalogue schema 2.14.0 (additive minor) implementing sdd-method ADR 0160 (Capability-Event Multi-Source Ingestion) — the sixth instance of ADR 0157's parity principle and the cleanest 'builder reads X, adopter authors Y' instance in the parity series (a forward adopter actively authoring event intent in a shape the builder never read). The `capability_event` walker (`event-edges.ts::buildCapabilityEvent`) now reads three equal-status sources merged by PK: (1) forward shape A — legacy `traceability.events[{id, role}]` (unauthored across observed adopters, retained for compatibility); (2) forward shape B — `traceability.contracts.published_events[]` / `consumed_events[]` with `{event, status, notes}` (the observed forward-method shape; event name slug-resolves against events.csv via the same normaliser the events walker uses; pre-lock sketches fire `[finding] orphan` rather than dropping silently); (3) reverse-derived — `capability_service ⋈ service_event` join on service_id (zero-authoring associative path; no role filter because Phase Pre verified the originally-proposed role=primary filter is ineffective in practice — Connect 144 → 144). Authored wins on PK conflict. New `source ∈ {authored, derived}` column distinguishes authoritative ownership from associative coupling for governance queries — the 2.4× fan-out in Adopter A (services owning multiple primary capabilities) makes the provenance signal non-negotiable. The retired `## Related Events` capability-spec heading is struck from the canonical schema description, both reverse skills (`reverse-capability-spec-synthesis`, `reverse-event-catalogue-authoring`), and the metamodel — no adopter authored it and the template never carried the section. Cross-adopter regression: Adopter A — 0 → 144 derived rows (FK PASS); Adopter B — 0 → 21 derived rows + 4 shape-B orphan findings for sketches (calendars events pre-lock, will populate authored rows at contract lock-in; FK PASS). 809 unit tests green (was 802; +7 shape-B and derived-path tests). SCHEMA_COMPAT (^2.0.0) unchanged. v0.27.1 patched two issues in the 0.27.0 ADR 0159 walkers reported by adopter cross-validation: (a) profile-gates entities-manifest + glossary-xref to platform-profile only — both walkers read the platform-owned `docs/platform/reference/glossary-alignment-manifest.yaml`, which adopters syndicate verbatim to sibling application-product / integration-product SDDs for documentation accessibility; without profile-gating, every sibling re-emitted the same entity registry locally with unresolved-domain PKs, then collided en masse at aggregation (one adopter reported 304 duplicate-entity findings across 35 siblings). Mirrors the precedent set by domain-models.ts per ADR 0142. (b) platform-wide PK shape: replaces the leading-hyphen `-{slug}` PK for the 107 entries with `domain: platform-wide` with the sentinel-prefix `_platform-wide-{slug}`. The underscore prefix is unreachable via entitySlug (slugify strips underscores), so the sentinel can't collide with any real domain id including ecosystem-named domains. Cross-adopter regression: contextua-platform — entities=411 unchanged at platform-root; 107 platform-wide entries carry `_platform-wide-*` PKs; sibling SDDs cease re-emitting (0 entity rows from siblings); aggregator exit 0 cleanly. Connect — entities=263 unchanged (no `domain: platform-wide` entries authored); 0 `_platform-wide-*` PKs; FK PASS. 802 unit tests green (was 800; +1 profile-gate test per walker). Schema 2.13.0 unchanged; SCHEMA_COMPAT (^2.0.0) unchanged. v0.27.0 shipped catalogue schema 2.13.0 (additive minor) implementing sdd-method ADR 0159 (Data-Model Entities as First-Class Catalogue Nodes) — the fourth instance of ADR 0157's parity principle. Four new catalogues land in one release: entities (data-model entity nodes — distinct from glossary_items vocabulary and from domain_models files); service_entity (services touching entities, relation=owns from Data Store Mapping tables); c4_container_entity (transitive: service_entity ⋈ c4_containers.service_id); c4_system_entity (aggregation: c4_container_entity ⋈ c4_containers.system_id with container_count). Five walkers: entities-manifest (forward: models[].entities[] in glossary-alignment-manifest.yaml; handles platform-wide non-canonical domain, duplicate model entries, superseded status with superseded_by); entities-mermaid (reverse: parses erDiagram blocks in domain_models doc_paths; handles UPPER_SNAKE/PascalCase/lowercase entity authoring, multi-erDiagram-per-file with within-file dedup, Mermaid comments, relationship-arrow skipping, mixed-diagram-types-per-file); service-entity-tables (reverse primary: ## Data Store Mapping markdown tables with heading + column-shape variants, compound owning-service split on ' / ', trailing-parenthetical-annotation strip, cross-domain entity-resolution fallback); c4-container-entity + c4-system-entity (pure derivations, graceful empty-input). New optional alias map at docs/platform/reference/service-name-aliases.yaml resolves adopter display names ('App Shell UI', 'Cloud Bridge', etc.) to canonical services.id; graceful degradation when absent. New entity-aware slug helper (entity-slug.ts) adds an ALLCAPS-then-Pascal split rule on top of the base slugify so OBUConfigurationTemplate and OBU_CONFIGURATION_TEMPLATE produce the same slug — kept local to the entity walkers to avoid affecting events/contracts/capabilities (per ADR 0159 §4.6 deferred decision). Phase 1.1 entity_glossary lift: now also appends rows from entities.csv (reverse-method side) when glossary_term FK is populated, on top of the existing forward-method emission per ADR 0158. Cross-adopter regression: contextua (forward, pre-lock) — entities=411 (manifest-sourced), service_entity / c4_container_entity / c4_system_entity = 0 (empty-input regression-checked); FK PASS. Connect (reverse, mono-SDD platform-product) — entities=263 (Mermaid-extracted across 11 domains; matches Phase Pre prototype), service_entity=97 (heuristic-only resolution against the Data Store Mapping tables; ~135-155 expected after alias-map authoring per ADR 0159 §4.7), c4_container_entity=88, c4_system_entity=82, entity_glossary lifts from 6→100; FK PASS. Phase Pre prototypes (sdd-method/research/adr-0159-prototypes/) ran the walkers as throw-away Python against both adopters before committing to the spec — first ADR in the parity series to formalise this discipline after the 0.26.0→0.26.1 patch cycle showed real-data validation was needed. SCHEMA_COMPAT unchanged (^2.0.0). v0.26.1 fixed two Phase 1 outcomes from v0.26.0's three-ADR rollout, reported by adopter cross-validation. (a) ADR 0156 events walker: required explicit `id:` field on event-catalog.yaml entries, but the original coordination doc spec was \"derive id from name (slugged)\". Connect's authoring uses `name:` only, so all ~62 events skipped in 0.26.0. Walker now derives id-from-name when id absent (lowercase, hyphenate camelCase boundaries, replace non-alphanumerics with hyphens; explicit id wins when both present; within-domain slug collisions fire divergence finding). (b) ADR 0157 §4.2 amendment: repo_contract had only `contracts.source_repo_id` as its reverse derivation, but Connect's 0/30 source_repo_id outcome left them empty. Added a universal Path X analogous to §4.3 — `service_contract ⋈ services.primary_repo_id` (a service exposing a contract is implemented by a repo; the repo \"owns\" the contract). Schema 2.12.0 unchanged; SCHEMA_COMPAT (^2.0.0) unchanged; pure derivation-logic patch. Cross-adopter regression: contextua-platform — 108 repo_contract rows preserved (Path X reproduces forward-path edges; dedup keeps 108 net); Connect expects ~57 new rows via Path X plus ~62 events plus all downstream service_event edges once they rebuild. v0.26.0 ships catalogue schema 2.12.0 (additive minor) implementing three ADRs in one release: ADR 0156 (Event Catalogue Multi-Source Ingestion) adds the reverse-method `docs/domains/<domain>/contracts/events/event-catalog.yaml` walker alongside the existing forward avsc path — YAML wins on name/domain/publisher/transport/consumers; avsc augments schema_path/version when YAML is null. Transport enum opens (no hardcoded \"nats\" default); recommended values surface a convention finding when violated. service_event edges populate from YAML's publisher + consumers[] in addition to repo-config events.produces/consumes. ADR 0157 (Forward-Declared / Reverse-Derived Parity for Edge Catalogues) codifies the principle that every edge with a forward declared source MUST also have a reverse derived source, applied here to repo_capability + repo_contract: reverse derivations add `capability_service ⋈ services.primary_repo_id` (universal Path X) and `capability_feature ⋈ feature_repo` (Path Y via ADR 0143 evidence) for repo_capability, and `contracts.source_repo_id` denormalisation for repo_contract — alongside the existing forward-declared `additional_context:` / `repo-config.contracts:` paths. The orphan-finding pattern surfaces when reverse paths can't derive (e.g. capability_service rows referencing services with empty primary_repo_id). ADR 0158 (Glossary Cross-Reference Multi-Source Ingestion) extends glossary_xref ingestion from one walker to four (forward declared pair-form, reverse cross_domain_terms, reverse multi-domain conflicts with field-inspection disambiguation, forward supersedes via models[].entities[].superseded_by) plus introduces a new sibling edge catalogue entity_glossary for data-model-entity → glossary-term mappings (status ∈ {aligned, matched_direct}). Dedupe by (domain, entity_name, glossary_item_id) collapses same-domain multi-diagram entries while preserving cross-domain cross-level cataloguing. glossary_xref.relation enum extends from {alias-of, conflicts-with} to {alias-of, conflicts-with, references, supersedes}. SCHEMA_COMPAT unchanged (^2.0.0); additive minor across all three ADRs. Cross-adopter regression verified: contextua's existing forward-path rows (12 repo_contract, 78 events, 42 service_event) preserved exactly; new reverse-path additions (+30 repo_capability via Path X; +10 entity_glossary). v0.25.3 ships catalogue schema 2.11.0 (additive minor): relaxes c4_systems.product_id to a nullable FK. Every product is a system, but not every system is a product — external/SaaS systems catalogued as c4_systems (e.g. Salesforce, DocuSign, Zendesk) legitimately have no owning product. The FK + column were nullable: false, so organisation-level aggregation FAILed with dangling-FK errors on c4_systems rows whose product_id is empty (63 such across the bko/latam/masternaut platforms). The FK validator already passes nullable empty values (fk-validator.test.ts \"treats nullable FK with empty value as PASS\"), so no logic change. Builds with populated product_id (e.g. connect, where every c4_system has an owning product) are unaffected — nullable is strictly more permissive. SCHEMA_COMPAT unchanged (still ^2.0.0); backward compatible — existing 2.10.0 catalogues read unchanged, no migration. v0.25.2 fixes a sync bug: bundle.ts inferred is_forward_base from isBundleName (true for ANY known bundle) instead of isForwardBase, so an additive bundle that omits is_forward_base in its manifest — every sdd-method-cut reverse-extension-baseline — was misclassified as a forward base, making `sdd-cli sync` throw \"Forward-base bundle reverse-extension-baseline has no profile mapping\" and blocking adopters from layering the reverse extension over a forward base. Inference now uses isForwardBase (additive bundles correctly resolve to false). v0.25.1 is a conformance patch: v0.25.0's notes advertised that the legacy c4_containers types Infrastructure / External System \"remain recognised-but-WARNed during the 2.x line\", but no code emitted that finding (the builder-spec's \"a conforming builder MUST emit [finding] convention\" was unimplemented). v0.25.1 adds checkContainerTypeAdvisory, wired into both `catalogue build` and `catalogue validate`, emitting a `convention` finding for any c4_containers.type outside the canonical c4_container_type set {Application, Data Store}. It reads the allowed values from the schema enum (no hardcoded list) and self-disables once the enum is bound via column_enums (the 3.0.0 hard-fail path) or removed — handing off cleanly at the major bump with no double-reporting. The validate path has teeth (it fires over an existing catalogues/ dir — e.g. an adopter who upgraded sdd-cli but has not yet rebuilt a catalogue still carrying Infrastructure rows from the old builder, which is the warn-then-enforce migration window ADR 0155 §4.3 relies on before 3.0.0); the build path is defensive (the canonical builder derives type from the C4 macro and cannot emit a legacy value). No schema change; SCHEMA_COMPAT unchanged (^2.0.0); patch release. v0.25.0 ships catalogue schema 2.10.0 (lockstep with sdd-method ADR 0155 — Align C4 Catalogue Capture with Strict C4 Abstractions), bringing the catalogue's C4 layer into line with c4model.com/abstractions. New node catalogue c4_external_systems (C4 L1 external software systems extracted from System_Ext(...) / Container_Ext(...) on L1+L2 mermaid; id = ext-{slug}); new edges persona_c4system (the C4 Person-uses-System relationship, mapping Person(...) actors to personas rows — the C4 Person abstraction reuses Persona) and system_external_dependency (system integrates-with external, from Rel(...) lines, collapsed to system level per ADR 0155 §4.2). New advisory enum c4_container_type = {Application, Data Store}: the c4-containers builder now types ContainerQueue as Data Store (was the non-canonical \"Infrastructure\") and no longer emits Container_Ext as an internal container row (external containers are catalogued as c4_external_systems); the legacy types Infrastructure / External System remain recognised-but-WARNed during the 2.x line and are removed at the 3.0.0 major bump (the enum is intentionally not bound in column_enums until then). The aggregator dedups c4_external_systems by id across SDDs rather than failing the duplicate-PK check — the one narrowly-scoped exception per ADR 0134, since the same external system (e.g. ext-google-maps) is legitimately declared by multiple SDDs; attribute conflicts on a shared id surface as a convention finding. SCHEMA_COMPAT unchanged (still ^2.0.0); additive minor. v0.24.0 ships sdd-mcp Phase 8 — catalogue resources + tools on the read-only MCP server (sdd-method ADR 0128 + ADR 0150). New resources: sdd://catalogue/schema (vendored canonical schema as JSON), sdd://catalogue/metamodel, sdd://catalogue/category-taxonomy, sdd://catalogue (list of built catalogues), and sdd://catalogue/{name} (rows from catalogues/{name}.csv, validated against the schema, distinguishing not-declared from not-built). New tools: query_catalogue_coverage (row count + internal-FK pass), find_products_by_category, find_orphan_rows (broken internal FK targets), and query_edges_for_entity (every edge row referencing an entity). All reuse the existing src/lib/catalogue schema-loader + csv-reader rather than re-parsing; FK checks consider internal FKs only per ADR 0134 (external FKs are validated at aggregation). Markdown resources try the post-IA path (guides/, standards/) then fall back, returning a structured 'run sdd-cli sync' error when absent. v0.23.1 patches v0.23.0: `sdd-cli pack build` now populates source_commit + source_branch in the rendered BUNDLE_MANIFEST.yaml from `git rev-parse HEAD` / `git rev-parse --abbrev-ref HEAD` against the producer-repo working tree, matching sdd-method's build-method-baseline-bundle.sh provenance behaviour. Non-git producer dirs (CI artefact directories etc.) get the sentinel \"uncommitted\" so consumer-side parseManifest (which rejects empty source_commit) still accepts the bundle. Pre-v0.23.1 packs wrote empty strings and were unsyncable — discovered during the contextua-platform Phase 7 first-adopter pilot (ADR 0151) when operations-console refused the first build of contextua-app-context-pack@v0.1.0. v0.23.0 ships the adopter pack producer + consumer surface per sdd-method ADR 0151 (companion plan adopter-bundle-producer-model.md Phases 3a + 3b + 3c). New `pack` verb with build and validate subcommands lets platform-profile adopters (contextua-platform, CXS Connect) produce additive-layer bundles from a context-pack-seed.yaml declaration. The builder validates the seed against the canonical schema, resolves include: directives across files, expands managed_paths (literal + glob against the producer working tree), runs a producer-side leakage check (disjointness with the declared forward base + disjointness with declared forbidden_paths globs), stages the payload tree, emits SHA-256 checksums per managed file, renders BUNDLE_MANIFEST.yaml mirroring the .hbs template shape, and produces <pack-name>-v<semver>.tar.gz + sidecar .sha256. Consumer-side enforcement extends `sdd-cli sync` for the multi-bundle lock chain: requires_forward_base resolution verifies the consumer's lock carries a compatible forward base; requires_pack resolution enforces vertical-extension dependencies with full semver-range support (caret with pre-1.0 narrow per npm convention, tilde, exact pin, >=); the existing cross-bundle path-ownership check now functions for adopter pack names too (consumer-side leakage assertion); produced_by_adopter / scope / requires_forward_base / requires_pack carry from the manifest into the lock entry as additive optional fields preserving lock_version: 2. New `sdd-cli sync --config <path>` reads a multi-bundle method-baseline.config.yaml (ordered bundles[].source list) and iterates each through the single-bundle sync engine — mutually exclusive with --bundle. `sdd-cli list` surfaces adopter pack provenance: forward-base version in the repo line plus indented `+ <pack-name> <version> from <adopter-repo> [requires <base-pack>]` lines beneath; --verbose adds per-bundle managed_path counts; JSON format adds a per-repo bundles[] array carrying full provenance. Type relaxation: BundleManifest.bundleName and BundleEntry.name widened from the closed BundleName enum to string (adopter pack names are arbitrary per ADR 0151); the closed enum still applies to sdd-method forward bases, validated at parse time only when is_forward_base: true. BundleManifest parser migrated from line-by-line scalar regex to the existing yaml library dependency for nested requires_forward_base / requires_pack object parsing. v0.22.0 bundles three landed scopes. (a) ADR 0141 Phase 5 — `--agent-harness` flag on init/sync now accepts `github-copilot-cli` as the second reference implementation alongside the `claude-code` default; Copilot CLI sync writes `.github/hooks/{pre-tool-use,session-start}.json` with the same sentinel-based ownership pattern as the Claude Code `.claude/settings.json` block. Default changes from \"unset\" to `claude-code`; existing adopters on v0.12.2+ get sentinel-tagged-in-place via the dedupe pre-pass. Unknown harness values fail loudly instead of warning. (b) ADR 0148 Phase 4 — init and sync now emit `agent-instructions.md` at the SDD root (harness-neutral, fully method-managed, unconditional overwrite) plus a thin harness wrapper (`CLAUDE.md` under claude-code, `AGENTS.md` under github-copilot-cli) with `<!-- method-managed: begin/end -->` markers; adopter content around the marker block survives sync via the existing `writeMarkedBlockFile` machinery. The v0.3–v0.21 `generate-claude-md` verb + native rich-content renderer retire; the new `generate-briefing` verb regenerates both files from the on-disk templates for the no-bundle-sync case. Older bundles pre-dating ADR 0148 templates sync gracefully with a \"Skipped\" log line. Existing repos carrying a hand-rolled CLAUDE.md without markers will see the wrapper rewrite refused on first sync; pass --allow-overwrite after rehoming any custom content (covered in the upstream agent-instructions-migration-guide). (c) Catalogue schema 2.9.0 (lockstep with sdd-method v0.10.0 reverse-extension-baseline v0.9.0) carrying the Track 2 cohort-sweep field additions per content/plans/v0-9-0-cohort-sweep-derived-bundle.md: capabilities now carries data_subset (foundational/synthesis-tier keying axis) + slice_scope (multi-app-group capability slicing — same capability_id may appear with distinct slice_scope values, row identity becomes (id, slice_scope)); new per-feature edge catalogue feature_subscription_channels built from reverse-evidence/feature-grounding-evidence.yaml subscription_channels: entries (AppSync WebSocket / Pekko WS / MQTT / SSE channel layer, peer of graphql_operations: per resolved §1, kebab name + transport + evidence + optional payload_ref); new per-SDD edge catalogue product_platform_dependencies built from the product-scoped platform_dependencies: block in the same evidence file; new federated edge catalogue cross_sdd_platform_capability derived by the aggregator joining product_platform_dependencies × capability_service on target_service_id == service_id, emitting one row per resolved (consuming-product, platform-capability) pair with orphan findings for unresolved references. SCHEMA_COMPAT unchanged (still ^2.0.0); additive minor across both new catalogues and capability column additions. v0.21.0 ships catalogue schema 2.8.0 closing the long-tail contract-consumer mapping gap (K-03a). The contracts builder now also walks the platform-profile layout `docs/domains/<dom>/contracts/{openapi,proto,avro}/<file>.<ext>` documented in reverse/workflows/contract.md, in addition to the canonical `contracts/<subdir>/<dom>/<file>.<ext>` layout — backward-compatible additive change for federated SDDs that don't carry per-domain contracts. Adds a new buildServiceContractConsumes builder that parses each service's `repos/<service>/docs/service-architecture.md` External Interfaces table, reads Outbound rows, and emits `service_contract` rows with role=consumes via an adopter-supplied `.sdd/service-contract-aliases.yaml` (case-insensitive interface_aliases + interface_contains substring tier + same_product_inference templates with `{prefix}` substitution). Schema 2.8.0 marks service_contract.contract_id as external:true so federated SDDs can emit consumes rows pointing to platform-root contracts; aggregator validates the merged catalogue. Resolution failures become convention findings, not FK-invalid rows. Pattern documented in sdd-method ADR 0147. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.19.0 ships catalogue schema 2.6.0 (lockstep with sdd-method): adds optional `sub_integrations:` array on integration-manifest.yaml per ADR 0144. Multi-provider integration monoliths (modernisation-in-flight or intentional permanent gateways brokering N providers) can declare each provider; the integrations.ts builder emits one integrations.csv row per sub_integration with parent_product_id = umbrella SDD's integrationId. Uses the existing parent_product_id column — no new schema columns. Backward compatible (optional field); SDDs without sub_integrations emit identical output to pre-2.6.0. Originating motivation: connect's sdd-camera-platform-legacy covering Surfsight v2 + VisionTrack v1/v2 + SureCam in one Spring-Boot codebase. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.18.0 ships catalogue schema 2.5.0 (lockstep with sdd-method): adds feature-grounding source per ADR 0143. Canonical builder walks `docs/domains/<dom>/design/<capability>/feature-grounding.md` (platform-profile) and `docs/design/integration/feature-grounding.md` (integration-product), parses the markdown table form, and emits features.csv rows (source: feature-grounding, capability-owned) plus capability_feature / feature_repo / feature_service edges derived from the table columns. Optional per-SDD `.sdd/feature-grounding-aliases.yaml` translates display names (class names, file basenames) to canonical service / repo ids. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.17.0 enables multi-level federation: organisation-level SDDs can now aggregate from organisation-level children (e.g. CXS aggregating sdd-mining, sdd-latam) via optional level: organisation field on siblings, skipping manifest requirements for pure orchestration repos. v0.16.0 adds organisation-profile support for system-of-systems aggregators (e.g. CXS aggregating sdd-connect, sdd-mining, sdd-latam), closing the gap for organisation-level SDD manifests. v0.15.0 ships catalogue schema 2.4.0 (lockstep with sdd-method): adds feature_contract derived edge (forward: capability_feature ⋈ capability_contract; reverse: feature_service ⋈ service_contract) closing the Capability → Feature → Contract chain pre-implementation, plus the new DomainModel entity per ADR 0142 with domain_models / capability_domain_model / feature_domain_model catalogues sourced from a new traceability.domain_model manifest field (forward) or docs/domains/*/architecture/data-model.mermaid.md file-system scan (reverse). Platform-profile only for domain_models; the metamodel now also documents non-catalogued method artefacts (work orders, discovery stories, execution stories, traceability manifests) so it's a complete reference for the forward SDD method's artefact set. SCHEMA_COMPAT unchanged (still ^2.0.0). v0.14.1 patches v0.14.0's domains-builder fix: products-builder now also clears domain_id for non-platform-profile rows even when manifest.domainId is declared. v0.14.0 stopped emitting umbrella domain rows but products.domain_id (and the applications.csv filtered view) still pointed at them, dangling at FK validation. Per ADR 0136 + schema description for products.domain_id, app/integration/support products do not have a primary domain — the builder now honours that statement regardless of manifest declaration, and emits an inferred finding when a manifest-declared value is overridden. v0.14.0 ships two post-v0.9.0-release fixes surfaced by the connect-cohort sync: (1) sync now enforces minimum_sdd_cli_version declared by bundle manifests — previously the orchestration check existed only in the shell sync script and was a no-op when adopters used `sdd-cli sync`, leaving the safety net for stale-CLI scenarios silently absent; (2) per ADR 0136 (App and Integration Products Do Not Belong to a Primary Domain), the domains.ts catalogue builder now skips row emission for non-platform-profile SDDs — application-product and integration-product SDDs that have a docs/domains/<umbrella>/ subdirectory as a structural-organisation convention no longer emit a member-declaration row that collides on PK at aggregation against the canonical platform-profile contribution. v0.13.2 fixed the aggregator's sibling-vendored-schema cross-check to use semver range satisfaction against SCHEMA_COMPAT.catalogue_schema (^2.0.0) instead of strict equality — siblings vendored at lower minor versions inside the same major are now accepted, unblocking aggregation across federated cohorts where the canonical schema is ahead of the bundled schema. v0.13.0 ships the feature-tree.md bullet parser per sdd-method schema 2.2.0 + plan extract-feature-tree-bullets.md: application-product builders now emit features.csv rows with source: \"feature-tree\" from per-app feature-tree.md bullets, populating the previously-empty edge catalogues (persona_feature, journey_feature) for portfolio monoliths whose feature inventory lives in the bullet form. Adds the optional runway column on features.csv with adopter-owned controlled-vocabulary validation via feature-runway-vocabulary.yaml at the SDD root. v0.12.2 dedupes equivalent unmarked adopter PreToolUse entries on settings.json upsert. v0.12.0 extends the integration profileType enum to 11 values (per sdd-method ADR 0137) and fixes the init→sync conflict. v0.11.0 shipped the canonical catalogue surface per ADR 0134 + schema 2.1.0.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdd-method",
|
|
7
7
|
"sdd",
|