agentskeptic 0.2.1 → 1.0.1

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 (386) hide show
  1. package/README.md +39 -39
  2. package/config/marketing.json +187 -0
  3. package/dist/actionableFailure.d.ts.map +1 -1
  4. package/dist/actionableFailure.js +95 -0
  5. package/dist/actionableFailure.js.map +1 -1
  6. package/dist/actionableFailure.remediationExhaustive.test.js +4 -4
  7. package/dist/actionableFailure.remediationExhaustive.test.js.map +1 -1
  8. package/dist/agentRunBundle.d.ts +2 -0
  9. package/dist/agentRunBundle.d.ts.map +1 -1
  10. package/dist/agentRunBundle.js +4 -0
  11. package/dist/agentRunBundle.js.map +1 -1
  12. package/dist/assurance/assurancePathArgs.d.ts.map +1 -1
  13. package/dist/assurance/assurancePathArgs.js +1 -0
  14. package/dist/assurance/assurancePathArgs.js.map +1 -1
  15. package/dist/assurance/buildAssuranceOutput.d.ts +29 -0
  16. package/dist/assurance/buildAssuranceOutput.d.ts.map +1 -0
  17. package/dist/assurance/buildAssuranceOutput.js +53 -0
  18. package/dist/assurance/buildAssuranceOutput.js.map +1 -0
  19. package/dist/assurance/checkStale.d.ts +7 -0
  20. package/dist/assurance/checkStale.d.ts.map +1 -1
  21. package/dist/assurance/checkStale.js +14 -3
  22. package/dist/assurance/checkStale.js.map +1 -1
  23. package/dist/assurance/runAssurance.d.ts.map +1 -1
  24. package/dist/assurance/runAssurance.js +26 -3
  25. package/dist/assurance/runAssurance.js.map +1 -1
  26. package/dist/bootstrap/executeBootstrapPack.d.ts.map +1 -1
  27. package/dist/bootstrap/executeBootstrapPack.js +3 -2
  28. package/dist/bootstrap/executeBootstrapPack.js.map +1 -1
  29. package/dist/certificateDigest.d.ts +4 -0
  30. package/dist/certificateDigest.d.ts.map +1 -0
  31. package/dist/certificateDigest.js +7 -0
  32. package/dist/certificateDigest.js.map +1 -0
  33. package/dist/certificateDigest.test.d.ts +2 -0
  34. package/dist/certificateDigest.test.d.ts.map +1 -0
  35. package/dist/certificateDigest.test.js +14 -0
  36. package/dist/certificateDigest.test.js.map +1 -0
  37. package/dist/ciLockWorkflow.js +1 -1
  38. package/dist/cli/lockOrchestration.d.ts.map +1 -1
  39. package/dist/cli/lockOrchestration.js +81 -50
  40. package/dist/cli/lockOrchestration.js.map +1 -1
  41. package/dist/cli/lockOrchestration.test.js +7 -1
  42. package/dist/cli/lockOrchestration.test.js.map +1 -1
  43. package/dist/cli/runFunnelAnonSet.js +1 -1
  44. package/dist/cli.js +147 -136
  45. package/dist/cli.js.map +1 -1
  46. package/dist/cliArgv.d.ts +4 -1
  47. package/dist/cliArgv.d.ts.map +1 -1
  48. package/dist/cliArgv.js +9 -4
  49. package/dist/cliArgv.js.map +1 -1
  50. package/dist/cliArgv.test.d.ts +2 -0
  51. package/dist/cliArgv.test.d.ts.map +1 -0
  52. package/dist/cliArgv.test.js +34 -0
  53. package/dist/cliArgv.test.js.map +1 -0
  54. package/dist/cliOperationalCodes.d.ts +8 -0
  55. package/dist/cliOperationalCodes.d.ts.map +1 -1
  56. package/dist/cliOperationalCodes.js +8 -0
  57. package/dist/cliOperationalCodes.js.map +1 -1
  58. package/dist/commercial/activationCorrelation.d.ts +3 -0
  59. package/dist/commercial/activationCorrelation.d.ts.map +1 -0
  60. package/dist/commercial/activationCorrelation.js +6 -0
  61. package/dist/commercial/activationCorrelation.js.map +1 -0
  62. package/dist/commercial/getCurrentUsage.d.ts +16 -0
  63. package/dist/commercial/getCurrentUsage.d.ts.map +1 -0
  64. package/dist/commercial/getCurrentUsage.js +33 -0
  65. package/dist/commercial/getCurrentUsage.js.map +1 -0
  66. package/dist/commercial/licensePreflight.d.ts +1 -0
  67. package/dist/commercial/licensePreflight.d.ts.map +1 -1
  68. package/dist/commercial/licensePreflight.js +27 -8
  69. package/dist/commercial/licensePreflight.js.map +1 -1
  70. package/dist/commercial/postVerifyOutcomeBeacon.d.ts +5 -3
  71. package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
  72. package/dist/commercial/postVerifyOutcomeBeacon.js +17 -10
  73. package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
  74. package/dist/commercial/verifyOutcomeBeaconBody.d.ts +12 -0
  75. package/dist/commercial/verifyOutcomeBeaconBody.d.ts.map +1 -0
  76. package/dist/commercial/verifyOutcomeBeaconBody.js +26 -0
  77. package/dist/commercial/verifyOutcomeBeaconBody.js.map +1 -0
  78. package/dist/commercial/verifyWorkloadClassify.d.ts +2 -7
  79. package/dist/commercial/verifyWorkloadClassify.d.ts.map +1 -1
  80. package/dist/commercial/verifyWorkloadClassify.js +1 -1
  81. package/dist/commercial/verifyWorkloadClassify.js.map +1 -1
  82. package/dist/commercial/verifyWorkloadClassify.test.js +7 -0
  83. package/dist/commercial/verifyWorkloadClassify.test.js.map +1 -1
  84. package/dist/compare.acceptance.test.js +25 -0
  85. package/dist/compare.acceptance.test.js.map +1 -1
  86. package/dist/compareRunManifest.d.ts +32 -0
  87. package/dist/compareRunManifest.d.ts.map +1 -0
  88. package/dist/compareRunManifest.js +60 -0
  89. package/dist/compareRunManifest.js.map +1 -0
  90. package/dist/crossing/crossingDecisionReadyFooter.d.ts +1 -1
  91. package/dist/crossing/crossingDecisionReadyFooter.js +1 -1
  92. package/dist/crossing/runCrossingSubcommand.js +8 -8
  93. package/dist/debug-ui/app.css +42 -0
  94. package/dist/debug-ui/app.js +206 -15
  95. package/dist/debug-ui/index.html +11 -4
  96. package/dist/debug-ui/urlState.d.ts +15 -0
  97. package/dist/debug-ui/urlState.js +92 -0
  98. package/dist/debugCorpus.test.js +33 -7
  99. package/dist/debugCorpus.test.js.map +1 -1
  100. package/dist/debugPanels.d.ts +0 -3
  101. package/dist/debugPanels.d.ts.map +1 -1
  102. package/dist/debugPanels.js +0 -23
  103. package/dist/debugPanels.js.map +1 -1
  104. package/dist/debugPanels.test.js +16 -15
  105. package/dist/debugPanels.test.js.map +1 -1
  106. package/dist/debugServer.d.ts.map +1 -1
  107. package/dist/debugServer.js +19 -16
  108. package/dist/debugServer.js.map +1 -1
  109. package/dist/debugServer.test.js +18 -9
  110. package/dist/debugServer.test.js.map +1 -1
  111. package/dist/debugUiUrlState.test.d.ts +2 -0
  112. package/dist/debugUiUrlState.test.d.ts.map +1 -0
  113. package/dist/debugUiUrlState.test.js +49 -0
  114. package/dist/debugUiUrlState.test.js.map +1 -0
  115. package/dist/decisionBlocker.contract.test.d.ts +2 -0
  116. package/dist/decisionBlocker.contract.test.d.ts.map +1 -0
  117. package/dist/decisionBlocker.contract.test.js +51 -0
  118. package/dist/decisionBlocker.contract.test.js.map +1 -0
  119. package/dist/decisionBlocker.d.ts +10 -0
  120. package/dist/decisionBlocker.d.ts.map +1 -0
  121. package/dist/decisionBlocker.js +66 -0
  122. package/dist/decisionBlocker.js.map +1 -0
  123. package/dist/decisionGate.assertSafe.test.d.ts +2 -0
  124. package/dist/decisionGate.assertSafe.test.d.ts.map +1 -0
  125. package/dist/decisionGate.assertSafe.test.js +52 -0
  126. package/dist/decisionGate.assertSafe.test.js.map +1 -0
  127. package/dist/decisionGate.d.ts +23 -0
  128. package/dist/decisionGate.d.ts.map +1 -0
  129. package/dist/decisionGate.js +85 -0
  130. package/dist/decisionGate.js.map +1 -0
  131. package/dist/decisionGate.persistBundle.test.d.ts +2 -0
  132. package/dist/decisionGate.persistBundle.test.d.ts.map +1 -0
  133. package/dist/{withWorkflowVerification.persistBundle.test.js → decisionGate.persistBundle.test.js} +31 -19
  134. package/dist/decisionGate.persistBundle.test.js.map +1 -0
  135. package/dist/decisionUnsafeError.d.ts +8 -0
  136. package/dist/decisionUnsafeError.d.ts.map +1 -0
  137. package/dist/decisionUnsafeError.js +12 -0
  138. package/dist/decisionUnsafeError.js.map +1 -0
  139. package/dist/discovery-payload-v1.json +167 -59
  140. package/dist/enforceCli.d.ts.map +1 -1
  141. package/dist/enforceCli.js +15 -40
  142. package/dist/enforceCli.js.map +1 -1
  143. package/dist/enforceStateful.d.ts +2 -0
  144. package/dist/enforceStateful.d.ts.map +1 -0
  145. package/dist/enforceStateful.js +106 -0
  146. package/dist/enforceStateful.js.map +1 -0
  147. package/dist/enforcementProjection.d.ts +17 -0
  148. package/dist/enforcementProjection.d.ts.map +1 -0
  149. package/dist/enforcementProjection.js +20 -0
  150. package/dist/enforcementProjection.js.map +1 -0
  151. package/dist/executionPathFindings.d.ts +1 -1
  152. package/dist/executionPathFindings.d.ts.map +1 -1
  153. package/dist/executionPathFindings.js +2 -2
  154. package/dist/executionPathFindings.js.map +1 -1
  155. package/dist/executionTrace.js +2 -2
  156. package/dist/executionTrace.js.map +1 -1
  157. package/dist/executionTrace.test.js +35 -0
  158. package/dist/executionTrace.test.js.map +1 -1
  159. package/dist/executionTraceDiff.d.ts +36 -0
  160. package/dist/executionTraceDiff.d.ts.map +1 -0
  161. package/dist/executionTraceDiff.js +86 -0
  162. package/dist/executionTraceDiff.js.map +1 -0
  163. package/dist/executionTraceDiff.test.d.ts +2 -0
  164. package/dist/executionTraceDiff.test.d.ts.map +1 -0
  165. package/dist/executionTraceDiff.test.js +44 -0
  166. package/dist/executionTraceDiff.test.js.map +1 -0
  167. package/dist/failureCatalog.d.ts +1 -0
  168. package/dist/failureCatalog.d.ts.map +1 -1
  169. package/dist/failureCatalog.js +1 -0
  170. package/dist/failureCatalog.js.map +1 -1
  171. package/dist/failureOriginCatalog.d.ts.map +1 -1
  172. package/dist/failureOriginCatalog.js +20 -0
  173. package/dist/failureOriginCatalog.js.map +1 -1
  174. package/dist/firstFiveMinutesChecklist.d.ts +11 -0
  175. package/dist/firstFiveMinutesChecklist.d.ts.map +1 -0
  176. package/dist/firstFiveMinutesChecklist.js +18 -0
  177. package/dist/firstFiveMinutesChecklist.js.map +1 -0
  178. package/dist/funnel/workflowLineageClassify.d.ts +1 -1
  179. package/dist/funnel/workflowLineageClassify.js +1 -1
  180. package/dist/index.d.ts +22 -7
  181. package/dist/index.d.ts.map +1 -1
  182. package/dist/index.js +15 -6
  183. package/dist/index.js.map +1 -1
  184. package/dist/langGraphCheckpointTrustGate.d.ts +38 -0
  185. package/dist/langGraphCheckpointTrustGate.d.ts.map +1 -0
  186. package/dist/langGraphCheckpointTrustGate.js +124 -0
  187. package/dist/langGraphCheckpointTrustGate.js.map +1 -0
  188. package/dist/langGraphCheckpointTrustIneligibleCertificate.d.ts +8 -0
  189. package/dist/langGraphCheckpointTrustIneligibleCertificate.d.ts.map +1 -0
  190. package/dist/langGraphCheckpointTrustIneligibleCertificate.js +17 -0
  191. package/dist/langGraphCheckpointTrustIneligibleCertificate.js.map +1 -0
  192. package/dist/langGraphCheckpointTrustUnsafeError.d.ts +8 -0
  193. package/dist/langGraphCheckpointTrustUnsafeError.d.ts.map +1 -0
  194. package/dist/langGraphCheckpointTrustUnsafeError.js +12 -0
  195. package/dist/langGraphCheckpointTrustUnsafeError.js.map +1 -0
  196. package/dist/loadEvents.d.ts +5 -0
  197. package/dist/loadEvents.d.ts.map +1 -1
  198. package/dist/loadEvents.js +32 -0
  199. package/dist/loadEvents.js.map +1 -1
  200. package/dist/operationalDisposition.d.ts +64 -0
  201. package/dist/operationalDisposition.d.ts.map +1 -1
  202. package/dist/operationalDisposition.js +64 -0
  203. package/dist/operationalDisposition.js.map +1 -1
  204. package/dist/outcomeCertificate.d.ts +60 -0
  205. package/dist/outcomeCertificate.d.ts.map +1 -0
  206. package/dist/outcomeCertificate.js +254 -0
  207. package/dist/outcomeCertificate.js.map +1 -0
  208. package/dist/outcomeCertificate.test.d.ts +2 -0
  209. package/dist/outcomeCertificate.test.d.ts.map +1 -0
  210. package/dist/outcomeCertificate.test.js +74 -0
  211. package/dist/outcomeCertificate.test.js.map +1 -0
  212. package/dist/pipeline.d.ts +19 -17
  213. package/dist/pipeline.d.ts.map +1 -1
  214. package/dist/pipeline.js +61 -167
  215. package/dist/pipeline.js.map +1 -1
  216. package/dist/planTransition.test.js +4 -4
  217. package/dist/publicDistribution.generated.d.ts +2 -2
  218. package/dist/publicDistribution.generated.d.ts.map +1 -1
  219. package/dist/publicDistribution.generated.js +7 -8
  220. package/dist/publicDistribution.generated.js.map +1 -1
  221. package/dist/quickVerify/quickVerifyScope.d.ts +1 -1
  222. package/dist/quickVerify/quickVerifyScope.js +1 -1
  223. package/dist/quickVerify/runQuickVerify.js +1 -1
  224. package/dist/quickVerify/runQuickVerify.js.map +1 -1
  225. package/dist/quickVerify/verifyExecution.d.ts +1 -1
  226. package/dist/quickVerify/verifyExecution.d.ts.map +1 -1
  227. package/dist/quickVerify/verifyExecution.js +3 -2
  228. package/dist/quickVerify/verifyExecution.js.map +1 -1
  229. package/dist/reconciler.d.ts +6 -2
  230. package/dist/reconciler.d.ts.map +1 -1
  231. package/dist/reconciler.js +17 -11
  232. package/dist/reconciler.js.map +1 -1
  233. package/dist/registryDraft/createRegistryDraftAjv.d.ts +1 -1
  234. package/dist/registryDraft/createRegistryDraftAjv.js +1 -1
  235. package/dist/regressionArtifact.d.ts +63 -0
  236. package/dist/regressionArtifact.d.ts.map +1 -0
  237. package/dist/regressionArtifact.js +290 -0
  238. package/dist/regressionArtifact.js.map +1 -0
  239. package/dist/relationalInvariant.d.ts +13 -3
  240. package/dist/relationalInvariant.d.ts.map +1 -1
  241. package/dist/relationalInvariant.existsSql.test.js +1 -1
  242. package/dist/relationalInvariant.existsSql.test.js.map +1 -1
  243. package/dist/relationalInvariant.js +59 -39
  244. package/dist/relationalInvariant.js.map +1 -1
  245. package/dist/relationalInvariant.test.js +2 -2
  246. package/dist/relationalInvariant.test.js.map +1 -1
  247. package/dist/resolveExpectation.d.ts +18 -2
  248. package/dist/resolveExpectation.d.ts.map +1 -1
  249. package/dist/resolveExpectation.js +332 -1
  250. package/dist/resolveExpectation.js.map +1 -1
  251. package/dist/resolveExpectation.test.js +25 -0
  252. package/dist/resolveExpectation.test.js.map +1 -1
  253. package/dist/runComparison.d.ts +0 -1
  254. package/dist/runComparison.d.ts.map +1 -1
  255. package/dist/runComparison.js +18 -86
  256. package/dist/runComparison.js.map +1 -1
  257. package/dist/runComparison.test.js +101 -57
  258. package/dist/runComparison.test.js.map +1 -1
  259. package/dist/schema-validation.test.js +29 -0
  260. package/dist/schema-validation.test.js.map +1 -1
  261. package/dist/schemaLoad.d.ts +1 -1
  262. package/dist/schemaLoad.d.ts.map +1 -1
  263. package/dist/schemaLoad.js +15 -0
  264. package/dist/schemaLoad.js.map +1 -1
  265. package/dist/shareReport/postPublicVerificationReport.d.ts +6 -0
  266. package/dist/shareReport/postPublicVerificationReport.d.ts.map +1 -1
  267. package/dist/shareReport/postPublicVerificationReport.js +3 -1
  268. package/dist/shareReport/postPublicVerificationReport.js.map +1 -1
  269. package/dist/sortedJsonStringify.d.ts +2 -0
  270. package/dist/sortedJsonStringify.d.ts.map +1 -0
  271. package/dist/sortedJsonStringify.js +23 -0
  272. package/dist/sortedJsonStringify.js.map +1 -0
  273. package/dist/sqlDialect.d.ts +8 -0
  274. package/dist/sqlDialect.d.ts.map +1 -0
  275. package/dist/sqlDialect.js +37 -0
  276. package/dist/sqlDialect.js.map +1 -0
  277. package/dist/standardVerifyWorkflowCli.d.ts +20 -5
  278. package/dist/standardVerifyWorkflowCli.d.ts.map +1 -1
  279. package/dist/standardVerifyWorkflowCli.js +56 -24
  280. package/dist/standardVerifyWorkflowCli.js.map +1 -1
  281. package/dist/stateWitness.d.ts +4 -0
  282. package/dist/stateWitness.d.ts.map +1 -0
  283. package/dist/stateWitness.js +383 -0
  284. package/dist/stateWitness.js.map +1 -0
  285. package/dist/stateWitness.test.d.ts +2 -0
  286. package/dist/stateWitness.test.d.ts.map +1 -0
  287. package/dist/stateWitness.test.js +120 -0
  288. package/dist/stateWitness.test.js.map +1 -0
  289. package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts +2 -0
  290. package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts.map +1 -1
  291. package/dist/telemetry/maybeEmitOssClaimTicketUrl.js +13 -2
  292. package/dist/telemetry/maybeEmitOssClaimTicketUrl.js.map +1 -1
  293. package/dist/telemetry/ossClaimOrigin.d.ts +1 -1
  294. package/dist/telemetry/ossClaimOrigin.js +1 -1
  295. package/dist/telemetry/postOssClaimContinuation.d.ts +1 -1
  296. package/dist/telemetry/postOssClaimContinuation.d.ts.map +1 -1
  297. package/dist/telemetry/postOssClaimContinuation.js +10 -6
  298. package/dist/telemetry/postOssClaimContinuation.js.map +1 -1
  299. package/dist/telemetry/postOssClaimTicket.d.ts +8 -0
  300. package/dist/telemetry/postOssClaimTicket.d.ts.map +1 -1
  301. package/dist/telemetry/postOssClaimTicket.js +31 -5
  302. package/dist/telemetry/postOssClaimTicket.js.map +1 -1
  303. package/dist/telemetry/verificationHypothesisContract.d.ts +1 -1
  304. package/dist/telemetry/verificationHypothesisContract.js +1 -1
  305. package/dist/trustDecision.d.ts +8 -0
  306. package/dist/trustDecision.d.ts.map +1 -0
  307. package/dist/trustDecision.js +13 -0
  308. package/dist/trustDecision.js.map +1 -0
  309. package/dist/types.d.ts +139 -7
  310. package/dist/types.d.ts.map +1 -1
  311. package/dist/types.js.map +1 -1
  312. package/dist/verificationConnections.d.ts +10 -0
  313. package/dist/verificationConnections.d.ts.map +1 -0
  314. package/dist/verificationConnections.js +190 -0
  315. package/dist/verificationConnections.js.map +1 -0
  316. package/dist/verificationDatabaseUrl.d.ts +11 -0
  317. package/dist/verificationDatabaseUrl.d.ts.map +1 -0
  318. package/dist/verificationDatabaseUrl.js +41 -0
  319. package/dist/verificationDatabaseUrl.js.map +1 -0
  320. package/dist/verificationDatabaseUrl.test.d.ts +2 -0
  321. package/dist/verificationDatabaseUrl.test.d.ts.map +1 -0
  322. package/dist/verificationDatabaseUrl.test.js +66 -0
  323. package/dist/verificationDatabaseUrl.test.js.map +1 -0
  324. package/dist/verificationDiagnostics.d.ts.map +1 -1
  325. package/dist/verificationDiagnostics.js +33 -9
  326. package/dist/verificationDiagnostics.js.map +1 -1
  327. package/dist/verificationDiagnostics.test.js +15 -0
  328. package/dist/verificationDiagnostics.test.js.map +1 -1
  329. package/dist/verificationPolicy.d.ts +2 -1
  330. package/dist/verificationPolicy.d.ts.map +1 -1
  331. package/dist/verificationPolicy.js +97 -0
  332. package/dist/verificationPolicy.js.map +1 -1
  333. package/dist/verificationPolicy.test.js +7 -0
  334. package/dist/verificationPolicy.test.js.map +1 -1
  335. package/dist/verificationRunContext.d.ts.map +1 -1
  336. package/dist/verificationRunContext.js +3 -0
  337. package/dist/verificationRunContext.js.map +1 -1
  338. package/dist/verificationUserPhrases.d.ts.map +1 -1
  339. package/dist/verificationUserPhrases.js +21 -0
  340. package/dist/verificationUserPhrases.js.map +1 -1
  341. package/dist/verify/batchVerifyTelemetrySubcommand.d.ts.map +1 -1
  342. package/dist/verify/batchVerifyTelemetrySubcommand.js +131 -33
  343. package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
  344. package/dist/verifyAgentskeptic.d.ts +4 -8
  345. package/dist/verifyAgentskeptic.d.ts.map +1 -1
  346. package/dist/verifyAgentskeptic.js +16 -21
  347. package/dist/verifyAgentskeptic.js.map +1 -1
  348. package/dist/verifyAgentskeptic.test.js +10 -12
  349. package/dist/verifyAgentskeptic.test.js.map +1 -1
  350. package/dist/verifyRunStateFromBufferedRunEvents.d.ts +18 -0
  351. package/dist/verifyRunStateFromBufferedRunEvents.d.ts.map +1 -0
  352. package/dist/verifyRunStateFromBufferedRunEvents.js +65 -0
  353. package/dist/verifyRunStateFromBufferedRunEvents.js.map +1 -0
  354. package/dist/vitestMonorepoRoot.d.ts +10 -0
  355. package/dist/vitestMonorepoRoot.d.ts.map +1 -0
  356. package/dist/vitestMonorepoRoot.js +97 -0
  357. package/dist/vitestMonorepoRoot.js.map +1 -0
  358. package/dist/wireReasonCodes.d.ts +21 -0
  359. package/dist/wireReasonCodes.d.ts.map +1 -1
  360. package/dist/wireReasonCodes.js +21 -0
  361. package/dist/wireReasonCodes.js.map +1 -1
  362. package/package.json +63 -40
  363. package/schemas/assurance-output-v1.schema.json +81 -0
  364. package/schemas/compare-run-manifest-v1.schema.json +65 -0
  365. package/schemas/conformance-normalized-result.schema.json +73 -0
  366. package/schemas/connector-capabilities.schema.json +38 -0
  367. package/schemas/event.schema.json +35 -0
  368. package/schemas/execution-trace-view.schema.json +1 -1
  369. package/schemas/openapi-commercial-v1.in.yaml +616 -17
  370. package/schemas/openapi-commercial-v1.yaml +616 -17
  371. package/schemas/outcome-certificate-v1.schema.json +89 -0
  372. package/schemas/public-verification-report-v2.schema.json +15 -0
  373. package/schemas/quick-verify-report.schema.json +1 -1
  374. package/schemas/regression-artifact-v1.schema.json +212 -0
  375. package/schemas/tools-registry.schema.json +103 -0
  376. package/schemas/workflow-engine-result.schema.json +71 -2
  377. package/schemas/workflow-truth-report.schema.json +12 -0
  378. package/scripts/discovery-acquisition.lib.cjs +60 -97
  379. package/scripts/discovery-payload.lib.cjs +41 -7
  380. package/scripts/emit-primary-marketing.cjs +326 -0
  381. package/scripts/origin.cjs +52 -0
  382. package/scripts/public-product-anchors.cjs +3 -0
  383. package/scripts/validate-marketing.cjs +156 -0
  384. package/dist/withWorkflowVerification.persistBundle.test.d.ts +0 -2
  385. package/dist/withWorkflowVerification.persistBundle.test.d.ts.map +0 -1
  386. package/dist/withWorkflowVerification.persistBundle.test.js.map +0 -1
