@agent-teams/feature-module-standard 0.3.2 → 0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#465](https://github.com/agent-teams-ai/engineering-foundation/pull/465) [`942b616`](https://github.com/agent-teams-ai/engineering-foundation/commit/942b616a4b79b9509a6a89d36205d7b1788d0928) Thanks [@777genius](https://github.com/777genius)! - Replace quality source-coverage profiles v1–v4 with v5's architecture-neutral
8
+ topology and one captured invocation. Execution no longer rereads a profile to
9
+ select different lint/project inputs; bounded consumer-file verification rejects
10
+ persistent changes before success and preserves the admitted report version.
11
+
12
+ Move FMS topology projection to the opt-in package's pure `./quality-topology`
13
+ export, preserve historical schema artifacts and provide the v5 migration guide.
14
+ Existing consumers may retain their previous pinned major until they migrate.
15
+
16
+ ### Patch Changes
17
+
18
+ - [#463](https://github.com/agent-teams-ai/engineering-foundation/pull/463) [`1fb1656`](https://github.com/agent-teams-ai/engineering-foundation/commit/1fb16560e6972909e68fb36b9b005bf16273cbea) Thanks [@777genius](https://github.com/777genius)! - Reobserve SDK growth workspace inputs before publishing a report, including ordered export conditions, and preserve the prior report when inputs change or become unavailable. Validate discovered source path identities, honor cancellation after asynchronous reads, and avoid repeated traversal of overlapping roots. Preserve the selected workspace declaration configuration version in success and failure reports.
19
+
20
+ Republish Feature Module Standard with the corresponding exact Foundation development dependency in its canonical package manifest.
21
+
3
22
  ## 0.3.2
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -73,13 +73,43 @@ composition-contract cases as complete module descriptions with their expected
73
73
  diagnostic codes. The kernel tests, and every adopting checker as its
74
74
  conformance test, run the same data.
75
75
 
76
+ ## Quality topology projection
77
+
78
+ The pure `@agent-teams/feature-module-standard/quality-topology` entrypoint exports
79
+ `projectQualitySourceTopology(profile, sourcePolicyPath)` and the
80
+ `QualitySourceTopology` type. It projects supported flat or nested FMS v1/v1.1
81
+ profile facts into Foundation's neutral `quality-source-topology/v1` wire format:
82
+ explicit census, package, production source, test and excluded roots, plus exact
83
+ generator paths. It performs no filesystem access and requires no Foundation
84
+ installation.
85
+
86
+ ```ts
87
+ import { projectQualitySourceTopology } from "@agent-teams/feature-module-standard/quality-topology";
88
+
89
+ const topology = projectQualitySourceTopology(fmsProfile, "architecture/source.yaml");
90
+ // Write this value as the topologyPath input of a quality-source-coverage/v5 profile.
91
+ ```
92
+
93
+ Pending FMS adoption still contributes its declared production sources. Nested
94
+ application roots contribute their mapped production sources; their surrounding
95
+ tests and scripts are not automatically promoted to production. Flat profile
96
+ source-policy linkage and nested module/layout linkage are validated before
97
+ projection. Generator provenance contributes exact tooling files and does not
98
+ remove production protection from a generator inside a source root.
99
+
100
+ The returned object and arrays are frozen, sorted and deduplicated. Consumers
101
+ that do not adopt FMS can write the neutral topology directly. A repository-owned
102
+ generator can add the neutral format's optional `derivedFrom` hashes; this pure
103
+ mapper does not read or hash consumer files. The new projection entrypoint and
104
+ v5 integration are prepared for the companion release.
105
+
76
106
  ## Runner
77
107
 
78
108
  `@agent-teams/feature-module-standard/node` checks a module on disk. It reads the declared roots through
79
109
  `@agent-teams/engineering-foundation/source-graph`, runs the kernel and compares the per-feature metrics with
80
- growth budgets from `@agent-teams/engineering-foundation/ratchet` (warnings only). Engineering Foundation `^1.8.0 || ^2.0.0 || ^3.0.0` is an
81
- optional peer dependency: users of `.` and `./fixtures` do not need it.
82
- The Foundation 3 window is prepared for the companion release. See the
110
+ growth budgets from `@agent-teams/engineering-foundation/ratchet` (warnings only). Engineering Foundation `^1.8.0 || ^2.0.0 || ^3.0.0 || ^4.0.0` is an
111
+ optional peer dependency: users of `.`, `./fixtures` and `./quality-topology` do not need it.
112
+ The Foundation 4 window is prepared for the quality v5 companion release and requires final installed candidate qualification. The Foundation 3 runner migration remains documented in the
83
113
  [migration and qualification record](../../docs/development/feature-module-standard-foundation-3-migration.md)
84
114
  for the unchanged runner contracts and the required final installed-artifact gate.
85
115
 
@@ -0,0 +1,13 @@
1
+ /** Consumer-owned technical roots; this wire shape does not require FMS in its consumer. */
2
+ export interface QualitySourceTopology {
3
+ readonly schemaVersion: 1;
4
+ readonly censusRoots: readonly string[];
5
+ readonly packageRoots: readonly string[];
6
+ readonly sourceRoots: readonly string[];
7
+ readonly testRoots: readonly string[];
8
+ readonly excludedRoots: readonly string[];
9
+ readonly toolingFiles: readonly string[];
10
+ }
11
+ /** Project supported FMS v1/v1.1 profile facts without filesystem access or policy execution. */
12
+ export declare function projectQualitySourceTopology(profile: unknown, sourcePolicyPath: string): QualitySourceTopology;
13
+ //# sourceMappingURL=project-quality-source-topology.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-quality-source-topology.d.ts","sourceRoot":"","sources":["../../../../src/features/quality-topology/application/project-quality-source-topology.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C;AA4ID,iGAAiG;AACjG,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,MAAM,GACvB,qBAAqB,CAavB"}
@@ -0,0 +1,127 @@
1
+ function invalid(message) {
2
+ throw new TypeError(`FMS quality topology: ${message}`);
3
+ }
4
+ function record(value) {
5
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
6
+ invalid("expected a profile data object.");
7
+ }
8
+ return Object.fromEntries(Object.entries(value));
9
+ }
10
+ function path(value, allowRoot = true) {
11
+ if (allowRoot && value === ".") {
12
+ return value;
13
+ }
14
+ if (typeof value !== "string" ||
15
+ value.length === 0 ||
16
+ value.length > 240 ||
17
+ value.includes("\\") ||
18
+ value.startsWith("/") ||
19
+ value.includes(":") ||
20
+ /[*?[\]{}]/u.test(value) ||
21
+ Array.from(value).some((character) => character.charCodeAt(0) < 32 || character.charCodeAt(0) === 127) ||
22
+ value.split("/").some((part) => part === "" || part === "." || part === "..")) {
23
+ invalid("expected a canonical repository-relative path.");
24
+ }
25
+ return value;
26
+ }
27
+ function paths(value) {
28
+ if (!Array.isArray(value) || value.length > 10_000) {
29
+ invalid("expected a bounded path list.");
30
+ }
31
+ return value.map((item) => path(item));
32
+ }
33
+ function modules(value) {
34
+ if (!Array.isArray(value) || value.length === 0 || value.length > 5000) {
35
+ invalid("expected a nonempty bounded module mapping.");
36
+ }
37
+ return value.map(record);
38
+ }
39
+ function unique(values) {
40
+ const result = [...new Set(values)].toSorted();
41
+ const portable = new Set(result.map((entry) => entry.normalize("NFC").toLocaleLowerCase("en-US")));
42
+ if (result.length > 10000 || portable.size !== result.length) {
43
+ invalid("projected paths require bounded unique portable identities.");
44
+ }
45
+ return Object.freeze(result);
46
+ }
47
+ function topology(input) {
48
+ return Object.freeze({
49
+ schemaVersion: 1,
50
+ censusRoots: unique(input.censusRoots),
51
+ packageRoots: unique([".", ...input.packageRoots]),
52
+ sourceRoots: unique(input.sourceRoots),
53
+ testRoots: unique(input.testRoots),
54
+ excludedRoots: unique(input.excludedRoots),
55
+ toolingFiles: unique(input.toolingFiles),
56
+ });
57
+ }
58
+ function generators(value) {
59
+ if (value === undefined) {
60
+ return [];
61
+ }
62
+ if (!Array.isArray(value) || value.length > 5000) {
63
+ invalid("expected bounded generated provenance records.");
64
+ }
65
+ return value.map((item) => path(record(item)["generator"], false));
66
+ }
67
+ function below(source, root) {
68
+ return root === "." || source === root || source.startsWith(`${root}/`);
69
+ }
70
+ function flat(input, sourcePolicyPath) {
71
+ if (record(input["topology"])["sourcePolicy"] !== sourcePolicyPath) {
72
+ invalid("the accepted source-policy mapping differs from the requested policy.");
73
+ }
74
+ const entries = modules(input["modules"]);
75
+ const applications = paths(input["applicationRoots"]);
76
+ return topology({
77
+ censusRoots: [...paths(input["productionRoots"]), ...applications],
78
+ packageRoots: entries.map((entry) => path(entry["root"])),
79
+ sourceRoots: [...entries.map((entry) => path(entry["sourceRoot"])), ...applications],
80
+ testRoots: entries.flatMap((entry) => paths(entry["testRoots"])),
81
+ excludedRoots: paths(input["excludedRoots"]),
82
+ toolingFiles: entries.flatMap((entry) => generators(entry["generatedRoots"])),
83
+ });
84
+ }
85
+ function nested(input) {
86
+ const scope = record(input["scope"]);
87
+ const adoption = record(input["adoption"]);
88
+ const entries = modules(scope["productionModules"]);
89
+ const layouts = modules(record(adoption["abstractLayout"])["modules"]);
90
+ for (const layout of layouts) {
91
+ if (!entries.some((entry) => entry["moduleRoot"] === layout["moduleRoot"] &&
92
+ entry["sourceRoot"] === layout["sourceRoot"])) {
93
+ invalid("an abstract layout must map an existing production module and its source root.");
94
+ }
95
+ }
96
+ const applications = paths(adoption["applicationRoots"]);
97
+ const applicationSources = applications.length === 0
98
+ ? []
99
+ : paths(scope["productionRoots"]).filter((source) => applications.some((root) => below(source, root)));
100
+ for (const root of applications) {
101
+ if (!applicationSources.some((source) => below(source, root))) {
102
+ invalid("an application must map an existing production source root.");
103
+ }
104
+ }
105
+ return topology({
106
+ censusRoots: [...paths(scope["workspaceContainers"]), ...applications],
107
+ packageRoots: entries.map((entry) => path(entry["moduleRoot"])),
108
+ sourceRoots: [...entries.map((entry) => path(entry["sourceRoot"])), ...applicationSources],
109
+ testRoots: layouts.map((entry) => path(entry["testRoot"])),
110
+ excludedRoots: paths(adoption["excludedRoots"]),
111
+ toolingFiles: [],
112
+ });
113
+ }
114
+ /** Project supported FMS v1/v1.1 profile facts without filesystem access or policy execution. */
115
+ export function projectQualitySourceTopology(profile, sourcePolicyPath) {
116
+ path(sourcePolicyPath, false);
117
+ const input = record(profile);
118
+ const isNested = input["authority"] !== undefined;
119
+ const standard = record(isNested ? input["authority"] : input["standard"]);
120
+ if (input["schemaVersion"] !== 1 ||
121
+ standard["id"] !== "agent-teams.feature-module-standard" ||
122
+ (standard["version"] !== "v1" && standard["version"] !== "v1.1")) {
123
+ invalid("requires an FMS v1 or v1.1 production mapping.");
124
+ }
125
+ return isNested ? nested(input) : flat(input, sourcePolicyPath);
126
+ }
127
+ //# sourceMappingURL=project-quality-source-topology.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-quality-source-topology.js","sourceRoot":"","sources":["../../../../src/features/quality-topology/application/project-quality-source-topology.ts"],"names":[],"mappings":"AAWA,SAAS,OAAO,CAAC,OAAe;IAC9B,MAAM,IAAI,SAAS,CAAC,yBAAyB,OAAO,EAAE,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC7C,CAAC;IACD,OAAO,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,IAAI,CAAC,KAAc,EAAE,SAAS,GAAG,IAAI;IAC5C,IAAI,SAAS,IAAI,KAAK,KAAK,GAAG,EAAE,CAAC;QAC/B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IACE,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,CAAC,MAAM,KAAK,CAAC;QAClB,KAAK,CAAC,MAAM,GAAG,GAAG;QAClB,KAAK,CAAC,QAAQ,CAAC,IAAI,CA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IAC3E,IACE,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC;QAC5B,QAAQ,CAAC,IAAI,CAAC,KAAK,qCAAqC;QACxD,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,QAAQ,CAAC,SAAS,CAAC,KAAK,MAAM,CAAC,EAChE,CAAC;QACD,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { projectQualitySourceTopology, type QualitySourceTopology, } from "./features/quality-topology/application/project-quality-source-topology.js";
2
+ //# sourceMappingURL=quality-topology.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quality-topology.d.ts","sourceRoot":"","sources":["../src/quality-topology.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,KAAK,qBAAqB,GAC3B,MAAM,4EAA4E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { projectQualitySourceTopology, } from "./features/quality-topology/application/project-quality-source-topology.js";
2
+ //# sourceMappingURL=quality-topology.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quality-topology.js","sourceRoot":"","sources":["../src/quality-topology.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,4EAA4E,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Opt-in checks for the Feature Module Standard: a pure kernel, shared fixtures and a Node runner over the Foundation file graph.",
3
3
  "devDependencies": {
4
- "@agent-teams/engineering-foundation": "3.1.0",
4
+ "@agent-teams/engineering-foundation": "4.0.0",
5
5
  "typescript": "7.0.2"
6
6
  },
7
7
  "engines": {
@@ -21,6 +21,10 @@
21
21
  "types": "./dist/node.d.ts",
22
22
  "import": "./dist/node.js"
23
23
  },
24
+ "./quality-topology": {
25
+ "types": "./dist/quality-topology.d.ts",
26
+ "import": "./dist/quality-topology.js"
27
+ },
24
28
  "./package.json": "./package.json"
25
29
  },
26
30
  "files": [
@@ -32,7 +36,7 @@
32
36
  "license": "Apache-2.0",
33
37
  "name": "@agent-teams/feature-module-standard",
34
38
  "peerDependencies": {
35
- "@agent-teams/engineering-foundation": "^1.8.0 || ^2.0.0 || ^3.0.0"
39
+ "@agent-teams/engineering-foundation": "^1.8.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
36
40
  },
37
41
  "peerDependenciesMeta": {
38
42
  "@agent-teams/engineering-foundation": {
@@ -54,5 +58,5 @@
54
58
  },
55
59
  "sideEffects": false,
56
60
  "type": "module",
57
- "version": "0.3.2"
61
+ "version": "0.4.0"
58
62
  }