Commit Graph
250 Commits
Author SHA1 Message Date
bchanot d74c54ed05 feat(supabase): owner trial served on the LAN address, sandbox kept on loopback 2026-11-04 22:36:50 +01:00
bchanot 6f0fa41c29 docs(docs): V1-2.6 state, final unit count 2026-11-04 21:04:06 +01:00
bchanot 6471b25812 docs(docs): V1-2.6 state after the checkpoint decisions 2026-11-04 20:35:54 +01:00
bchanot c5fd3c3df6 docs(docs): trial guide, port not yet released after down 2026-11-04 20:35:47 +01:00
bchanot 086d6e939b docs(docs): owner trial guide for the checkpoint decisions, SSH tunnel 2026-11-04 20:22:05 +01:00
bchanot 7a4ce9eb58 docs(docs): V1-2.6 state with the sandbox suites in contract order 2026-11-04 18:55:56 +01:00
bchanot 5bd12261a5 docs(docs): V1-2.6 state with the final gate counts 2026-11-04 18:17:45 +01:00
bchanot 0764eb122b docs(docs): trial guide, edge correction needs a large drawing 2026-11-04 17:42:31 +01:00
bchanot d10ba5d5dd fix(editor): verifier gaps: ratified wordings, copy messages, real SVG journeys 2026-11-04 17:27:45 +01:00
bchanot 071b58a5f6 docs(docs): V1-2.6 state, AAL2 residual as a production prerequisite 2026-11-04 15:59:20 +01:00
bchanot bb99edd2dd fix(editor): load the core's defaults-filled document, trial guide fixes 2026-11-04 15:35:19 +01:00
bchanot 5097fd7484 test(editor): V1-2.6 browser journeys on the sandbox, touch drag and findings fixes 2026-11-04 15:27:35 +01:00
bchanot ac5fbfbc44 feat(supabase): owner trial sandbox commands and the V1-2.6 trial guide 2026-11-04 14:11:23 +01:00
bchanot 2f824a947c feat(supabase): add draft_last_save to the sheet admin read (M8, sandbox only) 2026-11-04 11:40:22 +01:00
bchanot ee6decbe4e docs(docs): record the aal2 token residual risk as a production prerequisite 2026-11-03 22:04:28 +01:00
bchanot 431999e45c docs(docs): V1-2.5 checkpoint corrections in browser tests, identity, contract
Eight phone skips by design, the unreadable-permissions and live-region checks, species order and Paris expiry restated in contract 7.2 and 4, PermissionsUnavailable in the folder map.
2026-11-03 00:14:19 +01:00
bchanot f5456f330d test(supabase): concurrency seeding accepts Storage's duplicate answer
After e2e:shell seeds the same content-addressed drawing, Storage answers HTTP 400 with statusCode 409 (KeyAlreadyExists); any other 400 still fails. Docs: M7 adds no new write path; a TOTP code replays more than once within its span.
2026-11-02 23:31:49 +01:00
bchanot dcb1a94ee4 docs(supabase): V1-2.5 checkpoint decisions, TOTP reuse measured, lost-factor review
IDENTITY 4.1 asserted reuse span (step N and N+1), 4.2 lost authenticator paths and gaps, production prerequisite; V1-2 contract 12.3, 13, 17.10, 17.11; design README accepted deviations; REVUE L15 and object_conflict EN; M7 header.
2026-11-02 22:57:22 +01:00
bchanot 51225cacf6 fix(app): grant expiry ends the chosen day in Paris; species order 0..9999 (V1-2.5 L2)
Owner checkpoint 2026-11-02: expiry 23:59:59.999 Europe/Paris (picker, validation, display), tests under non-Paris zones and DST days; M7 redefines create_species and update_inactive_species with the range check; pgTAP 015 and 022; « Relecteur ou relectrice »; object_conflict EN; setup key selectable, no Copy.
2026-11-02 21:29:33 +01:00
bchanot 3d2b5a5f1c docs(docs): V1-2.5 administration, MFA, catalogue documented
CLAUDE.md overview and folder map, IDENTITY §1 and §4, BROWSER_TESTS shell specs, V1-2 contract §16.6 state and §5.7.3-§5.7.4 pointers, design README owning steps with two deviations.
2026-11-02 17:48:50 +01:00
bchanot 9f7824dc08 fix(supabase): get_sheet_version returns a deprecated version's fingerprint
PreviewSheet checks the fingerprint of published and deprecated versions; M5 gave it for published only, so no withdrawn version opened in the catalogue. Redefined in M7 (owner decision, BDR-098); pgTAP 022 +3, suite 1941 on the sandbox; contract §10, §12.3, §17.10.
2026-11-02 17:18:26 +01:00
bchanot bbab0e61cb feat(domain): sheet.empty free op for a new sheet's document (V1-2.5 C)
Wraps create_empty_sheet_document; refusals invalid_shape / invalid_json; ts-rs SheetEmptyInput, core-wasm proof, app wrapper emptySheetDocument.
2026-11-02 16:19:49 +01:00
bchanot 78791bfb6b test(supabase): GoTrue MFA behaviour proven on the sandbox (V1-2.5 A)
Ten cases on the pinned GoTrue: aal1 cannot enrol a second factor or remove a verified one (no STOP); removal downgrades only the sessions verified with that factor; password change and reset need aal2 once a factor is verified. Findings in IDENTITY.md §4.1.
2026-11-02 16:19:47 +01:00
bchanot 3d80812cdb docs(docs): V1-2.5 start, prerequisites and owner answers
Contract §17.10 (V1-2.1 VERIFIED at ac71c5b, V1-2.2, V1-2.4 approved), §3 EN « Permission », §12.3 M7 admin reads, §16.6 SQL and working-copy action, §16.2 state; step contract and plan.
2026-11-02 16:06:54 +01:00
bchanot 567f27e37d docs(docs): record the V1-2.4 owner graphic approval
V1-2.4 GRAPHICAL APPROVED: twelve boards and the « Accès non autorisé » page, unchanged. Contract §16.5 state, §17.9 (object_conflict FR, L14, L20 EN, L32 EN, messages checked at integration, L15 second sentence open), §3 and §11.3 pointers; REVUE.md labels and status; design README validated with owning steps.
2026-11-02 15:38:42 +01:00
bchanot 27e5727cca docs(docs): V1-2.4 owner label arbitrations and board 05 framing
BDR-095 references in the contract (§3 L11, §14.2, §16.8 review lists, §17.8). Board 05 shows the whole horse at 768 px; 05, 06, 07, 09, 10, 12 carry the labels ratified on 2026-11-02; REVUE.md lists ratified and open labels. Still a proposal, no global graphic approval.
2026-11-02 14:52:36 +01:00
bchanot 9adbd3ac34 docs(docs): V1-2.4 final graphic corrections and access-denied board
Owner brief « dernières corrections graphiques »: sheet-name search only (01), whole horse at opening on a phone (03), vertex wording (04), 1 024 px instead of a device (05), distinct failed/unavailable titles (06), board 12 rows. Complementary « Accès non autorisé » board outside the twelve. Still a proposal.
2026-11-02 13:51:19 +01:00
bchanot 7979506f35 docs(docs): V1-2.4 catalogue access UX and verdict_refused divergence
Records BDR-094 in the V1-2 contract (§5.3 hidden entry and « Accès non autorisé » page, §11.1 reviewer-only Administration content, §6.5 no operator notification, §17.8) and in REVUE.md. Boards unchanged, still a proposal.
2026-11-02 12:53:28 +01:00
bchanot f00d8b4e4c docs(docs): V1-2.4 maquettes proposal, verification worker risk register
docs/design/v1-2-4: twelve functional mockups on the existing identity
(catalogue, editor, narrow read-only, verification states, review, admin
navigation, FR/EN labels), not validated. V1-2 contract §13.1: accepted risks
VR-1 (CPU contention, MEDIUM) to VR-5 with their re-examination condition.
2026-11-02 00:11:04 +01:00
bchanot f924ad056d test(supabase): sheet-assets e2e on the sandbox only
pnpm e2e:sheet-assets is now an alias of pnpm db:sandbox sheet-assets-e2e:
gateway on 127.0.0.1:57800 (occupied port refused), the runner refuses any
URL but the sandbox gateway and any key not issued by the sandbox, before
building or any request; no DEV URL, port or key remains.
2026-11-02 00:09:02 +01:00
bchanot 093083da07 docs(docs): STORAGE §6 no longer pairs the e2e suite with a DEV worker 2026-11-01 23:39:45 +01:00
bchanot bb8acbe663 docs(docs): V1-2.3 closure adjustments, review and gates 2026-11-01 23:24:19 +01:00
bchanot 2762ad2aba docs(docs): e2e:avatar is the sandbox run 2026-11-01 23:01:52 +01:00
bchanot a5844b9d56 feat(supabase): verification retry by effective cause
resource_limit (intrinsic to the frozen input: frame, input or output cap,
SIGXCPU, SIGABRT, SIGSYS) and verdict_refused close the round at the first
occurrence; timeout, unavailable (now also an external SIGKILL) and
lease_expired keep the 2/5/10/20 s retries up to five attempts. pgTAP 021: 89;
sandbox case k closes at attempt 1.
2026-11-01 23:01:30 +01:00
bchanot cdd43ac431 test(supabase): avatar e2e on the sandbox only, per-session seed secret
pnpm e2e:avatar is now an alias of pnpm db:sandbox avatar-e2e and the DEV
script scripts/avatar-e2e.sh is removed; the suite fails on any target but
the sandbox gateway and database; an occupied port 57800 stops the run before
anything starts. The sandbox replaces the seed accounts' DEV password by a
per-session secret.
2026-11-01 22:55:23 +01:00
bchanot 550a785c38 docs(docs): V1-2.3 sandbox suite and shell rerun on the final M6 2026-11-01 21:49:50 +01:00
bchanot ff1b4959d7 docs(docs): V1-2.3 reserves results and gates 2026-11-01 21:24:36 +01:00
bchanot 5adad3709f feat(supabase): retry delay of 2, 5, 10, 20 s for technical verification failures
M6 amended in place (applied only to the throwaway sandbox): a hidden
not_before on the round, set by fail_sheet_verification and honoured by the
claim; RPC signatures unchanged. pgTAP 021 (68), sandbox cases i (delay with
the real worker), j (inputs at the caps, 2 MiB base), k (just beyond).
2026-11-01 21:09:00 +01:00
bchanot 2a84e3702e test(supabase): avatar suite on the sandbox, per-run sandbox passwords
pnpm db:sandbox avatar-e2e runs tests/e2e/avatar-flow.e2e.ts with the real
worker (default mode) on the throwaway stack; the suite now requires its
database container by name, makes both accounts per run and expedites only
its own purges. Throwaway sandbox accounts get random passwords per run.
2026-11-01 21:02:59 +01:00
bchanot 96b19e5a87 docs(docs): V1-2.3 second reviews, worker-verify memory in DEPLOY 2026-11-01 18:20:38 +01:00
bchanot 6b40a00477 docs(docs): V1-2.3 verifier notes on caps and DEV rule 2026-11-01 18:13:09 +01:00
bchanot eb94b1b309 docs(docs): V1-2.3 final gates 2026-11-01 18:03:37 +01:00
bchanot 6aa85fe7e4 fix(worker): V1-2.3 hostile corpus through verify, verdict and memory caps aligned 2026-11-01 17:55:49 +01:00
bchanot 7043d39ae0 docs(docs): V1-2.3 verification worker, M6, sandbox e2e and rehearsals 2026-11-01 17:38:07 +01:00
bchanot 0edef2f66d docs(docs): V1-2.2 closure, owner verdict VERIFIED and accepted LOWs 2026-11-01 16:38:52 +01:00
bchanot c73415abef perf(anatomy): V1-2.2 skip arc spread sampling where unused
Third security review LOW: the f32 spread of an arc is sampled only
when an outline is drawn and under its vertex cap; the variants'
extremes still join the bounds.
2026-11-01 13:31:39 +01:00
bchanot 86dce16b09 fix(anatomy): V1-2.2 model arcs as browsers store them
Second security review: endpoints equal in f32 draw no arc, as in
browsers; an arc carries the spread of its f32 variants (endpoint or
radius moved one ulp) in its deviation and their extremes in its
bounds. Probe and mutants extended.
2026-11-01 13:04:43 +01:00
bchanot 03be75beed fix(anatomy): V1-2.2 refuse arc radii browsers read as zero
Security review of the interior rule: an arc radius below f32
precision was scaled by the core to a half disc the browser never
fills. Nonzero radii below 2^-20 make the path unreadable; arcs add
their f32 drift to the chord deviation; tracing stops past the vertex
cap; a path without outline is refused.
2026-11-01 12:40:14 +01:00
bchanot 8dd2d78d38 fix(anatomy): V1-2.2 refuse zones without a usable interior
A polygon or path zone or trigger must fill a disc of 4 CSS px on the
320 x 568 preview under the layer's nonzero rule, stroke left out:
conservative widest-disc search on the flattened outline, caps and a
per-sheet budget, closed codes interior_too_small and
marker_interior_too_small. Browser probe on six projects.
2026-11-01 12:19:08 +01:00
bchanot 76ead9567c fix(anatomy): V1-2.2 path numbers bounded by the frame magnitude
Fresh security review and verifier (MEDIUM): browsers read path data in
f32 and draw nothing for an arc radius or rotation past f32::MAX (WebKit
from 1e30) while the endpoints kept the verdict green. Every path and
viewBox number is now read within 2^20, else the path is unreadable.
Docs: section 12.12 transform table, mutation record, open zone finding.
2026-11-01 01:49:49 +01:00