8.9 KiB
V1-2.2 evidence (2026-10-29)
Owner brief « Autorisation de démarrer V1-2.2 », V1-2.1 VERIFIED at ac71c5b. Worktree
feature/v1-2-anatomical-sheets. Code commits 64a4384, cf37aa2, 8ae7565, docs 741c25c.
Contract docs/development/V1-2_ANATOMICAL_SHEETS.md §16.3; verifier contract
.claude/tasks/contracts/2026-10-29-v1-2-2-core.md; record docs/development/RUST.md §12.
1. Owner answers taken before the code (contract §17.4)
| Question | Answer |
|---|---|
| No Inkscape, Illustrator, Figma or Affinity on the machine: how to get real editor exports | the owner supplies them (crates/core/tests/fixtures/svg/exports/owner/); cairo and ImageMagick exports committed meanwhile |
| Strict-parse failure code (§6.5 vs §6.7) | verification.integrity.document |
| Draft preview with caps excess or missing drawings | reported for drafts, refused for published and deprecated versions |
2. Gates on the working tree before the commits
| Gate | Result |
|---|---|
pnpm rust:check |
exit 0; 201 cargo result lines, 1 849 passed, 0 failed, 3 ignored (every feature run of the script); clippy -D warnings clean; cargo deny: bans, licenses, sources ok |
pnpm wasm:build |
1 771 003 B raw, 582 722 B gzip -9 (script); core-wasm proofs green |
pnpm check |
exit 0; core-wasm 16 files 65 tests, supabase 11 files 128 tests, app 65 files 566 tests; lint clean; app build done |
size budget (packages/core-wasm/tests/size.test.ts) |
592 136 B by Node's gzip ≤ 600 000 B (531 715 B before V1-2.2) |
The first build was 635 654 B gzip (over budget): serde's tagged readers for EditCommand /
NewElement and an owned-Value read of the document each compiled a second copy of the
schema's reader. Reading both through &Value gave 606 750 B, then 582 722 B.
3. New suites (cargo, debug)
| Suite | Tests | Notes |
|---|---|---|
sheet_size |
6 | 17 PostgreSQL vectors (PGlite 17.5, oracles/v1-2-2/size.json); seed 184 105 B = the real image's value |
sheet_review |
9 | equine 188 / 31 / 620 over 839 elements, 30 groups |
sheet_verdict |
13 | at every cap: 493 ms debug, 107 ms release, document 1 165 850 B |
sheet_preview |
8 | index tables and canvases equal to the bundled LoadedSheet |
sheet_edit |
11 | 400 random commands on two documents |
svg_clean |
8 | 42 hostile files; 3 000 generated: 123 clean, 2 697 cleanable (fixpoint), 180 cycles refused |
packages/core-wasm/tests/preview.test.ts |
5 | shipped module; clean_svg slowest 0.4 ms over 45 inputs |
4. Mutation run
Script: .claude/audits/2026-10-29-v1-2-2-mutations.py (run from the repository root: each mutant applied, its suite run, the file restored).
| Mutant | Suite | Result |
|---|---|---|
caps > → >= |
sheet_verdict | killed |
| digest without its group key | sheet_review | killed by a_removal_digest_is_bound_to_its_group_key, written for it before the run |
| event handlers not active | svg_clean | killed |
| drawing hash unchecked | sheet_verdict | killed |
content update keeps reviewed |
sheet_edit | killed |
| fingerprint unchecked at load | sheet_preview | killed |
inherited counted as read |
sheet_review | survived the first run; killed once an_inherited_element_alone_keeps_its_group_uncoverable was added |
| redrawn views ignored | sheet_edit | killed |
| numeric scale ignored | sheet_size | killed |
| removal groups never made | sheet_review | killed |
5. DEV and protected branches
- No Supabase CLI call, no SQL, no migration, no seed, no worker start in this step. The DEV
containers (
supabase_*_faunosteo) were read withdocker ps/docker inspectonly: started 2026-10-28 14:45 UTC, before this session (supabase_auth_faunosteorestarts=3 already then). Snapshot before the gate:scratchpad/docker-inspect-before.txt; after: section 6. - No merge, no checkout of
develop,mainorrelease/*; commits only onfeature/v1-2-anatomical-sheets, pushed by the post-commit hook.
6. Gates on the committed branch and reviews
| Commit | pnpm check:all |
Reviews |
|---|---|---|
741c25c |
exit 0, every stage, e2e:ui PASSED | verifier ECARTS(6); security PASS (2 MEDIUM, 2 LOW) — fixed in 8294d54 |
8294d54 |
exit 0 | verifier ECARTS(3) (A6 owner exports, A12 outside its commands, helper unrecorded); security PASS (4 MEDIUM, 8 LOW) — fixed in ca31b78 except the owner decisions of RUST.md §12.6 |
ca31b78 |
exit 0; cargo 1 879 passed 0 failed; vitest core-wasm 65, supabase 128, app 566; e2e:ui PASSED; module 596 671 B (Node gzip) ≤ 600 000 | — |
The first two reviewers (Fable 5.1) stopped at once on exhausted usage credits and produced nothing; they ran again on Opus.
e2e:shell not run (needs the sandbox stack; no screen changed).
Containers after the gates (docker inspect, read-only): identical to the snapshot of section 5 (DEV
supabase_*_faunosteo and the V1-2.1 sandbox: same start times and restart counts).
Known: commit 64a4384 alone does not build (facade::clean_svg names the module of cf37aa2); the branch head does.
7. Owner arbitrations at the checkpoint (brief « V1-2.2 : arbitrages du propriétaire et finalisation », on 17d9199)
Owner answers (2026-10-29, contract §17.4 last six rows): references refused when dangling and canvas ids scoped per
view, implemented in V1-2.2 (not deferred); one stored form for every upload, verdict and preview refusing another;
strict numeric colours kept; remove refused atomically while named; Inkscape fetched for real exports; the wasm debug
name section dropped. Commits: e823655 (SVG), bb5efa0 (removal), 661212a (build flag), 93e4e81 (docs),
5281337 (contract criteria B1-B8, mutation script), a678faa (strict url( after the security review), then the
review LOWs and this evidence.
| Gate | Result |
|---|---|
pnpm check:all on 5281337 |
exit 0; cargo 1 949 passed, 0 failed, 3 ignored; core-wasm 65, supabase 128, app 566; e2e:ui 26 passed; app image, worker test stage, worker runtime image |
pnpm check:all on a678faa |
exit 0; cargo 1 959 passed, 0 failed, 3 ignored; same suites green; module 1 512 071 B raw, 558 793 B gzip -9, 568 625 B by Node's gzip (budget 600 000, margin 31 375 B) |
| first run on the working tree | stopped at the committed-types guard only (DrawingResult.ts, SvgCleaning.ts regenerated, not yet committed); every stage before it green |
mutations (2026-10-29-v1-2-2-mutations-arbitrations.py) |
A1-A12 on 5281337: 12 killed (A11 first written so it did not compile, rewritten, killed); A13-A17 after a678faa: 4 killed, A17 (% taken into the id run) survives as an equivalent mutant, is_reference_name refusing % either way (A14 kills the grammar check itself) |
protected readers, N-1 copies, frozen oracles, goldens, supabase/ |
no file changed (git diff --name-only 17d9199) |
| DEV and sandbox containers | docker inspect identical before and after every gate (start times, restart counts) |
Reviews (fresh; the pinned Fable 5.1 had no credits left and the Opus alias answered model_not_found, so both ran on
Sonnet):
| Round | Verifier | Security |
|---|---|---|
17d9199..5281337 |
ECARTS(2): B4 LOW (érgb(, rgurl(#b( passed the colour exception), A6 open; doc drift |
BLOCK(1) HIGH: url(#%61) (and Chromium's url('#<TAB>a')) passed the dangling check, the scoping and the expansion budget, resolving in Chromium 1248 and Firefox 1555 (budget hole pre-existing since R3); MEDIUM scope unique per document only; 3 LOW |
5281337..a678faa |
ECARTS(2): A6 open; B10 LOW (stale size figures, one wording in ANNOTATION-RENDERING); owner procedure not precise enough | PASS; MEDIUM carried as a written requirement; LOWs: composer check shares the reader's parser, no test delivers a real tab, TS helper oracle, mutation script |
pnpm check:all on f1ef6a4 (final code) |
exit 0; cargo 1 959 passed, 0 failed; core-wasm 65, supabase 128, app 566; e2e:ui 26; Docker stages; module 1 512 413 B raw, 558 859 B gzip -9, 568 696 B by Node's gzip (margin 31 304 B) | — |
| after | the LOWs fixed in f1ef6a4: sizes, wording and counts in RUST.md; a coarse url( count in the composer check that shares no parser; 	, , spellings in svg_clean; the owner procedure rewritten (same source file, live-text variants, --nocapture, date in the name, Affinity) |
— |
Inkscape provenance: not installed; inkscape.org 504 then timeout; apt-get download of inkscape_1.4.3-0ubuntu2_amd64.deb
(sha256 24a2e9225c2cdcaad8f3e36a8b7a0f5a68db58ed67fc6f67455395fdd918326e, equal to apt-cache show) and 22 library
packages into the session scratch folder, dpkg-deb -x, run with LD_LIBRARY_PATH (no install, no sudo).
Open at the checkpoint: A6 (Illustrator, Figma, Affinity exports from the owner); the MEDIUM (a page inlining two
documents needs a per-document prefix); the probe folder of the first security review, whose deletion the permission
rules refused (scratchpad/probe-audit of session 0cee2841), to be removed by the owner.