@sdd-method/sdd-cli 0.114.1 → 0.116.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.
Files changed (33) hide show
  1. package/dist/lib/catalogue/build.d.ts.map +1 -1
  2. package/dist/lib/catalogue/build.js +54 -1
  3. package/dist/lib/catalogue/build.js.map +1 -1
  4. package/dist/lib/catalogue/builders/feature-tree-walker.d.ts +21 -0
  5. package/dist/lib/catalogue/builders/feature-tree-walker.d.ts.map +1 -1
  6. package/dist/lib/catalogue/builders/feature-tree-walker.js +54 -0
  7. package/dist/lib/catalogue/builders/feature-tree-walker.js.map +1 -1
  8. package/dist/lib/catalogue/builders/repositories.d.ts +1 -0
  9. package/dist/lib/catalogue/builders/repositories.d.ts.map +1 -1
  10. package/dist/lib/catalogue/builders/repositories.js +7 -0
  11. package/dist/lib/catalogue/builders/repositories.js.map +1 -1
  12. package/dist/lib/catalogue/builders/services.d.ts +8 -0
  13. package/dist/lib/catalogue/builders/services.d.ts.map +1 -1
  14. package/dist/lib/catalogue/builders/services.js +146 -25
  15. package/dist/lib/catalogue/builders/services.js.map +1 -1
  16. package/dist/lib/catalogue/canonical-schema.yaml +1 -1
  17. package/package.json +1 -1
  18. package/dist/lib/generate-claude-md/index.d.ts +0 -16
  19. package/dist/lib/generate-claude-md/index.d.ts.map +0 -1
  20. package/dist/lib/generate-claude-md/index.js +0 -89
  21. package/dist/lib/generate-claude-md/index.js.map +0 -1
  22. package/dist/lib/init/claude-md.d.ts +0 -19
  23. package/dist/lib/init/claude-md.d.ts.map +0 -1
  24. package/dist/lib/init/claude-md.js +0 -140
  25. package/dist/lib/init/claude-md.js.map +0 -1
  26. package/dist/lib/sync/source-tag.d.ts +0 -5
  27. package/dist/lib/sync/source-tag.d.ts.map +0 -1
  28. package/dist/lib/sync/source-tag.js +0 -34
  29. package/dist/lib/sync/source-tag.js.map +0 -1
  30. package/dist/verbs/generate-claude-md.d.ts +0 -3
  31. package/dist/verbs/generate-claude-md.d.ts.map +0 -1
  32. package/dist/verbs/generate-claude-md.js +0 -36
  33. package/dist/verbs/generate-claude-md.js.map +0 -1
