From 207a0ff61e5c743b0d3affe7090167b1e36f082d Mon Sep 17 00:00:00 2001 From: altair823 Date: Thu, 30 Apr 2026 17:02:53 +0000 Subject: [PATCH] kb-chunk: regenerate long-section.chunks.snapshot.json baseline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The snapshot now includes the policy_hash field on every Chunk per the preceding kb-core schema change. chunk_ids are unchanged because the chunk_id recipe (§4.2) already incorporated policy_hash via the chunker — the field is simply now visible in the wire form. Regenerated via: UPDATE_SNAPSHOTS=1 cargo test -p kb-chunk long_section_chunks_snapshot --- fixtures/markdown/long-section.chunks.snapshot.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fixtures/markdown/long-section.chunks.snapshot.json b/fixtures/markdown/long-section.chunks.snapshot.json index ef27566..1ea045b 100644 --- a/fixtures/markdown/long-section.chunks.snapshot.json +++ b/fixtures/markdown/long-section.chunks.snapshot.json @@ -11,6 +11,7 @@ "heading_path": [ "Alpha" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 1, @@ -43,6 +44,7 @@ "Alpha", "Alpha Sub" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 7, @@ -69,6 +71,7 @@ "Alpha", "Alpha Sub" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 53, @@ -90,6 +93,7 @@ "heading_path": [ "Beta" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 55, @@ -115,6 +119,7 @@ "heading_path": [ "Beta" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 64, @@ -135,6 +140,7 @@ "heading_path": [ "Beta" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 66, @@ -157,6 +163,7 @@ "heading_path": [ "Gamma" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 68, @@ -188,6 +195,7 @@ "heading_path": [ "Gamma" ], + "policy_hash": "de6868f3b7949242", "source_spans": [ { "end": 72,