agentskeptic 1.0.4 → 1.1.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 +18 -20
- 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/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/cli/lockOrchestration.d.ts.map +1 -1
- package/dist/cli/lockOrchestration.js +30 -5
- package/dist/cli/lockOrchestration.js.map +1 -1
- package/dist/cli/runFunnelAnonSet.js +1 -1
- package/dist/cli.js +121 -114
- package/dist/cli.js.map +1 -1
- package/dist/cliArgv.d.ts.map +1 -1
- package/dist/cliArgv.js +4 -2
- 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 +7 -0
- package/dist/cliOperationalCodes.d.ts.map +1 -1
- package/dist/cliOperationalCodes.js +7 -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 +2 -0
- package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
- package/dist/commercial/postVerifyOutcomeBeacon.js +8 -4
- package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/crossing/crossingDecisionReadyFooter.js +1 -1
- package/dist/crossing/crossingDecisionReadyFooter.js.map +1 -1
- 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/decisionGate.d.ts.map +1 -1
- package/dist/decisionGate.js +2 -5
- package/dist/decisionGate.js.map +1 -1
- package/dist/discovery-payload-v1.json +23 -27
- 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/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/failureOriginCatalog.d.ts.map +1 -1
- package/dist/failureOriginCatalog.js +19 -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 +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/langGraphCheckpointTrustGate.d.ts.map +1 -1
- package/dist/langGraphCheckpointTrustGate.js +2 -5
- package/dist/langGraphCheckpointTrustGate.js.map +1 -1
- package/dist/operationalDisposition.d.ts +56 -0
- package/dist/operationalDisposition.d.ts.map +1 -1
- package/dist/operationalDisposition.js +56 -0
- package/dist/operationalDisposition.js.map +1 -1
- package/dist/pipeline.d.ts +1 -0
- package/dist/pipeline.d.ts.map +1 -1
- package/dist/pipeline.js +18 -18
- package/dist/pipeline.js.map +1 -1
- 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 +10 -0
- package/dist/schemaLoad.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.map +1 -1
- package/dist/standardVerifyWorkflowCli.js +3 -2
- 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/types.d.ts +115 -3
- 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/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 +8 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
- 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 +61 -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/execution-trace-view.schema.json +1 -1
- package/schemas/openapi-commercial-v1.in.yaml +613 -14
- package/schemas/openapi-commercial-v1.yaml +613 -14
- 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 +69 -1
- package/schemas/workflow-truth-report.schema.json +12 -0
- package/scripts/discovery-acquisition.lib.cjs +6 -17
- package/scripts/discovery-payload.lib.cjs +5 -3
- 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
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://agentskeptic.com/schemas/regression-artifact-v1.schema.json",
|
|
3
|
+
"title": "RegressionArtifactV1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"schemaVersion",
|
|
8
|
+
"artifactSource",
|
|
9
|
+
"manifestSha256",
|
|
10
|
+
"workflowId",
|
|
11
|
+
"certificateProfile",
|
|
12
|
+
"verification",
|
|
13
|
+
"outcomeCertificates",
|
|
14
|
+
"tracePairwise",
|
|
15
|
+
"narrative",
|
|
16
|
+
"humanText",
|
|
17
|
+
"narrativeHtml"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schemaVersion": { "const": 1 },
|
|
21
|
+
"artifactSource": { "type": "string", "enum": ["cli_manifest", "debug_corpus"] },
|
|
22
|
+
"manifestSha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
23
|
+
"workflowId": { "type": "string", "minLength": 1 },
|
|
24
|
+
"certificateProfile": {
|
|
25
|
+
"oneOf": [
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["mode", "outcomeCertificateRunKind"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"mode": { "const": "uniform" },
|
|
32
|
+
"outcomeCertificateRunKind": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["mode", "entries"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"mode": { "const": "perRun" },
|
|
44
|
+
"entries": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"minItems": 1,
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": ["runIndex", "outcomeCertificateRunKind"],
|
|
51
|
+
"properties": {
|
|
52
|
+
"runIndex": { "type": "integer", "minimum": 0 },
|
|
53
|
+
"outcomeCertificateRunKind": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust"]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"verification": { "$ref": "https://agentskeptic.com/schemas/run-comparison-report.schema.json" },
|
|
65
|
+
"outcomeCertificates": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"runIndex",
|
|
72
|
+
"displayLabel",
|
|
73
|
+
"outcomeCertificateRunKind",
|
|
74
|
+
"certificateCanonicalDigest",
|
|
75
|
+
"certificate"
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"runIndex": { "type": "integer", "minimum": 0 },
|
|
79
|
+
"displayLabel": { "type": "string", "minLength": 1 },
|
|
80
|
+
"outcomeCertificateRunKind": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust"]
|
|
83
|
+
},
|
|
84
|
+
"certificateCanonicalDigest": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
|
|
85
|
+
"certificate": { "$ref": "https://agentskeptic.com/schemas/outcome-certificate-v1.schema.json" }
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"tracePairwise": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"required": [
|
|
93
|
+
"priorRunIndex",
|
|
94
|
+
"currentRunIndex",
|
|
95
|
+
"viewBuild",
|
|
96
|
+
"bySeq",
|
|
97
|
+
"seqTimelineOrderDiverged",
|
|
98
|
+
"nonToolEventCounts"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"priorRunIndex": { "type": "integer", "minimum": 0 },
|
|
102
|
+
"currentRunIndex": { "type": "integer", "minimum": 0 },
|
|
103
|
+
"viewBuild": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"required": ["prior", "current"],
|
|
107
|
+
"properties": {
|
|
108
|
+
"prior": { "$ref": "https://agentskeptic.com/schemas/execution-trace-view.schema.json" },
|
|
109
|
+
"current": { "$ref": "https://agentskeptic.com/schemas/execution-trace-view.schema.json" }
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"bySeq": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": ["seq", "class", "prior", "current"],
|
|
118
|
+
"properties": {
|
|
119
|
+
"seq": { "type": "integer", "minimum": 0 },
|
|
120
|
+
"class": { "type": "string", "enum": ["only_in_prior", "only_in_current", "in_both"] },
|
|
121
|
+
"prior": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/evaluatedNodeSummary" }] },
|
|
122
|
+
"current": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/evaluatedNodeSummary" }] }
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"seqTimelineOrderDiverged": { "type": "boolean" },
|
|
127
|
+
"nonToolEventCounts": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": false,
|
|
130
|
+
"required": ["prior", "current"],
|
|
131
|
+
"properties": {
|
|
132
|
+
"prior": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } },
|
|
133
|
+
"current": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } }
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"narrative": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"required": [
|
|
142
|
+
"classification",
|
|
143
|
+
"whyItMatters",
|
|
144
|
+
"headline",
|
|
145
|
+
"structural",
|
|
146
|
+
"traceSummary"
|
|
147
|
+
],
|
|
148
|
+
"properties": {
|
|
149
|
+
"classification": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"enum": ["improving", "worsening", "unchanged", "mixed"]
|
|
152
|
+
},
|
|
153
|
+
"whyItMatters": { "type": "string" },
|
|
154
|
+
"headline": { "type": "string" },
|
|
155
|
+
"structural": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": [
|
|
159
|
+
"introducedLogicalStepKeysCount",
|
|
160
|
+
"resolvedLogicalStepKeysCount",
|
|
161
|
+
"recurringSignatureCount"
|
|
162
|
+
],
|
|
163
|
+
"properties": {
|
|
164
|
+
"introducedLogicalStepKeysCount": { "type": "integer", "minimum": 0 },
|
|
165
|
+
"resolvedLogicalStepKeysCount": { "type": "integer", "minimum": 0 },
|
|
166
|
+
"recurringSignatureCount": { "type": "integer", "minimum": 0 }
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"traceSummary": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"additionalProperties": false,
|
|
172
|
+
"required": [
|
|
173
|
+
"seqTimelineOrderDiverged",
|
|
174
|
+
"onlyInPriorSeqCount",
|
|
175
|
+
"onlyInCurrentSeqCount",
|
|
176
|
+
"inBothCount",
|
|
177
|
+
"nonToolCountsDiverged"
|
|
178
|
+
],
|
|
179
|
+
"properties": {
|
|
180
|
+
"seqTimelineOrderDiverged": { "type": "boolean" },
|
|
181
|
+
"onlyInPriorSeqCount": { "type": "integer", "minimum": 0 },
|
|
182
|
+
"onlyInCurrentSeqCount": { "type": "integer", "minimum": 0 },
|
|
183
|
+
"inBothCount": { "type": "integer", "minimum": 0 },
|
|
184
|
+
"nonToolCountsDiverged": { "type": "boolean" }
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"humanText": { "type": "string" },
|
|
190
|
+
"narrativeHtml": { "type": "string", "minLength": 1 }
|
|
191
|
+
},
|
|
192
|
+
"$defs": {
|
|
193
|
+
"evaluatedNodeSummary": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"additionalProperties": false,
|
|
196
|
+
"required": [
|
|
197
|
+
"ingestIndex",
|
|
198
|
+
"traceStepKind",
|
|
199
|
+
"engineStepStatus",
|
|
200
|
+
"truthOutcomeLabel",
|
|
201
|
+
"toolId"
|
|
202
|
+
],
|
|
203
|
+
"properties": {
|
|
204
|
+
"ingestIndex": { "type": "integer", "minimum": 0 },
|
|
205
|
+
"traceStepKind": { "type": "string" },
|
|
206
|
+
"engineStepStatus": { "oneOf": [{ "type": "string" }, { "type": "null" }] },
|
|
207
|
+
"truthOutcomeLabel": { "oneOf": [{ "type": "string" }, { "type": "null" }] },
|
|
208
|
+
"toolId": { "oneOf": [{ "type": "string" }, { "type": "null" }] }
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -72,12 +72,115 @@
|
|
|
72
72
|
"items": { "$ref": "#/$defs/sqlRelationalCheck" }
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"required": ["kind", "provider", "documentId", "indexName"],
|
|
80
|
+
"properties": {
|
|
81
|
+
"kind": { "const": "vector_document" },
|
|
82
|
+
"provider": { "type": "string", "enum": ["pinecone", "weaviate", "chroma"] },
|
|
83
|
+
"documentId": { "$ref": "#/$defs/stringSpec" },
|
|
84
|
+
"indexName": { "$ref": "#/$defs/stringSpec" },
|
|
85
|
+
"namespace": { "$ref": "#/$defs/stringSpec" },
|
|
86
|
+
"host": { "$ref": "#/$defs/stringSpec" },
|
|
87
|
+
"metadataEq": { "$ref": "#/$defs/requiredFieldsPointer" },
|
|
88
|
+
"expectPayloadSha256": { "$ref": "#/$defs/stringSpec" }
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": ["kind", "bucket", "key"],
|
|
95
|
+
"properties": {
|
|
96
|
+
"kind": { "const": "object_storage_object" },
|
|
97
|
+
"bucket": { "$ref": "#/$defs/stringSpec" },
|
|
98
|
+
"key": { "$ref": "#/$defs/stringSpec" },
|
|
99
|
+
"endpoint": { "$ref": "#/$defs/stringSpec" },
|
|
100
|
+
"expectSizeBytes": { "$ref": "#/$defs/numberOrPointerSpec" },
|
|
101
|
+
"expectSha256": { "$ref": "#/$defs/stringSpec" },
|
|
102
|
+
"expectEtag": { "$ref": "#/$defs/stringSpec" }
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"additionalProperties": false,
|
|
108
|
+
"required": ["kind", "url"],
|
|
109
|
+
"properties": {
|
|
110
|
+
"kind": { "const": "http_witness" },
|
|
111
|
+
"method": { "type": "string", "enum": ["GET", "POST"] },
|
|
112
|
+
"url": { "$ref": "#/$defs/stringSpec" },
|
|
113
|
+
"expectedStatus": { "$ref": "#/$defs/numberOrPointerSpec" },
|
|
114
|
+
"assertions": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": { "$ref": "#/$defs/httpWitnessAssertion" }
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"required": ["kind", "collection", "filterPointer", "requiredFields"],
|
|
124
|
+
"properties": {
|
|
125
|
+
"kind": { "const": "mongo_document" },
|
|
126
|
+
"collection": { "$ref": "#/$defs/stringSpec" },
|
|
127
|
+
"filterPointer": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": false,
|
|
130
|
+
"required": ["pointer"],
|
|
131
|
+
"properties": {
|
|
132
|
+
"pointer": { "type": "string", "pattern": "^/" }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"requiredFields": { "$ref": "#/$defs/requiredFieldsPointer" }
|
|
136
|
+
}
|
|
75
137
|
}
|
|
76
138
|
]
|
|
77
139
|
}
|
|
78
140
|
}
|
|
79
141
|
},
|
|
80
142
|
"$defs": {
|
|
143
|
+
"stringSpec": {
|
|
144
|
+
"oneOf": [
|
|
145
|
+
{
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"required": ["const"],
|
|
149
|
+
"properties": { "const": { "type": "string", "minLength": 1 } }
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "object",
|
|
153
|
+
"additionalProperties": false,
|
|
154
|
+
"required": ["pointer"],
|
|
155
|
+
"properties": { "pointer": { "type": "string", "pattern": "^/" } }
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"numberOrPointerSpec": {
|
|
160
|
+
"oneOf": [
|
|
161
|
+
{
|
|
162
|
+
"type": "object",
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"required": ["const"],
|
|
165
|
+
"properties": { "const": { "type": "number" } }
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "object",
|
|
169
|
+
"additionalProperties": false,
|
|
170
|
+
"required": ["pointer"],
|
|
171
|
+
"properties": { "pointer": { "type": "string", "pattern": "^/" } }
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"httpWitnessAssertion": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"required": ["jsonPointer", "value"],
|
|
179
|
+
"properties": {
|
|
180
|
+
"jsonPointer": { "type": "string", "minLength": 1 },
|
|
181
|
+
"value": { "$ref": "#/$defs/scalarOrPointer" }
|
|
182
|
+
}
|
|
183
|
+
},
|
|
81
184
|
"tableSpec": {
|
|
82
185
|
"oneOf": [
|
|
83
186
|
{
|
|
@@ -414,6 +414,70 @@
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
},
|
|
417
|
+
"verificationRequestVectorDocument": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"additionalProperties": false,
|
|
420
|
+
"required": ["kind", "provider", "documentId", "indexName"],
|
|
421
|
+
"properties": {
|
|
422
|
+
"kind": { "const": "vector_document" },
|
|
423
|
+
"provider": { "type": "string", "enum": ["pinecone", "weaviate", "chroma"] },
|
|
424
|
+
"documentId": { "type": "string", "minLength": 1 },
|
|
425
|
+
"indexName": { "type": "string", "minLength": 1 },
|
|
426
|
+
"namespace": { "type": "string" },
|
|
427
|
+
"host": { "type": "string", "minLength": 1 },
|
|
428
|
+
"metadataSubset": { "type": "object", "additionalProperties": true },
|
|
429
|
+
"expectPayloadSha256": { "type": "string", "minLength": 1 }
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"verificationRequestObjectStorageObject": {
|
|
433
|
+
"type": "object",
|
|
434
|
+
"additionalProperties": false,
|
|
435
|
+
"required": ["kind", "bucket", "key"],
|
|
436
|
+
"properties": {
|
|
437
|
+
"kind": { "const": "object_storage_object" },
|
|
438
|
+
"bucket": { "type": "string", "minLength": 1 },
|
|
439
|
+
"key": { "type": "string", "minLength": 1 },
|
|
440
|
+
"endpoint": { "type": "string", "minLength": 1 },
|
|
441
|
+
"expectSizeBytes": { "type": "number", "minimum": 0 },
|
|
442
|
+
"expectSha256": { "type": "string", "minLength": 1 },
|
|
443
|
+
"expectEtag": { "type": "string", "minLength": 1 }
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"httpWitnessResolvedAssertion": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"additionalProperties": false,
|
|
449
|
+
"required": ["jsonPointer", "value"],
|
|
450
|
+
"properties": {
|
|
451
|
+
"jsonPointer": { "type": "string", "minLength": 1 },
|
|
452
|
+
"value": { "type": ["string", "number", "boolean", "null"] }
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"verificationRequestHttpWitness": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"additionalProperties": false,
|
|
458
|
+
"required": ["kind", "method", "url"],
|
|
459
|
+
"properties": {
|
|
460
|
+
"kind": { "const": "http_witness" },
|
|
461
|
+
"method": { "type": "string", "enum": ["GET", "POST"] },
|
|
462
|
+
"url": { "type": "string", "minLength": 1 },
|
|
463
|
+
"expectedStatus": { "type": "integer", "minimum": 100, "maximum": 599 },
|
|
464
|
+
"assertions": {
|
|
465
|
+
"type": "array",
|
|
466
|
+
"items": { "$ref": "#/$defs/httpWitnessResolvedAssertion" }
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"verificationRequestMongoDocument": {
|
|
471
|
+
"type": "object",
|
|
472
|
+
"additionalProperties": false,
|
|
473
|
+
"required": ["kind", "collection", "filter", "requiredFields"],
|
|
474
|
+
"properties": {
|
|
475
|
+
"kind": { "const": "mongo_document" },
|
|
476
|
+
"collection": { "type": "string", "minLength": 1 },
|
|
477
|
+
"filter": { "type": "object", "additionalProperties": true },
|
|
478
|
+
"requiredFields": { "$ref": "#/$defs/requiredFieldsMap" }
|
|
479
|
+
}
|
|
480
|
+
},
|
|
417
481
|
"effectOutcome": {
|
|
418
482
|
"type": "object",
|
|
419
483
|
"additionalProperties": false,
|
|
@@ -478,7 +542,11 @@
|
|
|
478
542
|
{ "$ref": "#/$defs/verificationRequestSqlRow" },
|
|
479
543
|
{ "$ref": "#/$defs/verificationRequestSqlRowAbsent" },
|
|
480
544
|
{ "$ref": "#/$defs/verificationRequestSqlEffects" },
|
|
481
|
-
{ "$ref": "#/$defs/verificationRequestSqlRelational" }
|
|
545
|
+
{ "$ref": "#/$defs/verificationRequestSqlRelational" },
|
|
546
|
+
{ "$ref": "#/$defs/verificationRequestVectorDocument" },
|
|
547
|
+
{ "$ref": "#/$defs/verificationRequestObjectStorageObject" },
|
|
548
|
+
{ "$ref": "#/$defs/verificationRequestHttpWitness" },
|
|
549
|
+
{ "$ref": "#/$defs/verificationRequestMongoDocument" }
|
|
482
550
|
]
|
|
483
551
|
},
|
|
484
552
|
"status": {
|
|
@@ -624,6 +624,18 @@
|
|
|
624
624
|
},
|
|
625
625
|
{
|
|
626
626
|
"$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRequestSqlRelational"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRequestVectorDocument"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRequestObjectStorageObject"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRequestHttpWitness"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"$ref": "https://agentskeptic.com/schemas/workflow-engine-result.schema.json#/$defs/verificationRequestMongoDocument"
|
|
627
639
|
}
|
|
628
640
|
]
|
|
629
641
|
}
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const { existsSync, readFileSync, readdirSync } = require("node:fs");
|
|
4
4
|
const { join } = require("node:path");
|
|
5
|
-
const Ajv = require("ajv");
|
|
6
|
-
const addFormats = require("ajv-formats");
|
|
7
5
|
|
|
8
6
|
const PLACEHOLDER_KEYS = [
|
|
9
7
|
["{{ORIGIN}}", "ORIGIN"],
|
|
@@ -20,8 +18,7 @@ const PLACEHOLDER_KEYS = [
|
|
|
20
18
|
*/
|
|
21
19
|
function discoveryPaths(root) {
|
|
22
20
|
return {
|
|
23
|
-
jsonPath: join(root, "config", "
|
|
24
|
-
schemaPath: join(root, "config", "discovery-acquisition.schema.json"),
|
|
21
|
+
jsonPath: join(root, "config", "marketing.json"),
|
|
25
22
|
};
|
|
26
23
|
}
|
|
27
24
|
|
|
@@ -177,20 +174,12 @@ function appendDiscoveryLlmsAppendix(baseLlms, discovery, canonicalOrigin) {
|
|
|
177
174
|
* @param {string} root
|
|
178
175
|
*/
|
|
179
176
|
function validateDiscoveryAcquisition(root) {
|
|
180
|
-
const { jsonPath
|
|
177
|
+
const { jsonPath } = discoveryPaths(root);
|
|
178
|
+
const { validateMarketing } = require("./validate-marketing.cjs");
|
|
179
|
+
validateMarketing(root);
|
|
181
180
|
const discovery = JSON.parse(readFileSync(jsonPath, "utf8"));
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
addFormats(ajv);
|
|
185
|
-
const validate = ajv.compile(schema);
|
|
186
|
-
if (!validate(discovery)) {
|
|
187
|
-
const msg = ajv.errorsText(validate.errors, { separator: "\n" });
|
|
188
|
-
throw new Error(`discovery-acquisition: schema validation failed:\n${msg}`);
|
|
189
|
-
}
|
|
190
|
-
const anchorsPath = join(root, "config", "public-product-anchors.json");
|
|
191
|
-
const anchors = JSON.parse(readFileSync(anchorsPath, "utf8"));
|
|
192
|
-
const { normalize } = require("./public-product-anchors.cjs");
|
|
193
|
-
const origin = normalize(anchors.productionCanonicalOrigin);
|
|
181
|
+
const { normalize } = require("./origin.cjs");
|
|
182
|
+
const origin = normalize(String(discovery.productionCanonicalOrigin));
|
|
194
183
|
buildDiscoveryFoldBody(discovery, origin);
|
|
195
184
|
const demo = discovery.shareableTerminalDemo;
|
|
196
185
|
if (demo && String(demo.transcript).includes("```")) {
|
|
@@ -132,8 +132,10 @@ function buildDiscoveryPayload(root) {
|
|
|
132
132
|
problemAnchor: padAnchor(path),
|
|
133
133
|
embedKey: embedKeyForExamplePath(path),
|
|
134
134
|
}));
|
|
135
|
-
const
|
|
136
|
-
|
|
135
|
+
const pm = /** @type {{ productionCanonicalOrigin: string; identityOneLiner: string; gitRepositoryUrl: string; npmPackageUrl: string }} */ (
|
|
136
|
+
discovery
|
|
137
|
+
);
|
|
138
|
+
const anchors = pm;
|
|
137
139
|
const canonicalOrigin = normalizeOrigin(anchors.productionCanonicalOrigin);
|
|
138
140
|
const integrateUrl = `${canonicalOrigin}/integrate`;
|
|
139
141
|
const learnHubUrl = `${canonicalOrigin}/guides`;
|
|
@@ -141,7 +143,7 @@ function buildDiscoveryPayload(root) {
|
|
|
141
143
|
const { owner, repo } = parseGithubRepoFromUrl(anchors.gitRepositoryUrl);
|
|
142
144
|
const llmsRaw = `https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${DISCOVERY_LLM_BRANCH}/llms.txt`;
|
|
143
145
|
const llmsBlob = `https://github.com/${owner}/${repo}/blob/${DISCOVERY_LLM_BRANCH}/llms.txt`;
|
|
144
|
-
const integratorVerificationSsotRaw = `https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${DISCOVERY_LLM_BRANCH}/docs/integrator-verification
|
|
146
|
+
const integratorVerificationSsotRaw = `https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${DISCOVERY_LLM_BRANCH}/docs/integrator-verification.md`;
|
|
145
147
|
const openapiRaw = `https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${DISCOVERY_LLM_BRANCH}/schemas/openapi-commercial-v1.yaml`;
|
|
146
148
|
const llms = /** @type {{ intentPhrases: string[]; notFor: string[]; relatedQueries: string[] }} */ (
|
|
147
149
|
discovery.llms
|