@agent-teams/engineering-foundation 1.4.1 → 1.5.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/capabilities/public-api-compatibility/adapters/inbound/authority/growth-authority-contract.d.ts +10 -0
- package/dist/capabilities/public-api-compatibility/adapters/inbound/authority/growth-authority-contract.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/inbound/authority/growth-authority-contract.js +2 -0
- package/dist/capabilities/public-api-compatibility/adapters/inbound/authority/growth-authority-contract.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/crypto/node-change-fingerprint.d.ts +2 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/crypto/node-change-fingerprint.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/crypto/node-change-fingerprint.js +4 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/crypto/node-change-fingerprint.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/artifact-public-api-evidence.d.ts +7 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/artifact-public-api-evidence.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/artifact-public-api-evidence.js +16 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/artifact-public-api-evidence.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.d.ts +6 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.js +22 -2
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-invocation.d.ts +3 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-invocation.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-invocation.js +10 -7
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-invocation.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-metadata-root-sources.d.ts +13 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-metadata-root-sources.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-metadata-root-sources.js +38 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-metadata-root-sources.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-report-writer.d.ts +3 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-report-writer.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-report-writer.js +17 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/growth-report-writer.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js +6 -2
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-evidence-files.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-evidence-files.js +64 -26
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-evidence-files.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/reviewrouter-growth-authority-acl.d.ts +18 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/reviewrouter-growth-authority-acl.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/reviewrouter-growth-authority-acl.js +51 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/reviewrouter-growth-authority-acl.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/strict-json-response.d.ts +5 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/strict-json-response.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/strict-json-response.js +118 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/strict-json-response.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-input-context.d.ts +28 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-input-context.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-input-context.js +163 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-input-context.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-observation.d.ts +8 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-observation.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-observation.js +59 -0
- package/dist/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-observation.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/api.d.ts +1 -0
- package/dist/capabilities/public-api-compatibility/api.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/growth-admission-context.d.ts +9 -0
- package/dist/capabilities/public-api-compatibility/application/model/growth-admission-context.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/growth-authority.d.ts +243 -0
- package/dist/capabilities/public-api-compatibility/application/model/growth-authority.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/model/growth-authority.js +5 -0
- package/dist/capabilities/public-api-compatibility/application/model/growth-authority.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/default-type-argument-equivalence.d.ts +15 -0
- package/dist/capabilities/public-api-compatibility/application/policies/default-type-argument-equivalence.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/default-type-argument-equivalence.js +282 -0
- package/dist/capabilities/public-api-compatibility/application/policies/default-type-argument-equivalence.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-admission.d.ts +18 -2
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-admission.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-admission.js +35 -15
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-admission.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-release-compatibility.d.ts +4 -2
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-release-compatibility.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-release-compatibility.js +76 -9
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-growth-release-compatibility.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-initial-release.d.ts +15 -0
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-initial-release.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-initial-release.js +26 -0
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-initial-release.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.js +19 -10
- package/dist/capabilities/public-api-compatibility/application/policies/evaluate-public-api-compatibility.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/normalize-growth-observation.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/normalize-growth-observation.js +2 -1
- package/dist/capabilities/public-api-compatibility/application/policies/normalize-growth-observation.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/project-growth-report.js +47 -19
- package/dist/capabilities/public-api-compatibility/application/policies/project-growth-report.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority-primitives.d.ts +18 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority-primitives.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority-primitives.js +153 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority-primitives.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority.d.ts +24 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority.js +610 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-authority.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-installed-inventory.d.ts +8 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-installed-inventory.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-installed-inventory.js +11 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-installed-inventory.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-metadata-root.d.ts +13 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-metadata-root.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-metadata-root.js +121 -0
- package/dist/capabilities/public-api-compatibility/application/policies/validate-growth-metadata-root.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/ports/change-fingerprint.d.ts +2 -1
- package/dist/capabilities/public-api-compatibility/application/ports/change-fingerprint.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/ports/growth-authority.d.ts +17 -0
- package/dist/capabilities/public-api-compatibility/application/ports/growth-authority.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/ports/growth-authority.js +2 -0
- package/dist/capabilities/public-api-compatibility/application/ports/growth-authority.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/ports/growth-input-context.d.ts +11 -1
- package/dist/capabilities/public-api-compatibility/application/ports/growth-input-context.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/ports/public-api-repository.d.ts +6 -0
- package/dist/capabilities/public-api-compatibility/application/ports/public-api-repository.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/admit-sdk-growth.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/admit-sdk-growth.js +31 -5
- package/dist/capabilities/public-api-compatibility/application/use-cases/admit-sdk-growth.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.js +8 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/analyze-public-api-compatibility.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/check-sdk-growth.d.ts +11 -2
- package/dist/capabilities/public-api-compatibility/application/use-cases/check-sdk-growth.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/check-sdk-growth.js +11 -8
- package/dist/capabilities/public-api-compatibility/application/use-cases/check-sdk-growth.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/preflight-public-api-promotions.d.ts +2 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/preflight-public-api-promotions.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/preflight-public-api-promotions.js +16 -4
- package/dist/capabilities/public-api-compatibility/application/use-cases/preflight-public-api-promotions.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js +24 -11
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/qualify-sdk-growth.d.ts +16 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/qualify-sdk-growth.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/qualify-sdk-growth.js +45 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/qualify-sdk-growth.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/authority-module.d.ts +30 -0
- package/dist/capabilities/public-api-compatibility/authority-module.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/authority-module.js +142 -0
- package/dist/capabilities/public-api-compatibility/authority-module.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/module.d.ts +16 -0
- package/dist/capabilities/public-api-compatibility/module.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/module.js +6 -6
- package/dist/capabilities/public-api-compatibility/module.js.map +1 -1
- package/dist/composition/quality-coverage.d.ts +1 -1
- package/dist/composition/quality-coverage.d.ts.map +1 -1
- package/dist/composition/sdk-growth-authority.d.ts +13 -0
- package/dist/composition/sdk-growth-authority.d.ts.map +1 -0
- package/dist/composition/sdk-growth-authority.js +19 -0
- package/dist/composition/sdk-growth-authority.js.map +1 -0
- package/dist/features/validation-reporting/api.d.ts +1 -1
- package/dist/features/validation-reporting/api.d.ts.map +1 -1
- package/dist/features/validation-reporting/api.js.map +1 -1
- package/dist/features/validation-reporting/application/model.d.ts +2 -3
- package/dist/features/validation-reporting/application/model.d.ts.map +1 -1
- package/dist/sdk-growth-authority.d.ts +15 -0
- package/dist/sdk-growth-authority.d.ts.map +1 -0
- package/dist/sdk-growth-authority.js +2 -0
- package/dist/sdk-growth-authority.js.map +1 -0
- package/package.json +5 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { GrowthObservationPort } from "../../../application/ports/growth-observation.js";
|
|
2
|
+
import type { ResolvedGrowthInputContextPort } from "../../../application/ports/growth-input-context.js";
|
|
3
|
+
import type { ChangeFingerprint } from "../../../application/ports/change-fingerprint.js";
|
|
4
|
+
/** The trusted observation boundary selects independently verified archive
|
|
5
|
+
* observations. Workspace snapshots supply compatibility evidence only; neither
|
|
6
|
+
* they nor a context payload may rewrite the selected S1 observation. */
|
|
7
|
+
export declare function createVerifiedGrowthObservation(local: GrowthObservationPort, context: ResolvedGrowthInputContextPort, fingerprint?: ChangeFingerprint): GrowthObservationPort;
|
|
8
|
+
//# sourceMappingURL=verified-growth-observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verified-growth-observation.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/public-api-compatibility/adapters/outbound/reviewrouter/verified-growth-observation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AAKzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AAE1F;;yEAEyE;AACzE,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,8BAA8B,EACnH,WAAW,CAAC,EAAE,iBAAiB,GAAG,qBAAqB,CA8CxD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { GrowthObservationInvariantError } from "../../../application/model/growth-observation.js";
|
|
2
|
+
import { growthCanonicalJson, normalizeGrowthObservation } from "../../../application/policies/normalize-growth-observation.js";
|
|
3
|
+
import { validateGrowthExecution } from "../../../application/policies/validate-growth-execution.js";
|
|
4
|
+
import { metadataRootObservation } from "../../../application/policies/validate-growth-metadata-root.js";
|
|
5
|
+
/** The trusted observation boundary selects independently verified archive
|
|
6
|
+
* observations. Workspace snapshots supply compatibility evidence only; neither
|
|
7
|
+
* they nor a context payload may rewrite the selected S1 observation. */
|
|
8
|
+
export function createVerifiedGrowthObservation(local, context, fingerprint) {
|
|
9
|
+
return { async observe(invocation, cancellation) {
|
|
10
|
+
const workspace = await local.observe(invocation, cancellation);
|
|
11
|
+
validateGrowthExecution(workspace, invocation);
|
|
12
|
+
if (workspace.surface.status !== "available") {
|
|
13
|
+
return workspace;
|
|
14
|
+
}
|
|
15
|
+
const candidates = context.packedCandidates();
|
|
16
|
+
const roots = context.resolution().grant.metadataRoots;
|
|
17
|
+
if (roots.length > 0 && fingerprint === undefined) {
|
|
18
|
+
throw new GrowthObservationInvariantError("growth-metadata-root-fingerprint-required");
|
|
19
|
+
}
|
|
20
|
+
const metadata = roots.map((root) => metadataRootObservation(root, "candidate", invocation, fingerprint));
|
|
21
|
+
const packages = [...candidates.map((row) => row.packageName), ...roots.map((root) => root.evidence.packageName)].toSorted();
|
|
22
|
+
if (new Set(packages).size !== packages.length
|
|
23
|
+
|| growthCanonicalJson(packages) !== growthCanonicalJson(workspace.surface.value.coverage.map((row) => row.packageName).toSorted())) {
|
|
24
|
+
throw new GrowthObservationInvariantError("growth-authority-candidate-scope-mismatch");
|
|
25
|
+
}
|
|
26
|
+
for (const candidate of candidates) {
|
|
27
|
+
validateGrowthExecution({ identity: invocation, surface: { status: "available", value: candidate.observation }, compatibilitySnapshots: workspace.compatibilitySnapshots.filter((row) => row.packageName === candidate.packageName) }, invocation);
|
|
28
|
+
}
|
|
29
|
+
const value = normalizeGrowthObservation({ ...invocation, contractRevision: "foundation:sdk-growth:c0:5",
|
|
30
|
+
observationVersion: "foundation:sdk-growth:observation:1",
|
|
31
|
+
coverage: [...candidates.flatMap((row) => row.observation.coverage), ...metadata.flatMap((row) => row.coverage)],
|
|
32
|
+
entries: [...candidates.flatMap((row) => row.observation.entries), ...metadata.flatMap((row) => row.entries)] });
|
|
33
|
+
const entries = new Map(value.entries.map((entry) => [growthCanonicalJson(entry.coordinate), entry]));
|
|
34
|
+
const workspaceEntries = new Map(workspace.surface.value.entries.map((entry) => [growthCanonicalJson(entry.coordinate), entry]));
|
|
35
|
+
const coverage = new Map(value.coverage.map((row) => [row.packageName, row]));
|
|
36
|
+
for (const [key, entry] of workspaceEntries) {
|
|
37
|
+
const candidate = entries.get(key);
|
|
38
|
+
if (candidate !== undefined && growthCanonicalJson(candidate.value) !== growthCanonicalJson(entry.value)) {
|
|
39
|
+
throw new GrowthObservationInvariantError("growth-authority-overlapping-observation-mismatch");
|
|
40
|
+
}
|
|
41
|
+
if (candidate === undefined && entry.value.state === "present"
|
|
42
|
+
&& coverage.get(entry.coordinate.packageName)?.dimensions.some((row) => row.dimension === "packed" && row.status === "complete") === true) {
|
|
43
|
+
throw new GrowthObservationInvariantError("growth-authority-packed-absence-mismatch");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const compatibilitySnapshots = workspace.compatibilitySnapshots.map((row) => {
|
|
47
|
+
const missing = value.entries.filter((entry) => entry.coordinate.packageName === row.packageName && entry.value.state === "present"
|
|
48
|
+
&& !workspaceEntries.has(growthCanonicalJson(entry.coordinate)));
|
|
49
|
+
const unavailable = { status: "unavailable", reasons: ["growth-packed-compatibility-evidence-unavailable"] };
|
|
50
|
+
return { ...row,
|
|
51
|
+
typed: missing.some((entry) => entry.coordinate.subject.kind === "typed") ? { kind: "typed", snapshot: unavailable } : row.typed,
|
|
52
|
+
artifact: missing.some((entry) => entry.coordinate.subject.kind === "data" || entry.coordinate.subject.kind === "wildcard-member")
|
|
53
|
+
? { kind: "artifact", snapshot: unavailable } : row.artifact };
|
|
54
|
+
});
|
|
55
|
+
cancellation.throwIfCancelled();
|
|
56
|
+
return { identity: structuredClone(invocation), surface: { status: "available", value }, compatibilitySnapshots };
|
|
57
|
+
} };
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=verified-growth-observation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verified-growth-observation.js","sourceRoot":"","sources":["../../../../../../src/capabilities/public-api-compatibility/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AU,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;YACrE,CAAC,CAAC,CAAC;YACH,YAAY,CAAC,gBAAgB,EAAE,CAAC;YAChC,OAAO,EAAE,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,sBAAsB,EAAE,CAAC;QACpH,CAAC,EAAE,CAAC;AACN,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type { PublicApiAuditRequest } from "./contract/public-api-audit.js";
|
|
2
2
|
export type { PublicApiAuditReport } from "./application/model/public-api-audit-report.js";
|
|
3
|
+
export type { GrowthDecisionAuthority, GrowthComparison, GrowthTransition, GrowthValueRef, growthPolicyVersion } from "./application/model/growth-admission.js";
|
|
3
4
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/capabilities/public-api-compatibility/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/capabilities/public-api-compatibility/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAC3F,YAAY,EACV,uBAAuB,EACvB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACpB,MAAM,yCAAyC,CAAC"}
|
package/dist/capabilities/public-api-compatibility/application/model/growth-admission-context.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export interface GrowthReleasedPackage {
|
|
|
6
6
|
readonly observation?: GrowthEvidence<GrowthSurfaceObservation>;
|
|
7
7
|
readonly policy: PublicApiPackagePolicy;
|
|
8
8
|
readonly releaseEvidence: GrowthEvidence<PackageReleaseEvidence>;
|
|
9
|
+
/** Present only after trusted packed custody has qualified this row. */
|
|
10
|
+
readonly qualification?: {
|
|
11
|
+
readonly receiptDigest: GrowthDigest;
|
|
12
|
+
};
|
|
9
13
|
readonly evidence: {
|
|
10
14
|
readonly kind: "released";
|
|
11
15
|
readonly typed: GrowthEvidence<PublicApiSnapshot>;
|
|
@@ -19,6 +23,11 @@ export interface GrowthReleasedPackage {
|
|
|
19
23
|
* candidate compatibility snapshot is accepted here. Available history denotes
|
|
20
24
|
* a validated exact-target retained receipt, not a caller's initial flag. */
|
|
21
25
|
export interface GrowthInputContext {
|
|
26
|
+
/** Only the authenticated v3 adapter supplies these exact grant qualifications. */
|
|
27
|
+
readonly nonReleaseMetadataRoots?: readonly {
|
|
28
|
+
readonly packageName: string;
|
|
29
|
+
readonly receiptDigest: GrowthDigest;
|
|
30
|
+
}[];
|
|
22
31
|
readonly trustedBase: GrowthEvidence<GrowthSurfaceObservation>;
|
|
23
32
|
readonly trustedBaseReference: GrowthEvidence<GrowthObservationReference>;
|
|
24
33
|
readonly retainedHistory: GrowthEvidence<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"growth-admission-context.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/public-api-compatibility/application/model/growth-admission-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAClI,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;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GAC9H;QAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;CAC5E;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,CAC5D;QAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;QAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;KAAE,GAC/D;QAAE,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;KAAE,CAC/E,CAAC,EAAE,CAAC;CACN"}
|
|
1
|
+
{"version":3,"file":"growth-admission-context.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/public-api-compatibility/application/model/growth-admission-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAClI,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,CAAC,wBAAwB,CAAC,CAAC;IAChE,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,cAAc,CAAC,sBAAsB,CAAC,CAAC;IACjE,wEAAwE;IACxE,QAAQ,CAAC,aAAa,CAAC,EA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,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAC9H;QAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;CAC5E;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,CAC5D;QAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;QAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;KAAE,GAC/D;QAAE,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;QAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;KAAE,CAC/E,CAAC,EAAE,CAAC;CACN"}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import type { GrowthDecisionAuthority } from "./growth-admission.js";
|
|
2
|
+
import type { GrowthContextRequest, GrowthInputContext } from "./growth-admission-context.js";
|
|
3
|
+
import type { GrowthCoverage, GrowthDigest, GrowthInvocation, GrowthObservationReference, GrowthSurfaceObservation } from "./growth-observation.js";
|
|
4
|
+
import type { PackageReleaseEvidence, PublicApiSnapshot } from "./public-api.js";
|
|
5
|
+
/** Version 3 distinguishes authenticated non-release metadata roots from
|
|
6
|
+
* package release obligations. Prior protocol bytes are not reinterpreted. */
|
|
7
|
+
export declare const growthAuthoritySchemaVersion: "reviewrouter:sdk-growth-authority:3";
|
|
8
|
+
export declare const growthAuthorityRequiredPhases: readonly ["topology", "observation", "packed", "decision", "trusted-base", "released", "authority"];
|
|
9
|
+
export interface GrowthAuthorityRepository {
|
|
10
|
+
readonly provider: string;
|
|
11
|
+
readonly repositoryId: string;
|
|
12
|
+
readonly owner: string;
|
|
13
|
+
readonly name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GrowthAuthorityOwnerEvidence extends GrowthDecisionAuthority {
|
|
16
|
+
readonly authenticatedSubjectId: string;
|
|
17
|
+
readonly authorizationEvidenceDigest: GrowthDigest;
|
|
18
|
+
readonly approvalEvidenceDigest: GrowthDigest;
|
|
19
|
+
readonly sourceBindingDigest: GrowthDigest;
|
|
20
|
+
}
|
|
21
|
+
export interface GrowthAuthoritySource {
|
|
22
|
+
readonly commit: string;
|
|
23
|
+
readonly tree: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GrowthAuthorityTarget {
|
|
26
|
+
readonly repository: GrowthAuthorityRepository;
|
|
27
|
+
readonly pullRequestNumber: number;
|
|
28
|
+
readonly head: GrowthAuthoritySource;
|
|
29
|
+
readonly base: GrowthAuthoritySource;
|
|
30
|
+
readonly mergeBase: GrowthAuthoritySource;
|
|
31
|
+
readonly evaluation: GrowthAuthoritySource;
|
|
32
|
+
readonly evaluationKind: "head" | "merge-result" | "release-preimage";
|
|
33
|
+
}
|
|
34
|
+
export interface GrowthAuthorityBinding {
|
|
35
|
+
readonly invocation: GrowthInvocation;
|
|
36
|
+
readonly target: GrowthAuthorityTarget;
|
|
37
|
+
readonly verifier: {
|
|
38
|
+
readonly identity: string;
|
|
39
|
+
readonly immutableRevision: string;
|
|
40
|
+
readonly artifactDigest: GrowthDigest;
|
|
41
|
+
};
|
|
42
|
+
readonly tool: {
|
|
43
|
+
readonly packageName: "@agent-teams/engineering-foundation";
|
|
44
|
+
readonly version: string;
|
|
45
|
+
readonly archiveDigest: GrowthDigest;
|
|
46
|
+
readonly archiveIntegrity: string;
|
|
47
|
+
readonly distributionDigest: GrowthDigest;
|
|
48
|
+
readonly extractorVersion: string;
|
|
49
|
+
};
|
|
50
|
+
readonly policy: {
|
|
51
|
+
readonly contractRevision: "foundation:sdk-growth:c0:5";
|
|
52
|
+
readonly policyVersion: "foundation:sdk-growth:policy:1";
|
|
53
|
+
readonly enrollmentRevision: string;
|
|
54
|
+
readonly configurationDigest: GrowthDigest;
|
|
55
|
+
readonly scopeDigest: GrowthDigest;
|
|
56
|
+
readonly commandDigest: GrowthDigest;
|
|
57
|
+
};
|
|
58
|
+
readonly historyDigest: GrowthDigest;
|
|
59
|
+
readonly evidenceManifestDigest: GrowthDigest;
|
|
60
|
+
}
|
|
61
|
+
export interface GrowthAuthorityRequest {
|
|
62
|
+
readonly schemaVersion: typeof growthAuthoritySchemaVersion;
|
|
63
|
+
readonly kind: "request";
|
|
64
|
+
readonly operation: "check" | "promote-release";
|
|
65
|
+
readonly admissionReceiptId: string | null;
|
|
66
|
+
readonly binding: GrowthAuthorityBinding;
|
|
67
|
+
readonly contextSelectors: GrowthContextRequest;
|
|
68
|
+
readonly decisionDigests: readonly GrowthDigest[];
|
|
69
|
+
readonly requiredPhases: typeof growthAuthorityRequiredPhases;
|
|
70
|
+
}
|
|
71
|
+
export interface GrowthAuthorityReleasedEvidence {
|
|
72
|
+
readonly packageName: string;
|
|
73
|
+
readonly releaseEvidence: PackageReleaseEvidence;
|
|
74
|
+
readonly observation?: GrowthSurfaceObservation;
|
|
75
|
+
readonly evidence: {
|
|
76
|
+
readonly kind: "released";
|
|
77
|
+
readonly typed: PublicApiSnapshot;
|
|
78
|
+
readonly artifact: PublicApiSnapshot;
|
|
79
|
+
} | {
|
|
80
|
+
readonly kind: "initial-unreleased";
|
|
81
|
+
readonly historyDigest: GrowthDigest;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/** Closed evidence for bytes that were actually packed and installed. The
|
|
85
|
+
* observation is separately digested so API-equivalent but byte-distinct
|
|
86
|
+
* archives retain distinct identities. */
|
|
87
|
+
export interface GrowthAuthorityPackedEvidence {
|
|
88
|
+
readonly packageName: string;
|
|
89
|
+
readonly packageVersion: string;
|
|
90
|
+
readonly source: GrowthAuthoritySource;
|
|
91
|
+
readonly archiveDigest: GrowthDigest;
|
|
92
|
+
readonly archiveIntegrity: string;
|
|
93
|
+
readonly observation: GrowthSurfaceObservation;
|
|
94
|
+
readonly observationDigest: GrowthDigest;
|
|
95
|
+
readonly coverage: GrowthCoverage;
|
|
96
|
+
readonly custodyEvidenceDigest: GrowthDigest;
|
|
97
|
+
readonly custodyEvidence: {
|
|
98
|
+
readonly archiveDigest: GrowthDigest;
|
|
99
|
+
readonly archiveIntegrity: string;
|
|
100
|
+
readonly archivePayload: string;
|
|
101
|
+
readonly archiveManifest: readonly {
|
|
102
|
+
readonly path: string;
|
|
103
|
+
readonly digest: GrowthDigest;
|
|
104
|
+
}[];
|
|
105
|
+
readonly installedFiles: readonly {
|
|
106
|
+
readonly path: string;
|
|
107
|
+
readonly digest: GrowthDigest;
|
|
108
|
+
}[];
|
|
109
|
+
};
|
|
110
|
+
readonly installedDistribution: {
|
|
111
|
+
readonly packageName: string;
|
|
112
|
+
readonly packageVersion: string;
|
|
113
|
+
readonly source: GrowthAuthoritySource;
|
|
114
|
+
readonly archiveDigest: GrowthDigest;
|
|
115
|
+
readonly archiveIntegrity: string;
|
|
116
|
+
readonly observationDigest: GrowthDigest;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
/** Consumer-owned classification, retained at both exact source checkpoints.
|
|
120
|
+
* These are source bytes, never a package archive or a release baseline. */
|
|
121
|
+
export interface GrowthAuthorityMetadataRoot {
|
|
122
|
+
readonly evidence: {
|
|
123
|
+
readonly kind: "non-release-metadata-root";
|
|
124
|
+
readonly packageName: string;
|
|
125
|
+
readonly rootPath: ".";
|
|
126
|
+
readonly manifestPath: "package.json";
|
|
127
|
+
readonly classificationPath: string;
|
|
128
|
+
readonly historyDigest: GrowthDigest;
|
|
129
|
+
readonly base: GrowthMetadataRootSource;
|
|
130
|
+
readonly candidate: GrowthMetadataRootSource;
|
|
131
|
+
};
|
|
132
|
+
readonly evidenceDigest: GrowthDigest;
|
|
133
|
+
readonly ownerEvidence: GrowthAuthorityOwnerEvidence;
|
|
134
|
+
}
|
|
135
|
+
export interface GrowthMetadataRootSource {
|
|
136
|
+
readonly source: GrowthAuthoritySource;
|
|
137
|
+
readonly manifestBytes: string;
|
|
138
|
+
readonly workspaceBytes: string;
|
|
139
|
+
readonly classificationBytes: string;
|
|
140
|
+
}
|
|
141
|
+
export interface GrowthAuthorityGrant {
|
|
142
|
+
readonly schemaVersion: typeof growthAuthoritySchemaVersion;
|
|
143
|
+
readonly kind: "grant";
|
|
144
|
+
readonly grantId: string;
|
|
145
|
+
readonly requestDigest: GrowthDigest;
|
|
146
|
+
readonly admissionReceipt: {
|
|
147
|
+
readonly kind: "none";
|
|
148
|
+
} | {
|
|
149
|
+
readonly kind: "receipt";
|
|
150
|
+
readonly receipt: GrowthAuthorityReceipt;
|
|
151
|
+
};
|
|
152
|
+
readonly binding: GrowthAuthorityBinding;
|
|
153
|
+
readonly workflowRef: string;
|
|
154
|
+
readonly runRef: string;
|
|
155
|
+
readonly issuedAt: string;
|
|
156
|
+
readonly expiresAt: string;
|
|
157
|
+
readonly trustedBase: GrowthSurfaceObservation;
|
|
158
|
+
readonly trustedBaseReference: GrowthObservationReference;
|
|
159
|
+
readonly retainedHistory: {
|
|
160
|
+
readonly targetSource: GrowthAuthoritySource;
|
|
161
|
+
readonly targetSurfaceDigest: GrowthDigest;
|
|
162
|
+
readonly receiptDigest: GrowthDigest;
|
|
163
|
+
readonly custodyEvidenceDigest: GrowthDigest;
|
|
164
|
+
readonly custodyEvidence: GrowthAuthorityPackedEvidence["custodyEvidence"];
|
|
165
|
+
};
|
|
166
|
+
readonly released: readonly GrowthAuthorityReleasedEvidence[];
|
|
167
|
+
readonly ownerEvidence: readonly GrowthAuthorityOwnerEvidence[];
|
|
168
|
+
/** Historical released archives. Initial-unreleased rows have no entry. */
|
|
169
|
+
readonly archives: readonly GrowthAuthorityPackedEvidence[];
|
|
170
|
+
/** Candidate archives, including every initial-unreleased package. */
|
|
171
|
+
readonly candidates: readonly GrowthAuthorityPackedEvidence[];
|
|
172
|
+
readonly metadataRoots: readonly GrowthAuthorityMetadataRoot[];
|
|
173
|
+
readonly requiredCoverageDigest: GrowthDigest;
|
|
174
|
+
readonly requiredPhases: typeof growthAuthorityRequiredPhases;
|
|
175
|
+
}
|
|
176
|
+
export interface GrowthPromotionPlan {
|
|
177
|
+
readonly binding: GrowthAuthorityBinding;
|
|
178
|
+
readonly writes: readonly {
|
|
179
|
+
readonly destination: string;
|
|
180
|
+
readonly operation: "create" | "replace";
|
|
181
|
+
readonly preimageDigest: GrowthDigest | null;
|
|
182
|
+
readonly proposedDigest: GrowthDigest;
|
|
183
|
+
}[];
|
|
184
|
+
}
|
|
185
|
+
export interface GrowthAuthorityCompletion {
|
|
186
|
+
readonly schemaVersion: typeof growthAuthoritySchemaVersion;
|
|
187
|
+
readonly kind: "completion";
|
|
188
|
+
readonly grantId: string;
|
|
189
|
+
readonly grantDigest: GrowthDigest;
|
|
190
|
+
readonly requestDigest: GrowthDigest;
|
|
191
|
+
readonly binding: GrowthAuthorityBinding;
|
|
192
|
+
readonly reportDigest: GrowthDigest;
|
|
193
|
+
readonly reportByteLength: number;
|
|
194
|
+
readonly coverageDigest: GrowthDigest;
|
|
195
|
+
readonly phasesDigest: GrowthDigest;
|
|
196
|
+
readonly verdict: "admitted" | "rejected" | "incomplete";
|
|
197
|
+
readonly releaseEligible: boolean;
|
|
198
|
+
readonly publication: "finalized";
|
|
199
|
+
readonly promotion: {
|
|
200
|
+
readonly kind: "none";
|
|
201
|
+
} | {
|
|
202
|
+
readonly kind: "plan";
|
|
203
|
+
readonly planDigest: GrowthDigest;
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
export interface GrowthAuthorityReceipt {
|
|
207
|
+
readonly schemaVersion: typeof growthAuthoritySchemaVersion;
|
|
208
|
+
readonly kind: "receipt";
|
|
209
|
+
readonly receiptId: string;
|
|
210
|
+
readonly grantId: string;
|
|
211
|
+
readonly grantDigest: GrowthDigest;
|
|
212
|
+
readonly completionDigest: GrowthDigest;
|
|
213
|
+
/** Digest of the exact request that originated this operation. */
|
|
214
|
+
readonly requestDigest: GrowthDigest;
|
|
215
|
+
readonly binding: GrowthAuthorityBinding;
|
|
216
|
+
readonly reportDigest: GrowthDigest;
|
|
217
|
+
readonly coverageDigest: GrowthDigest;
|
|
218
|
+
readonly phasesDigest: GrowthDigest;
|
|
219
|
+
readonly verdict: "admitted" | "rejected" | "incomplete";
|
|
220
|
+
readonly releaseEligible: boolean;
|
|
221
|
+
readonly qualification: "qualified" | "not-qualified";
|
|
222
|
+
readonly operation: "check" | "promote-release";
|
|
223
|
+
readonly promotion: {
|
|
224
|
+
readonly kind: "none";
|
|
225
|
+
} | {
|
|
226
|
+
readonly kind: "plan";
|
|
227
|
+
readonly planDigest: GrowthDigest;
|
|
228
|
+
};
|
|
229
|
+
readonly custodyRef: string;
|
|
230
|
+
readonly issuedAt: string;
|
|
231
|
+
readonly provenance?: {
|
|
232
|
+
readonly grant: GrowthAuthorityGrant;
|
|
233
|
+
readonly completion: GrowthAuthorityCompletion;
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
export interface ResolvedGrowthAuthority {
|
|
237
|
+
readonly request: GrowthAuthorityRequest;
|
|
238
|
+
readonly requestDigest: GrowthDigest;
|
|
239
|
+
readonly grant: GrowthAuthorityGrant;
|
|
240
|
+
readonly grantDigest: GrowthDigest;
|
|
241
|
+
readonly context: GrowthInputContext;
|
|
242
|
+
}
|
|
243
|
+
//# sourceMappingURL=growth-authority.d.ts.map
|
package/dist/capabilities/public-api-compatibility/application/model/growth-authority.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"growth-authority.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/public-api-compatibility/application/model/growth-authority.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9F,OAAO,KAAK,EAAE,cAAc,EAAE,YA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E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAA;KAAE,CAAC;IAC7G,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,CAAC,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAA;KAAE,CAAC;CAChH;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;CACtC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Version 3 distinguishes authenticated non-release metadata roots from
|
|
2
|
+
* package release obligations. Prior protocol bytes are not reinterpreted. */
|
|
3
|
+
export const growthAuthoritySchemaVersion = "reviewrouter:sdk-growth-authority:3";
|
|
4
|
+
export const growthAuthorityRequiredPhases = ["topology", "observation", "packed", "decision", "trusted-base", "released", "authority"];
|
|
5
|
+
//# sourceMappingURL=growth-authority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"growth-authority.js","sourceRoot":"","sources":["../../../../../src/capabilities/public-api-compatibility/application/model/growth-authority.ts"],"names":[],"mappings":"AAKA;8EAC8E;AAC9E,MAAM,CAAC,MAAM,4BAA4B,GAAG,qCAA8C,CAAC;AAC3F,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,CAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PublicApiItem, PublicApiSnapshot } from "../model/public-api.js";
|
|
2
|
+
/** A comparison-only exception for one direct type-alias default-argument spelling. */
|
|
3
|
+
export declare function hasEquivalentTrailingDefaultTypeArguments(input: {
|
|
4
|
+
readonly releasedItem: PublicApiItem;
|
|
5
|
+
readonly currentItem: PublicApiItem;
|
|
6
|
+
readonly releasedItems: readonly PublicApiItem[];
|
|
7
|
+
readonly currentItems: readonly PublicApiItem[];
|
|
8
|
+
readonly stableTypeBindings?: ReadonlySet<string>;
|
|
9
|
+
}): boolean;
|
|
10
|
+
/** Names whose unique public canonical identity is byte-stable across all governed packages. */
|
|
11
|
+
export declare function collectUnchangedPublicTypeBindings(pairs: readonly {
|
|
12
|
+
readonly released: PublicApiSnapshot;
|
|
13
|
+
readonly current: PublicApiSnapshot;
|
|
14
|
+
}[]): ReadonlySet<string>;
|
|
15
|
+
//# sourceMappingURL=default-type-argument-equivalence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-type-argument-equivalence.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/public-api-compatibility/application/policies/default-type-argument-equivalence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAuU/E,uFAAuF;AACvF,wBAAgB,yCAAyC,CAAC,KAAK,EAAE;IAC/D,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,SAAS,aAAa,EAAE,CAAC;IACjD,QAAQ,CAAC,YAAY,EAAE,SAAS,aAAa,EAAE,CAAC;IAChD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACnD,GAAG,OAAO,CAqCV;AAED,gGAAgG;AAChG,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,SAAS;IACd,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;CACrC,EAAE,GACF,WAAW,CAAC,MAAM,CAAC,CAsBrB"}
|