@@ -1,140 +0,0 @@
1
- const LIVE_CONTEXT_SECTION = [
2
- "## Live Context via MCP",
3
- "",
4
- "This repo is wired for the **sdd-mcp** Model Context Protocol server (see `.claude/settings.json`). Agents should prefer live MCP queries over scanning the repo by hand. Useful entry points:",
5
- "",
6
- "- `list_adrs` / `sdd://adrs/catalogue` — ADR discovery",
7
- "- `sdd://adrs/{scope}/{number}` — individual ADR bodies",
8
- "- `search_specs` / `find_related_specs` — full-text spec search",
9
- "- `find_consumers` / `find_producers` / `find_dependencies` / `find_dependents` — cross-repo dependency graph (requires populated `orchestration/repo-config/`)",
10
- "- `cascade_impact` — dry-run the cascade-update checklist for a proposed change",
11
- "",
12
- "All tools accept `pin_to_commit` for reproducible reads. See [ADR 0128](docs/method/adr/ADR%200128:%20Live-Query%20Context%20Extension%20via%20Model%20Context%20Protocol.md) for the full surface.",
13
- ];
14
- const COMMON_FOOTER = [
15
- "## Repository Lifecycle",
16
- "",
17
- "- `sdd-cli sync --bundle <path>` — refresh the method baseline in this repo.",
18
- "- `sdd-cli validate` — run the profile's validator suite against this repo.",
19
- "- `sdd-cli generate-claude-md ...` — regenerate this file after edits.",
20
- "",
21
- "## Managed-Path Reminder",
22
- "",
23
- "Everything under `docs/method/**` and other paths listed in `method-baseline.lock::managed_paths` is method-distributed. Do **not** edit those files locally — edits are overwritten on the next `sdd-cli sync`. Changes belong upstream in the method repository.",
24
- "",
25
- "Product-owned content (e.g. `docs/platform/**`, profile-specific YAMLs, `content/**`, `contracts/**`) is yours to edit freely.",
26
- ];
27
- export function renderAppClaudeMd(input) {
28
- const prettyName = titleize(input.appId);
29
- const platformLine = input.platformName
30
- ? `This app consumes platform services published by **${input.platformName}**.`
31
- : "This app consumes platform services published by the host platform.";
32
- return ([
33
- `# CLAUDE.md — ${prettyName}`,
34
- "",
35
- `This file briefs Claude Code (and other AI assistants) on the purpose, identity, and boundaries of the **${prettyName}** application SDD repository.`,
36
- "",
37
- "## Repository Identity",
38
- "",
39
- `- **Profile:** application`,
40
- `- **App ID:** ${input.appId}`,
41
- input.platformName ? `- **Platform:** ${input.platformName}` : "- **Platform:** (set via --platform-name when regenerating)",
42
- "- **Repo kind:** application-product",
43
- "",
44
- "## Purpose",
45
- "",
46
- platformLine,
47
- "",
48
- "See `docs/service-architecture.md` for the consumer-side architecture and `app-platform-dependencies.yaml` for the machine-readable contract dependency declarations.",
49
- "",
50
- "## Method Variant",
51
- "",
52
- "This repo uses the **Application Method Variant** (ADR 0089). Validation surface is intentionally reduced vs. the platform profile — fetch the ADR via MCP (`sdd://adrs/method/0089`) or read `docs/method/adr/` locally.",
53
- "",
54
- ...LIVE_CONTEXT_SECTION,
55
- "",
56
- ...COMMON_FOOTER,
57
- "",
58
- "_This file was generated by `sdd-cli generate-claude-md`. Tailor it as the app matures._",
59
- "",
60
- ].join("\n") + "\n");
61
- }
62
- export function renderIntegrationClaudeMd(input) {
63
- const prettyName = titleize(input.integrationId);
64
- const providerLine = input.providerName
65
- ? `Provider: **${input.providerName}**.`
66
- : "Provider: _(set --provider-name when regenerating)_.";
67
- return ([
68
- `# CLAUDE.md — ${prettyName}`,
69
- "",
70
- `This file briefs Claude Code (and other AI assistants) on the purpose, identity, and boundaries of the **${prettyName}** integration SDD repository.`,
71
- "",
72
- "## Repository Identity",
73
- "",
74
- `- **Profile:** integration`,
75
- `- **Integration ID:** ${input.integrationId}`,
76
- `- **Profile type:** ${input.profileType}`,
77
- providerLine ? `- ${providerLine}` : "",
78
- input.platformName ? `- **Platform:** ${input.platformName}` : "",
79
- "- **Repo kind:** integration-product",
80
- "",
81
- "## Purpose",
82
- "",
83
- "This repository scaffolds a product-agnostic integration per ADR 0096. See `integration-manifest.yaml` for the canonical identity, binding model, and inbound/outbound configuration; `docs/service-architecture.md` for the adapter architecture.",
84
- "",
85
- "## Method Variant",
86
- "",
87
- "This repo uses the **Integration Method Variant** (ADR 0096). Validation surface is integration-specific — fetch the ADR via MCP (`sdd://adrs/method/0096`) or read `docs/method/adr/` locally.",
88
- "",
89
- ...LIVE_CONTEXT_SECTION,
90
- "",
91
- ...COMMON_FOOTER,
92
- "",
93
- "_This file was generated by `sdd-cli generate-claude-md`. Tailor it as the integration matures._",
94
- "",
95
- ]
96
- .filter((line) => line !== "")
97
- .join("\n") + "\n");
98
- }
99
- export function renderPlatformClaudeMd(input) {
100
- return ([
101
- `# CLAUDE.md — ${input.platformName}`,
102
- "",
103
- `This file briefs Claude Code (and other AI assistants) on the purpose, identity, and boundaries of the **${input.platformName}** platform SDD repository.`,
104
- "",
105
- "## Repository Identity",
106
- "",
107
- "- **Profile:** platform",
108
- `- **Platform name:** ${input.platformName}`,
109
- `- **Platform ID:** ${input.platformId}`,
110
- "- **Repo kind:** platform-product",
111
- "",
112
- "## Purpose",
113
- "",
114
- `This is the root SDD repository for **${input.platformName}**. It contains the canonical method baseline (sync-managed under \`docs/method/**\`), platform/product architecture (\`docs/platform/**\`), domain docs (\`docs/domains/**\`), published cross-domain contracts (\`contracts/**\`), and orchestration tooling (\`orchestration/**\`).`,
115
- "",
116
- "See `README.md` for the repository map and navigation indexes.",
117
- "",
118
- "## Composition Flow",
119
- "",
120
- "- `sdd-cli init --profile platform` — bootstrap this repo (done once, at the start).",
121
- "- `platform-cli add <domain>` — scaffold a domain and its service repos (outside this repo). Populates `orchestration/repo-config/`.",
122
- "- `sdd-cli sync` — refresh the method baseline as new ADRs or templates ship upstream.",
123
- "- `sdd-cli validate` — run the 7-validator platform suite (traceability, runway-classification, adr-structure, spec-lifecycle, corpus-consistency, config, gate-readiness). Add `--validator docs-all` to opt into the conditional suite (backward-compatibility, deprecation-runway, migration-completeness, ddd-artifacts, glossary-alignment, intent-quality-readiness) once the relevant artefacts exist (BASELINE.md, gate-registry files).",
124
- "",
125
- ...LIVE_CONTEXT_SECTION,
126
- "",
127
- ...COMMON_FOOTER,
128
- "",
129
- "_This file was generated by `sdd-cli generate-claude-md`. Tailor it as the platform matures._",
130
- "",
131
- ].join("\n") + "\n");
132
- }
133
- function titleize(kebab) {
134
- return kebab
135
- .split("-")
136
- .filter((part) => part.length > 0)
137
- .map((part) => part[0].toUpperCase() + part.slice(1))
138
- .join(" ");
139
- }
140
- //# sourceMappingURL=claude-md.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"claude-md.js","sourceRoot":"","sources":["../../../src/lib/init/claude-md.ts"],"names":[],"mappings":"AAmBA,MAAM,oBAAoB,GAAG;IAC3B,yBAAyB;IACzB,EAAE;IACF,gMAAgM;IAChM,EAAE;IACF,wDAAwD;IACxD,yDAAyD;IACzD,iEAAiE;IACjE,iKAAiK;IACjK,iFAAiF;IACjF,EAAE;IACF,qMAAqM;CACtM,CAAC;AAEF,MAAM,aAAa,GAAG;IACpB,yBAAyB;IACzB,EAAE;IACF,8EAA8E;IAC9E,6EAA6E;IAC7E,wEAAwE;IACxE,EAAE;IACF,0BAA0B;IAC1B,EAAE;IACF,oQAAoQ;IACpQ,EAAE;IACF,gIAAgI;CACjI,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,KAAuB;IACvD,MAAM,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY;QACrC,CAAC,CAAC,sDAAsD,KAAK,CAAC,YAAY,KAAK;QAC/E,CAAC,CAAC,qEAAqE,CAAC;IAC1E,OAAO,CACL;QACE,iBAAiB,UAAU,EAAE;QAC7B,EAAE;QACF,4GAA4G,UAAU,gCAAgC;QACtJ,EAAE;QACF,wBAAwB;QACxB,EAAE;QACF,4BAA4B;QAC5B,iBAAiB,KAAK,CAAC,KAAK,EAAE;QAC9B,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,mBAAmB,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,6DAA6D;QAC5H,sCAAsC;QACtC,EAAE;QACF,Y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;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,KAA4B;IACjE,OAAO,CACL;QACE,iBAAiB,KAAK,CAAC,YAAY,EAAE;QACrC,EAAE;QACF,4GAA4G,KAAK,CAAC,YAAY,6BAA6B;QAC3J,EAAE;QACF,wBAAwB;QACxB,EAAE;QACF,yBAAyB;QACzB,wBAAwB,KAAK,CAAC,YAAY,EAAE;QAC5C,sBAAsB,KAAK,CAAC,UAAU,EAAE;QACxC,mCAAmC;QACnC,EAAE;QACF,YAAY;QACZ,EAAE;QACF,yCAAyC,KAAK,CAAC,YAAY,wRAAwR;QACnV,EAAE;QACF,gEAAgE;QAChE,EAAE;QACF,qBAAqB;QACrB,EAAE;QACF,sFAAsF;QACtF,sIAAsI;QACtI,wFAAwF;QACxF,kbAAkb;QAClb,EAAE;QACF,GAAG,oBAAoB;QACvB,EAAE;QACF,GAAG,aAAa;QAChB,EAAE;QACF,+FAA+F;QAC/F,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CACpB,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,KAAa;IAC7B,OAAO,KAAK;SACT,KAAK,CAAC,GAAG,CAAC;SACV,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;SACjC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACrD,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare function isAdrPath(managedPath: string): boolean;
2
- export declare function ensureSourceTag(content: string, tag: string): string;
3
- export declare function stripSourceTag(content: string): string;
4
- export declare function contentForCompare(managedPath: string, content: string): string;
5
- //# sourceMappingURL=source-tag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-tag.d.ts","sourceRoot":"","sources":["../../../src/lib/sync/source-tag.ts"],"names":[],"mappings":"AAGA,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAKtD;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAiBpE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAKtD;AAED,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,MAAM,CAER"}
@@ -1,34 +0,0 @@
1
- const SOURCE_LINE_PREFIX = "* **Source:** ";
2
- const STATUS_LINE_PREFIX = "* **Status:** ";
3
- export function isAdrPath(managedPath) {
4
- return (managedPath.startsWith("docs/platform/adr/") ||
5
- managedPath.startsWith("docs/method/adr/"));
6
- }
7
- export function ensureSourceTag(content, tag) {
8
- if (content.split("\n").some((line) => line.startsWith(SOURCE_LINE_PREFIX))) {
9
- return content;
10
- }
11
- if (!content.split("\n").some((line) => line.startsWith(STATUS_LINE_PREFIX))) {
12
- return content;
13
- }
14
- const out = [];
15
- let inserted = false;
16
- for (const line of content.split("\n")) {
17
- out.push(line);
18
- if (!inserted && line.startsWith(STATUS_LINE_PREFIX)) {
19
- out.push(`${SOURCE_LINE_PREFIX}${tag}`);
20
- inserted = true;
21
- }
22
- }
23
- return out.join("\n");
24
- }
25
- export function stripSourceTag(content) {
26
- return content
27
- .split("\n")
28
- .filter((line) => !line.startsWith(SOURCE_LINE_PREFIX))
29
- .join("\n");
30
- }
31
- export function contentForCompare(managedPath, content) {
32
- return isAdrPath(managedPath) ? stripSourceTag(content) : content;
33
- }
34
- //# sourceMappingURL=source-tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-tag.js","sourceRoot":"","sources":["../../../src/lib/sync/source-tag.ts"],"names":[],"mappings":"AAAA,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AAC5C,MAAM,kBAAk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AAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;SACtD,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,WAAmB,EACnB,OAAe;IAEf,OAAO,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Command } from "commander";
2
- export declare function registerGenerateClaudeMd(program: Command): void;
3
- //# sourceMappingURL=generate-claude-md.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate-claude-md.d.ts","sourceRoot":"","sources":["../../src/verbs/generate-claude-md.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAkD/D"}
@@ -1,36 +0,0 @@
1
- import { runGenerateClaudeMd } from "../lib/generate-claude-md/index.js";
2
- import { INTEGRATION_PROFILE_TYPES, isIntegrationProfileType, } from "../lib/init/integration.js";
3
- export function registerGenerateClaudeMd(program) {
4
- program
5
- .command("generate-claude-md")
6
- .description("Generate or regenerate CLAUDE.md for an existing SDD repository")
7
- .option("--target-dir <dir>", "target SDD repo", process.cwd())
8
- .option("--allow-existing", "overwrite an existing CLAUDE.md")
9
- .option("--app-id <id>", "app identifier (for application-profile repos)")
10
- .option("--integration-id <id>", "integration identifier (for integration-profile repos)")
11
- .option("--profile-type <type>", `integration profile type: ${INTEGRATION_PROFILE_TYPES.join(" | ")}`)
12
- .option("--provider-name <name>", "human-readable integration provider name")
13
- .option("--platform-name <name>", "platform name (required for platform profile; optional context for app/integration)")
14
- .option("--platform-id <slug>", "platform slug (defaults to kebab-case of --platform-name)")
15
- .action(async (opts) => {
16
- if (opts.profileType && !isIntegrationProfileType(opts.profileType)) {
17
- process.stderr.write(`[FAIL] --profile-type must be one of: ${INTEGRATION_PROFILE_TYPES.join(", ")}\n`);
18
- process.exit(1);
19
- }
20
- const { exitCode } = await runGenerateClaudeMd({
21
- targetDir: opts.targetDir,
22
- allowExisting: opts.allowExisting === true,
23
- ...(opts.appId ? { appId: opts.appId } : {}),
24
- ...(opts.integrationId ? { integrationId: opts.integrationId } : {}),
25
- ...(opts.profileType && isIntegrationProfileType(opts.profileType)
26
- ? { profileType: opts.profileType }
27
- : {}),
28
- ...(opts.providerName ? { providerName: opts.providerName } : {}),
29
- ...(opts.platformName ? { platformName: opts.platformName } : {}),
30
- ...(opts.platformId ? { platformId: opts.platformId } : {}),
31
- });
32
- if (exitCode !== 0)
33
- process.exit(exitCode);
34
- });
35
- }
36
- //# sourceMappingURL=generate-claude-md.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generate-claude-md.js","sourceRoot":"","sources":["../../src/verbs/generate-claude-md.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AAapC,MAAM,UAAU,wBAAwB,CAAC,OAAgB;IACvD,OAAO;SACJ,OAAO,CAAC,oBAAoB,CAAC;SAC7B,WAAW,CACV,iEAAiE,CAClE;SACA,MAAM,CAAC,oBAAoB,EAAE,iBAAiB,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC;SAC9D,MAAM,CACL,kBAAkB,EAClB,iCAAiC,CAClC;SACA,MAAM,CAAC,eAAe,EAAE,gDAAgD,CAAC;SACzE,MAAM,CACL,uBAAuB,EACvB,wDAAwD,CACzD;SACA,MAAM,CACL,uBAAuB,EACvB,6BAA6B,yBAAyB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CACrE;SACA,MAAM,CAAC,wBAAwB,EAAE,0CAA0C,CAAC;SAC5E,MAAM,CACL,wBAAwB,EACxB,qFAAqF,CACtF;SACA,MAAM,CACL,sBAA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