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.
- package/README.md +39 -39
- package/config/marketing.json +187 -0
- package/dist/actionableFailure.d.ts.map +1 -1
- package/dist/actionableFailure.js +95 -0
- package/dist/actionableFailure.js.map +1 -1
- package/dist/actionableFailure.remediationExhaustive.test.js +4 -4
- package/dist/actionableFailure.remediationExhaustive.test.js.map +1 -1
- package/dist/agentRunBundle.d.ts +2 -0
- package/dist/agentRunBundle.d.ts.map +1 -1
- package/dist/agentRunBundle.js +4 -0
- package/dist/agentRunBundle.js.map +1 -1
- package/dist/assurance/assurancePathArgs.d.ts.map +1 -1
- package/dist/assurance/assurancePathArgs.js +1 -0
- package/dist/assurance/assurancePathArgs.js.map +1 -1
- package/dist/assurance/buildAssuranceOutput.d.ts +29 -0
- package/dist/assurance/buildAssuranceOutput.d.ts.map +1 -0
- package/dist/assurance/buildAssuranceOutput.js +53 -0
- package/dist/assurance/buildAssuranceOutput.js.map +1 -0
- package/dist/assurance/checkStale.d.ts +7 -0
- package/dist/assurance/checkStale.d.ts.map +1 -1
- package/dist/assurance/checkStale.js +14 -3
- package/dist/assurance/checkStale.js.map +1 -1
- package/dist/assurance/runAssurance.d.ts.map +1 -1
- package/dist/assurance/runAssurance.js +26 -3
- package/dist/assurance/runAssurance.js.map +1 -1
- package/dist/bootstrap/executeBootstrapPack.d.ts.map +1 -1
- package/dist/bootstrap/executeBootstrapPack.js +3 -2
- package/dist/bootstrap/executeBootstrapPack.js.map +1 -1
- package/dist/certificateDigest.d.ts +4 -0
- package/dist/certificateDigest.d.ts.map +1 -0
- package/dist/certificateDigest.js +7 -0
- package/dist/certificateDigest.js.map +1 -0
- package/dist/certificateDigest.test.d.ts +2 -0
- package/dist/certificateDigest.test.d.ts.map +1 -0
- package/dist/certificateDigest.test.js +14 -0
- package/dist/certificateDigest.test.js.map +1 -0
- package/dist/ciLockWorkflow.js +1 -1
- package/dist/cli/lockOrchestration.d.ts.map +1 -1
- package/dist/cli/lockOrchestration.js +81 -50
- package/dist/cli/lockOrchestration.js.map +1 -1
- package/dist/cli/lockOrchestration.test.js +7 -1
- package/dist/cli/lockOrchestration.test.js.map +1 -1
- package/dist/cli/runFunnelAnonSet.js +1 -1
- package/dist/cli.js +147 -136
- package/dist/cli.js.map +1 -1
- package/dist/cliArgv.d.ts +4 -1
- package/dist/cliArgv.d.ts.map +1 -1
- package/dist/cliArgv.js +9 -4
- package/dist/cliArgv.js.map +1 -1
- package/dist/cliArgv.test.d.ts +2 -0
- package/dist/cliArgv.test.d.ts.map +1 -0
- package/dist/cliArgv.test.js +34 -0
- package/dist/cliArgv.test.js.map +1 -0
- package/dist/cliOperationalCodes.d.ts +8 -0
- package/dist/cliOperationalCodes.d.ts.map +1 -1
- package/dist/cliOperationalCodes.js +8 -0
- package/dist/cliOperationalCodes.js.map +1 -1
- package/dist/commercial/activationCorrelation.d.ts +3 -0
- package/dist/commercial/activationCorrelation.d.ts.map +1 -0
- package/dist/commercial/activationCorrelation.js +6 -0
- package/dist/commercial/activationCorrelation.js.map +1 -0
- package/dist/commercial/getCurrentUsage.d.ts +16 -0
- package/dist/commercial/getCurrentUsage.d.ts.map +1 -0
- package/dist/commercial/getCurrentUsage.js +33 -0
- package/dist/commercial/getCurrentUsage.js.map +1 -0
- package/dist/commercial/licensePreflight.d.ts +1 -0
- package/dist/commercial/licensePreflight.d.ts.map +1 -1
- package/dist/commercial/licensePreflight.js +27 -8
- package/dist/commercial/licensePreflight.js.map +1 -1
- package/dist/commercial/postVerifyOutcomeBeacon.d.ts +5 -3
- package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
- package/dist/commercial/postVerifyOutcomeBeacon.js +17 -10
- package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
- package/dist/commercial/verifyOutcomeBeaconBody.d.ts +12 -0
- package/dist/commercial/verifyOutcomeBeaconBody.d.ts.map +1 -0
- package/dist/commercial/verifyOutcomeBeaconBody.js +26 -0
- package/dist/commercial/verifyOutcomeBeaconBody.js.map +1 -0
- package/dist/commercial/verifyWorkloadClassify.d.ts +2 -7
- package/dist/commercial/verifyWorkloadClassify.d.ts.map +1 -1
- package/dist/commercial/verifyWorkloadClassify.js +1 -1
- package/dist/commercial/verifyWorkloadClassify.js.map +1 -1
- package/dist/commercial/verifyWorkloadClassify.test.js +7 -0
- package/dist/commercial/verifyWorkloadClassify.test.js.map +1 -1
- package/dist/compare.acceptance.test.js +25 -0
- package/dist/compare.acceptance.test.js.map +1 -1
- package/dist/compareRunManifest.d.ts +32 -0
- package/dist/compareRunManifest.d.ts.map +1 -0
- package/dist/compareRunManifest.js +60 -0
- package/dist/compareRunManifest.js.map +1 -0
- package/dist/crossing/crossingDecisionReadyFooter.d.ts +1 -1
- package/dist/crossing/crossingDecisionReadyFooter.js +1 -1
- package/dist/crossing/runCrossingSubcommand.js +8 -8
- package/dist/debug-ui/app.css +42 -0
- package/dist/debug-ui/app.js +206 -15
- package/dist/debug-ui/index.html +11 -4
- package/dist/debug-ui/urlState.d.ts +15 -0
- package/dist/debug-ui/urlState.js +92 -0
- package/dist/debugCorpus.test.js +33 -7
- package/dist/debugCorpus.test.js.map +1 -1
- package/dist/debugPanels.d.ts +0 -3
- package/dist/debugPanels.d.ts.map +1 -1
- package/dist/debugPanels.js +0 -23
- package/dist/debugPanels.js.map +1 -1
- package/dist/debugPanels.test.js +16 -15
- package/dist/debugPanels.test.js.map +1 -1
- package/dist/debugServer.d.ts.map +1 -1
- package/dist/debugServer.js +19 -16
- package/dist/debugServer.js.map +1 -1
- package/dist/debugServer.test.js +18 -9
- package/dist/debugServer.test.js.map +1 -1
- package/dist/debugUiUrlState.test.d.ts +2 -0
- package/dist/debugUiUrlState.test.d.ts.map +1 -0
- package/dist/debugUiUrlState.test.js +49 -0
- package/dist/debugUiUrlState.test.js.map +1 -0
- package/dist/decisionBlocker.contract.test.d.ts +2 -0
- package/dist/decisionBlocker.contract.test.d.ts.map +1 -0
- package/dist/decisionBlocker.contract.test.js +51 -0
- package/dist/decisionBlocker.contract.test.js.map +1 -0
- package/dist/decisionBlocker.d.ts +10 -0
- package/dist/decisionBlocker.d.ts.map +1 -0
- package/dist/decisionBlocker.js +66 -0
- package/dist/decisionBlocker.js.map +1 -0
- package/dist/decisionGate.assertSafe.test.d.ts +2 -0
- package/dist/decisionGate.assertSafe.test.d.ts.map +1 -0
- package/dist/decisionGate.assertSafe.test.js +52 -0
- package/dist/decisionGate.assertSafe.test.js.map +1 -0
- package/dist/decisionGate.d.ts +23 -0
- package/dist/decisionGate.d.ts.map +1 -0
- package/dist/decisionGate.js +85 -0
- package/dist/decisionGate.js.map +1 -0
- package/dist/decisionGate.persistBundle.test.d.ts +2 -0
- package/dist/decisionGate.persistBundle.test.d.ts.map +1 -0
- package/dist/{withWorkflowVerification.persistBundle.test.js → decisionGate.persistBundle.test.js} +31 -19
- package/dist/decisionGate.persistBundle.test.js.map +1 -0
- package/dist/decisionUnsafeError.d.ts +8 -0
- package/dist/decisionUnsafeError.d.ts.map +1 -0
- package/dist/decisionUnsafeError.js +12 -0
- package/dist/decisionUnsafeError.js.map +1 -0
- package/dist/discovery-payload-v1.json +167 -59
- package/dist/enforceCli.d.ts.map +1 -1
- package/dist/enforceCli.js +15 -40
- package/dist/enforceCli.js.map +1 -1
- package/dist/enforceStateful.d.ts +2 -0
- package/dist/enforceStateful.d.ts.map +1 -0
- package/dist/enforceStateful.js +106 -0
- package/dist/enforceStateful.js.map +1 -0
- package/dist/enforcementProjection.d.ts +17 -0
- package/dist/enforcementProjection.d.ts.map +1 -0
- package/dist/enforcementProjection.js +20 -0
- package/dist/enforcementProjection.js.map +1 -0
- package/dist/executionPathFindings.d.ts +1 -1
- package/dist/executionPathFindings.d.ts.map +1 -1
- package/dist/executionPathFindings.js +2 -2
- package/dist/executionPathFindings.js.map +1 -1
- package/dist/executionTrace.js +2 -2
- package/dist/executionTrace.js.map +1 -1
- package/dist/executionTrace.test.js +35 -0
- package/dist/executionTrace.test.js.map +1 -1
- package/dist/executionTraceDiff.d.ts +36 -0
- package/dist/executionTraceDiff.d.ts.map +1 -0
- package/dist/executionTraceDiff.js +86 -0
- package/dist/executionTraceDiff.js.map +1 -0
- package/dist/executionTraceDiff.test.d.ts +2 -0
- package/dist/executionTraceDiff.test.d.ts.map +1 -0
- package/dist/executionTraceDiff.test.js +44 -0
- package/dist/executionTraceDiff.test.js.map +1 -0
- package/dist/failureCatalog.d.ts +1 -0
- package/dist/failureCatalog.d.ts.map +1 -1
- package/dist/failureCatalog.js +1 -0
- package/dist/failureCatalog.js.map +1 -1
- package/dist/failureOriginCatalog.d.ts.map +1 -1
- package/dist/failureOriginCatalog.js +20 -0
- package/dist/failureOriginCatalog.js.map +1 -1
- package/dist/firstFiveMinutesChecklist.d.ts +11 -0
- package/dist/firstFiveMinutesChecklist.d.ts.map +1 -0
- package/dist/firstFiveMinutesChecklist.js +18 -0
- package/dist/firstFiveMinutesChecklist.js.map +1 -0
- package/dist/funnel/workflowLineageClassify.d.ts +1 -1
- package/dist/funnel/workflowLineageClassify.js +1 -1
- package/dist/index.d.ts +22 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -6
- package/dist/index.js.map +1 -1
- package/dist/langGraphCheckpointTrustGate.d.ts +38 -0
- package/dist/langGraphCheckpointTrustGate.d.ts.map +1 -0
- package/dist/langGraphCheckpointTrustGate.js +124 -0
- package/dist/langGraphCheckpointTrustGate.js.map +1 -0
- package/dist/langGraphCheckpointTrustIneligibleCertificate.d.ts +8 -0
- package/dist/langGraphCheckpointTrustIneligibleCertificate.d.ts.map +1 -0
- package/dist/langGraphCheckpointTrustIneligibleCertificate.js +17 -0
- package/dist/langGraphCheckpointTrustIneligibleCertificate.js.map +1 -0
- package/dist/langGraphCheckpointTrustUnsafeError.d.ts +8 -0
- package/dist/langGraphCheckpointTrustUnsafeError.d.ts.map +1 -0
- package/dist/langGraphCheckpointTrustUnsafeError.js +12 -0
- package/dist/langGraphCheckpointTrustUnsafeError.js.map +1 -0
- package/dist/loadEvents.d.ts +5 -0
- package/dist/loadEvents.d.ts.map +1 -1
- package/dist/loadEvents.js +32 -0
- package/dist/loadEvents.js.map +1 -1
- package/dist/operationalDisposition.d.ts +64 -0
- package/dist/operationalDisposition.d.ts.map +1 -1
- package/dist/operationalDisposition.js +64 -0
- package/dist/operationalDisposition.js.map +1 -1
- package/dist/outcomeCertificate.d.ts +60 -0
- package/dist/outcomeCertificate.d.ts.map +1 -0
- package/dist/outcomeCertificate.js +254 -0
- package/dist/outcomeCertificate.js.map +1 -0
- package/dist/outcomeCertificate.test.d.ts +2 -0
- package/dist/outcomeCertificate.test.d.ts.map +1 -0
- package/dist/outcomeCertificate.test.js +74 -0
- package/dist/outcomeCertificate.test.js.map +1 -0
- package/dist/pipeline.d.ts +19 -17
- package/dist/pipeline.d.ts.map +1 -1
- package/dist/pipeline.js +61 -167
- package/dist/pipeline.js.map +1 -1
- package/dist/planTransition.test.js +4 -4
- package/dist/publicDistribution.generated.d.ts +2 -2
- package/dist/publicDistribution.generated.d.ts.map +1 -1
- package/dist/publicDistribution.generated.js +7 -8
- package/dist/publicDistribution.generated.js.map +1 -1
- package/dist/quickVerify/quickVerifyScope.d.ts +1 -1
- package/dist/quickVerify/quickVerifyScope.js +1 -1
- package/dist/quickVerify/runQuickVerify.js +1 -1
- package/dist/quickVerify/runQuickVerify.js.map +1 -1
- package/dist/quickVerify/verifyExecution.d.ts +1 -1
- package/dist/quickVerify/verifyExecution.d.ts.map +1 -1
- package/dist/quickVerify/verifyExecution.js +3 -2
- package/dist/quickVerify/verifyExecution.js.map +1 -1
- package/dist/reconciler.d.ts +6 -2
- package/dist/reconciler.d.ts.map +1 -1
- package/dist/reconciler.js +17 -11
- package/dist/reconciler.js.map +1 -1
- package/dist/registryDraft/createRegistryDraftAjv.d.ts +1 -1
- package/dist/registryDraft/createRegistryDraftAjv.js +1 -1
- package/dist/regressionArtifact.d.ts +63 -0
- package/dist/regressionArtifact.d.ts.map +1 -0
- package/dist/regressionArtifact.js +290 -0
- package/dist/regressionArtifact.js.map +1 -0
- package/dist/relationalInvariant.d.ts +13 -3
- package/dist/relationalInvariant.d.ts.map +1 -1
- package/dist/relationalInvariant.existsSql.test.js +1 -1
- package/dist/relationalInvariant.existsSql.test.js.map +1 -1
- package/dist/relationalInvariant.js +59 -39
- package/dist/relationalInvariant.js.map +1 -1
- package/dist/relationalInvariant.test.js +2 -2
- package/dist/relationalInvariant.test.js.map +1 -1
- package/dist/resolveExpectation.d.ts +18 -2
- package/dist/resolveExpectation.d.ts.map +1 -1
- package/dist/resolveExpectation.js +332 -1
- package/dist/resolveExpectation.js.map +1 -1
- package/dist/resolveExpectation.test.js +25 -0
- package/dist/resolveExpectation.test.js.map +1 -1
- package/dist/runComparison.d.ts +0 -1
- package/dist/runComparison.d.ts.map +1 -1
- package/dist/runComparison.js +18 -86
- package/dist/runComparison.js.map +1 -1
- package/dist/runComparison.test.js +101 -57
- package/dist/runComparison.test.js.map +1 -1
- package/dist/schema-validation.test.js +29 -0
- package/dist/schema-validation.test.js.map +1 -1
- package/dist/schemaLoad.d.ts +1 -1
- package/dist/schemaLoad.d.ts.map +1 -1
- package/dist/schemaLoad.js +15 -0
- package/dist/schemaLoad.js.map +1 -1
- package/dist/shareReport/postPublicVerificationReport.d.ts +6 -0
- package/dist/shareReport/postPublicVerificationReport.d.ts.map +1 -1
- package/dist/shareReport/postPublicVerificationReport.js +3 -1
- package/dist/shareReport/postPublicVerificationReport.js.map +1 -1
- package/dist/sortedJsonStringify.d.ts +2 -0
- package/dist/sortedJsonStringify.d.ts.map +1 -0
- package/dist/sortedJsonStringify.js +23 -0
- package/dist/sortedJsonStringify.js.map +1 -0
- package/dist/sqlDialect.d.ts +8 -0
- package/dist/sqlDialect.d.ts.map +1 -0
- package/dist/sqlDialect.js +37 -0
- package/dist/sqlDialect.js.map +1 -0
- package/dist/standardVerifyWorkflowCli.d.ts +20 -5
- package/dist/standardVerifyWorkflowCli.d.ts.map +1 -1
- package/dist/standardVerifyWorkflowCli.js +56 -24
- package/dist/standardVerifyWorkflowCli.js.map +1 -1
- package/dist/stateWitness.d.ts +4 -0
- package/dist/stateWitness.d.ts.map +1 -0
- package/dist/stateWitness.js +383 -0
- package/dist/stateWitness.js.map +1 -0
- package/dist/stateWitness.test.d.ts +2 -0
- package/dist/stateWitness.test.d.ts.map +1 -0
- package/dist/stateWitness.test.js +120 -0
- package/dist/stateWitness.test.js.map +1 -0
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts +2 -0
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts.map +1 -1
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.js +13 -2
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.js.map +1 -1
- package/dist/telemetry/ossClaimOrigin.d.ts +1 -1
- package/dist/telemetry/ossClaimOrigin.js +1 -1
- package/dist/telemetry/postOssClaimContinuation.d.ts +1 -1
- package/dist/telemetry/postOssClaimContinuation.d.ts.map +1 -1
- package/dist/telemetry/postOssClaimContinuation.js +10 -6
- package/dist/telemetry/postOssClaimContinuation.js.map +1 -1
- package/dist/telemetry/postOssClaimTicket.d.ts +8 -0
- package/dist/telemetry/postOssClaimTicket.d.ts.map +1 -1
- package/dist/telemetry/postOssClaimTicket.js +31 -5
- package/dist/telemetry/postOssClaimTicket.js.map +1 -1
- package/dist/telemetry/verificationHypothesisContract.d.ts +1 -1
- package/dist/telemetry/verificationHypothesisContract.js +1 -1
- package/dist/trustDecision.d.ts +8 -0
- package/dist/trustDecision.d.ts.map +1 -0
- package/dist/trustDecision.js +13 -0
- package/dist/trustDecision.js.map +1 -0
- package/dist/types.d.ts +139 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/verificationConnections.d.ts +10 -0
- package/dist/verificationConnections.d.ts.map +1 -0
- package/dist/verificationConnections.js +190 -0
- package/dist/verificationConnections.js.map +1 -0
- package/dist/verificationDatabaseUrl.d.ts +11 -0
- package/dist/verificationDatabaseUrl.d.ts.map +1 -0
- package/dist/verificationDatabaseUrl.js +41 -0
- package/dist/verificationDatabaseUrl.js.map +1 -0
- package/dist/verificationDatabaseUrl.test.d.ts +2 -0
- package/dist/verificationDatabaseUrl.test.d.ts.map +1 -0
- package/dist/verificationDatabaseUrl.test.js +66 -0
- package/dist/verificationDatabaseUrl.test.js.map +1 -0
- package/dist/verificationDiagnostics.d.ts.map +1 -1
- package/dist/verificationDiagnostics.js +33 -9
- package/dist/verificationDiagnostics.js.map +1 -1
- package/dist/verificationDiagnostics.test.js +15 -0
- package/dist/verificationDiagnostics.test.js.map +1 -1
- package/dist/verificationPolicy.d.ts +2 -1
- package/dist/verificationPolicy.d.ts.map +1 -1
- package/dist/verificationPolicy.js +97 -0
- package/dist/verificationPolicy.js.map +1 -1
- package/dist/verificationPolicy.test.js +7 -0
- package/dist/verificationPolicy.test.js.map +1 -1
- package/dist/verificationRunContext.d.ts.map +1 -1
- package/dist/verificationRunContext.js +3 -0
- package/dist/verificationRunContext.js.map +1 -1
- package/dist/verificationUserPhrases.d.ts.map +1 -1
- package/dist/verificationUserPhrases.js +21 -0
- package/dist/verificationUserPhrases.js.map +1 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.d.ts.map +1 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.js +131 -33
- package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
- package/dist/verifyAgentskeptic.d.ts +4 -8
- package/dist/verifyAgentskeptic.d.ts.map +1 -1
- package/dist/verifyAgentskeptic.js +16 -21
- package/dist/verifyAgentskeptic.js.map +1 -1
- package/dist/verifyAgentskeptic.test.js +10 -12
- package/dist/verifyAgentskeptic.test.js.map +1 -1
- package/dist/verifyRunStateFromBufferedRunEvents.d.ts +18 -0
- package/dist/verifyRunStateFromBufferedRunEvents.d.ts.map +1 -0
- package/dist/verifyRunStateFromBufferedRunEvents.js +65 -0
- package/dist/verifyRunStateFromBufferedRunEvents.js.map +1 -0
- package/dist/vitestMonorepoRoot.d.ts +10 -0
- package/dist/vitestMonorepoRoot.d.ts.map +1 -0
- package/dist/vitestMonorepoRoot.js +97 -0
- package/dist/vitestMonorepoRoot.js.map +1 -0
- package/dist/wireReasonCodes.d.ts +21 -0
- package/dist/wireReasonCodes.d.ts.map +1 -1
- package/dist/wireReasonCodes.js +21 -0
- package/dist/wireReasonCodes.js.map +1 -1
- package/package.json +63 -40
- package/schemas/assurance-output-v1.schema.json +81 -0
- package/schemas/compare-run-manifest-v1.schema.json +65 -0
- package/schemas/conformance-normalized-result.schema.json +73 -0
- package/schemas/connector-capabilities.schema.json +38 -0
- package/schemas/event.schema.json +35 -0
- package/schemas/execution-trace-view.schema.json +1 -1
- package/schemas/openapi-commercial-v1.in.yaml +616 -17
- package/schemas/openapi-commercial-v1.yaml +616 -17
- package/schemas/outcome-certificate-v1.schema.json +89 -0
- package/schemas/public-verification-report-v2.schema.json +15 -0
- package/schemas/quick-verify-report.schema.json +1 -1
- package/schemas/regression-artifact-v1.schema.json +212 -0
- package/schemas/tools-registry.schema.json +103 -0
- package/schemas/workflow-engine-result.schema.json +71 -2
- package/schemas/workflow-truth-report.schema.json +12 -0
- package/scripts/discovery-acquisition.lib.cjs +60 -97
- package/scripts/discovery-payload.lib.cjs +41 -7
- package/scripts/emit-primary-marketing.cjs +326 -0
- package/scripts/origin.cjs +52 -0
- package/scripts/public-product-anchors.cjs +3 -0
- package/scripts/validate-marketing.cjs +156 -0
- package/dist/withWorkflowVerification.persistBundle.test.d.ts +0 -2
- package/dist/withWorkflowVerification.persistBundle.test.d.ts.map +0 -1
- 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":"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"}
|
|
@@ -24,6 +24,7 @@ export declare const REGISTRY_RESOLVER_CODE: {
|
|
|
24
24
|
readonly RELATIONAL_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
|
|
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"}
|
package/dist/wireReasonCodes.js
CHANGED
|
@@ -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,GAAG;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,2BAA2B,EAAE,6BAA6B;IAC1D,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,yBAAyB,EAAE,2BAA2B;IACtD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,qBAAqB,EAAE,uBAAuB;IAC9C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,+BAA+B,EAAE,iCAAiC;IAClE,gCAAgC,EAAE,kCAAkC;IACpE,6BAA6B,EAAE,+BAA+B;IAC9D,mBAAmB,EAAE,qBAAqB;IAC1C,+BAA+B,EAAE,iCAAiC;IAClE,8BAA8B,EAAE,gCAAgC;IAChE,yBAAyB,EAAE,2BAA2B;IACtD,2BAA2B,EAAE,6BAA6B;
|
|
1
|
+
{"version":3,"file":"wireReasonCodes.js","sourceRoot":"","sources":["../src/wireReasonCodes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2GAA2G;AAC3G,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,2BAA2B,EAAE,6BAA6B;IAC1D,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,yBAAyB,EAAE,2BAA2B;IACtD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,qBAAqB,EAAE,uBAAuB;IAC9C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,+BAA+B,EAAE,iCAAiC;IAClE,gCAAgC,EAAE,kCAAkC;IACpE,6BAA6B,EAAE,+BAA+B;IAC9D,mBAAmB,EAAE,qBAAqB;IAC1C,+BAA+B,EAAE,iCAAiC;IAClE,8BAA8B,EAAE,gCAAgC;IAChE,yBAAyB,EAAE,2BAA2B;IACtD,2BAA2B,EAAE,6BAA6B;IAC1D,8BAA8B,EAAE,gCAAgC;CACxD,CAAC;AAEX,+GAA+G;AAC/G,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,uBAAuB,EAAE,yBAAyB;IAClD,uBAAuB,EAAE,yBAAyB;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.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "AgentSkeptic compares agent claims with real downstream state — databases, APIs, object stores, and vector stores — and 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": "
|
|
29
|
-
"test:node:sqlite": "node scripts/
|
|
30
|
-
"test:postgres": "node scripts/
|
|
31
|
-
"test:workflow-truth-contract": "node
|
|
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": "
|
|
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": "
|
|
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-
|
|
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
|
-
"
|
|
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/
|
|
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
|
|
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
|
|
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
|
-
"
|
|
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
|
+
}
|