Rule handbook metadata
- Rule
DET.SPATIAL.HASH_ROOT· lanedeterministic- Page status
- current
- page_version
1b3aaed0d0d901d9774e3c470547859eec0dc5b9103ccc2b216fd2fe3d3a1509- generated_at
- 2026-07-22T00:00:00.000Z
- registry_fingerprint
aef1de6082cf0f50d463783c843dee0ffb9132fbd5ed4ea6e5bb3f031f359c72
How this rule is fixed
Not in the deterministic fixer pilot registry (stub or not yet wired). Use the After example below as the target state and remediate manually or extend pilot-registry.json.
Detection module: docs/design/ux-audit/deterministic-design-rules.md#det-spatial-hash_root. Scroll down for Before / After examples and Evidence and remediation steps.
Purpose
Kitchen Sink spatial primitives on spatial-effects.html are governed by three-letter hashes. This rule ensures each spatial hash present on a crawled page has complete marker pairing.
Passing signals
[data-ks-hash="Flp"](and siblings) appear with matchinghash="Flp"on the same root.data-ks-typeanddata-ks-namepresent when emitted viaks_hash_attrs.
Failing signals
- Spatial hash in DOM without paired attribute.
- Incomplete marker rows in
ksVisualHashReport.
Deterministic checks
Run tools/spatial-effects-verifier/run-all-oracles.mjs after build-showcase.py for behavior parity; this rule covers marker pairing only.