@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.
- package/dist/lib/behaviour-store/archive.js +28 -1
- package/dist/lib/behaviour-store/schema.js +85 -0
- package/dist/lib/catalogue/canonical-schema.yaml +138 -2
- package/dist/lib/catalogue/coverage-render.js +15 -15
- package/dist/lib/catalogue/csv-writer.js +1 -1
- package/dist/lib/catalogue/findings.js +1 -1
- package/dist/lib/catalogue/fk-validator.js +2 -2
- package/dist/lib/catalogue/manifest-loader.js +3 -3
- package/dist/lib/catalogue/rubric-coverage-map.yaml +28 -0
- package/dist/lib/catalogue/schema-compat.js +2 -2
- package/dist/lib/catalogue/schema-loader.js +1 -1
- package/dist/lib/metamodel/tql-subset-parser.js +280 -0
- package/dist/lib/pack/schema.js +2 -2
- package/dist/lib/pack/seed.js +2 -2
- package/dist/lib/pack/validate.js +1 -1
- package/dist/lib/repo-kind.js +4 -12
- package/dist/lib/scaffold/archetype-behaviour.js +173 -0
- package/dist/lib/scaffold/registry.js +136 -0
- package/dist/lib/sync/bundle-cache.js +109 -0
- package/dist/lib/validate/archetype-citations.js +169 -0
- package/dist/lib/validate/behaviour-store.js +161 -6
- package/dist/lib/validate/dispatch.js +8 -1
- package/dist/maintain-version.json +2 -2
- package/dist/verbs/list.js +1 -1
- package/dist/verify-program.js +2 -2
- package/dist/verify-version.json +2 -2
- package/package.json +2 -2
- package/scripts/validate-app-dependencies.sh +1 -1
- package/scripts/validate-integration-docs.sh +1 -1
|
@@ -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
|
];
|
package/dist/verbs/list.js
CHANGED
|
@@ -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")
|
package/dist/verify-program.js
CHANGED
|
@@ -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);
|
package/dist/verify-version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdd-method/verify-cli",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"sddCliVersion": "2.
|
|
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
|