@sourcey/catalog-verifier 1.1.3 → 1.1.4

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 (53) hide show
  1. package/SOURCEY-CLOSURE.json +64 -48
  2. package/dist/contracts/agent-readiness/src/evidence.d.ts +55 -0
  3. package/dist/contracts/agent-readiness/src/evidence.d.ts.map +1 -1
  4. package/dist/contracts/agent-readiness/src/evidence.js +37 -1
  5. package/dist/contracts/agent-readiness/src/evidence.js.map +1 -1
  6. package/dist/contracts/agent-readiness/src/index.d.ts +417 -0
  7. package/dist/contracts/agent-readiness/src/index.d.ts.map +1 -1
  8. package/dist/contracts/agent-readiness/src/index.js +12 -0
  9. package/dist/contracts/agent-readiness/src/index.js.map +1 -1
  10. package/dist/contracts/agent-readiness/src/method-pack.d.ts +3 -0
  11. package/dist/contracts/agent-readiness/src/method-pack.d.ts.map +1 -1
  12. package/dist/contracts/api/src/index.d.ts +449 -1
  13. package/dist/contracts/api/src/index.d.ts.map +1 -1
  14. package/dist/contracts/api/src/index.js +1 -1
  15. package/dist/contracts/evidence/src/index.d.ts +28 -0
  16. package/dist/contracts/evidence/src/index.d.ts.map +1 -1
  17. package/dist/contracts/evidence/src/index.js +44 -21
  18. package/dist/contracts/evidence/src/index.js.map +1 -1
  19. package/dist/modules/agent-readiness-policy/src/corroboration.d.ts +38 -0
  20. package/dist/modules/agent-readiness-policy/src/corroboration.d.ts.map +1 -0
  21. package/dist/modules/agent-readiness-policy/src/corroboration.js +66 -0
  22. package/dist/modules/agent-readiness-policy/src/corroboration.js.map +1 -0
  23. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts +15 -2
  24. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.d.ts.map +1 -1
  25. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js +162 -6
  26. package/dist/modules/agent-readiness-policy/src/current-policy-metrics.js.map +1 -1
  27. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts +12 -2
  28. package/dist/modules/agent-readiness-policy/src/current-policy.d.ts.map +1 -1
  29. package/dist/modules/agent-readiness-policy/src/current-policy.js +47 -35
  30. package/dist/modules/agent-readiness-policy/src/current-policy.js.map +1 -1
  31. package/dist/modules/agent-readiness-policy/src/grading.d.ts +1 -0
  32. package/dist/modules/agent-readiness-policy/src/grading.d.ts.map +1 -1
  33. package/dist/modules/agent-readiness-policy/src/grading.js +10 -4
  34. package/dist/modules/agent-readiness-policy/src/grading.js.map +1 -1
  35. package/dist/modules/agent-readiness-policy/src/index.d.ts +187 -7
  36. package/dist/modules/agent-readiness-policy/src/index.d.ts.map +1 -1
  37. package/dist/modules/agent-readiness-policy/src/index.js +37 -18
  38. package/dist/modules/agent-readiness-policy/src/index.js.map +1 -1
  39. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts +1 -10
  40. package/dist/modules/agent-readiness-policy/src/surface-selection.d.ts.map +1 -1
  41. package/dist/modules/agent-readiness-policy/src/surface-selection.js +8 -32
  42. package/dist/modules/agent-readiness-policy/src/surface-selection.js.map +1 -1
  43. package/dist/modules/agent-readiness-repository/src/change.js +2 -2
  44. package/dist/modules/agent-readiness-repository/src/change.js.map +1 -1
  45. package/dist/modules/agent-readiness-repository/src/index.js +4 -4
  46. package/dist/modules/agent-readiness-repository/src/index.js.map +1 -1
  47. package/dist/modules/evidence-operations/src/evidence-authority.d.ts +128 -0
  48. package/dist/modules/evidence-operations/src/evidence-authority.d.ts.map +1 -1
  49. package/dist/modules/release/src/publication-authorities.d.ts +27 -0
  50. package/dist/modules/release/src/publication-authorities.d.ts.map +1 -1
  51. package/dist/modules/release/src/verification-policies.d.ts +12 -2
  52. package/dist/modules/release/src/verification-policies.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ import type { z } from "zod";
