feat(domain): R5.6 fingerprint switch to sha256-rfc8785-validated-v1

The Rust pipeline is the official seed writer (pnpm import:equine); sheet-ref.json
and report-migration-map.json carry 12d78872...74e2 and the v1 block, the only two
seed files changed. 27c7383c...2660 stays a registered alias, honoured only through
LoadedSheet::recognises_historical_stamp (verified v1, recomputed document). M1: the
snapshot of an old report keeps its stamp; export, archive reader strict. Historical
oracles run in their pre-switch context; equivalence is crate-private.
This commit is contained in:
bchanot committed 2026-10-25 02:02:42 +01:00
1 parent 59521dc195
commit 9e87016399
31 files changed
+2331 -154

No files matched your search

+8 -6
View File
@@ -24,10 +24,7 @@ pdf-write = ["pdf-read"]
cli = ["pdf-read", "pdf-write"]
# The anatomical pipeline (R5): legacy importer, curation, generated files and their
# formatting, the `import-equine` tool. Never enabled by the wasm facade or the worker.
curation = ["fingerprint", "dep:icu_normalizer"]
# The sheet fingerprint `sha256-rfc8785-validated-v1` (R5.6, prepared, not active): the hashing
# half of `domain::sheet::fingerprint`; the registry and the comparison compile without it.
fingerprint = ["dep:sha2"]
curation = ["dep:icu_normalizer"]
# The sheet-asset upload tool (R5.5): the `upload-sheet-assets` binary, a local-stack operator
# tool. The rules are in `curation::upload`; only the binary reaches the network.
upload = ["curation", "dep:ureq"]
@@ -40,7 +37,8 @@ roxmltree.workspace = true
zmij.workspace = true
ts-rs = { workspace = true, optional = true }
miniz_oxide = { workspace = true, optional = true }
sha2 = { workspace = true, optional = true }
# The sheet fingerprint (`sha256-rfc8785-validated-v1`, R5.6): recomputed at sheet load too.
sha2.workspace = true
icu_normalizer = { workspace = true, optional = true }
ureq = { workspace = true, optional = true }
@@ -157,4 +155,8 @@ required-features = ["upload"]
[[test]]
name = "sheet_fingerprint"
required-features = ["fingerprint", "pdf-read"]
required-features = ["pdf-read"]
[[test]]
name = "r5_6_switch"
required-features = ["pdf-read", "pdf-write"]