chore(memory): V1-2.2 arbitration criteria, mutation script, TODO

This commit is contained in:
bchanot committed 2026-10-29 16:24:30 +01:00
1 parent 93e4e81bda
commit 5281337412
3 files changed
+63

No files matched your search

@@ -68,3 +68,28 @@ commit `ac71c5b` (V1-2.1 verified by the owner). Diff under review: `ac71c5b..HE
- `pnpm rust:check` (fmt, clippy, all core feature suites, ts-rs export, cargo deny).
- `pnpm wasm:build` then `pnpm --filter @faunosteo/core-wasm test:run` (the size budget is 600 000 B).
- `cargo test -p faunosteo-core --test sheet_verdict` (and the other five suites).
## Owner arbitrations at the checkpoint (2026-10-29, contract §17.4, last six rows)
Brief « V1-2.2 : arbitrages du propriétaire et finalisation » on `17d9199`. Diff under review for this round:
`17d9199..HEAD`. The criteria above still hold; these are added.
- B1 A local reference (`href`, `xlink:href`, `url(#…)`) to an id the drawing does not define is refused
(`dangling_reference`) by `read_svg` (stored drawings, verdict, preview, PDF snapshot gate) and by `clean_svg`, the
latter only after active content is classified. Valid internal references keep working.
- B2 `view.canvas` (on `LoadedSheet` and `PreviewSheet`) scopes every id and local reference of the drawing to its view
(`fv.<view>.`); two canvases inlined in one page never resolve into each other; composition deterministic; stored
bytes, sha256, fingerprints, archive snapshots and PDF views untouched. Tests: valid, absent, same ids in two views,
cross-view attempt, many references to one id, repeated composition (`tests/svg_scope.rs`).
- B3 Every accepted file (clean or cleanable) is uploaded in the stored form (`serialize::stored_form`); verdict
(`verification.integrity.svg_not_canonical`), preview (`not_canonical`) and the upload tool refuse another form; the
equine drawing's sha256 `0ea5202f…` and the fingerprint `12d78872…` unchanged.
- B4 Strict numeric `rgb()` / `rgba()` kept; `url(` outside the document, `expression(`, scripts, active CSS and every
other function still removed or refused; the cairo export keeps colours, shapes and references; fixpoint.
- B5 `sheet.edit` `remove` refused atomically (`has_dependents`, document unchanged) while `dependents` holds anything
but descendants; a removal never adds a referential issue (property test).
- B6 A6: real Inkscape 1.4.3 exports committed with their generator and provenance; Illustrator and Figma are not
produced or imitated; A6 stays open until the owner's files arrive.
- B7 Wasm: `--remove-name-section` only; the 600 000-byte cap and `size.test.ts` unchanged.
- B8 Still: no SQL change, no protected reader modified (A13), the N-1 copies and frozen oracle files untouched (declared
changes applied in tests only), no DEV operation, no merge.