From bb8acbe663fe4ddd8d0556be87a30b57f8dac150 Mon Sep 17 00:00:00 2001 From: bchanot Date: Sun, 1 Nov 2026 23:24:19 +0100 Subject: [PATCH] docs(docs): V1-2.3 closure adjustments, review and gates --- .claude/tasks/TODO.md | 4 ++-- docs/development/RUST.md | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index c82491a0..11061e2d 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -647,12 +647,12 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] residual risk 4, closed: sandbox throwaway password literal replaced by per-run random passwords (2a84e37); DEV seed passwords untouched - [ ] §16.11 queue inventory (avatars, purges) owed by the owner before any DEV activation; not done, not assumed - [ ] R closure adjustments (brief « Validation V1-2.3 (M6) et derniers ajustements », on 26e4b1b: V1-2.3 VERIFIED technically; contract `.claude/tasks/contracts/2026-11-01-v1-2-3-closure.md`): sandbox only, no DEV, no merge, then prepare V1-2.4 scope and STOP - - [ ] C1 retry by cause: resource_limit (intrinsic) + verdict_refused definitive at first; timeout, unavailable (incl. external SIGKILL), lease_expired transient + - [x] C1 retry by cause: resource_limit (intrinsic) + verdict_refused definitive at first; timeout, unavailable (incl. external SIGKILL), lease_expired transient - [x] C2 avatar-e2e port 57800 loopback, occupied port fails, suite refuses non-sandbox targets - [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) - - [ ] C6 gates + targeted independent review + verifier · C7 V1-2.4 scope prepared + - [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` - [ ] 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/docs/development/RUST.md b/docs/development/RUST.md index 6bf8a17e..f4cba3c5 100644 --- a/docs/development/RUST.md +++ b/docs/development/RUST.md @@ -4593,3 +4593,15 @@ What changes for the codes: a SIGKILL is now reported `unavailable` (it was `res outcome (`unavailable`) and the code list are otherwise unchanged. A definitive round closes after one child run instead of five identical ones. Still tracked and open: the header over 64 KiB is reported `resource_limit` where `caps` would name it (test `tracked_a_header_over_64_kib_is_reported_resource_limit`). + +Closure adjustments (owner brief « Validation V1-2.3 (M6) et derniers ajustements », 2026-11-01). `pnpm e2e:avatar` is +the alias of `pnpm db:sandbox avatar-e2e` and `scripts/avatar-e2e.sh` is removed: the suite throws at load unless its +URL is `http://127.0.0.1:57800`, its database container `faunosteo_dbsandbox_db` and both keys carry the sandbox's +issuer `db-sandbox`; an occupied port 57800 stops the run before anything starts. The sandbox gives its seeded +accounts a per-session secret after seeding (GoTrue, body on stdin), so no sandbox test uses the DEV seed password. +`fail_sheet_verification` refuses `lease_expired` (the claim's own record). Targeted review (retry policy, command +isolation): PASS; accepted and open: a document needing about 60 s CPU under host contention can reach the 90 s wall +deadline first and be retried as `timeout` (at most five runs, no publication effect); SIGABRT also covers a child +panic and a host ENOMEM, both closed `resource_limit`; a verdict bound to another round with a valid token answers +`stale` and waits for the lease. Gates on `3c141c9`: `check:all`, sandbox `test-db` 1 898 PASS, `types --check`, +`test` 87, `verify-e2e` 10/10, `e2e:avatar` 5/5, `e2e:shell` 86; DEV untouched.