@behavproof/vitest 0.0.0-stage → 0.1.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
@@ -1,3 +1,15 @@
1
- # Temporary Holding Version
1
+ # @behavproof/vitest
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ BehavProof 0.1.0 initial public preview distribution. Requires Node.js 24.x.
4
+
5
+ After publication, install from the public npm registry:
6
+
7
+ ```sh
8
+ npm install --ignore-scripts @behavproof/vitest@0.1.0
9
+ ```
10
+
11
+ See the [Japanese deployment guide](https://github.com/kanoi-y/BehavProof/blob/main/docs/protected-github-deployment.ja.md) and [security boundaries](https://github.com/kanoi-y/BehavProof/blob/main/docs/security.md).
12
+
13
+ Passing evidence applies only to its authenticated source, approved obligations and bounded execution scope. Execute candidate tests and optional model Drivers only in credential-free isolated workers. Keep publishing credentials in a separate trusted host.
14
+
15
+ No open-source license is granted (UNLICENSED). Source is public; npm packages will be public after publication. The next dist-tag identifies the preview channel; it does not restrict access.
@@ -0,0 +1,18 @@
1
+ export type ContractDefinition<I = unknown, E = unknown> = {
2
+ id: string;
3
+ intent: string;
4
+ risk: "basic" | "standard" | "critical";
5
+ cases: readonly {
6
+ id: string;
7
+ input: I;
8
+ expected: E;
9
+ negative?: boolean;
10
+ }[];
11
+ };
12
+ export declare function defineContract<const T extends ContractDefinition>(value: T): T;
13
+ type CaseOf<T extends ContractDefinition> = T["cases"][number];
14
+ export declare const contractTest: {
15
+ each<T extends ContractDefinition>(contract: T, callback: (entry: CaseOf<T>) => unknown): void;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IACxC,KAAK,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,CAAC,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC7E,CAAC;AACF,wBAAgB,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,kBAAkB,EAC/D,KAAK,EAAE,CAAC,GACP,CAAC,CAUH;AACD,KAAK,MAAM,CAAC,CAAC,SAAS,kBAAkB,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,eAAO,MAAM,YAAY;SAClB,CAAC,SAAS,kBAAkB,YACrB,CAAC,YACD,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,GACtC,IAAI;CA2CR,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,53 @@
1
+ import { test, expect } from "vitest";
2
+ import { hash } from "@behavproof/core";
3
+ import { withTargetCalls } from "./probe.js";
4
+ export function defineContract(value) {
5
+ if (!value.id ||
6
+ !value.intent ||
7
+ !value.cases.length ||
8
+ new Set(value.cases.map((c) => c.id)).size !== value.cases.length)
9
+ throw Error("Invalid contract or duplicate case IDs");
10
+ hash(value);
11
+ return value;
12
+ }
13
+ export const contractTest = {
14
+ each(contract, callback) {
15
+ const captured = structuredClone(contract);
16
+ const revisionHash = hash({
17
+ id: captured.id,
18
+ intent: captured.intent,
19
+ risk: captured.risk,
20
+ cases: captured.cases,
21
+ });
22
+ const bindingHash = hash({
23
+ scope: "runtime-function-string-v1",
24
+ function: callback.toString(),
25
+ });
26
+ for (const entry of captured.cases) {
27
+ const identity = {
28
+ contractId: contract.id,
29
+ caseId: entry.id,
30
+ revisionHash,
31
+ bindingHash,
32
+ bindingScope: "runtime-function-string-v1",
33
+ comparisonCount: 0,
34
+ targetCalls: [],
35
+ status: "unknown",
36
+ };
37
+ test(`${contract.id}: ${entry.id}`, { meta: { behavproof: identity } }, async ({ task }) => {
38
+ const meta = task.meta.behavproof;
39
+ const actual = await withTargetCalls(() => callback(structuredClone(entry)), calls => { meta.targetCalls = calls; });
40
+ meta.comparisonCount++;
41
+ try {
42
+ expect(actual).toEqual(entry.expected);
43
+ meta.status = "pass";
44
+ }
45
+ catch (error) {
46
+ meta.status = "fail";
47
+ throw error;
48
+ }
49
+ });
50
+ }
51
+ },
52
+ };
53
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,eAAe,EAAkB,MAAM,YAAY,CAAC;AAO5D,MAAM,UAAU,cAAc,CAC5B,KAAQ;IAER,IACE,CAAC,KAAK,CAAC,EAAE;QACT,CAAC,KAAK,CAAC,MAAM;QACb,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM;QACnB,IAAI,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,KAAK,CAAC,MAAM;QAEjE,MAAM,KAAK,CAAC,wCAAwC,CAAC,CAAC;IACxD,IAAI,CAAC,KAAK,CAAC,CAAC;IACZ,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,CACF,QAAW,EACX,QAAuC;QAEvC,MAAM,QAAQ,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;QAC3C,MAAM,YAAY,GAAG,IAAI,CAAC;YACxB,EA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AK,EAAE,CAAC;oBACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;oBACrB,MAAM,KAAK,CAAC;gBACd,CAAC;YACH,CAAC,CACF,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type TargetCall = {
2
+ targetRef: string;
3
+ count: number;
4
+ };
5
+ /** Called by a separately selected producer's instrumentation, not a proof of authority. */
6
+ export declare function observeTargetCall(targetRef: string): void;
7
+ /** @internal Capture one callback's asynchronous context; errors remain errors. */
8
+ export declare function withTargetCalls<T>(callback: () => T, record: (calls: TargetCall[]) => void): Promise<T>;
9
+ //# sourceMappingURL=probe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"probe.d.ts","sourceRoot":"","sources":["../src/probe.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,UAAU,GAAC;IAAC,SAAS,EAAC,MAAM,CAAC;IAAA,KAAK,EAAC,MAAM,CAAA;CAAC,CAAC;AAEvD,4FAA4F;AAC5F,wBAAgB,iBAAiB,CAAC,SAAS,EAAC,MAAM,GAAE,IAAI,CAOvD;AACD,mFAAmF;AACnF,wBAAsB,eAAe,CAAC,CAAC,EAAE,QAAQ,EAAC,MAAI,CAAC,EAAC,MAAM,EAAC,CAAC,KAAK,EAAC,UAAU,EAAE,KAAG,IAAI,GAAE,OAAO,CAAC,CAAC,CAAC,CAMpG"}
package/dist/probe.js ADDED
@@ -0,0 +1,27 @@
1
+ import { AsyncLocalStorage } from 'node:async_hooks';
2
+ const active = new AsyncLocalStorage();
3
+ /** Called by a separately selected producer's instrumentation, not a proof of authority. */
4
+ export function observeTargetCall(targetRef) {
5
+ const observations = active.getStore();
6
+ if (!observations)
7
+ return;
8
+ if (!targetRef || targetRef.length > 4096 || observations.size >= 1000 && !observations.has(targetRef))
9
+ throw Error('Invalid or excessive target observations');
10
+ const count = (observations.get(targetRef) ?? 0) + 1;
11
+ if (!Number.isSafeInteger(count))
12
+ throw Error('Target observation count exceeds limit');
13
+ observations.set(targetRef, count);
14
+ }
15
+ /** @internal Capture one callback's asynchronous context; errors remain errors. */
16
+ export async function withTargetCalls(callback, record) {
17
+ const observations = new Map();
18
+ return active.run(observations, async () => {
19
+ try {
20
+ return await callback();
21
+ }
22
+ finally {
23
+ record([...observations].sort(([a], [b]) => a.localeCompare(b)).map(([targetRef, count]) => ({ targetRef, count })));
24
+ }
25
+ });
26
+ }
27
+ //# sourceMappingURL=probe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"probe.js","sourceRoot":"","sources":["../src/probe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,GAAC,IAAI,iBAAiB,EAAsB,CAAC;AACzD,4FAA4F;AAC5F,MAAM,UAAU,iBAAiB,CAAC,SAAgB;IAChD,MAAM,YAAY,GAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;IACrC,IAAG,CAAC,YAAY;QAAC,OAAO;IACxB,IAAG,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,GAAC,IAAI,IAAI,YAAY,CAAC,IAAI,IAAE,IAAI,IAAE,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC;QAAC,MAAM,KAAK,CAAC,0CAA0C,CAAC,CAAC;IACxJ,MAAM,KAAK,GAAC,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,IAAE,CAAC,CAAC,GAAC,CAAC,CAAC;IAC/C,IAAG,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC;QAAC,MAAM,KAAK,CAAC,wCAAwC,CAAC,CAAC;IACtF,YAAY,CAAC,GAAG,CAAC,SAAS,EAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AACD,mFAAmF;AACnF,MAAM,CAAC,KAAK,UAAU,eAAe,CAAI,QAAc,EAAC,MAAiC;IACvF,MAAM,YAAY,GAAC,IAAI,GAAG,EAAiB,CAAC;IAC5C,OAAO,MAAM,CAAC,GAAG,CAAC,YAAY,EAAC,KAAK,IAAE,EAAE;QACtC,IAAG,CAAC;YAAA,OAAO,MAAM,QAAQ,EAAE,CAAC;QAAA,CAAC;gBACtB,CAAC;YAAA,MAAM,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC,EAAC,EAAE,CAAA,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EAAC,KAAK,CAAC,EAAC,EAAE,CAAA,CAAC,EAAC,SAAS,EAAC,KAAK,EAAC,CAAC,CAAC,CAAC,CAAC;QAAA,CAAC;IACvH,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Reporter, TestModule } from "vitest/node";
2
+ export default class BehavProofReporter implements Reporter {
3
+ private registrations;
4
+ onTestModuleCollected(module: TestModule): void;
5
+ onTestRunEnd(modules: ReadonlyArray<TestModule>): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=reporter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACxD,MAAM,CAAC,OAAO,OAAO,kBAAmB,YAAW,QAAQ;IACzD,OAAO,CAAC,aAAa,CAAgD;IACrE,qBAAqB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IAoBzC,YAAY,CAAC,OAAO,EAAE,aAAa,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAiCtE"}
@@ -0,0 +1,56 @@
1
+ import { writeFile } from "node:fs/promises";
2
+ export default class BehavProofReporter {
3
+ registrations = new Map();
4
+ onTestModuleCollected(module) {
5
+ const rows = Array.from(module.children.allTests()).flatMap((t) => {
6
+ const row = t.meta()
7
+ .behavproof;
8
+ if (!row)
9
+ return [];
10
+ return [
11
+ {
12
+ contractId: row.contractId,
13
+ caseId: row.caseId,
14
+ revisionHash: row.revisionHash,
15
+ bindingHash: row.bindingHash,
16
+ bindingScope: row.bindingScope,
17
+ comparisonCount: row.comparisonCount,
18
+ status: row.status,
19
+ testId: t.id,
20
+ },
21
+ ];
22
+ });
23
+ this.registrations.set(module.id, rows);
24
+ }
25
+ async onTestRunEnd(modules) {
26
+ const output = process.env.BEHAVPROOF_REPORT;
27
+ if (!output)
28
+ return;
29
+ const files = modules.map((m) => m.moduleId).sort();
30
+ const suites = modules.flatMap((m) => [
31
+ m.id,
32
+ ...Array.from(m.children.allSuites(), (s) => s.id),
33
+ ]);
34
+ const tests = modules.flatMap((m) => Array.from(m.children.allTests()));
35
+ const contracts = tests.flatMap((t) => {
36
+ const row = t.meta()
37
+ .behavproof;
38
+ if (!row)
39
+ return [];
40
+ return [{ ...row, testId: t.id, testState: t.result().state }];
41
+ });
42
+ await writeFile(output, JSON.stringify({
43
+ schemaVersion: 1,
44
+ inventory: {
45
+ suiteCount: suites.length,
46
+ testCount: tests.length,
47
+ files,
48
+ suiteIds: suites,
49
+ testIds: tests.map((t) => t.id),
50
+ },
51
+ registrations: modules.flatMap((m) => this.registrations.get(m.id) ?? []),
52
+ contracts,
53
+ }) + "\n");
54
+ }
55
+ }
56
+ //# sourceMappingURL=reporter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reporter.js","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,kBAAkB;IAC7B,aAAa,GAAG,IAAI,GAAG,EAAqC,CAAC;IACrE,qBAAqB,CAAC,MAAkB;QACtC,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EA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Q,EAAE,CAAC,CAAC,CAAC;QACxE,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YACpC,MAAM,GAAG,GAAI,CAAC,CAAC,IAAI,EAA+C;iBAC/D,UAAU,CAAC;YACd,IAAI,CAAC,GAAG;gBAAE,OAAO,EAAE,CAAC;YACpB,OAAO,CAAC,EAAE,GAAG,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;QACH,MAAM,SAAS,CACb,MAAM,EACN,IAAI,CAAC,SAAS,CAAC;YACb,aAAa,EAAE,CAAC;YAChB,SAAS,EAAE;gBACT,UAAU,EAAE,MAAM,CAAC,MAAM;gBACzB,SAAS,EAAE,KAAK,CAAC,MAAM;gBACvB,KAAK;gBACL,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aAChC;YACD,aAAa,EAAE,OAAO,CAAC,OAAO,CAC5B,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,CAC1C;YACD,SAAS;SACV,CAAC,GAAG,IAAI,CACV,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "@behavproof/vitest",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.js"
9
+ },
10
+ "./reporter": {
11
+ "types": "./dist/reporter.d.ts",
12
+ "import": "./dist/reporter.js"
13
+ },
14
+ "./probe": {
15
+ "types": "./dist/probe.d.ts",
16
+ "import": "./dist/probe.js"
17
+ }
18
+ },
19
+ "dependencies": {
20
+ "@behavproof/core": "0.1.0"
21
+ },
22
+ "peerDependencies": {
23
+ "vitest": "5.1.0"
24
+ },
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "engines": {
29
+ "node": "24.x"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/kanoi-y/BehavProof.git",
34
+ "directory": "packages/contract-vitest"
35
+ },
36
+ "license": "UNLICENSED",
37
+ "publishConfig": {
38
+ "access": "public",
39
+ "registry": "https://registry.npmjs.org/"
40
+ },
41
+ "description": "BehavProof contract-vitest: authenticated behavioral evidence for protected development workflows"
42
+ }