@sdd-method/verify-cli 2.2.0 → 2.4.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.
@@ -1,3 +1,4 @@
1
+ import { checkArchetypeCitations } from "./archetype-citations.js";
1
2
  import { checkBehaviourStore, checkBehaviourStoreOpenspec } from "./behaviour-store.js";
2
3
  import { checkBundleCoherence } from "./bundle-coherence.js";
3
4
  import { checkYamlParse } from "./yaml-parse.js";
@@ -14,6 +15,12 @@ const BEHAVIOUR_STORE_VALIDATORS = [
14
15
  source: { kind: "native", run: async (ctx) => checkBehaviourStoreOpenspec(ctx.targetRepo) },
15
16
  build: () => ({ status: "run", args: [] }),
16
17
  },
18
+ // Seed once, then cite: requirements an estate took from a reference-architecture archetype still answer to it.
19
+ {
20
+ name: "archetype-citations",
21
+ source: { kind: "native", run: async (ctx) => checkArchetypeCitations(ctx.targetRepo) },
22
+ build: () => ({ status: "run", args: [] }),
23
+ },
17
24
  ];
18
25
  // Validators that accept --app-root / --repo-root flags work fine from the
19
26
  // bundled location because they override their internal ROOT_DIR via the
@@ -92,7 +99,7 @@ const APP_VALIDATORS = [
92
99
  ...BEHAVIOUR_STORE_VALIDATORS,
93
100
  // Note: validate-runway-classification is intentionally NOT in the app set.
94
101
  // It requires platform-level files (docs/platform/feature-tree.md,
95
- // architecture-runway-index.md) that app repos don't own. Per ADR 0089,
102
+ // architecture-runway-index.md) that app repos don't own. Per M-ADR 0089,
96
103
  // the reduced app suite is app-specific validators + shared foundations,
97
104
  // not platform validators.
98
105
  ];
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.8.0",
3
- "built_against_sdd_cli": "2.2.0"
2
+ "version": "0.10.0",
3
+ "built_against_sdd_cli": "2.4.0"
4
4
  }
@@ -7,7 +7,7 @@ const VALID_PROFILES = [
7
7
  export function registerList(program) {
8
8
  program
9
9
  .command("list")
10
- .description("Enumerate SDD repositories discoverable in the current workspace, including adopter pack provenance (ADR 0151)")
10
+ .description("Enumerate SDD repositories discoverable in the current workspace, including adopter pack provenance (M-ADR 0151)")
11
11
  .option("--profile <profile>", "filter by profile: platform | application | integration")
12
12
  .option("--workspace-root <path>", "workspace directory to walk (repeatable; defaults to cwd)", collectRoots, [])
13
13
  .option("--format <format>", "output format: text | json", "text")
@@ -109,11 +109,11 @@ export function registerVerifySurface(program) {
109
109
  registerList(program);
110
110
  const pack = program
111
111
  .command("pack")
112
- .description("Validate adopter-shipped context-pack seeds (ADR 0151) — read-only");
112
+ .description("Validate adopter-shipped context-pack seeds (M-ADR 0151) — read-only");
113
113
  registerPackValidate(pack);
114
114
  const catalogue = program
115
115
  .command("catalogue")
116
- .description("Validate and query per-SDD catalogues (ADR 0134) — read-only, never rebuilds");
116
+ .description("Validate and query per-SDD catalogues (M-ADR 0134) — read-only, never rebuilds");
117
117
  registerCatalogueValidate(catalogue);
118
118
  registerCatalogueImpact(catalogue);
119
119
  registerCatalogueBaselineCheck(catalogue);
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "2.2.0",
3
- "built_against_sdd_cli": "2.2.0"
2
+ "version": "2.4.0",
3
+ "built_against_sdd_cli": "2.4.0"
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sdd-method/verify-cli",
3
- "version": "2.2.0",
4
- "sddCliVersion": "2.2.0",
3
+ "version": "2.4.0",
4
+ "sddCliVersion": "2.4.0",
5
5
  "description": "Verify an SDD repository without changing it — validate, list, and read-only catalogue and pack checks. Ships only the code those verbs reach; it cannot write to the repository it is pointed at. Authoring and maintenance are in @sdd-method/sdd-cli.",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -149,7 +149,7 @@ fi
149
149
  APP_DEPS_FILE="$APP_ROOT/app-platform-dependencies.yaml"
150
150
 
151
151
  # TWO AUTHORING SOURCES, NOT ONE.
152
- # The catalogue builder does multi-source ingestion under the ADR 0157 parity
152
+ # The catalogue builder does multi-source ingestion under the M-ADR 0157 parity
153
153
  # principle: `app-platform-dependencies.yaml` AND every
154
154
  # `reverse-evidence/**/feature-grounding-evidence.yaml`'s platform_dependencies
155
155
  # block, merged by primary key with forward winning. They are equal-status
@@ -160,7 +160,7 @@ check_manifest() {
160
160
  ;;
161
161
  esac
162
162
 
163
- # Interaction patterns (ADR 0171) — optional fields, validated only when present.
163
+ # Interaction patterns (M-ADR 0171) — optional fields, validated only when present.
164
164
  # Existing manifests predate the field; absence is not a failure. Directionality
165
165
  # mismatch (pattern present but the matching capability flag is false) is a warning.
166
166
  local ingestion invocation