2
+ import type { AgentReadinessPolicy, AgentReadinessRevision, agentReadinessCaptureRungSchema, agentReadinessDeterminationBasisKindSchema, agentReadinessDeterminationBasisSchema, agentReadinessRetainedArtifactSchema, agentReadinessSurfaceReferenceSchema } from "../../../contracts/agent-readiness/src/index.js";
3
+ type CorroborationRule = AgentReadinessPolicy["signal_rules"][number]["value_evidence"][number];
4
+ /**
5
+ * Evidence inventory shared by early fact-candidate validation and final
6
+ * proposal admission. Policy remains the sole owner of sufficiency.
7
+ */
8
+ export interface AgentReadinessCorroborationInventory {
9
+ readonly basisKinds: ReadonlySet<z.infer<typeof agentReadinessDeterminationBasisKindSchema>>;
10
+ readonly captures: ReadonlyMap<string, z.infer<typeof agentReadinessCaptureRungSchema>>;
11
+ readonly artifactKinds: ReadonlySet<z.infer<typeof agentReadinessRetainedArtifactSchema>>;
12
+ readonly coveredSurfaces: ReadonlySet<string>;
13
+ readonly coveredBranches: number;
14
+ }
15
+ /** One sufficiency evaluator; callers only project retained evidence into it. */
16
+ export declare function agentReadinessCorroborationInventorySatisfied(input: {
17
+ readonly rule: CorroborationRule;
18
+ readonly inventory: AgentReadinessCorroborationInventory;
19
+ }): boolean;
20
+ /** The same evidence sufficiency rule applies before interpretation and at admission. */
21
+ export declare function agentReadinessCorroborationSatisfied(input: {
22
+ readonly rule: CorroborationRule;
23
+ readonly bases: readonly z.infer<typeof agentReadinessDeterminationBasisSchema>[];
24
+ readonly artifactKinds: ReadonlySet<z.infer<typeof agentReadinessRetainedArtifactSchema>>;
25
+ readonly testedSurfaces: readonly z.infer<typeof agentReadinessSurfaceReferenceSchema>[];
26
+ }): boolean;
27
+ /**
28
+ * A policy transition may reuse an admitted fact only when its immutable bases
29
+ * still satisfy the new rule. A revision records basis identities, not the full
30
+ * artifact inventory; infer only the artifact kinds guaranteed by admission of
31
+ * those bases. New requirements such as screenshots therefore need recapture.
32
+ */
33
+ export declare function agentReadinessAdmittedFactSupportsPolicy(input: {
34
+ readonly signal: AgentReadinessRevision["signals"][number];
35
+ readonly rule: CorroborationRule;
36
+ }): boolean;
37
+ export {};
38
+ //# sourceMappingURL=corroboration.d.ts.map
@@ -0,0 +1 @@
1
+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,CAAC;IAClF,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC,CAAC;IAC1F,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,EAAE,CAAC;CAC1F,GAAG,OAAO,CA0BV;AAED;;;;;GAKG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE;IAC9D,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3D,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAClC,GAAG,OAAO,CAkBV"}
@@ -0,0 +1,66 @@
1
+ /** One sufficiency evaluator; callers only project retained evidence into it. */
2
+ export function agentReadinessCorroborationInventorySatisfied(input) {
3
+ return input.rule.alternatives.some((alternative) => {
4
+ if (alternative.required_basis_kinds.some((kind) => !input.inventory.basisKinds.has(kind)))
5
+ return false;
6
+ if (input.inventory.captures.size < alternative.minimum_distinct_captures)
7
+ return false;
8
+ if (alternative.require_independent_capture_rungs &&
9
+ new Set(input.inventory.captures.values()).size < 2)
10
+ return false;
11
+ if (alternative.required_artifacts.some((kind) => !input.inventory.artifactKinds.has(kind)))
12
+ return false;
13
+ if (input.inventory.coveredSurfaces.size < alternative.minimum_surfaces)
14
+ return false;
15
+ return input.inventory.coveredBranches >= alternative.minimum_branches;
16
+ });
17
+ }
18
+ /** The same evidence sufficiency rule applies before interpretation and at admission. */
19
+ export function agentReadinessCorroborationSatisfied(input) {
20
+ const captures = new Map();
21
+ for (const basis of input.bases) {
22
+ if (!("captures" in basis))
23
+ continue;
24
+ for (const capture of basis.captures)
25
+ captures.set(capture.retained_capture_digest, capture.capture_rung);
26
+ }
27
+ return agentReadinessCorroborationInventorySatisfied({
28
+ rule: input.rule,
29
+ inventory: {
30
+ basisKinds: new Set(input.bases.map((basis) => basis.kind)),
31
+ captures,
32
+ artifactKinds: input.artifactKinds,
33
+ coveredSurfaces: new Set(input.bases.flatMap((basis) => (basis.kind === "bounded_absence" ? basis.covered_surfaces : input.testedSurfaces).map((surface) => `${surface.node_kind}:${surface.node_id}`))),
34
+ coveredBranches: input.bases.reduce((count, basis) => count + (basis.kind === "bounded_absence" ? basis.covered_branches : 0), 0),
35
+ },
36
+ });
37
+ }
38
+ /**
39
+ * A policy transition may reuse an admitted fact only when its immutable bases
40
+ * still satisfy the new rule. A revision records basis identities, not the full
41
+ * artifact inventory; infer only the artifact kinds guaranteed by admission of
42
+ * those bases. New requirements such as screenshots therefore need recapture.
43
+ */
44
+ export function agentReadinessAdmittedFactSupportsPolicy(input) {
45
+ if (input.signal.value === "unknown")
46
+ return false;
47
+ if (input.rule.value !== input.signal.value)
48
+ return false;
49
+ const artifactKinds = new Set();
50
+ for (const basis of input.signal.determination_bases) {
51
+ if (basis.kind === "standard_requirement") {
52
+ artifactKinds.add("standard_evidence_result");
53
+ }
54
+ else if (basis.kind !== "certification_receipt") {
55
+ artifactKinds.add("source_observation");
56
+ artifactKinds.add("evidence_excerpt");
57
+ }
58
+ }
59
+ return agentReadinessCorroborationSatisfied({
60
+ rule: input.rule,
61
+ bases: input.signal.determination_bases,
62
+ artifactKinds,
63
+ testedSurfaces: input.signal.tested_surfaces,
64
+ });
65
+ }
66
+ //# sourceMappingURL=corroboration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"corroboration.js","sourceRoot":"","sources":["../../../../modules/agent-readiness-policy/src/corroboration.ts"],"names":[],"mappings":"AAyBA,iFAAiF;AACjF,MAAM,UAAU,6CAA6C,CAAC,KAG7D;IACC,OAAO,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,EAAE;QAClD,IAAI,WAAW,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,IA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;YAClD,aAAa,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;YACxC,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IACD,OAAO,oCAAoC,CAAC;QAC1C,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,mBAAmB;QACvC,aAAa;QACb,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,eAAe;KAC7C,CAAC,CAAC;AACL,CAAC"}
@@ -2,13 +2,14 @@ import type { z } from "zod";
2
2
  import type { agentReadinessEvaluationRoleSchema, agentReadinessStageSchema } from "../../../contracts/agent-readiness/src/shared.js";
