@mikeargento/bitgraph-player 0.8.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikeargento/bitgraph-player",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Deterministic evaluation of causal rules over BitGraph proof bundles: a pure function from (rule, verified evidence) to a reproducible verdict.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "node": ">=20"
37
37
  },
38
38
  "dependencies": {
39
- "@mikeargento/bitgraph-audit": "^0.4.0",
39
+ "@mikeargento/bitgraph-audit": "^0.4.1",
40
40
  "@mikeargento/bitgraph-verify": "^1.4.0"
41
41
  },
42
42
  "devDependencies": {
@@ -29,6 +29,16 @@ async function entries(spec: Record<string, string>): Promise<BundleEntrySource[
29
29
  }
30
30
 
31
31
  describe("fused recordings in check", () => {
32
+ it("a Frame beside the fused bytes: the nested proof is the recording, the Frame is not an artifact", async () => {
33
+ const report = await checkIngest(await ingestEntries(await entries({ "photo.bitgraph-fuse.json": "trailer.bitgraph-fuse.json", "photo.bin": "fused-trailer.bin" })));
34
+ assert.equal(report.recordings.length, 1, "the Frame's nested proof is observed");
35
+ const rec = report.recordings[0]!;
36
+ assert.equal(rec.lines.find((l) => l.name === "file")?.result, "TRUE");
37
+ assert.equal(rec.lines.find((l) => l.name === "fused")?.result, "TRUE");
38
+ assert.equal(rec.fused?.category, "FUSED_DIRECT");
39
+ assert.ok(!report.notes.some((n) => /photo\.bitgraph-fuse\.json/.test(n)), "the Frame is not listed as an unmatched file");
40
+ });
41
+
32
42
  it("fused bytes beside the proof: fused line TRUE, floor undetermined without anchors, statements carried", async () => {
33
43
  const report = await checkIngest(await ingestEntries(await entries({ "proof.json": "trailer.proof.json", "photo.bin": "fused-trailer.bin" })));
34
44
  assert.equal(report.recordings.length, 1);
package/src/verdict.ts CHANGED
@@ -31,7 +31,7 @@ import type { DeclaredEntry, Resolution, Rule, Verdict } from "./types.js";
31
31
  * A unit test asserts this equals package.json's version, so the
32
32
  * constant cannot drift silently across releases.
33
33
  */
34
- export const PLAYER_VERSION = "0.8.0";
34
+ export const PLAYER_VERSION = "0.8.1";
35
35
 
36
36
  /** The player package's own version. */
37
37
  export function playerVersion(): string {