agentskeptic 6.0.0 → 6.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.
@@ -4,7 +4,7 @@
4
4
  "identityVersion": "1.0.0",
5
5
  "mergeGateFingerprintSha256": "64b5ae2ed5025c08c7c9d7b601958cc90edc32c0d80ea207fdaa373de5b9c2fc",
6
6
  "nodeEnginesDeclared": "22.x || 24.x",
7
- "npmPackageVersion": "6.0.0",
7
+ "npmPackageVersion": "6.0.1",
8
8
  "pythonPipExtrasFragment": "dev,postgres",
9
9
  "verificationContractManifest": {
10
10
  "manifestSha256": "c5f23ec43576716c4b9a13e752cd2962a78bb4b4da1f9e521f911e15dfd80268",
@@ -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 = "6.0.0";
3
+ export declare const AGENTSKEPTIC_CLI_SEMVER = "6.0.1";
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 = "6.0.0";
4
+ export const AGENTSKEPTIC_CLI_SEMVER = "6.0.1";
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": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Structured tool activity vs downstream state at verify time: SQL (SQLite, Postgres, MySQL), HTTP witnesses, supported vector indexes, MongoDB documents, and S3-compatible objects when configured—deterministic verdict artifacts (see verification-state-stores.md).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  openapi: "3.0.3"
2
2
  info:
3
3
  title: AgentSkeptic commercial license API
4
- version: "6.0.0"
4
+ version: "6.0.1"
5
5
  contact:
6
6
  url: https://agentskeptic.com
7
7
  x-agentskeptic-distribution:
@@ -178,6 +178,42 @@ Normative **public distribution** and anchor sync: [\`docs/public-distribution.m
178
178
  - Verification Contract Manifest (repo raw): ${contractRaw}
179
179
  - Acquisition page (canonical): ${acquisitionUrl}
180
180
  - CI regeneration + drift pathspecs: [\`schemas/ci/verification-truth.manifest.json\`](schemas/ci/verification-truth.manifest.json) (validated by [\`test/verification-truth.closed-drift.contract.test.mjs\`](test/verification-truth.closed-drift.contract.test.mjs))
181
+
182
+ ## Cursor Cloud specific instructions
183
+
184
+ ### Architecture
185
+
186
+ This is an npm workspace monorepo with two packages:
187
+ - **Root** (\`agentskeptic\`): Core verification library + CLI. Framework-agnostic Node.js, ESM, TypeScript.
188
+ - **\`website/\`** (\`agentskeptic-web\`): Next.js 16 commercial SaaS app (Auth, Stripe, API keys, verification demo).
189
+
190
+ ### Prerequisites
191
+
192
+ - **Node.js 22.x** (required by \`engines\` field). Install via nvm: \`nvm install 22\`.
193
+ - **PostgreSQL 16** with two databases: \`wfv_website\` (core) and \`wfv_telemetry\` (telemetry).
194
+ - The env file at \`website/.env\` (gitignored) must have \`DATABASE_URL\` and \`TELEMETRY_DATABASE_URL\` pointing to local Postgres. See \`website/.env.example\` for all variables.
195
+
196
+ ### Common commands
197
+
198
+ | Task | Command | Notes |
199
+ |------|---------|-------|
200
+ | Install deps | \`npm install\` (repo root) | Installs root + website workspace |
201
+ | Build core | \`npm run build\` | TypeScript compile + asset generation |
202
+ | Run demo | \`npm start\` | Builds then runs bundled wf_complete/wf_missing verification |
203
+ | Website dev | \`npm run dev\` (repo root) | Delegates to \`next dev --turbopack\` in website workspace |
204
+ | Core vitest | \`npx vitest run\` (repo root) | Runs \`src/**/*.test.ts\` and \`test/**/*.test.ts\` |
205
+ | SQLite tests | \`npm run test:node:sqlite\` | Builds first, then runs node:test suite (fast, no Postgres) |
206
+ | Website vitest | \`npm run test:vitest -w agentskeptic-web\` | Needs \`DATABASE_URL\` + \`TELEMETRY_DATABASE_URL\` |
207
+ | Full CI gate | \`npm test\` (or \`npm run verification:truth\`) | Requires Postgres; see \`docs/testing.md\` |
208
+ | DB migrate | \`npm run db:migrate\` / \`npm run db:migrate:telemetry\` (from \`website/\`) | Requires \`DATABASE_URL\`/\`TELEMETRY_DATABASE_URL\` in env or \`website/.env\` |
209
+
210
+ ### Gotchas
211
+
212
+ - \`npm run build\` must complete before the CLI (\`node dist/cli.js\`) or website demo API (\`/api/verify\`) work.
213
+ - The website migration scripts (\`db-migrate.mjs\`) load \`website/.env\` but only for keys not already in \`process.env\`. If env vars are not exported in the shell, the \`.env\` file must exist.
214
+ - The commit hook (\`.husky/commit-msg\`) runs \`commitlint\` for Conventional Commits. Use \`--no-verify\` to skip if needed, but CI enforces the same rules on PRs.
215
+ - PostgreSQL must be running before migrations or website dev. Start with: \`pg_ctlcluster 16 main start\`.
216
+ - \`src/planTransition.test.ts\` has a known timeout-sensitive integration test that may flake in resource-constrained environments. This is pre-existing, not a setup issue.
181
217
  `;
182
218
  writeFileSync(join(ROOT, "AGENTS.md"), body, "utf8");
183
219
  }