agentskeptic 1.0.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -17
- package/config/marketing.json +186 -0
- package/dist/actionableFailure.d.ts.map +1 -1
- package/dist/actionableFailure.js +80 -0
- package/dist/actionableFailure.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/cli/lockOrchestration.js +1 -1
- package/dist/cli/runFunnelAnonSet.js +1 -1
- package/dist/cli.js +37 -5
- 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/cliOperationalCodes.d.ts +1 -0
- package/dist/cliOperationalCodes.d.ts.map +1 -1
- package/dist/cliOperationalCodes.js +1 -0
- package/dist/cliOperationalCodes.js.map +1 -1
- package/dist/commercial/licensePreflight.d.ts.map +1 -1
- package/dist/commercial/licensePreflight.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/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 +202 -12
- 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/debugServer.js +1 -1
- package/dist/debugServer.js.map +1 -1
- package/dist/debugServer.test.js +12 -6
- 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/failureOriginCatalog.d.ts.map +1 -1
- package/dist/failureOriginCatalog.js +16 -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/langGraphCheckpointTrustGate.d.ts.map +1 -1
- package/dist/langGraphCheckpointTrustGate.js +2 -5
- package/dist/langGraphCheckpointTrustGate.js.map +1 -1
- package/dist/operationalDisposition.d.ts +8 -0
- package/dist/operationalDisposition.d.ts.map +1 -1
- package/dist/operationalDisposition.js +8 -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/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/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.map +1 -1
- package/dist/runComparison.js +18 -3
- package/dist/runComparison.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 +2 -0
- package/dist/schemaLoad.js.map +1 -1
- 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/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/ossClaimOrigin.d.ts +1 -1
- package/dist/telemetry/ossClaimOrigin.js +1 -1
- package/dist/telemetry/verificationHypothesisContract.d.ts +1 -1
- package/dist/telemetry/verificationHypothesisContract.js +1 -1
- package/dist/types.d.ts +105 -2
- 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 +29 -8
- 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 +84 -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 +18 -0
- package/dist/verificationUserPhrases.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 +18 -0
- package/dist/wireReasonCodes.d.ts.map +1 -1
- package/dist/wireReasonCodes.js +18 -0
- package/dist/wireReasonCodes.js.map +1 -1
- package/package.json +29 -34
- package/schemas/assurance-output-v1.schema.json +81 -0
- package/schemas/openapi-commercial-v1.in.yaml +36 -3
- package/schemas/openapi-commercial-v1.yaml +37 -4
- 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,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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B,CAAC;IAED,IAAI,MAAM,GAAG,kBAAkB,CAAC;IAChC,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;QAChD,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;YAClB,MAAM,GAAG,WAAW,CAAC,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;iBAC7C,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;iBAC9B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;iBAClB,IAAI,EAAE;iBACN,IAAI,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,KAAK;IACP,CAAC;IAED,MAAM,IAAI,KAAK,CACb,wDAAwD,6BAA6B,CAAC,MAAM,mBAAmB,GAAG,aAAa,QAAQ,cAAc,MAAM,GAAG,CAC/J,CAAC;AACJ,CAAC"}
|
|
@@ -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,23 @@ 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";
|
|
49
67
|
};
|
|
50
68
|
export declare const UNKNOWN_TOOL: "UNKNOWN_TOOL";
|
|
51
69
|
/** 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqChC,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,23 @@ 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",
|
|
49
67
|
};
|
|
50
68
|
export const UNKNOWN_TOOL = SQL_VERIFICATION_OUTCOME_CODE.UNKNOWN_TOOL;
|
|
51
69
|
/** 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,sBAAs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,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;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": "1.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Read-only verification: what agents claim versus what your databases, warehouses, and APIs show.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"x-agentskeptic-decision-ready-contract": "1",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"./schemaLoad": "./dist/schemaLoad.js",
|
|
18
18
|
"./registryDraft": "./dist/registryDraft/index.js",
|
|
19
19
|
"./bootstrapPackSynthesis": "./dist/bootstrap/bootstrapPackSynthesis.js",
|
|
20
|
-
"./verificationHypothesisContract": "./dist/telemetry/verificationHypothesisContract.js"
|
|
20
|
+
"./verificationHypothesisContract": "./dist/telemetry/verificationHypothesisContract.js",
|
|
21
|
+
"./firstFiveMinutesChecklist": "./dist/firstFiveMinutesChecklist.js"
|
|
21
22
|
},
|
|
22
23
|
"scripts": {
|
|
23
24
|
"prepublishOnly": "node scripts/build-commercial.mjs",
|
|
@@ -26,29 +27,31 @@
|
|
|
26
27
|
"start": "npm run build && node scripts/demo.mjs",
|
|
27
28
|
"dev": "npm run dev -w agentskeptic-web",
|
|
28
29
|
"test:vitest": "vitest run",
|
|
29
|
-
"verify:decision-readiness": "npm run test:vitest -w agentskeptic-web -- __tests__/githubHeadingSlug.contract.test.ts __tests__/
|
|
30
|
-
"test:node:sqlite": "node scripts/assert-dependency-security-pins.mjs && node scripts/assert-no-legacy-verify-surface.mjs && node scripts/assert-no-withWorkflowVerification-surface.mjs && node --test --test-force-exit test/reconciler.sqlite.test.mjs test/pipeline.sqlite.test.mjs test/decisionGate.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
|
|
30
|
+
"verify:decision-readiness": "npm run test:vitest -w agentskeptic-web -- __tests__/githubHeadingSlug.contract.test.ts __tests__/integrate-page-completion-semantics.contract.test.tsx __tests__/growth-metrics.contract.test.ts __tests__/repo-reference-integrity.growth-observability.test.ts",
|
|
31
|
+
"test:node:sqlite": "node scripts/assert-dependency-security-pins.mjs && node scripts/assert-no-legacy-verify-surface.mjs && node scripts/assert-no-withWorkflowVerification-surface.mjs && node --test --test-force-exit test/reconciler.sqlite.test.mjs test/pipeline.sqlite.test.mjs test/pipeline-state-stores-sqlite.test.mjs test/decisionGate.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.test.mjs test/tools-registry-relational-surface.test.mjs test/tools-registry-state-stores.contract.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/langgraph-checkpoint-trust-terminal.contract.test.mjs test/langgraph-ineligible-certificate.import-guard.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/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-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-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 test/docs-first-five-minutes-ssot.guard.mjs",
|
|
31
32
|
"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/decisionGate.postgres.test.mjs test/ci-workflow-truth-postgres-contract.test.mjs test/quick-verify.postgres.test.mjs",
|
|
32
33
|
"test:workflow-truth-contract": "node --test --test-force-exit test/ci-workflow-truth-postgres-contract.test.mjs",
|
|
33
34
|
"validate-ttfv": "node scripts/validate-ttfv.mjs",
|
|
34
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",
|
|
35
|
-
"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 scripts/assert-no-langgraph-v1-product-path.mjs && npm run test:python && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart
|
|
36
|
+
"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 __tests__/funnel-surface-beacon-keepalive.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 scripts/assert-no-langgraph-v1-product-path.mjs && npm run test:python && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart && 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",
|
|
36
37
|
"test:debug-ui": "playwright test",
|
|
37
|
-
"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 scripts/assert-no-langgraph-v1-product-path.mjs && npm run test:python && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart
|
|
38
|
+
"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 __tests__/funnel-surface-beacon-keepalive.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 scripts/assert-no-langgraph-v1-product-path.mjs && npm run test:python && node test/partner-quickstart.adversarial.mjs && npm run check:partner-quickstart && 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
39
|
"example:workflow-hook": "npm run build && node examples/workflow-runner.mjs",
|
|
39
40
|
"agentskeptic": "node dist/cli.js",
|
|
40
41
|
"migrate:workflow-result-v11": "npm run build && node scripts/migrate-workflow-result-v11.mjs",
|
|
41
42
|
"migrate:workflow-result-v12": "node scripts/migrate-workflow-result-v12.mjs",
|
|
42
43
|
"migrate:workflow-result-v13": "npm run build && node scripts/migrate-workflow-result-v13.mjs",
|
|
43
44
|
"migrate:workflow-result-v15": "npm run build && node scripts/migrate-workflow-result-v15.mjs",
|
|
44
|
-
"check:commercial-
|
|
45
|
+
"check:commercial-plans": "node scripts/check-commercial-plans.mjs",
|
|
45
46
|
"stripe-bootstrap": "node scripts/stripe-bootstrap.mjs",
|
|
46
47
|
"validate-commercial": "node scripts/validate-commercial-funnel.mjs",
|
|
47
48
|
"pack-smoke": "node scripts/pack-smoke-commercial.mjs",
|
|
48
|
-
"
|
|
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",
|
|
49
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",
|
|
50
53
|
"verify:web-marketing-copy": "node scripts/run-verify-web-marketing-copy.mjs",
|
|
51
|
-
"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",
|
|
52
55
|
"generate:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs",
|
|
53
56
|
"check:integrate-activation-shell": "node scripts/generate-integrate-activation-shell.mjs --check",
|
|
54
57
|
"validate:activation-spine": "node scripts/validate-activation-spine.mjs",
|
|
@@ -60,7 +63,7 @@
|
|
|
60
63
|
"sync-integrator-docs-embedded": "node scripts/sync-integrator-docs-embedded.mjs",
|
|
61
64
|
"sync-epistemic-contract-website": "node scripts/sync-epistemic-contract-website.mjs",
|
|
62
65
|
"check:epistemic-contract-structure": "node scripts/validate-epistemic-contract-structure.mjs",
|
|
63
|
-
"check:partner-quickstart
|
|
66
|
+
"check:partner-quickstart": "node scripts/check-partner-quickstart.mjs",
|
|
64
67
|
"partner-quickstart": "node scripts/partner-quickstart-verify.mjs",
|
|
65
68
|
"first-run-verify": "node scripts/partner-quickstart-verify.mjs",
|
|
66
69
|
"generate:langgraph-guide-embed": "node scripts/embed/generate-langgraph-guide-embed.mjs"
|
|
@@ -79,13 +82,22 @@
|
|
|
79
82
|
"vitest": "^4.1.4"
|
|
80
83
|
},
|
|
81
84
|
"dependencies": {
|
|
85
|
+
"@aws-sdk/client-s3": "^3.1034.0",
|
|
86
|
+
"@google-cloud/bigquery": "^8.1.1",
|
|
82
87
|
"ajv": "^8.17.1",
|
|
83
88
|
"ajv-formats": "^3.0.1",
|
|
89
|
+
"mongodb": "^6.12.0",
|
|
90
|
+
"mssql": "^11.0.1",
|
|
91
|
+
"mysql2": "^3.14.0",
|
|
84
92
|
"pg": "^8.20.0",
|
|
85
93
|
"picomatch": "^4.0.4",
|
|
86
94
|
"yaml": "^2.8.3"
|
|
87
95
|
},
|
|
88
96
|
"overrides": {
|
|
97
|
+
"encoding-sniffer": "1.0.2",
|
|
98
|
+
"uuid": "14.0.0",
|
|
99
|
+
"fast-xml-parser": "5.7.1",
|
|
100
|
+
"basic-ftp": "5.3.0",
|
|
89
101
|
"esbuild": "0.25.12",
|
|
90
102
|
"tmp": "0.2.4",
|
|
91
103
|
"cookie": "0.7.2",
|
|
@@ -106,36 +118,19 @@
|
|
|
106
118
|
"schemas/",
|
|
107
119
|
"scripts/discovery-payload.lib.cjs",
|
|
108
120
|
"scripts/discovery-acquisition.lib.cjs",
|
|
121
|
+
"scripts/validate-marketing.cjs",
|
|
122
|
+
"scripts/emit-primary-marketing.cjs",
|
|
123
|
+
"scripts/origin.cjs",
|
|
124
|
+
"scripts/public-product-anchors.cjs",
|
|
125
|
+
"config/marketing.json",
|
|
109
126
|
"scripts/render-discovery-ci.mjs"
|
|
110
127
|
],
|
|
111
128
|
"keywords": [
|
|
112
129
|
"agentskeptic",
|
|
113
|
-
"agent-skeptic",
|
|
114
|
-
"workflow",
|
|
115
130
|
"verification",
|
|
116
131
|
"database",
|
|
117
|
-
"sql",
|
|
118
|
-
"state",
|
|
119
132
|
"read-only",
|
|
120
133
|
"agent",
|
|
121
|
-
"
|
|
122
|
-
"ndjson",
|
|
123
|
-
"postgres",
|
|
124
|
-
"sqlite",
|
|
125
|
-
"tool-calls",
|
|
126
|
-
"compliance",
|
|
127
|
-
"crm",
|
|
128
|
-
"ai-workflow",
|
|
129
|
-
"langgraph",
|
|
130
|
-
"ci-gate",
|
|
131
|
-
"false-positive",
|
|
132
|
-
"postgres-verification",
|
|
133
|
-
"trace-vs-database",
|
|
134
|
-
"silent-failure",
|
|
135
|
-
"ai-agent-verification",
|
|
136
|
-
"workflow-validation",
|
|
137
|
-
"langgraph-observability",
|
|
138
|
-
"tool-call-grounding",
|
|
139
|
-
"database-state-checking"
|
|
134
|
+
"workflow"
|
|
140
135
|
]
|
|
141
136
|
}
|
|
@@ -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
|
+
}
|
|
@@ -146,7 +146,10 @@ components:
|
|
|
146
146
|
type: string
|
|
147
147
|
enum: [verify, enforce]
|
|
148
148
|
default: verify
|
|
149
|
-
description:
|
|
149
|
+
description: >
|
|
150
|
+
enforce requires a paid plan (not Starter) with active subscription; verify is allowed
|
|
151
|
+
for Starter (free included quota) and for paid plans with active subscription; overage
|
|
152
|
+
is permitted past included for paid plans with allowOverage in plan catalog
|
|
150
153
|
ReserveAllowed:
|
|
151
154
|
type: object
|
|
152
155
|
required:
|
|
@@ -154,6 +157,8 @@ components:
|
|
|
154
157
|
- plan
|
|
155
158
|
- limit
|
|
156
159
|
- used
|
|
160
|
+
- included_monthly
|
|
161
|
+
- overage_count
|
|
157
162
|
properties:
|
|
158
163
|
allowed:
|
|
159
164
|
type: boolean
|
|
@@ -163,8 +168,18 @@ components:
|
|
|
163
168
|
enum: [starter, individual, team, business, enterprise]
|
|
164
169
|
limit:
|
|
165
170
|
type: integer
|
|
171
|
+
description: Included verifications in the current billing month (not enterprise unlimited sentinel)
|
|
166
172
|
used:
|
|
167
173
|
type: integer
|
|
174
|
+
description: Total verifications counted this month for this API key
|
|
175
|
+
included_monthly:
|
|
176
|
+
oneOf:
|
|
177
|
+
- type: integer
|
|
178
|
+
- type: "null"
|
|
179
|
+
description: Same as limit for finite plans; null for enterprise unlimited
|
|
180
|
+
overage_count:
|
|
181
|
+
type: integer
|
|
182
|
+
description: max(0, used - included_monthly) when the plan has a finite cap
|
|
168
183
|
ReserveError:
|
|
169
184
|
type: object
|
|
170
185
|
properties:
|
|
@@ -174,8 +189,8 @@ components:
|
|
|
174
189
|
code:
|
|
175
190
|
type: string
|
|
176
191
|
description: >
|
|
177
|
-
Examples BAD_REQUEST, INVALID_KEY, QUOTA_EXCEEDED,
|
|
178
|
-
|
|
192
|
+
Examples BAD_REQUEST, INVALID_KEY, QUOTA_EXCEEDED, ENFORCEMENT_REQUIRES_PAID_PLAN,
|
|
193
|
+
SUBSCRIPTION_INACTIVE, BILLING_PRICE_UNMAPPED, SERVER_ERROR
|
|
179
194
|
message:
|
|
180
195
|
type: string
|
|
181
196
|
upgrade_url:
|
|
@@ -205,8 +220,26 @@ components:
|
|
|
205
220
|
oneOf:
|
|
206
221
|
- type: integer
|
|
207
222
|
- type: "null"
|
|
223
|
+
yearlyUsdCents:
|
|
224
|
+
oneOf:
|
|
225
|
+
- type: integer
|
|
226
|
+
- type: "null"
|
|
208
227
|
displayPrice:
|
|
209
228
|
type: string
|
|
229
|
+
displayPriceYearly:
|
|
230
|
+
oneOf:
|
|
231
|
+
- type: string
|
|
232
|
+
- type: "null"
|
|
233
|
+
overageMicrousdPerVerification:
|
|
234
|
+
oneOf:
|
|
235
|
+
- type: integer
|
|
236
|
+
- type: "null"
|
|
237
|
+
allowOverage:
|
|
238
|
+
type: boolean
|
|
239
|
+
overageDisplayLabel:
|
|
240
|
+
oneOf:
|
|
241
|
+
- type: string
|
|
242
|
+
- type: "null"
|
|
210
243
|
marketingHeadline:
|
|
211
244
|
type: string
|
|
212
245
|
audience:
|
|
@@ -8,7 +8,7 @@ info:
|
|
|
8
8
|
repository: https://github.com/jwekavanagh/agentskeptic
|
|
9
9
|
npmPackage: https://www.npmjs.com/package/agentskeptic
|
|
10
10
|
openApi: https://agentskeptic.com/openapi-commercial-v1.yaml
|
|
11
|
-
description: "
|
|
11
|
+
description: "Read-only checks at verify time—not color.\n\nMachine-readable contract for license preflight used by the published npm CLI.\nBase URL is your deployed app origin (same as NEXT_PUBLIC_APP_URL).\n"
|
|
12
12
|
externalDocs:
|
|
13
13
|
description: "First-run integration guide"
|
|
14
14
|
url: https://agentskeptic.com/integrate
|
|
@@ -146,7 +146,10 @@ components:
|
|
|
146
146
|
type: string
|
|
147
147
|
enum: [verify, enforce]
|
|
148
148
|
default: verify
|
|
149
|
-
description:
|
|
149
|
+
description: >
|
|
150
|
+
enforce requires a paid plan (not Starter) with active subscription; verify is allowed
|
|
151
|
+
for Starter (free included quota) and for paid plans with active subscription; overage
|
|
152
|
+
is permitted past included for paid plans with allowOverage in plan catalog
|
|
150
153
|
ReserveAllowed:
|
|
151
154
|
type: object
|
|
152
155
|
required:
|
|
@@ -154,6 +157,8 @@ components:
|
|
|
154
157
|
- plan
|
|
155
158
|
- limit
|
|
156
159
|
- used
|
|
160
|
+
- included_monthly
|
|
161
|
+
- overage_count
|
|
157
162
|
properties:
|
|
158
163
|
allowed:
|
|
159
164
|
type: boolean
|
|
@@ -163,8 +168,18 @@ components:
|
|
|
163
168
|
enum: [starter, individual, team, business, enterprise]
|
|
164
169
|
limit:
|
|
165
170
|
type: integer
|
|
171
|
+
description: Included verifications in the current billing month (not enterprise unlimited sentinel)
|
|
166
172
|
used:
|
|
167
173
|
type: integer
|
|
174
|
+
description: Total verifications counted this month for this API key
|
|
175
|
+
included_monthly:
|
|
176
|
+
oneOf:
|
|
177
|
+
- type: integer
|
|
178
|
+
- type: "null"
|
|
179
|
+
description: Same as limit for finite plans; null for enterprise unlimited
|
|
180
|
+
overage_count:
|
|
181
|
+
type: integer
|
|
182
|
+
description: max(0, used - included_monthly) when the plan has a finite cap
|
|
168
183
|
ReserveError:
|
|
169
184
|
type: object
|
|
170
185
|
properties:
|
|
@@ -174,8 +189,8 @@ components:
|
|
|
174
189
|
code:
|
|
175
190
|
type: string
|
|
176
191
|
description: >
|
|
177
|
-
Examples BAD_REQUEST, INVALID_KEY, QUOTA_EXCEEDED,
|
|
178
|
-
|
|
192
|
+
Examples BAD_REQUEST, INVALID_KEY, QUOTA_EXCEEDED, ENFORCEMENT_REQUIRES_PAID_PLAN,
|
|
193
|
+
SUBSCRIPTION_INACTIVE, BILLING_PRICE_UNMAPPED, SERVER_ERROR
|
|
179
194
|
message:
|
|
180
195
|
type: string
|
|
181
196
|
upgrade_url:
|
|
@@ -205,8 +220,26 @@ components:
|
|
|
205
220
|
oneOf:
|
|
206
221
|
- type: integer
|
|
207
222
|
- type: "null"
|
|
223
|
+
yearlyUsdCents:
|
|
224
|
+
oneOf:
|
|
225
|
+
- type: integer
|
|
226
|
+
- type: "null"
|
|
208
227
|
displayPrice:
|
|
209
228
|
type: string
|
|
229
|
+
displayPriceYearly:
|
|
230
|
+
oneOf:
|
|
231
|
+
- type: string
|
|
232
|
+
- type: "null"
|
|
233
|
+
overageMicrousdPerVerification:
|
|
234
|
+
oneOf:
|
|
235
|
+
- type: integer
|
|
236
|
+
- type: "null"
|
|
237
|
+
allowOverage:
|
|
238
|
+
type: boolean
|
|
239
|
+
overageDisplayLabel:
|
|
240
|
+
oneOf:
|
|
241
|
+
- type: string
|
|
242
|
+
- type: "null"
|
|
210
243
|
marketingHeadline:
|
|
211
244
|
type: string
|
|
212
245
|
audience:
|