agentskeptic 1.2.1 → 1.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.
Files changed (239) hide show
  1. package/README.md +22 -34
  2. package/config/marketing.json +6 -5
  3. package/dist/actionableFailure.d.ts.map +1 -1
  4. package/dist/actionableFailure.js +15 -0
  5. package/dist/actionableFailure.js.map +1 -1
  6. package/dist/assurance/assurancePathArgs.d.ts.map +1 -1
  7. package/dist/assurance/assurancePathArgs.js +1 -0
  8. package/dist/assurance/assurancePathArgs.js.map +1 -1
  9. package/dist/certificateDigest.d.ts +4 -0
  10. package/dist/certificateDigest.d.ts.map +1 -0
  11. package/dist/certificateDigest.js +7 -0
  12. package/dist/certificateDigest.js.map +1 -0
  13. package/dist/certificateDigest.test.d.ts +2 -0
  14. package/dist/certificateDigest.test.d.ts.map +1 -0
  15. package/dist/certificateDigest.test.js +14 -0
  16. package/dist/certificateDigest.test.js.map +1 -0
  17. package/dist/cli/initCommand.d.ts +2 -0
  18. package/dist/cli/initCommand.d.ts.map +1 -0
  19. package/dist/cli/initCommand.js +135 -0
  20. package/dist/cli/initCommand.js.map +1 -0
  21. package/dist/cli/lockOrchestration.d.ts.map +1 -1
  22. package/dist/cli/lockOrchestration.js +29 -4
  23. package/dist/cli/lockOrchestration.js.map +1 -1
  24. package/dist/cli/migrateCommand.d.ts +6 -0
  25. package/dist/cli/migrateCommand.d.ts.map +1 -0
  26. package/dist/cli/migrateCommand.js +97 -0
  27. package/dist/cli/migrateCommand.js.map +1 -0
  28. package/dist/cli.js +99 -109
  29. package/dist/cli.js.map +1 -1
  30. package/dist/cliArgv.test.d.ts +2 -0
  31. package/dist/cliArgv.test.d.ts.map +1 -0
  32. package/dist/cliArgv.test.js +34 -0
  33. package/dist/cliArgv.test.js.map +1 -0
  34. package/dist/cliOperationalCodes.d.ts +6 -0
  35. package/dist/cliOperationalCodes.d.ts.map +1 -1
  36. package/dist/cliOperationalCodes.js +6 -0
  37. package/dist/cliOperationalCodes.js.map +1 -1
  38. package/dist/commercial/activationCorrelation.d.ts +3 -0
  39. package/dist/commercial/activationCorrelation.d.ts.map +1 -0
  40. package/dist/commercial/activationCorrelation.js +6 -0
  41. package/dist/commercial/activationCorrelation.js.map +1 -0
  42. package/dist/commercial/getCurrentUsage.d.ts +16 -0
  43. package/dist/commercial/getCurrentUsage.d.ts.map +1 -0
  44. package/dist/commercial/getCurrentUsage.js +12 -0
  45. package/dist/commercial/getCurrentUsage.js.map +1 -0
  46. package/dist/commercial/licensePreflight.d.ts +1 -0
  47. package/dist/commercial/licensePreflight.d.ts.map +1 -1
  48. package/dist/commercial/licensePreflight.js +12 -77
  49. package/dist/commercial/licensePreflight.js.map +1 -1
  50. package/dist/commercial/postVerifyOutcomeBeacon.d.ts +2 -0
  51. package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
  52. package/dist/commercial/postVerifyOutcomeBeacon.js +8 -13
  53. package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
  54. package/dist/compare.acceptance.test.js +25 -0
  55. package/dist/compare.acceptance.test.js.map +1 -1
  56. package/dist/compareRunManifest.d.ts +32 -0
  57. package/dist/compareRunManifest.d.ts.map +1 -0
  58. package/dist/compareRunManifest.js +60 -0
  59. package/dist/compareRunManifest.js.map +1 -0
  60. package/dist/debug-ui/app.js +4 -3
  61. package/dist/debugPanels.d.ts +0 -3
  62. package/dist/debugPanels.d.ts.map +1 -1
  63. package/dist/debugPanels.js +0 -23
  64. package/dist/debugPanels.js.map +1 -1
  65. package/dist/debugPanels.test.js +16 -15
  66. package/dist/debugPanels.test.js.map +1 -1
  67. package/dist/debugServer.d.ts.map +1 -1
  68. package/dist/debugServer.js +18 -15
  69. package/dist/debugServer.js.map +1 -1
  70. package/dist/debugServer.test.js +6 -3
  71. package/dist/debugServer.test.js.map +1 -1
  72. package/dist/decisionGate.assertSafe.test.js +2 -2
  73. package/dist/decisionGate.assertSafe.test.js.map +1 -1
  74. package/dist/decisionGate.d.ts +2 -1
  75. package/dist/decisionGate.d.ts.map +1 -1
  76. package/dist/decisionGate.js +2 -1
  77. package/dist/decisionGate.js.map +1 -1
  78. package/dist/decisionGate.persistBundle.test.js +3 -3
  79. package/dist/decisionGate.persistBundle.test.js.map +1 -1
  80. package/dist/discovery-payload-v1.json +3 -1
  81. package/dist/enforceCli.d.ts.map +1 -1
  82. package/dist/enforceCli.js +15 -40
  83. package/dist/enforceCli.js.map +1 -1
  84. package/dist/enforceStateful.d.ts +2 -0
  85. package/dist/enforceStateful.d.ts.map +1 -0
  86. package/dist/enforceStateful.js +88 -0
  87. package/dist/enforceStateful.js.map +1 -0
  88. package/dist/enforcementProjection.d.ts +17 -0
  89. package/dist/enforcementProjection.d.ts.map +1 -0
  90. package/dist/enforcementProjection.js +20 -0
  91. package/dist/enforcementProjection.js.map +1 -0
  92. package/dist/executionTrace.test.js +35 -0
  93. package/dist/executionTrace.test.js.map +1 -1
  94. package/dist/executionTraceDiff.d.ts +36 -0
  95. package/dist/executionTraceDiff.d.ts.map +1 -0
  96. package/dist/executionTraceDiff.js +86 -0
  97. package/dist/executionTraceDiff.js.map +1 -0
  98. package/dist/executionTraceDiff.test.d.ts +2 -0
  99. package/dist/executionTraceDiff.test.d.ts.map +1 -0
  100. package/dist/executionTraceDiff.test.js +44 -0
  101. package/dist/executionTraceDiff.test.js.map +1 -0
  102. package/dist/failureOriginCatalog.d.ts.map +1 -1
  103. package/dist/failureOriginCatalog.js +3 -0
  104. package/dist/failureOriginCatalog.js.map +1 -1
  105. package/dist/firstFiveMinutesChecklist.d.ts +1 -1
  106. package/dist/firstFiveMinutesChecklist.d.ts.map +1 -1
  107. package/dist/firstFiveMinutesChecklist.js +2 -2
  108. package/dist/firstFiveMinutesChecklist.js.map +1 -1
  109. package/dist/index.d.ts +13 -7
  110. package/dist/index.d.ts.map +1 -1
  111. package/dist/index.js +10 -7
  112. package/dist/index.js.map +1 -1
  113. package/dist/operationalDisposition.d.ts +48 -0
  114. package/dist/operationalDisposition.d.ts.map +1 -1
  115. package/dist/operationalDisposition.js +48 -0
  116. package/dist/operationalDisposition.js.map +1 -1
  117. package/dist/publicDistribution.generated.d.ts +1 -1
  118. package/dist/publicDistribution.generated.js +1 -1
  119. package/dist/registryDraft/buildRegistryDraftPrompt.js +2 -2
  120. package/dist/registryDraft/createRegistryDraftAjv.js +2 -2
  121. package/dist/registryDraft/index.d.ts +1 -0
  122. package/dist/registryDraft/index.d.ts.map +1 -1
  123. package/dist/registryDraft/index.js +1 -0
  124. package/dist/registryDraft/index.js.map +1 -1
  125. package/dist/registryDraft/openAiLlmResponseSchema.d.ts +6 -0
  126. package/dist/registryDraft/openAiLlmResponseSchema.d.ts.map +1 -0
  127. package/dist/registryDraft/openAiLlmResponseSchema.js +12 -0
  128. package/dist/registryDraft/openAiLlmResponseSchema.js.map +1 -0
  129. package/dist/regressionArtifact.d.ts +63 -0
  130. package/dist/regressionArtifact.d.ts.map +1 -0
  131. package/dist/regressionArtifact.js +290 -0
  132. package/dist/regressionArtifact.js.map +1 -0
  133. package/dist/runComparison.d.ts +0 -1
  134. package/dist/runComparison.d.ts.map +1 -1
  135. package/dist/runComparison.js +0 -83
  136. package/dist/runComparison.js.map +1 -1
  137. package/dist/runComparison.test.js +101 -57
  138. package/dist/runComparison.test.js.map +1 -1
  139. package/dist/schema-validation.test.js +37 -0
  140. package/dist/schema-validation.test.js.map +1 -1
  141. package/dist/schemaLoad.d.ts +1 -1
  142. package/dist/schemaLoad.d.ts.map +1 -1
  143. package/dist/schemaLoad.js +10 -0
  144. package/dist/schemaLoad.js.map +1 -1
  145. package/dist/sdk/AgentSkeptic.d.ts +37 -0
  146. package/dist/sdk/AgentSkeptic.d.ts.map +1 -0
  147. package/dist/sdk/AgentSkeptic.js +45 -0
  148. package/dist/sdk/AgentSkeptic.js.map +1 -0
  149. package/dist/sdk/Gate.d.ts +3 -0
  150. package/dist/sdk/Gate.d.ts.map +1 -0
  151. package/dist/sdk/Gate.js +2 -0
  152. package/dist/sdk/Gate.js.map +1 -0
  153. package/dist/sdk/_generated/openapi-types.d.ts +1034 -0
  154. package/dist/sdk/_generated/openapi-types.d.ts.map +1 -0
  155. package/dist/sdk/_generated/openapi-types.js +6 -0
  156. package/dist/sdk/_generated/openapi-types.js.map +1 -0
  157. package/dist/sdk/deprecate.d.ts +6 -0
  158. package/dist/sdk/deprecate.d.ts.map +1 -0
  159. package/dist/sdk/deprecate.js +14 -0
  160. package/dist/sdk/deprecate.js.map +1 -0
  161. package/dist/sdk/deprecatedPublicApi.d.ts +18 -0
  162. package/dist/sdk/deprecatedPublicApi.d.ts.map +1 -0
  163. package/dist/sdk/deprecatedPublicApi.js +36 -0
  164. package/dist/sdk/deprecatedPublicApi.js.map +1 -0
  165. package/dist/sdk/errors.d.ts +23 -0
  166. package/dist/sdk/errors.d.ts.map +1 -0
  167. package/dist/sdk/errors.js +28 -0
  168. package/dist/sdk/errors.js.map +1 -0
  169. package/dist/sdk/frameworks/next.d.ts +12 -0
  170. package/dist/sdk/frameworks/next.d.ts.map +1 -0
  171. package/dist/sdk/frameworks/next.js +29 -0
  172. package/dist/sdk/frameworks/next.js.map +1 -0
  173. package/dist/sdk/transport.d.ts +35 -0
  174. package/dist/sdk/transport.d.ts.map +1 -0
  175. package/dist/sdk/transport.js +180 -0
  176. package/dist/sdk/transport.js.map +1 -0
  177. package/dist/sortedJsonStringify.d.ts +2 -0
  178. package/dist/sortedJsonStringify.d.ts.map +1 -0
  179. package/dist/sortedJsonStringify.js +23 -0
  180. package/dist/sortedJsonStringify.js.map +1 -0
  181. package/dist/standardVerifyWorkflowCli.d.ts.map +1 -1
  182. package/dist/standardVerifyWorkflowCli.js +3 -2
  183. package/dist/standardVerifyWorkflowCli.js.map +1 -1
  184. package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts +2 -0
  185. package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts.map +1 -1
  186. package/dist/telemetry/maybeEmitOssClaimTicketUrl.js +13 -2
  187. package/dist/telemetry/maybeEmitOssClaimTicketUrl.js.map +1 -1
  188. package/dist/telemetry/postOssClaimContinuation.d.ts +1 -1
  189. package/dist/telemetry/postOssClaimContinuation.d.ts.map +1 -1
  190. package/dist/telemetry/postOssClaimContinuation.js +10 -6
  191. package/dist/telemetry/postOssClaimContinuation.js.map +1 -1
  192. package/dist/telemetry/postOssClaimTicket.d.ts +8 -0
  193. package/dist/telemetry/postOssClaimTicket.d.ts.map +1 -1
  194. package/dist/telemetry/postOssClaimTicket.js +31 -5
  195. package/dist/telemetry/postOssClaimTicket.js.map +1 -1
  196. package/dist/truthLayerError.d.ts +5 -2
  197. package/dist/truthLayerError.d.ts.map +1 -1
  198. package/dist/truthLayerError.js +6 -4
  199. package/dist/truthLayerError.js.map +1 -1
  200. package/dist/types.d.ts +10 -1
  201. package/dist/types.d.ts.map +1 -1
  202. package/dist/types.js.map +1 -1
  203. package/dist/verificationDiagnostics.d.ts.map +1 -1
  204. package/dist/verificationDiagnostics.js +4 -1
  205. package/dist/verificationDiagnostics.js.map +1 -1
  206. package/dist/verificationPolicy.d.ts.map +1 -1
  207. package/dist/verificationPolicy.js +13 -0
  208. package/dist/verificationPolicy.js.map +1 -1
  209. package/dist/verificationUserPhrases.d.ts.map +1 -1
  210. package/dist/verificationUserPhrases.js +3 -0
  211. package/dist/verificationUserPhrases.js.map +1 -1
  212. package/dist/verify/batchVerifyTelemetrySubcommand.d.ts.map +1 -1
  213. package/dist/verify/batchVerifyTelemetrySubcommand.js +8 -1
  214. package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
  215. package/dist/verifyAgentskeptic.d.ts +1 -1
  216. package/dist/verifyAgentskeptic.d.ts.map +1 -1
  217. package/dist/verifyAgentskeptic.js +3 -3
  218. package/dist/verifyAgentskeptic.js.map +1 -1
  219. package/dist/verifyAgentskeptic.test.js +5 -5
  220. package/dist/verifyAgentskeptic.test.js.map +1 -1
  221. package/dist/wireReasonCodes.d.ts +3 -0
  222. package/dist/wireReasonCodes.d.ts.map +1 -1
  223. package/dist/wireReasonCodes.js +3 -0
  224. package/dist/wireReasonCodes.js.map +1 -1
  225. package/package.json +47 -9
  226. package/schemas/agentskeptic-error-codes.json +608 -0
  227. package/schemas/compare-run-manifest-v1.schema.json +65 -0
  228. package/schemas/conformance-normalized-result.schema.json +73 -0
  229. package/schemas/connector-capabilities.schema.json +38 -0
  230. package/schemas/contract/v1.json +65 -0
  231. package/schemas/contract-manifest.schema.json +130 -0
  232. package/schemas/execution-trace-view.schema.json +1 -1
  233. package/schemas/openapi-commercial-v1.in.yaml +584 -14
  234. package/schemas/openapi-commercial-v1.yaml +584 -14
  235. package/schemas/{registry-draft-response-v1.schema.json → registry-draft-llm-partial-v1.schema.json} +9 -5
  236. package/schemas/registry-draft-response-v2.schema.json +52 -0
  237. package/schemas/regression-artifact-v1.schema.json +212 -0
  238. package/scripts/discovery-payload.lib.cjs +9 -3
  239. package/scripts/emit-primary-marketing.cjs +37 -0
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentskeptic.com/schemas/conformance-normalized-result.schema.json",
4
+ "title": "ConformanceNormalizedResult",
5
+ "type": "object",
6
+ "required": [
7
+ "scenarioId",
8
+ "runtime",
9
+ "connector",
10
+ "mode",
11
+ "supportedBehaviorId",
12
+ "outcome",
13
+ "normalizedHash"
14
+ ],
15
+ "properties": {
16
+ "scenarioId": { "type": "string", "minLength": 1 },
17
+ "runtime": { "type": "string", "enum": ["typescript", "python"] },
18
+ "connector": {
19
+ "type": "string",
20
+ "enum": [
21
+ "sqlite",
22
+ "postgres",
23
+ "mysql",
24
+ "sqlserver",
25
+ "bigquery",
26
+ "vector_document",
27
+ "http_witness",
28
+ "mongo_document",
29
+ "object_storage_object"
30
+ ]
31
+ },
32
+ "mode": { "type": "string", "enum": ["strong", "eventual", "bounded"] },
33
+ "supportedBehaviorId": { "type": "string", "minLength": 1 },
34
+ "outcome": {
35
+ "type": "object",
36
+ "required": ["status", "reasonCodes", "failureDiagnostic", "evidence"],
37
+ "properties": {
38
+ "status": {
39
+ "type": "string",
40
+ "enum": [
41
+ "verified",
42
+ "missing",
43
+ "inconsistent",
44
+ "incomplete_verification",
45
+ "partially_verified",
46
+ "uncertain"
47
+ ]
48
+ },
49
+ "reasonCodes": {
50
+ "type": "array",
51
+ "items": { "type": "string", "minLength": 1 },
52
+ "uniqueItems": true
53
+ },
54
+ "failureDiagnostic": {
55
+ "type": ["string", "null"],
56
+ "enum": [
57
+ "workflow_execution",
58
+ "verification_setup",
59
+ "observation_uncertainty",
60
+ null
61
+ ]
62
+ },
63
+ "evidence": {
64
+ "type": "object",
65
+ "additionalProperties": true
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ },
70
+ "normalizedHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
71
+ },
72
+ "additionalProperties": false
73
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentskeptic.com/schemas/connector-capabilities.schema.json",
4
+ "title": "ConnectorCapabilities",
5
+ "type": "object",
6
+ "required": ["generatedAt", "behaviors"],
7
+ "properties": {
8
+ "generatedAt": { "type": "string", "minLength": 1 },
9
+ "behaviors": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "required": ["supportedBehaviorId", "capabilityState", "runtimeStates", "scenarioIds"],
14
+ "properties": {
15
+ "supportedBehaviorId": { "type": "string", "minLength": 1 },
16
+ "capabilityState": { "type": "string", "enum": ["supported", "unsupported"] },
17
+ "runtimeStates": {
18
+ "type": "object",
19
+ "required": ["typescript", "python"],
20
+ "properties": {
21
+ "typescript": { "type": "string", "enum": ["supported", "unsupported"] },
22
+ "python": { "type": "string", "enum": ["supported", "unsupported"] }
23
+ },
24
+ "additionalProperties": false
25
+ },
26
+ "scenarioIds": {
27
+ "type": "array",
28
+ "items": { "type": "string", "minLength": 1 },
29
+ "uniqueItems": true
30
+ },
31
+ "notes": { "type": "array", "items": { "type": "string" } }
32
+ },
33
+ "additionalProperties": false
34
+ }
35
+ }
36
+ },
37
+ "additionalProperties": false
38
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "https://agentskeptic.com/schemas/contract-manifest.schema.json",
3
+ "examples": {
4
+ "events": {
5
+ "path": "examples/events.ndjson"
6
+ },
7
+ "registry": {
8
+ "path": "examples/tools.json"
9
+ }
10
+ },
11
+ "history": [
12
+ {
13
+ "exampleSha256": {
14
+ "events": "6e36c6faa758cdffc53093959a71cb60aa3ecf153ada5a7006997bcef0e6215b",
15
+ "registry": "e3abd4965f1dc5d78cb1e1bc3a548cd0c02e746c626c2691a9292242e1a0c159"
16
+ },
17
+ "introducedAt": "2026-04-28",
18
+ "manifestSha256": "5017579f4372b349278841e1528076db44131a3c7e68075aea7f6a461ca0f415",
19
+ "manifestVersion": "1.0.0",
20
+ "memberSha256": {
21
+ "event": "7873d26c3702e10c217608268f57782302b2800ebf23d85bae56a5edc9517a6e",
22
+ "toolsRegistry": "94453738ac7dddc912db2342de16d357f37be8fde0bffefdfdc11e75ac292801",
23
+ "toolsRegistryExport": "350ee52d3a1db92257c4577d43f145f5ea945a356fb70b630db0b16cb7849c3a"
24
+ }
25
+ },
26
+ {
27
+ "exampleSha256": {
28
+ "events": "17b40fd3fefd37654b569a4b8888114a23d2199fb945cb41125b5a0bb5b53567",
29
+ "registry": "4fa2d1a29e6d71e3c72269300a00709b29a102a8f1f717fdabd4a31091522ab2"
30
+ },
31
+ "introducedAt": "2026-04-28",
32
+ "manifestSha256": "c5f23ec43576716c4b9a13e752cd2962a78bb4b4da1f9e521f911e15dfd80268",
33
+ "manifestVersion": "1.0.1",
34
+ "memberSha256": {
35
+ "event": "2a29c7f902a142e91a2d3a1ab58c8355c31509146a5177528cfea2dbc4087543",
36
+ "toolsRegistry": "ae48ae9b7fea13e2c7e5dcdb55c43ffd84c61fe7404633c557b2936b2ca2204f",
37
+ "toolsRegistryExport": "953d1ce3c91425852c7674afc66955bac07e77d3bfbcdd3e461fe9b41dcb1455"
38
+ }
39
+ }
40
+ ],
41
+ "manifestVersion": "1.0.1",
42
+ "members": {
43
+ "event": {
44
+ "role": "event-line",
45
+ "schemaId": "https://agentskeptic.com/schemas/event.schema.json",
46
+ "schemaPath": "schemas/event.schema.json"
47
+ },
48
+ "toolsRegistry": {
49
+ "role": "registry",
50
+ "schemaId": "https://agentskeptic.com/schemas/tools-registry.schema.json",
51
+ "schemaPath": "schemas/tools-registry.schema.json"
52
+ },
53
+ "toolsRegistryExport": {
54
+ "role": "registry-export",
55
+ "schemaId": "https://agentskeptic.com/schemas/tools-registry-export.schema.json",
56
+ "schemaPath": "schemas/tools-registry-export.schema.json"
57
+ }
58
+ },
59
+ "productPackage": "agentskeptic",
60
+ "publicUrl": "https://agentskeptic.com/contract/v1.json",
61
+ "validatorFingerprint": {
62
+ "draft": "2020-12",
63
+ "library": "ajv"
64
+ }
65
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/contract-manifest.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "title": "VerificationContractManifest",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "$schema",
9
+ "manifestVersion",
10
+ "publicUrl",
11
+ "productPackage",
12
+ "members",
13
+ "examples",
14
+ "validatorFingerprint",
15
+ "history"
16
+ ],
17
+ "properties": {
18
+ "$schema": {
19
+ "type": "string",
20
+ "const": "https://agentskeptic.com/schemas/contract-manifest.schema.json"
21
+ },
22
+ "manifestVersion": { "$ref": "#/$defs/semver" },
23
+ "publicUrl": { "type": "string", "format": "uri", "pattern": "^https?://" },
24
+ "productPackage": { "type": "string", "minLength": 1 },
25
+ "members": {
26
+ "type": "object",
27
+ "additionalProperties": false,
28
+ "required": ["event", "toolsRegistry", "toolsRegistryExport"],
29
+ "properties": {
30
+ "event": { "$ref": "#/$defs/memberEntry" },
31
+ "toolsRegistry": { "$ref": "#/$defs/memberEntry" },
32
+ "toolsRegistryExport": { "$ref": "#/$defs/memberEntry" }
33
+ }
34
+ },
35
+ "examples": {
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "required": ["registry", "events"],
39
+ "properties": {
40
+ "registry": { "$ref": "#/$defs/exampleEntry" },
41
+ "events": { "$ref": "#/$defs/exampleEntry" }
42
+ }
43
+ },
44
+ "validatorFingerprint": {
45
+ "type": "object",
46
+ "additionalProperties": false,
47
+ "required": ["library", "draft"],
48
+ "properties": {
49
+ "library": { "type": "string", "minLength": 1 },
50
+ "draft": { "type": "string", "minLength": 1 }
51
+ }
52
+ },
53
+ "history": {
54
+ "type": "array",
55
+ "minItems": 1,
56
+ "items": { "$ref": "#/$defs/historyEntry" }
57
+ }
58
+ },
59
+ "$defs": {
60
+ "semver": {
61
+ "type": "string",
62
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
63
+ },
64
+ "sha256Hex": {
65
+ "type": "string",
66
+ "pattern": "^[a-f0-9]{64}$"
67
+ },
68
+ "sha256HexOrEmpty": {
69
+ "type": "string",
70
+ "pattern": "^([a-f0-9]{64}|)$"
71
+ },
72
+ "isoDate": {
73
+ "type": "string",
74
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
75
+ },
76
+ "memberEntry": {
77
+ "type": "object",
78
+ "additionalProperties": false,
79
+ "required": ["role", "schemaPath", "schemaId"],
80
+ "properties": {
81
+ "role": { "type": "string", "minLength": 1 },
82
+ "schemaPath": { "type": "string", "pattern": "^schemas/[^/]+\\.schema\\.json$" },
83
+ "schemaId": { "type": "string", "format": "uri", "pattern": "^https://agentskeptic\\.com/schemas/" }
84
+ }
85
+ },
86
+ "exampleEntry": {
87
+ "type": "object",
88
+ "additionalProperties": false,
89
+ "required": ["path"],
90
+ "properties": {
91
+ "path": { "type": "string", "pattern": "^examples/[^\\s]+$" }
92
+ }
93
+ },
94
+ "historyEntry": {
95
+ "type": "object",
96
+ "additionalProperties": false,
97
+ "required": [
98
+ "manifestVersion",
99
+ "introducedAt",
100
+ "memberSha256",
101
+ "exampleSha256",
102
+ "manifestSha256"
103
+ ],
104
+ "properties": {
105
+ "manifestVersion": { "$ref": "#/$defs/semver" },
106
+ "introducedAt": { "$ref": "#/$defs/isoDate" },
107
+ "memberSha256": {
108
+ "type": "object",
109
+ "additionalProperties": false,
110
+ "required": ["event", "toolsRegistry", "toolsRegistryExport"],
111
+ "properties": {
112
+ "event": { "$ref": "#/$defs/sha256Hex" },
113
+ "toolsRegistry": { "$ref": "#/$defs/sha256Hex" },
114
+ "toolsRegistryExport": { "$ref": "#/$defs/sha256Hex" }
115
+ }
116
+ },
117
+ "exampleSha256": {
118
+ "type": "object",
119
+ "additionalProperties": false,
120
+ "required": ["registry", "events"],
121
+ "properties": {
122
+ "registry": { "$ref": "#/$defs/sha256Hex" },
123
+ "events": { "$ref": "#/$defs/sha256Hex" }
124
+ }
125
+ },
126
+ "manifestSha256": { "$ref": "#/$defs/sha256HexOrEmpty" }
127
+ }
128
+ }
129
+ }
130
+ }
@@ -46,7 +46,7 @@
46
46
  "properties": {
47
47
  "ingestIndex": { "type": "integer", "minimum": 0 },
48
48
  "runEventId": { "type": "string", "minLength": 1 },
49
- "wireSchemaVersion": { "type": "integer", "enum": [1, 2] },
49
+ "wireSchemaVersion": { "type": "integer", "enum": [1, 2, 3] },
50
50
  "wireType": { "type": "string", "minLength": 1 },
51
51
  "parentRunEventId": { "type": ["string", "null"] },
52
52
  "traceStepKind": {