agentskeptic 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -330,7 +330,7 @@ Everything beyond core contract verification lives in **[`docs/agentskeptic.md`]
330
330
 
331
331
  **Why SQLite:** same note as under [Contract path](#contract-path-registry--events) (file-backed demo DB; read-only verification SQL).
332
332
 
333
- **`npm test`** runs `node scripts/verify.mjs --profile=default` (build, tests, first-run, adoption, assurance, commercial harness, TTFV, etc. no Postgres). Stage order: **[`docs/testing.md`](docs/testing.md)**.
333
+ **`npm test`** runs **`npm run verification:truth`** (regeneration + contract gate, Postgres distribution, then full journey suite). Requires **`DATABASE_URL`** and **`TELEMETRY_DATABASE_URL`** (see [`website/.env.example`](website/.env.example)). Ordering: **[`docs/testing.md`](docs/testing.md)**.
334
334
 
335
335
  **Full CI parity** (Postgres + Playwright for Debug Console): set **`POSTGRES_ADMIN_URL`** and **`POSTGRES_VERIFICATION_URL`**, then **`npm run test:ci`**. See **[`docs/testing.md`](docs/testing.md)**, [`.github/workflows/ci.yml`](.github/workflows/ci.yml), and: `docker run -d --name etl-pg -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres:16`.
336
336
 
@@ -1,5 +1,5 @@
1
1
  export declare const PUBLIC_DISTRIBUTION_SSOT_BLOB_URL = "https://github.com/jwekavanagh/agentskeptic/blob/main/docs/public-distribution.md";
2
2
  export declare const PUBLIC_CANONICAL_SITE_ORIGIN = "https://agentskeptic.com";
3
- export declare const AGENTSKEPTIC_CLI_SEMVER = "2.3.0";
3
+ export declare const AGENTSKEPTIC_CLI_SEMVER = "2.4.0";
4
4
  export declare function formatDistributionFooter(): string;
5
5
  //# sourceMappingURL=publicDistribution.generated.d.ts.map
@@ -1,7 +1,7 @@
1
1
  // Generated by npm run emit-primary-marketing — do not hand edit.
2
2
  export const PUBLIC_DISTRIBUTION_SSOT_BLOB_URL = "https://github.com/jwekavanagh/agentskeptic/blob/main/docs/public-distribution.md";
3
3
  export const PUBLIC_CANONICAL_SITE_ORIGIN = "https://agentskeptic.com";
4
- export const AGENTSKEPTIC_CLI_SEMVER = "2.3.0";
4
+ export const AGENTSKEPTIC_CLI_SEMVER = "2.4.0";
5
5
  export function formatDistributionFooter() {
6
6
  return "Context: https://agentskeptic.com/database-truth-vs-traces\n"
7
7
  + "https://agentskeptic.com/integrate\n"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentskeptic",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
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",
@@ -33,16 +33,16 @@
33
33
  "build:commercial": "node scripts/build-commercial.mjs",
34
34
  "start": "npm run build && node scripts/demo.mjs",
35
35
  "dev": "npm run dev -w agentskeptic-web",
36
+ "verification:truth": "node scripts/verification-truth.mjs",
36
37
  "test:vitest": "vitest run",
37
- "verify:decision-readiness": "node scripts/verify.mjs --profile=decision-readiness",
38
- "test:node:sqlite": "node scripts/verify.mjs --stages=build,nodeGuards,nodeTestSqlite",
39
- "test:postgres": "node scripts/verify.mjs --stages=nodeTestPostgres",
40
- "test:workflow-truth-contract": "node scripts/verify.mjs --stages=ciWorkflowTruthSingle",
38
+ "test:node:sqlite": "npm run build && node scripts/run-sqlite-node-test-batch.mjs",
39
+ "test:postgres": "node scripts/run-postgres-node-test-batch.mjs",
40
+ "test:workflow-truth-contract": "node scripts/run-workflow-truth-contract.mjs",
41
41
  "validate-ttfv": "node scripts/validate-ttfv.mjs",
42
42
  "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",
43
- "test": "node scripts/verify.mjs --profile=default",
43
+ "test": "node scripts/verification-truth.mjs",
44
44
  "test:debug-ui": "playwright test",
45
- "test:ci": "node scripts/verify.mjs --profile=ci",
45
+ "test:ci": "node scripts/verification-truth.mjs",
46
46
  "golden:path": "node examples/golden-next-postgres/scripts/run-reference.mjs",
47
47
  "example:workflow-hook": "npm run build && node examples/workflow-runner.mjs",
48
48
  "agentskeptic": "node dist/cli.js",
@@ -268,6 +268,48 @@
268
268
  "retryable": false,
269
269
  "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
270
270
  },
271
+ {
272
+ "code": "EMIT_LANGGRAPH_CHECKPOINT_INVALID",
273
+ "category": "operational",
274
+ "httpStatus": null,
275
+ "retryable": false,
276
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
277
+ },
278
+ {
279
+ "code": "EMIT_LINT_FAILED",
280
+ "category": "operational",
281
+ "httpStatus": null,
282
+ "retryable": false,
283
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
284
+ },
285
+ {
286
+ "code": "EMIT_LINT_USAGE",
287
+ "category": "operational",
288
+ "httpStatus": null,
289
+ "retryable": false,
290
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
291
+ },
292
+ {
293
+ "code": "EMIT_RETRIEVAL_SOURCE_INVALID",
294
+ "category": "operational",
295
+ "httpStatus": null,
296
+ "retryable": false,
297
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
298
+ },
299
+ {
300
+ "code": "EMIT_TOOL_ID_INVALID",
301
+ "category": "operational",
302
+ "httpStatus": null,
303
+ "retryable": false,
304
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
305
+ },
306
+ {
307
+ "code": "EMIT_WORKFLOW_ID_INVALID",
308
+ "category": "operational",
309
+ "httpStatus": null,
310
+ "retryable": false,
311
+ "remediation": "See docs/migrate-2.md and the AgentSkeptic 2.0 integrator guide (docs/integrate.md)."
312
+ },
271
313
  {
272
314
  "code": "ENFORCEMENT_REQUIRES_PAID_PLAN",
273
315
  "category": "license",
@@ -0,0 +1,27 @@
1
+ {
2
+ "manifestVersion": 1,
3
+ "regeneration": {
4
+ "scripts": [
5
+ { "cwd": ".", "npmScript": "codegen:types" },
6
+ { "cwd": ".", "npmScript": "codegen:error-codes" },
7
+ { "cwd": ".", "npmScript": "sync-website-ssot" },
8
+ { "cwd": ".", "npmScript": "build" },
9
+ { "cwd": ".", "npmScript": "check:langgraph-embeds" },
10
+ { "cwd": "website", "npmScript": "check:docs-claim-urls" }
11
+ ]
12
+ },
13
+ "gating": {
14
+ "gitPathspecs": [
15
+ "schemas/",
16
+ "llms.txt",
17
+ "README.md",
18
+ "AGENTS.md",
19
+ "package.json",
20
+ "website/public/",
21
+ "website/src/generated/",
22
+ "src/publicDistribution.generated.ts",
23
+ "src/sdk/_generated/",
24
+ "src/agentskeptic-error-codes.json"
25
+ ]
26
+ }
27
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentskeptic.com/schemas/ci/verification-truth.manifest.schema.json",
4
+ "title": "Verification truth manifest",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["manifestVersion", "regeneration", "gating"],
8
+ "properties": {
9
+ "manifestVersion": { "type": "integer", "minimum": 1 },
10
+ "regeneration": {
11
+ "type": "object",
12
+ "additionalProperties": false,
13
+ "required": ["scripts"],
14
+ "properties": {
15
+ "scripts": {
16
+ "type": "array",
17
+ "minItems": 1,
18
+ "items": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "required": ["cwd", "npmScript"],
22
+ "properties": {
23
+ "cwd": { "type": "string", "enum": [".", "website"] },
24
+ "npmScript": {
25
+ "type": "string",
26
+ "pattern": "^[a-zA-Z0-9:_-]+$",
27
+ "description": "Name of npm script defined in workspace root or website/package.json when cwd is website"
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "gating": {
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "required": ["gitPathspecs"],
38
+ "properties": {
39
+ "gitPathspecs": {
40
+ "type": "array",
41
+ "minItems": 1,
42
+ "items": { "type": "string", "minLength": 1 }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
@@ -1,7 +1,7 @@
1
1
  openapi: "3.0.3"
2
2
  info:
3
3
  title: AgentSkeptic commercial license API
4
- version: "2.3.0"
4
+ version: "2.4.0"
5
5
  contact:
6
6
  url: https://agentskeptic.com
7
7
  x-agentskeptic-distribution:
@@ -177,6 +177,7 @@ Normative **public distribution** and anchor sync: [\`docs/public-distribution.m
177
177
  - Verification Contract Manifest (canonical): ${contractPin.url}
178
178
  - Verification Contract Manifest (repo raw): ${contractRaw}
179
179
  - Acquisition page (canonical): ${acquisitionUrl}
180
+ - CI regeneration + drift pathspecs: [\`schemas/ci/verification-truth.manifest.json\`](schemas/ci/verification-truth.manifest.json) (validated by [\`test/verification-truth.manifest.completeness.test.mjs\`](test/verification-truth.manifest.completeness.test.mjs))
180
181
  `;
181
182
  writeFileSync(join(ROOT, "AGENTS.md"), body, "utf8");
182
183
  }