@@ -0,0 +1,97 @@
1
+ import { existsSync, readFileSync, readdirSync } from "node:fs";
2
+ import { dirname, join } from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ /** Sealed runs in examples/debug-corpus/ (see docs/agentskeptic.md). */
5
+ const REQUIRED_DEBUG_CORPUS_RUN_IDS = [
6
+ "run_ok",
7
+ "run_value_mismatch",
8
+ "run_row_absent",
9
+ "run_path_nonempty",
10
+ "run_complete_b",
11
+ ];
12
+ function hasFullDebugCorpus(repoRoot) {
13
+ const base = join(repoRoot, "examples", "debug-corpus");
14
+ if (!existsSync(base))
15
+ return false;
16
+ for (const id of REQUIRED_DEBUG_CORPUS_RUN_IDS) {
17
+ if (!existsSync(join(base, id, "agent-run.json"))) {
18
+ return false;
19
+ }
20
+ }
21
+ return true;
22
+ }
23
+ /**
24
+ * True for the top-level `agentskeptic` workspace (not `website/`, not the npm-packed stub under `node_modules` without `src/`).
25
+ */
26
+ function isPrimaryAgentskepticWorkspaceDir(dir) {
27
+ const pkg = join(dir, "package.json");
28
+ if (!existsSync(pkg))
29
+ return false;
30
+ let name;
31
+ try {
32
+ name = JSON.parse(readFileSync(pkg, "utf8")).name;
33
+ }
34
+ catch {
35
+ return false;
36
+ }
37
+ if (name !== "agentskeptic")
38
+ return false;
39
+ return existsSync(join(dir, "src", "debugCorpus.ts")) || existsSync(join(dir, "src", "cli.ts"));
40
+ }
41
+ function firstRepoRootWithFullCorpus(candidates) {
42
+ for (const dir of candidates) {
43
+ if (!dir)
44
+ continue;
45
+ if (isPrimaryAgentskepticWorkspaceDir(dir) && hasFullDebugCorpus(dir)) {
46
+ return dir;
47
+ }
48
+ }
49
+ return null;
50
+ }
51
+ /**
52
+ * Resolves the agentskeptic monorepo root in Vitest.
53
+ *
54
+ * `process.cwd()` alone can be wrong (e.g. `website/` with a `package.json`). A strict `..` from
55
+ * `import.meta.url` is wrong when the test URL is a transformed path. We walk from the test
56
+ * file upward (and also try `process.cwd()`) for a `package.json#name === "agentskeptic"` root
57
+ * that still contains the full `examples/debug-corpus` library.
58
+ */
59
+ export function monorepoRootForVitest(importMetaUrl) {
60
+ const fromFile = dirname(fileURLToPath(importMetaUrl));
61
+ const walk = [];
62
+ {
63
+ let dir = fromFile;
64
+ for (let i = 0; i < 24; i++) {
65
+ walk.push(dir);
66
+ const parent = dirname(dir);
67
+ if (parent === dir)
68
+ break;
69
+ dir = parent;
70
+ }
71
+ }
72
+ const fromWalk = firstRepoRootWithFullCorpus(walk);
73
+ if (fromWalk) {
74
+ return fromWalk;
75
+ }
76
+ const cwd = process.cwd();
77
+ const fromCwd = firstRepoRootWithFullCorpus([cwd, dirname(cwd), join(cwd, "..")]);
78
+ if (fromCwd) {
79
+ return fromCwd;
80
+ }
81
+ let listed = "(could not list)";
82
+ try {
83
+ const b = join(cwd, "examples", "debug-corpus");
84
+ if (existsSync(b)) {
85
+ listed = readdirSync(b, { withFileTypes: true })
86
+ .filter((d) => d.isDirectory())
87
+ .map((d) => d.name)
88
+ .sort()
89
+ .join(", ");
90
+ }
91
+ }
92
+ catch {
93
+ /* */
94
+ }
95
+ throw new Error(`monorepoRootForVitest: no agentskeptic root with all ${REQUIRED_DEBUG_CORPUS_RUN_IDS.length} demo runs. cwd=${cwd} fromFile=${fromFile} subdirs: [${listed}]`);
96
+ }
97
+ //# sourceMappingURL=vitestMonorepoRoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vitestMonorepoRoot.js","sourceRoot":"","sources":["../src/vitestMonorepoRoot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,wEAAwE;AACxE,MAAM,6BAA6B,GAAsB;IACvD,QAAQ;IACR,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,gBAAgB;CACR,CAAC;AAEX,SAAS,kBAAkB,CAAC,QAAgB;IAC1C,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACxD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,KAAK,CAAC;IACpC,KAAK,MAAM,EAAE,IAAI,6BAA6B,EAAE,CAAC;QAC/C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC;YAClD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,SAAS,iCAAiC,CAAC,GAAW;I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IONAL_SUM_COLUMN_REQUIRED: "RELATIONAL_SUM_COLUMN_REQUIRED";
25
25
  readonly EQUALITY_DUPLICATE_COLUMN: "EQUALITY_DUPLICATE_COLUMN";
