The `intentSubstanceHash` — a `blake3: ` hash of the intent's reviewable definition ([`CanonicalNode::substance_value`]), stable across review activity. Mirrors the [`content_hash`] path exactly (JCS + BLAKE3), so the two can never drift; the difference is only *what* is hashed.
(node: &CanonicalNode)
| 386 | /// activity. Mirrors the [`content_hash`] path exactly (JCS + BLAKE3), so the |
| 387 | /// two can never drift; the difference is only *what* is hashed. |
| 388 | pub fn intent_substance_hash(node: &CanonicalNode) -> String { |
| 389 | content_hash(&node.substance_value()) |
| 390 | } |
| 391 | |
| 392 | #[cfg(test)] |
| 393 | mod tests { |