docs(docs): drop stale references to the removed SQL mirror and client gate
This commit is contained in:
1 parent
ef1f4b593f
commit
a21866e25c
6 files changed
+11
-10
No files matched your search
@@ -1,6 +1,6 @@
|
||||
//! The publication gate on the client side (`packages/supabase/src/anatomical-sheets.ts`):
|
||||
//! the full strict shape, then every integrity rule. The database re-checks the referential
|
||||
//! rules on its own (`private.sheet_document_issues`); this never replaces that guard.
|
||||
//! The core's document check: the full strict shape, then every integrity rule. Since
|
||||
//! V1-2.1 the client publication gate and the SQL mirror are gone (contract §12.2):
|
||||
//! publication rests on the server verdict, never on this check run in a page.
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
//!
|
||||
//! The shape tier (serde, as Zod) accepts dangling references so drafts can be saved
|
||||
//! mid-edit; this tier lists every inconsistency for the editor and gates publication. Each
|
||||
//! rule is one function, run in the TypeScript order; codes, paths and messages are the
|
||||
//! contract shared with the SQL re-check (`private.sheet_document_issues`).
|
||||
//! rule is one function, run in the TypeScript order; codes, paths and messages are a
|
||||
//! contract (the fixtures under `tests/conformance`). No SQL mirror re-checks them since
|
||||
//! V1-2.1 (contract §12.2): the core is the only authority.
|
||||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
|
||||
@@ -360,7 +360,7 @@ packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > findin
|
||||
packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > several-errors integrity codes shared with SQL (pgTAP conformance) replaced cargo sheet_conformance::the_rust_rules_report_what_the_typescript_rules_reported crates/core/tests/conformance/several-errors.json TS (MAKE unset) asserts the fixture file = TS validateSheetDocument output (+ shape tier verdict); Rust checks its rules and the SQL codes against the same file
|
||||
packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > shape-references-not-array integrity codes shared with SQL (pgTAP conformance) replaced cargo sheet_conformance::the_rust_rules_report_what_the_typescript_rules_reported crates/core/tests/conformance/shape-references-not-array.json TS (MAKE unset) asserts the fixture file = TS validateSheetDocument output (+ shape tier verdict); Rust checks its rules and the SQL codes against the same file
|
||||
packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > shape-reference-url-scheme integrity codes shared with SQL (pgTAP conformance) replaced cargo sheet_conformance::the_rust_rules_report_what_the_typescript_rules_reported crates/core/tests/conformance/shape-reference-url-scheme.json TS (MAKE unset) asserts the fixture file = TS validateSheetDocument output (+ shape tier verdict); Rust checks its rules and the SQL codes against the same file
|
||||
packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > has no stale fixture file integrity codes shared with SQL (pgTAP conformance) replaced cargo sheet_conformance::the_rust_rules_report_what_the_typescript_rules_reported crates/core/tests/conformance TS lists files absent from its CASES; Rust reads every *.json of the folder (>=25) and the committed supabase/tests/011_sheet_conformance.sql (26 asserts) pins the set
|
||||
packages/domain/tests/r2-conformance.test.ts sheet conformance fixtures > has no stale fixture file integrity codes shared with SQL (pgTAP conformance) replaced cargo sheet_conformance::the_rust_rules_report_what_the_typescript_rules_reported crates/core/tests/conformance TS lists files absent from its CASES; Rust reads every *.json of the folder (>=25); the generated pgTAP file that pinned the set left with the SQL mirror (V1-2.1 M5, contract §12.2)
|
||||
packages/domain/tests/r2-horse-slice.test.ts horse slice JSON fixture > equals the TypeScript lean input horse slice fixture freeze deleted - - TS generator/asserter of crates/core/tests/fixtures/horse-slice.json from horse-slice.ts; once the TS fixture is gone the JSON is the source; no business contract
|
||||
packages/domain/tests/r2-oracles.test.ts Zod output oracles of the R2 switch > sheet.draft.json Zod output oracles (contracts byte for byte) replaced cargo sheet_contract::the_curated_draft_prints_as_zod_outputs_it crates/core/tests/oracles/sheet.draft.json TS asserts source path and Zod(draft/document.json) = oracle output; Rust prints its parse of the same source and compares to the oracle output
|
||||
packages/domain/tests/r2-oracles.test.ts Zod output oracles of the R2 switch > sheet.legacy-import.json Zod output oracles (contracts byte for byte) replaced cargo sheet_contract::the_legacy_import_baseline_prints_as_zod_outputs_it crates/core/tests/oracles/sheet.legacy-import.json same mechanism on legacy-import/document.json
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 12 and column 108.
|
Reference in new issue
Block a user