26
26
  readonly FILTER_EQ_OVERLAPS_IDENTITY: "FILTER_EQ_OVERLAPS_IDENTITY";
27
+ readonly RELATIONAL_UNSUPPORTED_DIALECT: "RELATIONAL_UNSUPPORTED_DIALECT";
27
28
  };
28
29
  /** SQL reconciliation / policy / pipeline step `reasons[].code` values (post-resolution verification axis). */
29
30
  export declare const SQL_VERIFICATION_OUTCOME_CODE: {
@@ -46,6 +47,26 @@ export declare const SQL_VERIFICATION_OUTCOME_CODE: {
46
47
  readonly ROW_PRESENT_WHEN_FORBIDDEN: "ROW_PRESENT_WHEN_FORBIDDEN";
47
48
  readonly ORPHAN_ROW_DETECTED: "ORPHAN_ROW_DETECTED";
48
49
  readonly FORBIDDEN_ROWS_STILL_PRESENT_WITHIN_WINDOW: "FORBIDDEN_ROWS_STILL_PRESENT_WITHIN_WINDOW";
50
+ readonly STATE_WITNESS_UNAVAILABLE_IN_SQLITE_FILE_MODE: "STATE_WITNESS_UNAVAILABLE_IN_SQLITE_FILE_MODE";
51
+ readonly STATE_WITNESS_SETUP_ERROR: "STATE_WITNESS_SETUP_ERROR";
52
+ readonly VECTOR_NOT_FOUND: "VECTOR_NOT_FOUND";
53
+ readonly VECTOR_METADATA_MISMATCH: "VECTOR_METADATA_MISMATCH";
54
+ readonly VECTOR_PAYLOAD_MISMATCH: "VECTOR_PAYLOAD_MISMATCH";
55
+ readonly VECTOR_PROVIDER_ERROR: "VECTOR_PROVIDER_ERROR";
56
+ readonly OBJECT_MISSING: "OBJECT_MISSING";
57
+ readonly OBJECT_DIGEST_MISMATCH: "OBJECT_DIGEST_MISMATCH";
58
+ readonly OBJECT_SIZE_MISMATCH: "OBJECT_SIZE_MISMATCH";
59
+ readonly OBJECT_METADATA_MISMATCH: "OBJECT_METADATA_MISMATCH";
60
+ readonly OBJECT_TOO_LARGE_FOR_HASH: "OBJECT_TOO_LARGE_FOR_HASH";
61
+ readonly HTTP_WITNESS_STATUS_MISMATCH: "HTTP_WITNESS_STATUS_MISMATCH";
62
+ readonly HTTP_WITNESS_ASSERTION_MISMATCH: "HTTP_WITNESS_ASSERTION_MISMATCH";
63
+ readonly HTTP_WITNESS_NETWORK_ERROR: "HTTP_WITNESS_NETWORK_ERROR";
64
+ readonly MONGO_DOCUMENT_MISSING: "MONGO_DOCUMENT_MISSING";
65
+ readonly MONGO_VALUE_MISMATCH: "MONGO_VALUE_MISMATCH";
66
+ readonly RELATIONAL_UNSUPPORTED_DIALECT: "RELATIONAL_UNSUPPORTED_DIALECT";
67
+ readonly BOUNDED_WINDOW_EXPIRED_WITHOUT_OBSERVATION: "BOUNDED_WINDOW_EXPIRED_WITHOUT_OBSERVATION";
68
+ readonly BOUNDED_MODE_UNSUPPORTED_FOR_CONNECTOR: "BOUNDED_MODE_UNSUPPORTED_FOR_CONNECTOR";
69
+ readonly CONNECTOR_UNSUPPORTED_IN_SCOPE: "CONNECTOR_UNSUPPORTED_IN_SCOPE";
49
70
  };
50
71
  export declare const UNKNOWN_TOOL: "UNKNOWN_TOOL";
51
72
  /** Fixed `code` strings on registry validation resolutionIssues / resolutionSkipped. */
@@ -1 +1 @@
1
- {"version":3,"file":"wireReasonCodes.d.ts","sourceRoot":"","sources":["../src/wireReasonCodes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2GAA2G;AAC3G,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEX,+GAA+G;AAC/G,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC;AAEX,eAAO,MAAM,YAAY,gBAA6C,CAAC;AAEvE,wFAAwF;AACxF,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC"}
1
+ {"version":3,"file":"wireReasonCodes.d.ts","sourceRoot":"","sources":["../src/wireReasonCodes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2GAA2G;AAC3G,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;CAsBzB,CAAC;AAEX,+GAA+G;AAC/G,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwChC,CAAC;AAEX,eAAO,MAAM,YAAY,gBAA6C,CAAC;AAEvE,wFAAwF;AACxF,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC"}
@@ -24,6 +24,7 @@ export const REGISTRY_RESOLVER_CODE = {
24
24
  RELATIONAL_SUM_COLUMN_REQUIRED: "RELATIONAL_SUM_COLUMN_REQUIRED",
25
25
  EQUALITY_DUPLICATE_COLUMN: "EQUALITY_DUPLICATE_COLUMN",
26
26
  FILTER_EQ_OVERLAPS_IDENTITY: "FILTER_EQ_OVERLAPS_IDENTITY",
27
+ RELATIONAL_UNSUPPORTED_DIALECT: "RELATIONAL_UNSUPPORTED_DIALECT",
27
28
  };
28
29
  /** SQL reconciliation / policy / pipeline step `reasons[].code` values (post-resolution verification axis). */
29
30
  export const SQL_VERIFICATION_OUTCOME_CODE = {
@@ -46,6 +47,26 @@ export const SQL_VERIFICATION_OUTCOME_CODE = {
46
47
  ROW_PRESENT_WHEN_FORBIDDEN: "ROW_PRESENT_WHEN_FORBIDDEN",
47
48
  ORPHAN_ROW_DETECTED: "ORPHAN_ROW_DETECTED",
48
49
  FORBIDDEN_ROWS_STILL_PRESENT_WITHIN_WINDOW: "FORBIDDEN_ROWS_STILL_PRESENT_WITHIN_WINDOW",
50
+ STATE_WITNESS_UNAVAILABLE_IN_SQLITE_FILE_MODE: "STATE_WITNESS_UNAVAILABLE_IN_SQLITE_FILE_MODE",
51
+ STATE_WITNESS_SETUP_ERROR: "STATE_WITNESS_SETUP_ERROR",
52
+ VECTOR_NOT_FOUND: "VECTOR_NOT_FOUND",
53
+ VECTOR_METADATA_MISMATCH: "VECTOR_METADATA_MISMATCH",
54
+ VECTOR_PAYLOAD_MISMATCH: "VECTOR_PAYLOAD_MISMATCH",
55
+ VECTOR_PROVIDER_ERROR: "VECTOR_PROVIDER_ERROR",
56
+ OBJECT_MISSING: "OBJECT_MISSING",
57
+ OBJECT_DIGEST_MISMATCH: "OBJECT_DIGEST_MISMATCH",
58
+ OBJECT_SIZE_MISMATCH: "OBJECT_SIZE_MISMATCH",
59
+ OBJECT_METADATA_MISMATCH: "OBJECT_METADATA_MISMATCH",
60
+ OBJECT_TOO_LARGE_FOR_HASH: "OBJECT_TOO_LARGE_FOR_HASH",
61
+ HTTP_WITNESS_STATUS_MISMATCH: "HTTP_WITNESS_STATUS_MISMATCH",
62
+ HTTP_WITNESS_ASSERTION_MISMATCH: "HTTP_WITNESS_ASSERTION_MISMATCH",
63
+ HTTP_WITNESS_NETWORK_ERROR: "HTTP_WITNESS_NETWORK_ERROR",
64
+ MONGO_DOCUMENT_MISSING: "MONGO_DOCUMENT_MISSING",
65
+ MONGO_VALUE_MISMATCH: "MONGO_VALUE_MISMATCH",
66
+ RELATIONAL_UNSUPPORTED_DIALECT: "RELATIONAL_UNSUPPORTED_DIALECT",
67
+ BOUNDED_WINDOW_EXPIRED_WITHOUT_OBSERVATION: "BOUNDED_WINDOW_EXPIRED_WITHOUT_OBSERVATION",
68
+ BOUNDED_MODE_UNSUPPORTED_FOR_CONNECTOR: "BOUNDED_MODE_UNSUPPORTED_FOR_CONNECTOR",
69
+ CONNECTOR_UNSUPPORTED_IN_SCOPE: "CONNECTOR_UNSUPPORTED_IN_SCOPE",
49
70
  };
50
71
  export const UNKNOWN_TOOL = SQL_VERIFICATION_OUTCOME_CODE.UNKNOWN_TOOL;
51
72
  /** Fixed `code` strings on registry validation resolutionIssues / resolutionSkipped. */
@@ -1 +1 @@
1
- {"version":3,"file":"wireReasonCodes.js","sourceRoot":"","sources":["../src/wireReasonCodes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2GAA2G;AAC3G,MAAM,CAAC,MAAM,sBAAsB,G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B;IAClD,oBAAoB,EAAE,sBAAsB;IAC5C,8BAA8B,EAAE,gCAAgC;IAChE,oCAAoC,EAAE,sCAAsC;IAC5E,YAAY,EAAE,cAAc;IAC5B,0BAA0B,EAAE,4BAA4B;IACxD,mBAAmB,EAAE,qBAAqB;IAC1C,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,0BAA0B,EAAE,4BAA4B;IACxD,mBAAmB,EAAE,qBAAqB;IAC1C,0CAA0C,EAAE,4CAA4C;IACxF,6CAA6C,EAAE,+CAA+C;IAC9F,yBAAyB,EAAE,2BAA2B;IACtD,gBAAgB,EAAE,kBAAkB;IACpC,wBAAwB,EAAE,0BAA0B;IACpD,uBAAuB,EAAE,yBAAyB;IAClD,qBAAqB,EAAE,uBAAuB;IAC9C,cAAc,EAAE,gBAAgB;IAChC,sBAAsB,EAAE,wBAAwB;IAChD,oBAAoB,EAAE,sBAAsB;IAC5C,wBAAwB,EAAE,0BAA0B;IACpD,yBAAyB,EAAE,2BAA2B;IACtD,4BAA4B,EAAE,8BAA8B;IAC5D,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,sBAAsB,EAAE,wBAAwB;IAChD,oBAAoB,EAAE,sBAAsB;IAC5C,8BAA8B,EAAE,gCAAgC;IAChE,0CAA0C,EAAE,4CAA4C;IACxF,sCAAsC,EAAE,wCAAwC;IAChF,8BAA8B,EAAE,gCAAgC;CACxD,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG,6BAA6B,CAAC,YAAY,CAAC;AAEvE,wFAAwF;AACxF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,qBAAqB,EAAE,uBAAuB;IAC9C,0BAA0B,EAAE,4BAA4B;IACxD,YAAY,EAAE,cAAc;CACpB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agentskeptic",
3
- "version": "0.2.1",
4
- "description": "Traces say success while rows are missing or wrong. AgentSkeptic runs read-only SQL at verification time on Postgres or SQLiteground truth from structured tool activity, not trace color alone.",
3
+ "version": "1.0.1",
4
+ "description": "AgentSkeptic compares agent claims with real downstream state databases, APIs, object stores, and vector storesand returns a clear verdict.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "x-agentskeptic-decision-ready-contract": "1",
@@ -14,9 +14,11 @@
14
14
  },
15
15
  "exports": {
16
16
  ".": "./dist/index.js",
17
+ "./schemaLoad": "./dist/schemaLoad.js",
17
18
  "./registryDraft": "./dist/registryDraft/index.js",
18
19
  "./bootstrapPackSynthesis": "./dist/bootstrap/bootstrapPackSynthesis.js",
19
- "./verificationHypothesisContract": "./dist/telemetry/verificationHypothesisContract.js"
20
+ "./verificationHypothesisContract": "./dist/telemetry/verificationHypothesisContract.js",
21
+ "./firstFiveMinutesChecklist": "./dist/firstFiveMinutesChecklist.js"
20
22
  },
21
23
  "scripts": {
22
24
  "prepublishOnly": "node scripts/build-commercial.mjs",
@@ -25,48 +27,67 @@
25
27
  "start": "npm run build && node scripts/demo.mjs",
26
28
  "dev": "npm run dev -w agentskeptic-web",
27
29
  "test:vitest": "vitest run",
28
- "verify:decision-readiness": "npm run test:vitest -w agentskeptic-web -- __tests__/githubHeadingSlug.contract.test.ts __tests__/integrateActivationNorthStar.contract.test.ts __tests__/integrate-page-completion-semantics.contract.test.tsx __tests__/growth-metrics-ssot.contract.test.ts __tests__/repo-reference-integrity.growth-observability.test.ts",
29
- "test:node:sqlite": "node scripts/assert-dependency-security-pins.mjs && node --test --test-force-exit test/reconciler.sqlite.test.mjs test/pipeline.sqlite.test.mjs test/withWorkflowVerification.test.mjs test/workflowTruthReport.test.mjs test/cli.test.mjs test/post-product-activation-install-id.test.mjs test/workflow-lineage-classify.test.mjs test/resolve-telemetry-source.test.mjs test/github-workflows-agentskeptic-telemetry-env.test.mjs test/maybe-emit-oss-claim-telemetry-off.test.mjs test/first-run-verify-output.integration.test.mjs test/stable-failure-consistency.test.mjs test/workflow-result-consumer-contract.test.mjs test/workflow-result-stdout-version.test.mjs test/docs-relational-ssot.test.mjs test/tools-registry-relational-surface.test.mjs test/docs-contract.test.mjs test/docs-commercial-enforce-gate-normative.test.mjs test/docs-remediation-doctrine.test.mjs test/bundle-signature-fixture.test.mjs test/bundle-signature-codes-doc.test.mjs test/bundle-signature-cli-write.test.mjs test/quick-verify.sqlite.test.mjs test/bootstrap-pack.test.mjs test/crossing-cli.test.mjs test/quickVerifyPostbuildGate.test.mjs test/npm-scripts-contract.test.mjs test/langgraph-reference-emitter-before-cli-spawn.test.mjs test/removed-script-names-ban.test.mjs test/docs-workflow-result-normative-prose.test.mjs test/enforce-oss-forbidden.test.mjs test/oss-output-lock-batch.test.mjs test/lock-success-monetized-footer.integration.test.mjs test/docs-enforce-stream-contract.test.mjs test/docs-quick-enforce-link.test.mjs test/commercial-pricing-policy-parity.test.mjs test/discovery-payload.test.mjs test/redaction-rules.test.mjs test/indexable-guide-paths-fs.contract.test.mjs test/npm-pack-discovery-scripts.test.mjs test/registry-metadata-parity.test.mjs test/docs-related-exists-export-ssot-negative.mjs test/quick-param-pointer.gates.test.mjs test/dependency-security-pins.schema.contract.test.mjs test/drizzle-identifier-safety.contract.test.mjs test/assert-destructive-postgres-urls.test.mjs test/readme-wedge-inevitability.test.mjs test/adoption-complete-surface-parity.test.mjs test/adoption-epistemics-contract.test.mjs test/integrate-spine-contract.test.mjs test/integrate-spine-ssot-fixtures.test.mjs test/integrate-route-copy-absence.test.mjs test/adoption-validation-registry.test.mjs test/decision-ready-surfaces-manifest.test.mjs test/oss-legacy-handoff-ban.test.mjs test/sync-adoption-canonical-to-llms.test.mjs test/verify-agentskeptic-consumer.e2e.test.mjs",
30
- "test:postgres": "node scripts/pg-ci-init.mjs && node --test --test-force-exit test/postgres-session-readonly.test.mjs test/postgres-privilege.test.mjs test/pipeline.postgres.test.mjs test/ci-workflow-truth-postgres-contract.test.mjs test/quick-verify.postgres.test.mjs",
31
- "test:workflow-truth-contract": "node --test --test-force-exit test/ci-workflow-truth-postgres-contract.test.mjs",
30
+ "verify:decision-readiness": "node scripts/verify.mjs --profile=decision-readiness",
31
+ "test:node:sqlite": "node scripts/verify.mjs --stages=build,nodeGuards,nodeTestSqlite",
32
+ "test:postgres": "node scripts/verify.mjs --stages=nodeTestPostgres",
33
+ "test:workflow-truth-contract": "node scripts/verify.mjs --stages=ciWorkflowTruthSingle",
32
34
  "validate-ttfv": "node scripts/validate-ttfv.mjs",
33
- "test": "npm run build && npm run check:epistemic-contract-structure && npm run test:vitest && npm run test:vitest -w agentskeptic-web -- __tests__/langgraph-reference-primacy.dom.test.tsx __tests__/oss-claim-client-flow.dom.test.tsx __tests__/integrate-page-completion-semantics.contract.test.tsx && npm run test:node:sqlite && node scripts/first-run.mjs && node scripts/validate-adoption-complete.mjs && node --test test/validate-adoption-complete-failure.test.mjs && node scripts/validate-adoption-complete.mjs && npm run partner-quickstart && node scripts/validate-integrate-spine.mjs && node scripts/validate-integrator-onboarding-shape.mjs && node scripts/langgraph-reference-verify.mjs && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart-ssot && node dist/cli.js assurance run --manifest examples/assurance/manifest.json && node scripts/commercial-enforce-test-harness.mjs && npm run build && npm run validate-ttfv && node scripts/related-exists-export-user-outcome.mjs",
35
+ "test:python": "node scripts/check-python-no-subprocess.mjs && node scripts/assert-python-langgraph-primacy.mjs && cd python && python -m pip install -e \".[dev]\" -q && python -m pytest tests/ -q",
36
+ "test": "node scripts/verify.mjs --profile=default",
34
37
  "test:debug-ui": "playwright test",
35
- "test:ci": "npm run build && npm run check:epistemic-contract-structure && npm run test:vitest && npm run test:vitest -w agentskeptic-web -- __tests__/langgraph-reference-primacy.dom.test.tsx __tests__/oss-claim-client-flow.dom.test.tsx __tests__/integrate-page-completion-semantics.contract.test.tsx && npm run test:node:sqlite && node scripts/first-run.mjs && node scripts/validate-adoption-complete.mjs && node --test test/validate-adoption-complete-failure.test.mjs && node scripts/validate-adoption-complete.mjs && npm run partner-quickstart && node scripts/validate-integrate-spine.mjs && node scripts/validate-integrator-onboarding-shape.mjs && node scripts/langgraph-reference-verify.mjs && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart-ssot && node dist/cli.js assurance run --manifest examples/assurance/manifest.json && npm run test:postgres && node scripts/run-partner-quickstart-postgres-ci.mjs && node scripts/commercial-enforce-test-harness.mjs --require-postgres && npx playwright install chromium && npm run test:debug-ui && npm run build && npm run validate-ttfv && node scripts/related-exists-export-user-outcome.mjs",
38
+ "test:ci": "node scripts/verify.mjs --profile=ci",
36
39
  "example:workflow-hook": "npm run build && node examples/workflow-runner.mjs",
37
40
  "agentskeptic": "node dist/cli.js",
38
41
  "migrate:workflow-result-v11": "npm run build && node scripts/migrate-workflow-result-v11.mjs",
39
42
  "migrate:workflow-result-v12": "node scripts/migrate-workflow-result-v12.mjs",
40
43
  "migrate:workflow-result-v13": "npm run build && node scripts/migrate-workflow-result-v13.mjs",
41
44
  "migrate:workflow-result-v15": "npm run build && node scripts/migrate-workflow-result-v15.mjs",
42
- "check:commercial-ssot": "node scripts/check-commercial-plans-ssot.mjs",
45
+ "check:commercial-plans": "node scripts/check-commercial-plans.mjs",
43
46
  "stripe-bootstrap": "node scripts/stripe-bootstrap.mjs",
44
47
  "validate-commercial": "node scripts/validate-commercial-funnel.mjs",
45
48
  "pack-smoke": "node scripts/pack-smoke-commercial.mjs",
46
- "sync:public-product-anchors": "node scripts/public-product-anchors.cjs && node scripts/sync-adoption-canonical-to-llms.mjs && node scripts/assert-discovery-public-files.mjs",
49
+ "emit-primary-marketing": "node scripts/emit-primary-marketing.cjs && node scripts/sync-adoption-canonical-to-llms.mjs && node scripts/assert-discovery-public-files.mjs",
50
+ "sync:public-product-anchors": "npm run emit-primary-marketing",
47
51
  "check:discovery-acquisition": "node scripts/validate-discovery-acquisition.mjs",
52
+ "check:primary-marketing": "node scripts/validate-marketing.cjs && node scripts/validate-discovery-acquisition.mjs",
48
53
  "verify:web-marketing-copy": "node scripts/run-verify-web-marketing-copy.mjs",
49
- "check:public-product-anchors": "node scripts/public-product-anchors.cjs --check && node scripts/sync-adoption-canonical-to-llms.mjs --check",
54
+ "check:public-product-anchors": "node scripts/emit-primary-marketing.cjs --check && node scripts/sync-adoption-canonical-to-llms.mjs --check",
50
55
  "generate:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs",
51
56
  "check:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs --check",
52
57
  "validate:activation-spine": "node scripts/validate-activation-spine.mjs",
53
58
  "validate:integrator-onboarding-shape": "node scripts/validate-integrator-onboarding-shape.mjs",
54
59
  "test:commercial-layer": "node scripts/validate-commercial-funnel.mjs",
55
- "build:website": "npm run build && npm run build -w agentskeptic-web",
60
+ "build:website": "npm run build && npm run build --prefix website",
56
61
  "check:web-demo-prereqs": "node scripts/check-web-demo-prereqs.mjs",
57
62
  "generate:partner-quickstart-commands": "node scripts/generate-partner-quickstart-commands.mjs",
63
+ "sync-website-ssot": "node scripts/sync-website-ssot.mjs",
58
64
  "sync-integrator-docs-embedded": "node scripts/sync-integrator-docs-embedded.mjs",
59
65
  "sync-epistemic-contract-website": "node scripts/sync-epistemic-contract-website.mjs",
60
66
  "check:epistemic-contract-structure": "node scripts/validate-epistemic-contract-structure.mjs",
61
- "check:partner-quickstart-ssot": "node scripts/check-partner-quickstart-ssot.mjs",
67
+ "check:partner-quickstart": "node scripts/check-partner-quickstart.mjs",
62
68
  "partner-quickstart": "node scripts/partner-quickstart-verify.mjs",
63
69
  "first-run-verify": "node scripts/partner-quickstart-verify.mjs",
64
- "generate:langgraph-guide-embed": "node scripts/embed/generate-langgraph-guide-embed.mjs"
70
+ "generate:langgraph-guide-embed": "node scripts/embed/generate-langgraph-guide-embed.mjs",
71
+ "regen:langgraph-embeds": "node scripts/regen-langgraph-embeds.mjs",
72
+ "check:langgraph-embeds": "node scripts/regen-langgraph-embeds.mjs --check",
73
+ "conformance:ts": "node conformance/run-ts.mjs",
74
+ "conformance:py": "cd python && python -m agentskeptic_conformance.run",
75
+ "conformance:validate": "node conformance/validate-artifacts.mjs",
76
+ "conformance:canonicalize": "node conformance/canonicalize-results.mjs",
77
+ "conformance:all": "npm run conformance:ts && npm run conformance:py && npm run conformance:validate && npm run conformance:canonicalize && node conformance/check-runtime-parity.mjs && node conformance/capability-state-machine.mjs",
78
+ "conformance:gate": "node conformance/assert-supported-100.mjs",
79
+ "docs:generate:capabilities": "node scripts/generate-capability-docs.mjs",
80
+ "docs:check:capabilities": "node scripts/generate-capability-docs.mjs --check",
81
+ "release:dry": "semantic-release --dry-run",
82
+ "lock:align-esbuild-nested": "node scripts/align-esbuild-kit-lock-nested.mjs",
83
+ "prepare": "npx --yes patch-package@8.0.1 && node scripts/patch-lhci-punycode.mjs && husky"
65
84
  },
66
85
  "engines": {
67
- "node": "22.x"
86
+ "node": "22.x || 24.x"
68
87
  },
69
88
  "devDependencies": {
89
+ "@commitlint/cli": "^20.3.0",
90
+ "@commitlint/config-conventional": "^20.3.0",
70
91
  "@lhci/cli": "0.15.1",
71
92
  "@playwright/test": "^1.51.0",
72
93
  "@types/node": "^22.10.2",
@@ -74,16 +95,35 @@
74
95
  "@types/picomatch": "^4.0.3",
75
96
  "stripe": "^17.5.0",
76
97
  "typescript": "^5.7.2",
77
- "vitest": "^4.1.4"
98
+ "vitest": "^4.1.4",
99
+ "husky": "^9.1.7",
100
+ "semantic-release": "^25.0.0",
101
+ "@semantic-release/changelog": "^6.0.0",
102
+ "@semantic-release/git": "^10.0.0",
103
+ "@semantic-release/github": "^12.0.0",
104
+ "@semantic-release/npm": "^13.0.0",
105
+ "@semantic-release/exec": "^6.0.0"
78
106
  },
79
107
  "dependencies": {
108
+ "@aws-sdk/client-s3": "^3.1034.0",
109
+ "@google-cloud/bigquery": "^8.1.1",
80
110
  "ajv": "^8.17.1",
81
111
  "ajv-formats": "^3.0.1",
112
+ "mongodb": "^6.12.0",
113
+ "mssql": "^11.0.1",
114
+ "mysql2": "^3.14.0",
82
115
  "pg": "^8.20.0",
83
116
  "picomatch": "^4.0.4",
84
117
  "yaml": "^2.8.3"
85
118
  },
86
119
  "overrides": {
120
+ "postcss": "8.5.10",
121
+ "encoding-sniffer": "1.0.2",
122
+ "uuid": "14.0.0",
123
+ "fast-xml-parser": "5.7.1",
124
+ "basic-ftp": "5.3.0",
125
+ "chrome-launcher": "1.2.1",
126
+ "node-domexception": "file:./internal-packages/node-domexception-native",
87
127
  "esbuild": "0.25.12",
88
128
  "tmp": "0.2.4",
89
129
  "cookie": "0.7.2",
@@ -104,36 +144,19 @@
104
144
  "schemas/",
105
145
  "scripts/discovery-payload.lib.cjs",
106
146
  "scripts/discovery-acquisition.lib.cjs",
147
+ "scripts/validate-marketing.cjs",
148
+ "scripts/emit-primary-marketing.cjs",
149
+ "scripts/origin.cjs",
150
+ "scripts/public-product-anchors.cjs",
151
+ "config/marketing.json",
107
152
  "scripts/render-discovery-ci.mjs"
108
153
  ],
109
154
  "keywords": [
110
155
  "agentskeptic",
111
- "agent-skeptic",
112
- "workflow",
113
156
  "verification",
114
157
  "database",
115
- "sql",
116
- "state",
117
158
  "read-only",
118
159
  "agent",
119
- "automation",
120
- "ndjson",
121
- "postgres",
122
- "sqlite",
123
- "tool-calls",
124
- "compliance",
125
- "crm",
126
- "ai-workflow",
127
- "langgraph",
128
- "ci-gate",
129
- "false-positive",
130
- "postgres-verification",
131
- "trace-vs-database",
132
- "silent-failure",
133
- "ai-agent-verification",
134
- "workflow-validation",
135
- "langgraph-observability",
136
- "tool-call-grounding",
137
- "database-state-checking"
160
+ "workflow"
138
161
  ]
139
162
  }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/assurance-output-v1.schema.json",
3
+ "title": "AssuranceOutputV1",
4
+ "oneOf": [
5
+ {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schemaVersion",
10
+ "kind",
11
+ "firstFiveMinutesChecklist",
12
+ "operatorLine",
13
+ "fresh",
14
+ "issuedAt",
15
+ "ageMs",
16
+ "maxAgeHours"
17
+ ],
18
+ "properties": {
19
+ "schemaVersion": { "const": 1 },
20
+ "kind": { "const": "assurance_stale" },
21
+ "firstFiveMinutesChecklist": {
22
+ "type": "array",
23
+ "minItems": 1,
24
+ "items": { "type": "string", "minLength": 1 }
25
+ },
26
+ "operatorLine": { "type": "string", "minLength": 1 },
27
+ "fresh": { "type": "boolean" },
28
+ "issuedAt": { "type": "string", "minLength": 1 },
29
+ "ageMs": { "type": "integer" },
30
+ "maxAgeHours": { "type": "number", "minimum": 0 }
31
+ }
32
+ },
33
+ {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": [
37
+ "schemaVersion",
38
+ "kind",
39
+ "firstFiveMinutesChecklist",
40
+ "operatorLine",
41
+ "runReport"
42
+ ],
43
+ "properties": {
44
+ "schemaVersion": { "const": 1 },
45
+ "kind": { "const": "assurance_run" },
46
+ "firstFiveMinutesChecklist": {
47
+ "type": "array",
48
+ "minItems": 1,
49
+ "items": { "type": "string", "minLength": 1 }
50
+ },
51
+ "operatorLine": { "type": "string", "minLength": 1 },
52
+ "runReport": {
53
+ "type": "object",
54
+ "additionalProperties": false,
55
+ "required": ["schemaVersion", "issuedAt", "scenarios"],
56
+ "properties": {
57
+ "schemaVersion": { "const": 1 },
58
+ "issuedAt": {
59
+ "type": "string",
60
+ "minLength": 1,
61
+ "description": "ISO-8601 timestamp in UTC when the report was finalized after all scenarios completed."
62
+ },
63
+ "scenarios": {
64
+ "type": "array",
65
+ "minItems": 1,
66
+ "items": {
67
+ "type": "object",
68
+ "additionalProperties": false,
69
+ "required": ["id", "exitCode"],
70
+ "properties": {
71
+ "id": { "type": "string", "minLength": 1 },
72
+ "exitCode": { "type": "integer" }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ ]
81
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "$id": "https://agentskeptic.com/schemas/compare-run-manifest-v1.schema.json",
3
+ "title": "CompareRunManifestV1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": ["schemaVersion", "baseDirectory", "certificateProfile", "runs"],
7
+ "properties": {
8
+ "schemaVersion": { "const": 1 },
9
+ "baseDirectory": { "type": "string" },
10
+ "certificateProfile": {
11
+ "oneOf": [
12
+ {
13
+ "type": "object",
14
+ "additionalProperties": false,
15
+ "required": ["mode", "outcomeCertificateRunKind"],
16
+ "properties": {
17
+ "mode": { "const": "uniform" },
18
+ "outcomeCertificateRunKind": {
19
+ "type": "string",
20
+ "enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust"]
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "type": "object",
26
+ "additionalProperties": false,
27
+ "required": ["mode", "entries"],
28
+ "properties": {
29
+ "mode": { "const": "perRun" },
30
+ "entries": {
31
+ "type": "array",
32
+ "minItems": 1,
33
+ "items": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": ["runIndex", "outcomeCertificateRunKind"],
37
+ "properties": {
38
+ "runIndex": { "type": "integer", "minimum": 0 },
39
+ "outcomeCertificateRunKind": {
40
+ "type": "string",
41
+ "enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust"]
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ ]
49
+ },
50
+ "runs": {
51
+ "type": "array",
52
+ "minItems": 2,
53
+ "items": {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": ["displayLabel", "workflowResult", "events"],
57
+ "properties": {
58
+ "displayLabel": { "type": "string", "minLength": 1 },
59
+ "workflowResult": { "type": "string", "minLength": 1 },
60
+ "events": { "type": "string", "minLength": 1 }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
@@ -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
+ }