feat(domain): R2.2 sheet integrity rules, publish check, SheetIndexData and SQL conformance in Rust
The 21 rules of validateSheetDocument ported with identical codes, severities, paths and messages (frozen from the TypeScript on 26 conformance fixtures), createEmptySheetDocument, the publish check (strict shape then rules), and the index data React reads once (positions with Map semantics, names, spine ids, finding-path keys). The fixtures also carry the codes private.sheet_document_issues returns: a cargo test generates supabase/tests/011_sheet_conformance.sql and refuses drift (PGlite 12/12 files, real stack 446/446). .prettierignore keeps the byte-exact oracles and generated fixtures out of pnpm format.
This commit is contained in:
1 parent
343d6f4c1f
commit
0c47d0f837
40 files changed
+3280
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# Byte-exact oracles and generated fixtures: their tests compare bytes, never reformat them.
|
||||
crates/core/tests/oracles/
|
||||
crates/core/tests/conformance/
|
||||
crates/core/tests/fixtures/
|
||||
apps/app/tests/fixtures/goldens/
|
||||
packages/core-wasm/types/
|
||||
packages/core-wasm/pkg/
|
||||
packages/core-wasm/pkg-proofs/
|
||||
Reference in new issue
Block a user