3
3
  type Stage = z.infer<typeof agentReadinessStageSchema>;
4
4
  type EvidenceSemantics = "quality" | "availability" | "compatible_absence";
5
- export interface MetricDefinition {
5
+ interface MetricDefinitionBase {
6
6
  readonly stage: Stage;
7
7
  readonly code: string;
8
8
  readonly role: z.infer<typeof agentReadinessEvaluationRoleSchema>;
9
- readonly allowNotApplicable?: boolean;
10
9
  readonly selectorAlternatives: readonly (readonly Record<string, unknown>[])[];
11
10
  readonly coverage?: "at_least_one" | "all_matches";
11
+ /** An approved, asserted public read of a service endpoint can prove this signal. */
12
+ readonly serviceExchange?: true;
12
13
  readonly evidence: EvidenceSemantics;
13
14
  readonly evidenceTerms: readonly string[];
14
15
  readonly condition: string;
@@ -17,6 +18,18 @@ export interface MetricDefinition {
17
18
  readonly blocked: string;
18
19
  readonly remediation: string;
19
20
  }
21
+ type FactPredicates = Readonly<Record<"yes" | "partial" | "no", string>>;
22
+ export type MetricDefinition = MetricDefinitionBase & ({
23
+ readonly allowNotApplicable: true;
24
+ readonly factPredicates: FactPredicates & {
25
+ readonly not_applicable: string;
26
+ };
27
+ } | {
28
+ readonly allowNotApplicable?: false;
29
+ readonly factPredicates: FactPredicates & {
30
+ readonly not_applicable?: never;
31
+ };
32
+ });
20
33
  export declare const METRICS: readonly MetricDefinition[];
21
34
  export {};
22
35
  //# sourceMappingURL=current-policy-metrics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"current-policy-metrics.d.ts","sourceRoot":"","sources":["../../../../modules/agent-readiness-policy/src/current-policy-metrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAM7B,OAAO,KAAK,EACV,kCAAkC,EAElC,yBAAyB,EAC1B,MAAM,kDAAkD,CAAC;AAG1D,KAAK,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAIvD,KAAK,iBAAiB,GAAG,SAAS,GAAG,cAAc,GAAG,oBAAoB,CAAC;AAE3E,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;IAClE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;IAC/E,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC;IACnD,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAoBD,eAAO,MAAM,OAAO,EAAE,SAAS,gBAA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AE,MAAM,CAAC,CAAC,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,CACI;IACE,QAAQ,CAAC,kBAAkB,EAAE,IAAI,CAAC;IAClC,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/E,GACD;IACE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC;IACpC,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG;QAAE,QAAQ,CAAC,cAAc,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;CAC/E,CACJ,CAAC;AAoBJ,eAAO,MAAM,OAAO,EAAE,SAAS,gBAAgB,EAiwBrC,CAAC"}
@@ -25,6 +25,10 @@ export const METRICS = [
25
25
  "documentation",
26
26
  "quickstart",
27
27
  "get started",
28
+ "no account",
29
+ "without an account",
30
+ "no sign up",
31
+ "anonymous access",
28
32
  "endpoint",
29
33
  "base url",
30
34
  "access",
@@ -32,7 +36,12 @@ export const METRICS = [
32
36
  condition: "Can an agent find the exact service and its stable entrypoints?",
33
37
  ready: "The exact service and stable evaluation or access entrypoints are publicly discoverable.",
34
38
  limited: "Discovery works but is incomplete, context-dependent, split, or unstable.",
35
- blocked: "Bounded successful discovery found no stable public route to the exact service.",
39
+ blocked: "The vendor explicitly states that the exact service has no stable public route.",
40
+ factPredicates: {
41
+ yes: "A retrieved first-party page names the exact service and gives a stable canonical evaluation or access route.",
42
+ partial: "A first-party route reaches the exact service but is explicitly conditional, fragmented, or unstable.",
43
+ no: "The vendor explicitly says there is no stable public discovery route to the exact service.",
44
+ },
36
45
  remediation: "Publish and link one stable canonical service and access entrypoint.",
37
46
  },
38
47
  {
@@ -56,6 +65,11 @@ export const METRICS = [
56
65
  ready: "Price or no-charge status, variables, currency, and material conditions are explicit.",
57
66
  limited: "The pricing model is visible but omits a material variable or condition.",
58
67
  blocked: "Cost or no-charge status cannot be determined before commitment.",
68
+ factPredicates: {
69
+ yes: "The exact service is explicitly no-charge, or its applicable rate, currency, usage variables, and material conditions are disclosed before commitment.",
70
+ partial: "The vendor states a price or rate for this service but explicitly makes a material variable or condition contextual or deferred.",
71
+ no: "The vendor explicitly withholds the assessed service's cost until after a commitment or undisclosed decision point.",
72
+ },
59
73
  remediation: "Publish readable complete pricing or explicit no-charge status and conditions.",
60
74
  },
61
75
  {
@@ -77,6 +91,11 @@ export const METRICS = [
77
91
  ready: "Verified structured artifacts accelerate discovery of the evaluation surface.",
78
92
  limited: "Structured discovery exists but covers only part of the evaluation surface.",
79
93
  blocked: "No verified structured discovery artifact was established.",
94
+ factPredicates: {
95
+ yes: "An exact versioned standards result verifies a structured descriptor that links to this assessed service.",
96
+ partial: "A first-party structured descriptor is documented for the assessed service, but an exact protocol or descriptor check has not verified it.",
97
+ no: "A completed exact descriptor check reports the assessed descriptor is not satisfied.",
98
+ },
80
99
  remediation: "Publish optional structured discovery that links back to canonical service facts.",
81
100
  },
82
101
  {
@@ -99,6 +118,11 @@ export const METRICS = [
99
118
  ready: "Web-agent access policy is explicit and verified for the assessed resources.",
100
119
  limited: "Web-agent access policy exists but is incomplete or inconsistent.",
101
120
  blocked: "Verified policy blocks agents from the assessed public resources.",
121
+ factPredicates: {
122
+ yes: "An explicit first-party policy permits the assessed web-agent class to retrieve the exact public resources, or describes its verified-agent admission path.",
123
+ partial: "A first-party web-agent policy applies to the assessed resources but explicitly limits access or leaves the admitted class conditional.",
124
+ no: "An explicit applicable first-party policy denies the assessed web-agent class access to those resources.",
125
+ },
102
126
  remediation: "Publish deliberate crawler policy and a verified-agent path where appropriate.",
103
127
  },
104
128
  {
@@ -118,11 +142,21 @@ export const METRICS = [
118
142
  "console",
119
143
  "dashboard",
120
144
  "get started",
145
+ "no account",
146
+ "without an account",
147
+ "no sign up",
148
+ "anonymous access",
121
149
  ],
122
150
  condition: "Is there a stable route to begin obtaining service access?",
123
151
  ready: "A stable canonical route begins the required access bootstrap.",
124
152
  limited: "The access route works but is conditional, tenant-specific, or unstable.",
125
- blocked: "Bounded successful discovery found no stable access route.",
153
+ blocked: "The vendor explicitly states that no stable access route is available.",
154
+ factPredicates: {
155
+ yes: "A stable first-party route begins the access bootstrap required by this exact service path. OAuth, device-code approval or API-token issuance for an existing account does not establish new-account creation.",
156
+ partial: "The access route is explicitly tenant-specific, conditional, or unstable for this service path.",
157
+ no: "The vendor explicitly states that no stable route exists for required access bootstrap.",
158
+ not_applicable: "A first-party statement establishes that the assessed operation is open without account creation or any access bootstrap.",
159
+ },
126
160
  remediation: "Publish one stable canonical access bootstrap entrypoint.",
127
161
  },
128
162
  {
@@ -151,6 +185,12 @@ export const METRICS = [
151
185
  ready: "Required controls, validation, navigation, and handoffs are machine-operable.",
152
186
  limited: "Only part of the access flow is operable or a bounded human step remains.",
153
187
  blocked: "Required controls or hidden state cannot be operated by an agent.",
188
+ factPredicates: {
189
+ yes: "The required access controls, validation, navigation and any authorization handoff are documented or observed as deterministic for the assessed path.",
190
+ partial: "The vendor explicitly identifies a required human access-control step with a bounded handoff and deterministic continuation.",
191
+ no: "The vendor explicitly requires an unsupported control or hidden human state without an agent-safe alternative.",
192
+ not_applicable: "A first-party statement establishes that this assessed path has no access-control or account-bootstrap step.",
193
+ },
154
194
  remediation: "Expose deterministic controls, validation, and resumable authorization handoffs.",
155
195
  },
156
196
  {
@@ -163,9 +203,15 @@ export const METRICS = [
163
203
  evidence: "compatible_absence",
164
204
  evidenceTerms: ["captcha", "recaptcha", "challenge", "bot", "verification", "verified agent"],
165
205
  condition: "Can an agent obtain access without an unsupported CAPTCHA boundary?",
166
- ready: "No required CAPTCHA was found across the bounded flow, or a verified-agent alternative exists.",
206
+ ready: "The vendor states that no CAPTCHA is required on this access path, or documents an agent-safe alternative.",
167
207
  limited: "A conditional CAPTCHA has a deterministic alternative or resumable human handoff.",
168
208
  blocked: "A mandatory CAPTCHA has no supported agent-safe route.",
209
+ factPredicates: {
210
+ yes: "The vendor explicitly says this access path has no required CAPTCHA, or documents an agent-safe alternative that bypasses the required CAPTCHA.",
211
+ partial: "A conditional CAPTCHA is explicitly paired with a bounded, resumable human handoff for this access path.",
212
+ no: "The vendor explicitly requires CAPTCHA on this access path and provides no supported agent-safe or resumable route.",
213
+ not_applicable: "A first-party statement establishes that this assessed path has no signup or access-control step where CAPTCHA could apply.",
214
+ },
169
215
  remediation: "Provide a lawful verified-agent alternative or explicit resumable approval handoff.",
170
216
  },
171
217
  {
@@ -181,9 +227,15 @@ export const METRICS = [
181
227
  evidence: "compatible_absence",
182
228
  evidenceTerms: ["phone", "sms", "mobile", "verification", "one-time code", "security code"],
183
229
  condition: "Can required phone verification be completed through a supported boundary?",
184
- ready: "Phone verification is absent, optional, delegated, or explicitly resumable.",
230
+ ready: "Phone verification is absent, optional, or available through delegated authority.",
185
231
  limited: "A mandatory human phone step has a safe explicit resumable handoff.",
186
232
  blocked: "Access requires impersonating or possessing unsupported human phone state.",
233
+ factPredicates: {
234
+ yes: "The vendor explicitly says phone verification is absent or optional on this path, or documents agent-operable delegated verification.",
235
+ partial: "A required human phone step has an explicitly bounded handoff and deterministic agent continuation after verification.",
236
+ no: "The vendor explicitly requires unsupported human phone possession or impersonation with no safe handoff.",
237
+ not_applicable: "A first-party statement establishes that no phone-verification step occurs on the assessed access path.",
238
+ },
187
239
  remediation: "Add delegated verification or an explicit resumable human approval boundary.",
188
240
  },
189
241
  {
@@ -208,11 +260,21 @@ export const METRICS = [
208
260
  "service account",
209
261
  "api key",
210
262
  "revoke",
263
+ "no account",
264
+ "without an account",
265
+ "no api key",
266
+ "unauthenticated",
211
267
  ],
212
268
  condition: "Can an agent obtain scoped, revocable authority for this service?",
213
269
  ready: "Scoped revocable credentials or delegated authorization have explicit consent and resumption boundaries.",
214
270
  limited: "Machine credentials exist but require manual copying, broad authority, or weak lifecycle support.",
215
271
  blocked: "Only shared human credentials, hidden sessions, or an unusable identity flow are available.",
272
+ factPredicates: {
273
+ yes: "The exact service documents scoped, revocable delegated authority with consent and deterministic resumption, or a programmatic credential lifecycle with equivalent scope and revocation.",
274
+ partial: "Scoped machine credentials exist for this service, but the vendor explicitly requires manual issuance or transfer, broad authority, or weak lifecycle handling.",
275
+ no: "The vendor explicitly requires shared human credentials, hidden human sessions, or another unsupported identity flow for the assessed path.",
276
+ not_applicable: "A first-party statement explicitly establishes that this assessed path requires no account or delegated identity acquisition.",
277
+ },
216
278
  remediation: "Provide scoped delegated authorization with consent, revocation, and deterministic resumption.",
217
279
  },
218
280
  {
@@ -238,11 +300,20 @@ export const METRICS = [
238
300
  "subscription",
239
301
  "commitment",
240
302
  "fee",
303
+ "no charge",
304
+ "no payment",
305
+ "free to use",
241
306
  ],
242
307
  condition: "Is the exact commercial commitment disclosed before authorization?",
243
308
  ready: "Charge or no-charge status, currency, recurrence, and material conditions are disclosed.",
244
309
  limited: "The public commitment omits a material component until later in the flow.",
245
310
  blocked: "The commitment cannot be known before authorization.",
311
+ factPredicates: {
312
+ yes: "The exact service discloses charge or no-charge status and every applicable material rate, currency, recurrence and condition before authorization.",
313
+ partial: "The vendor discloses a charge or no-charge commitment but explicitly defers a material add-on, volume term, recurrence or other cost component.",
314
+ no: "The vendor explicitly requires authorization before disclosing the material commercial commitment for this path.",
315
+ not_applicable: "A first-party statement establishes no commercial commitment on the assessed service path.",
316
+ },
246
317
  remediation: "Disclose the complete commitment before payment authorization.",
247
318
  },
248
319
  {
@@ -268,6 +339,12 @@ export const METRICS = [
268
339
  ready: "An API, protocol, or accessible web flow supports deterministic checkout and resumption.",
269
340
  limited: "Checkout is partly operable but needs additional bounded human work.",
270
341
  blocked: "Checkout requires unsupported hidden or manual interaction.",
342
+ factPredicates: {
343
+ yes: "An exact API, protocol or accessible web checkout supports deterministic construction, explicit bounded authorization handoff and resumption for this service.",
344
+ partial: "The vendor documents a checkout path with an explicit bounded human step or other named operability constraint and a continuation route.",
345
+ no: "The vendor explicitly requires hidden or unsupported checkout interaction with no agent-safe continuation.",
346
+ not_applicable: "A first-party statement establishes that this assessed access path has no checkout step.",
347
+ },
271
348
  remediation: "Expose deterministic checkout with an explicit approval and resumption contract.",
272
349
  },
273
350
  {
@@ -288,11 +365,19 @@ export const METRICS = [
288
365
  "receipt",
289
366
  "invoice",
290
367
  "charge",
368
+ "no payment",
369
+ "no card required",
291
370
  ],
292
371
  condition: "Can payment be authorized within scoped agent or explicit human authority?",
293
372
  ready: "A documented rail supports scoped delegation or explicit human-confirmed authorization with receipts.",
294
373
  limited: "Payment needs additional bounded human handling or uses weak delegation.",
295
374
  blocked: "No supported authorization rail exists for the assessed checkout.",
375
+ factPredicates: {
376
+ yes: "The assessed payment path documents scoped agent delegation or explicit human-confirmed authorization, with a receipt and deterministic resumption.",
377
+ partial: "The payment path explicitly needs bounded additional human handling or weak delegation, and documents how authorization resumes or yields a receipt.",
378
+ no: "The vendor explicitly requires unsupported payment authorization without scoped delegation or a bounded human approval route.",
379
+ not_applicable: "A first-party statement establishes that no payment authorization occurs on this exact assessed path; a free allowance on an otherwise billable path is not enough.",
380
+ },
296
381
  remediation: "Support scoped payment authorization and deterministic receipt and failure semantics.",
297
382
  },
298
383
  {
@@ -319,11 +404,19 @@ export const METRICS = [
319
404
  "account settings",
320
405
  "sales",
321
406
  "contact",
407
+ "no purchase",
408
+ "free to use",
322
409
  ],
323
410
  condition: "Is a direct self-service path to paid access documented?",
324
411
  ready: "A documented direct purchase path reaches paid access without a vendor decision point.",
325
412
  limited: "Self-service is tier- or condition-limited, or a bounded vendor review exposes status.",
326
413
  blocked: "Paid access requires opaque or unbounded sales intervention.",
414
+ factPredicates: {
415
+ yes: "A documented, identified account or billing route lets an authorized user buy, subscribe, upgrade or activate paid access without a vendor decision point; a live purchase need not be performed.",
416
+ partial: "The vendor documents self-service only for named tiers or conditions, or an explicit bounded vendor review with machine-readable status and resumption.",
417
+ no: "The vendor explicitly requires opaque or unbounded sales approval before the assessed paid access is available.",
418
+ not_applicable: "A first-party statement establishes that the assessed path has no paid-access purchase step; a generic free trial does not establish this.",
419
+ },
327
420
  remediation: "Document a direct purchase path or bounded vendor review with machine-readable status.",
328
421
  },
329
422
  {
@@ -345,11 +438,19 @@ export const METRICS = [
345
438
  "post",
346
439
  "api",
347
440
  "request",
441
+ "no provisioning",
442
+ "immediate access",
348
443
  ],
349
444
  condition: "Can provisioning be initiated within supported agent authority?",
350
445
  ready: "Provisioning is machine-triggerable or follows deterministically from an allowed handoff.",
351
446
  limited: "Bounded human or vendor review remains in the provisioning path.",
352
447
  blocked: "Provisioning requires unsupported or unbounded manual intervention.",
448
+ factPredicates: {
449
+ yes: "The exact service documents a machine-triggerable provisioning action or a deterministic initiation after an allowed bounded human handoff.",
450
+ partial: "Provisioning initiation explicitly requires a bounded human or vendor step with a documented continuation route.",
451
+ no: "The vendor explicitly requires unsupported or unbounded manual intervention to initiate provisioning.",
452
+ not_applicable: "A first-party statement explicitly establishes that this assessed service path requires no resource provisioning.",
453
+ },
353
454
  remediation: "Expose a deterministic provisioning initiation and bounded approval contract.",
354
455
  },
355
456
  {
@@ -372,11 +473,20 @@ export const METRICS = [
372
473
  "display",
373
474
  "create",
374
475
  "download",
476
+ "no credentials",
477
+ "no api key",
478
+ "anonymous access",
375
479
  ],
376
480
  condition: "Can usable access material be delivered securely to an authorized agent?",
377
481
  ready: "Credentials, grants, or configuration are delivered through a documented agent-usable flow.",
378
482
  limited: "Delivery needs additional human transfer or has weak scope or lifecycle semantics.",
379
483
  blocked: "Usable access requires unsupported human secrets or hidden state.",
484
+ factPredicates: {
485
+ yes: "The exact service documents programmatic, agent-usable CLI, workload-identity or equivalent secure delivery of the required credentials, grants or configuration.",
486
+ partial: "The vendor explicitly delivers required access material through a constrained human dashboard, manual copy, or similarly bounded transfer.",
487
+ no: "The vendor explicitly requires unsupported human-only secrets or hidden state for usable access material.",
488
+ not_applicable: "A first-party statement explicitly establishes that this assessed path requires no access material delivery.",
489
+ },
380
490
  remediation: "Deliver scoped access material through a secure documented machine-usable flow.",
381
491
  },
382
492
  {
@@ -411,11 +521,19 @@ export const METRICS = [
411
521
  "successful",
412
522
  "usable",
413
523
  "connection string",
524
+ "no provisioning",
525
+ "immediate access",
414
526
  ],
415
527
  condition: "Can an agent determine successful provisioning completion and reconcile asynchronous failure?",
416
528
  ready: "A synchronous success response returns a usable created resource or access material; otherwise asynchronous work exposes progress, terminal state, reconciliation, and a documented bound.",
417
529
  limited: "Completion is observable, but an asynchronous path omits a material terminal, bound, or reconciliation property.",
418
530
  blocked: "Provisioning completion is opaque or unbounded.",
531
+ factPredicates: {
532
+ yes: "A synchronous response returns a usable resource or access result, or the documented asynchronous path exposes bounded progress, terminal success and failure, and reconciliation for the exact target.",
533
+ partial: "The vendor explicitly documents progress or terminal state but also identifies a material completion constraint such as manual reconciliation or unbounded delay.",
534
+ no: "The vendor explicitly states that required provisioning completion is opaque or unbounded with no reliable terminal outcome.",
535
+ not_applicable: "A first-party statement explicitly establishes that no provisioning step occurs on this assessed path.",
536
+ },
419
537
  remediation: "Expose bounded machine-readable terminal status and reconciliation semantics.",
420
538
  },
421
539
  {
@@ -424,12 +542,18 @@ export const METRICS = [
424
542
  role: "graded",
425
543
  selectorAlternatives: [[target("direct"), interfaceSignature(["service_operation"])]],
426
544
  coverage: "all_matches",
545
+ serviceExchange: true,
427
546
  evidence: "availability",
428
547
  evidenceTerms: ["api", "cli", "sdk", "endpoint", "request", "operation", "tool", "interface"],
429
548
  condition: "Does every essential assessment target have a documented agent-usable interface?",
430
549
  ready: "Every essential target has a stable documented agent-usable interface alternative.",
431
550
  limited: "Interfaces cover only part of an essential target or require a constrained bridge.",
432
551
  blocked: "An essential service target has no machine-operable interface.",
552
+ factPredicates: {
553
+ yes: "Every named essential target has a stable, documented agent-usable operation interface; if an approved public probe is supplied, its response may additionally prove an observed exchange.",
554
+ partial: "The vendor explicitly documents only partial target coverage or a named constrained bridge for at least one essential target.",
555
+ no: "The vendor explicitly states that an essential assessed target has no machine-operable operation path.",
556
+ },
433
557
  remediation: "Expose and document an agent-usable interface for every essential service target.",
434
558
  },
435
559
  {
@@ -452,11 +576,19 @@ export const METRICS = [
452
576
  "oauth",
453
577
  "header",
454
578
  "credential",
579
+ "no api key",
580
+ "unauthenticated",
455
581
  ],
456
582
  condition: "Can an agent authenticate service operations with scoped authority?",
457
583
  ready: "Request-time authentication is documented and usable under scoped agent authority.",
458
584
  limited: "Authentication works only with broad or manual credential handling.",
459
585
  blocked: "Operations require unsupported human session state or secrets.",
586
+ factPredicates: {
587
+ yes: "The selected operation documents exact scoped request-time authentication usable by an authorized agent.",
588
+ partial: "The operation supports machine authentication but explicitly depends on broad, manually handled or weakly scoped credentials.",
589
+ no: "The vendor explicitly requires unsupported human session state or secrets to invoke the selected operation.",
590
+ not_applicable: "A first-party statement explicitly establishes that the selected operation accepts credential-free requests.",
591
+ },
460
592
  remediation: "Provide scoped request authentication with explicit consent and resumption boundaries.",
461
593
  },
462
594
  {
@@ -481,6 +613,11 @@ export const METRICS = [
481
613
  ready: "Essential operations have stable readable request, response, and effect semantics.",
482
614
  limited: "The operation contract omits a material operation, field, or effect.",
483
615
  blocked: "An agent cannot determine how to invoke or interpret an essential target.",
616
+ factPredicates: {
617
+ yes: "For every essential target, first-party material specifies stable request inputs, response outputs and consequential effects sufficiently to invoke and interpret the operation.",
618
+ partial: "The vendor explicitly describes a constrained or unstable part of an otherwise usable request, response or effect contract for an essential target.",
619
+ no: "The vendor explicitly states a material ambiguity that prevents invocation or interpretation of an essential operation.",
620
+ },
484
621
  remediation: "Document stable inputs, outputs, effects, and target coverage for essential operations.",
485
622
  },
486
623
  {
@@ -517,6 +654,11 @@ export const METRICS = [
517
654
  ready: "Applicable limits, errors, retry, idempotency, cancellation, and reconciliation semantics are documented.",
518
655
  limited: "Safe failure handling is documented only partially.",
519
656
  blocked: "A material failure mode required for safe operation is opaque.",
657
+ factPredicates: {
658
+ yes: "For the selected operation, first-party material documents applicable structured errors and limits plus safe retry, cancellation and reconciliation where those effects are possible.",
659
+ partial: "The vendor explicitly documents a safe error or limit path but identifies a material constrained retry, cancellation or reconciliation boundary.",
660
+ no: "The vendor explicitly says a material failure mode required for safe operation is opaque or cannot be reconciled.",
661
+ },
520
662
  remediation: "Document applicable structured errors, retry, cancellation, and reconciliation semantics.",
521
663
  },
522
664
  {
@@ -541,11 +683,20 @@ export const METRICS = [
541
683
  "secret",
542
684
  "key",
543
685
  "token",
686
+ "no credentials",
687
+ "no api key",
688
+ "unauthenticated",
544
689
  ],
545
690
  condition: "Can an agent manage credential expiry, rotation, revocation, compromise, and recovery?",
546
691
  ready: "Credential lifecycle and recovery are documented and executable within delegated authority.",
547
692
  limited: "Only part of the credential lifecycle is agent-operable.",
548
693
  blocked: "Recovery depends on unsupported human-only control or broader shared secrets.",
694
+ factPredicates: {
695
+ yes: "The exact credential has documented issuance or use, replacement or rotation, revocation or compromise response, and recovery within delegated authority.",
696
+ partial: "The vendor documents one or more lifecycle operations but explicitly restricts a required rotation, revocation, compromise or recovery step to bounded manual or broader authority.",
697
+ no: "The vendor explicitly requires unsupported human-only recovery or shared secrets for the assessed credential.",
698
+ not_applicable: "A first-party statement explicitly establishes that no credential lifecycle exists on this assessed path.",
699
+ },
549
700
  remediation: "Provide scoped expiry, rotation, revocation, compromise, and recovery operations.",
550
701
  },
551
702
  {
@@ -556,9 +707,14 @@ export const METRICS = [
556
707
  evidence: "quality",
557
708
  evidenceTerms: ["mcp", "a2a", "agent", "openapi", "protocol", "tool", "capability", "manifest"],
558
709
  condition: "Does a declared service interface respond through a verified agent-native protocol?",
559
- ready: "A declared service interface responds through the exact verified protocol version.",
560
- limited: "An agent-native interface is declared but its protocol verification is incomplete.",
710
+ ready: "A retained exchange verifies the declared interface's protocol version.",
711
+ limited: "An agent-native interface is documented but no protocol exchange was verified.",
561
712
  blocked: "No declared service interface completed exact agent-native protocol verification.",
713
+ factPredicates: {
714
+ yes: "An exact standards adapter exchange verifies the declared agent-native interface and protocol version.",
715
+ partial: "The vendor documents an agent-native interface for this service, but no exact versioned exchange was verified.",
716
+ no: "A completed exact protocol check reports that the declared interface did not satisfy the protocol requirement.",
717
+ },
562
718
  remediation: "Optionally publish a protocol endpoint that completes exact version discovery.",
563
719
  },
564
720
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"current-policy-metrics.js","sourceRoot":"","sources":["../../../../modules/agent-readiness-policy/src/current-policy-metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,qCAAqC,GACtC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAwBvF,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAa,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1E,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAqB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC;AAClF,MAAM,QAAQ,GAAG,CAAC,WAKjB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,CAAC,CAAC;AACtD,MAAM,MAAM,GAAG,CAAC,UAAoD,EAAE,EAAE,CAAC,CAAC;IACxE,IAAI,EAAE,8BAA8B;IACpC,UAAU;CACX,CAAC,CAAC;AACH,MAAM,kBAAkB,GAAG,CAAC,SAAuC,EAAE,EAAE,CAAC,CAAC;IACvE,IAAI,EAAE,qBAAqB;IAC3B,UAAU,EAAE,qCAAqC,CAAC,OAAO;IACzD,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAgC;IAClD;QACE,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,QAAQ,EAAE,cAAc;QACxB,aAAa,EAAE;YACb,SAAS;YACT,KAAK;YACL,eAAe;Y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AC9F;CACO,CAAC"}
1
+ {"version":3,"file":"current-policy-metrics.js","sourceRoot":"","sources":["../../../../modules/agent-readiness-policy/src/current-policy-metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,qCAAqC,GACtC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAuCvF,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAa,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1E,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAqB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC;AAClF,MAAM,QAAQ,GAAG,CAAC,WAKjB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,CAAC,CAAC;AACtD,MAAM,MAAM,GAAG,CAAC,UAAoD,EAAE,EAAE,CAAC,CAAC;IACxE,IAAI,EAAE,8BAA8B;IACpC,UAAU;CACX,CAAC,CAAC;AACH,MAAM,kBAAkB,GAAG,CAAC,SAAuC,EAAE,EAAE,CAAC,CAAC;IACvE,IAAI,EAAE,qBAAqB;IAC3B,UAAU,EAAE,qCAAqC,CAAC,OAAO;IACzD,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAgC;IAClD;QACE,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,QAAQ,EAAE,cAAc;QACxB,aAAa,EAAE;YACb,SAAS;YACT,KAAK;YACL,eAAe;YACf,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,oBAAoB;YACpB,YAAY;YACZ,kBAAkB;YAClB,UAAU;YACV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