chore(memory): V1-2.2 owner decisions, BDR-087, LRN-100, final review

This commit is contained in:
bchanot committed 2026-10-30 12:50:01 +01:00
1 parent 05de816962
commit 98060d74a3
3 files changed
+31

No files matched your search

+10
View File
@@ -641,3 +641,13 @@ Design choices: verdict snake_case in the shape M5 SQL reads (groups[{key,digest
Alt: verdict in wasm (rejected, O15); handle-applied edits (kept free op, page holds text for undo); serde tagged derive for commands (rejected: +100 KB wasm).
Reviews: verifier ECARTS(6) then ECARTS(3) (owner exports, helper); security PASS x2, MEDIUMs fixed (PIs, HTML fetchers, long-title bypass, quadratic groups, cubic view walk, bounds). Open owner: dangling #id across inlined drawings, clean upload = original bytes, stricter-than-table refusals, edit reading (contract 8.1/9.2), cairo rgb() colours. Module 596 671 B of 600 000.
## BDR-087 — V1-2.2 canonical stored SVG form, owner-ratified (2026-10-30)
- **Status**: accepted
**Decision** (owner, 2026-10-30, on 05de816): drawings stored only in canonical form = deterministic serialisation by Rust core (`serialize::stored_form`). Original uploaded bytes never trusted as safe by default. Integrity (sha256, verdict `verification.integrity.svg_not_canonical`, preview `not_canonical`, upload tool) checked on representation actually stored. Fingerprints of approved historical resources kept (equine drawing sha256 `0ea5202f…`, fingerprint `12d78872…` unchanged).
Also kept by owner: per-document-instance prefix required on top of per-view prefix (`fv.<view>.`); no multi-document inline rendering opened without it. Cairo strict numeric `rgb()`/`rgba()` kept, atomic `remove` refusal while named (`has_dependents`), wasm cap 600 000 B unchanged.
**Rationale**: validated bytes = stored bytes = rendered bytes; no gap between what check saw and what browser reads.
**Alternatives**: store original bytes after validation (rejected: validation and storage could diverge); re-serialise historical drawings (rejected: breaks approved fingerprints, archive reproduction).