Align checksums with bDS2.

This commit is contained in:
2026-07-21 21:18:47 +02:00
parent 8e78a5fc2b
commit b3bf134980
16 changed files with 162 additions and 110 deletions

View File

@@ -264,6 +264,8 @@ invariant WxrConversionParity {
}
invariant AnalysisClassification {
-- Post/page checksums are lower-hex SHA-256 of converted Markdown; media
-- checksums are lower-hex MD5 of source bytes, matching bDS2.
-- Posts/pages: same slug and checksum => update; same slug with different
-- content => conflict; checksum matching another post => content duplicate;
-- otherwise new. Media applies the same rules by original filename and