From 57b93afae6cf9308b98a3ff07b58f626b350e72d Mon Sep 17 00:00:00 2001 From: bchanot Date: Sun, 1 Nov 2026 23:47:04 +0100 Subject: [PATCH] chore(memory): V1-2.3 closure verified, journal --- .claude/memory/journal.md | 1 + .claude/tasks/TODO.md | 2 +- CLAUDE.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 43c53b49..791346e8 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -500,3 +500,4 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp - 2026-11-01 V1-2.2 last MEDIUM: interior rule (4 px disc, nonzero, stroke out) 8dd2d78 + review fixes 03be75b (sub-f32 arc radius). Equine kept (caudal 4.95 px). Chromium touch adjustment measured. LRN-105..107. Checkpoint pending owner. - V1-2.2 closed VERIFIED (BDR-092, LRN-108, mutations re-anchored, delta verifier CONFORME). V1-2.3 built on sandbox: M6 RPCs, worker verify child + sheet-verify mode, brk added to seccomp (traced), verify-e2e 7/7, rehearsals ok, check:all + e2e:shell green on 6aa85fe; security PASS. Open for owner: proposals (codes, limit 5, lease 10 min, caps, service name, shared brk), e2e:avatar targets DEV, no backoff LOW. DEV untouched, no merge. - 2026-11-01 V1-2.3 reserves: avatar-e2e on sandbox 5/5, retry delay 2/5/10/20 s in SQL, caps proofs child + sandbox, brk bounded, per-run sandbox passwords, LRN-109; security PASS (null lease token MEDIUM fixed); verifier ECARTS(2) → CONFORME. Checkpoint, no merge, no DEV. +- 2026-11-01 V1-2.3 closure: retry by cause (resource_limit, verdict_refused definitive; timeout, unavailable incl. external SIGKILL transient), e2e:avatar = sandbox alias (DEV script removed, suite refuses other targets and issuers), per-session seed secret, floor reductions recorded, V1-2.4 scope prepared. Review PASS; verifier ECARTS(1) → CONFORME. Checkpoint, no merge, no DEV. diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 11061e2d..161a70bc 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -652,7 +652,7 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] C3 `pnpm e2e:avatar` = alias of the sandbox run, scripts/avatar-e2e.sh removed, references updated - [x] C4 sandbox seeded accounts get a per-session secret (no DEV seed password dependency) - [x] C5 four historical test reductions recorded in `.claude/audits/2026-11-01-v1-2-floor-reductions.md`: none hides a security coverage (O22 mirror removal and client gate, server gate tested; one false positive) - - [x] C6 gates on 3c141c9 (check:all, test-db 1898, test 87, verify-e2e 10/10, e2e:avatar 5/5, e2e:shell 86, DEV untouched); targeted review PASS, 3 LOWs fixed, MEDIUM CPU-contention timeout + 3 LOWs open for owner; verifier pending · C7 V1-2.4 scope `.claude/tasks/contracts/2026-11-01-v1-2-4-wireframes-scope.md` + - [x] C6 gates on 3c141c9 (check:all, test-db 1898, test 87, verify-e2e 10/10, e2e:avatar 5/5, e2e:shell 86, DEV untouched); targeted review PASS, 3 LOWs fixed, MEDIUM CPU-contention timeout + 3 LOWs open for owner; verifier ECARTS(1) (STORAGE §6 DEV pairing) → fixed 093083d, delta verifier CONFORME · C7 V1-2.4 scope `.claude/tasks/contracts/2026-11-01-v1-2-4-wireframes-scope.md` - [ ] V1-2.4 wireframes (editor, review, admin entry) · V1-2.5 catalogue, admin space, rights, species, MFA · V1-2.6 editor level 1 · V1-2.7 preview, review, publication UI · V1-2.8 equine working copy and review preparation · V1-2.9 FR/EN acceptance and closure (owner checkpoints V1-2.3, V1-2.4, V1-2.6, V1-2.7, V1-2.8, V1-2.9 + each DEV operation of contract §16.11) ## Release readiness track (owner 2026-10-25, distinct from the functional roadmap; nothing here authorises a release or exposure) diff --git a/CLAUDE.md b/CLAUDE.md index 8cc67e09..345e531b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -287,7 +287,7 @@ faunosteo/ │ ├─ core/ ← faunosteo-core: domain/{js,sheet,report,archive,editor,session} (contracts and rules; sheet/{size,keys,caps,review,report,verdict,preview,edit} since V1-2.2: server document measure, review groups and digests, the server verdict, PreviewSheet, the editor's commands, RUST.md §12), anatomy/{svg/{prescan,tree,sanitize,refs,number,serialize,clean},layer,compose} (R3: the one SVG reader, the layer, canvas + highlight composition), pdf/{read,json_js,import,write,compare} (R4: reader, writer and session, the archive check tool behind feature `cli`), ops.rs + facade.rs (`call`, `call_with_sheet`), json (JS number printing), curation/{text,ids,prettier_json,markdown,report_guard,legacy/*,draft/*} (R5, feature `curation`: Prettier layout, the legacy importer, the changeset applier, migration map, stats, seed SQL, CHANGELOG, REVIEW-REPORT, review drawings), curation/upload.rs (R5.5, feature `upload`: the upload rules, pure) + bin/report_compare.rs (`pnpm report:compare`) + bin/import_equine.rs (`pnpm r5:import-equine`) + bin/upload_sheet_assets/ (`pnpm assets:upload`, ureq; the three tools allowed std::fs); tests/{oracles,conformance,fixtures,pdf/LEDGER.tsv} frozen from the TypeScript (oracles/r3, oracles/r4, fixtures/svg/hostile); no I/O, no clock (lint-enforced) │ ├─ wasm/ ← faunosteo-wasm: wasm-bindgen facade (core_version, call, SheetHandle, PreviewBuilder → PreviewSheet, clean_svg; trap exports in the proofs build only) │ └─ worker/ ← faunosteo-worker: plain main; `decode` sandboxed child (rlimits, seccomp allowlist, image → libwebp), parent Spawner + RIFF check; V1-2.3 `verify` sandboxed child (framed input → the core's `compute_verdict`) and `run --jobs sheet-verify` (verify_job, VerifyBackend: M6 RPCs + drawing downloads); R1 `run` loop: config, log (JSON lines, allowlist), keys, backend trait + http (ureq, PostgREST rpc + Storage objects), job, sweep, watchdog; Dockerfile, scripts/derive-seccomp.sh -├─ scripts/{rust-env,rust-check,wasm-build,check-all,report-compare,import-equine,upload-sheet-assets,sheet-assets-e2e,floor-clarification-check}.sh, wasm-stamp.mjs ← native Rust gate, wasm build (pkg + pkg-proofs + stamp), the pre-merge gate (`pnpm check:all`), the real-stack avatar e2e, the archive check tool (`pnpm report:compare`), the Rust pipeline (`pnpm r5:import-equine`) +├─ scripts/{rust-env,rust-check,wasm-build,check-all,report-compare,import-equine,upload-sheet-assets,sheet-assets-e2e,floor-clarification-check}.sh, wasm-stamp.mjs ← native Rust gate, wasm build (pkg + pkg-proofs + stamp), the pre-merge gate (`pnpm check:all`), the archive check tool (`pnpm report:compare`), the Rust pipeline (`pnpm r5:import-equine`) ├─ scripts/{dev-env,supabase,dev}.sh ← the DEV origin (LAN address) in one place; CLI wrapper; `pnpm dev` on that origin ├─ docker-compose.yml ← `app` service; `worker` and `worker-verify` (V1-2.3, `run --jobs sheet-verify`) services under the `worker` profile (read-only, cap_drop ALL, external Supabase network, `.env.worker`) ├─ docker/rust-builder.Dockerfile, rust-run.sh, csp-proof/ ← reproducible Rust builder (alternative) + the CSP proofs (R0 module, R2 app image: app-image.sh)