fix(domain): R5.6 prep gates, strict declared block, patch builds, docs corrected

v1 refuses a non-hex or historical value (NotCanonical); the switch patch now builds
report-compare and refuses unknown block keys; RUST.md 11.19 states the measured
rehearsal (4 + 3 expected failures) instead of a green claim.
This commit is contained in:
bchanot committed 2026-10-24 14:57:44 +02:00
1 parent 3b9a395d43
commit 943a25a98f
10 files changed
+280 -18

No files matched your search

+14
View File
@@ -254,3 +254,17 @@ fn historical_archives_open_as_the_same_document_only_through_the_registered_pai
);
assert!(same > 30, "{same} of {}", found.len());
}
#[test]
fn v1_never_carries_the_historical_value_or_a_malformed_one() {
assert_eq!(
check_declared(SHEET, ALIAS, FINGERPRINT_CONVENTION, &[]),
Err(AliasRefusal::NotCanonical(ALIAS.into()))
);
for bad in ["", "12d7", &"g".repeat(64), &CANONICAL.to_uppercase()] {
assert!(
check_declared(SHEET, bad, FINGERPRINT_CONVENTION, &[]).is_err(),
"{bad}"
);
}
}