Commit Graph
219 Commits
Author SHA1 Message Date
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
bchanot 96b99784b5 fix(anatomy): V1-2.2 refuse markers too small on the phone preview
Owner decision 2026-11-01: the scale bypass (viewBox blown up, drawing
scaled back) is closed by the visible size, 4 CSS px on the editor at
320 x 568 (equine junctions 4.97 px), verdict marker_too_small. A frame
is usable only where browsers draw it faithfully: edges within 2^20,
span from 1 unit, aspect 100, offset 256 spans; measured in 3 engines.
2026-11-01 01:28:48 +01:00
bchanot 9c606aa567 fix(anatomy): V1-2.2 the visible wins on the editor canvas
Owner decision 2026-11-01. The canvas paints and hits every point hitbox,
then every zone and trigger, then every visible twin, which captures on
what it paints; a junction's disc is no longer taken by the zone drawn
after it. The PDF view keeps the document order and its bytes. Click
spec: the five fixme run unmarked, six projects incl. a 320 px phone.
2026-11-01 00:56:11 +01:00
bchanot 4f52f5e1c4 fix(anatomy): V1-2.2 marker layer and halo outside the drawing's group
Owner-approved lot B (brief 2026-11-01). The composition root is the
engine's (namespaces and frame); the drawing's root becomes a group and
the marker layer and halo are its siblings, so no root property reaches
a marker. Point hitboxes declare stroke none and visibleFill. Census over
the reader's whole allowlist; R3 references compared under the declared
transform; click proofs in three engines.
2026-11-01 00:39:57 +01:00
bchanot faa53c7956 docs(docs): V1-2.2 view frame rule in RUST.md 12.11, contract, rendering 2026-10-30 20:54:46 +01:00
bchanot a095ea0e1b docs(docs): V1-2.2 final A6 perimeter, root visibility, open findings 2026-10-30 18:56:48 +01:00
bchanot 6ed4d21eb3 docs(docs): V1-2.2 reserved ids in RUST.md 12.9, contract, Illustrator steps 2026-10-30 17:31:00 +01:00
bchanot 2f1f0764bf docs(docs): V1-2.2 finalisation review drift, canvas size cap, TODO 2026-10-30 15:21:05 +01:00
bchanot 7d9ab8cf2f fix(anatomy): V1-2.2 glued url( removed everywhere, Figma exports, mask units
The reader removes any attribute holding a url( that url_openings does not read, so reader, verdict, preview, canvas and PDF view accept the same drawings. maskUnits, maskContentUnits, clipPathUnits allowed with their two keywords (owner go). The owner's two raw Figma exports committed as fixtures with fixed expectations.
2026-10-30 15:05:56 +01:00
bchanot 05de816962 chore(memory): V1-2.2 final module size, check:all on f1ef6a4, journal 2026-10-29 17:22:03 +01:00
bchanot f1ef6a466f fix(anatomy): V1-2.2 review LOWs, owner export procedure, evidence
Composer check counts url( openings apart from the reader; tab and
newline character references tested; RUST.md sizes and counts of the
final build; owner procedure for Illustrator, Figma and Affinity.
2026-10-29 17:15:02 +01:00
bchanot a678faaa23 fix(anatomy): V1-2.2 read url() references in their strict spelling only
Security review BLOCK(1): url(#%61) passed the dangling check and the
per-view scoping and resolved in browsers. One strict reading now, other
spellings are active content; glued names are other functions; the
composer refuses an unscoped reference; owner export procedure.
2026-10-29 16:49:15 +01:00
bchanot 93e4e81bda docs(docs): V1-2.2 owner arbitrations in the contract and RUST.md
Contract §6.5, §6.7, §8.1, §9.2, §9.3, §10, §13, §15 and §17.4 for the
SVG references, the stored form, colours and removals; RUST.md §12.7
records what was built, the declared oracle changes and the size audit.
2026-10-29 16:24:19 +01:00
bchanot 17d919971e chore(memory): V1-2.2 checkpoint, evidence, BDR-086, LRN-097/098, TODO 2026-10-29 14:05:28 +01:00
bchanot ca31b787b6 fix(domain): V1-2.2 second review round, linear walks, bounds, CSS loaders
Verifier ECARTS(3) and security PASS on 8294d54: one indexed walk per
view chain in sheet.edit, a set for referenced drawings, released
preview parses, xml:base and CSS loaders refused, fail-closed PI scan,
PI drawings rejected by the preview, the builder naming its cap.
2026-10-29 13:58:32 +01:00
bchanot 8294d5471c fix(anatomy): V1-2.2 review findings, PIs and HTML refused, bounds
Security audit (PASS, 2 MEDIUM, 2 LOW) and verifier (ECARTS 6) on
741c25c: processing instructions and HTML fetchers refused, active
content under a long title classified, linear review groups, full
fixpoint check, bounded preview drawings, missing cap fixtures and
property checks, record wordings.
2026-10-29 13:38:33 +01:00
bchanot 741c25c464 docs(docs): V1-2.2 RUST.md §12, contract decisions, core pointers
RUST.md §12 records the authoring core, its proofs, measures and
residual risks. The contract records the owner's V1-2.2 answers
(§17.4): editor exports supplied by the owner, the strict-parse code,
the draft load rule; CLAUDE.md and the sheet-model rule point to it.
2026-10-29 13:14:23 +01:00
bchanot 532c61e087 docs(docs): V1-2.1 measured equine size, e2e:sheet-assets citers, logs
The M5 row gives the measured content::text size; §15 and §16.4 point the
e2e:sheet-assets rerun to the owner; the walk log carries its script and
the HTTP timing lines are committed.
2026-10-28 21:15:08 +01:00
bchanot 9350366913 docs(docs): V1-2.1 M5 row, e2e:sheet-assets as an owner step, walk log
Contract §12.3 M5 row names the size CHECK swap and its validation on DEV
rows; §9.5 and §16.11 move the e2e:sheet-assets rerun to the owner (DEV
target). Evidence: 017 count, raw number-walk timings committed.
2026-10-28 21:08:23 +01:00
bchanot f9e40ba6aa docs(docs): V1-2.1 the size guard's number walk is linear 2026-10-28 20:34:36 +01:00
bchanot 5620399492 docs(docs): V1-2.1 size bound on numbers, M7 note in 9.5, old measure
Contract §1 and §9.5 aligned with the text measure and the Git fixture,
§12.2 says where the size vectors live and how numbers are bounded.
2026-10-28 20:08:19 +01:00
bchanot 7eca44167b docs(docs): V1-2.1 owner decisions M6, M7 fixture and the size measure
Contract §5.2, §5.5 (owner may review others' drafts), §12.2 (one text
measure for SQL, TypeScript and Rust), §12.3 and §16.2 (Git fixture for
the upgrade, live DEV object not read), §15 tests, §17.3 decisions.
2026-10-28 19:32:57 +01:00
bchanot a21866e25c docs(docs): drop stale references to the removed SQL mirror and client gate 2026-10-28 18:14:10 +01:00
bchanot 9c13bae4bc docs(security): ratify AR-1 MFA for platform roles
AR-1 option B (BDR-083): aal2 for every platform role change. Contract 5.7 rule, path inventory, bootstrap, factors, recovery, sessions; F17-F19; M4 scope, tests, DEV preconditions; fresh security review integrated (19.4).
2026-10-28 12:20:11 +01:00
bchanot 7fec2ce86f docs(docs): consolidate V1-2 contract with ratified O1-O23, open AR-1 2026-10-28 11:35:51 +01:00
bchanot 78636d0bd5 docs(docs): draft V1-2 anatomical sheets contract, record V1-1 merge 2026-10-27 22:36:48 +01:00
bchanot f93412c8e9 docs(supabase): close RESP-01, AVATAR-01 class A, AVATAR-02 ticket 2026-10-27 19:44:36 +01:00
bchanot 8c8478c052 docs(supabase): DEV acceptance run, RESP-01 and AVATAR-01 recorded 2026-10-27 19:37:55 +01:00
bchanot 7244648b4c test(supabase): pgTAP 007 and 010 independent of the base's data 2026-10-27 14:44:03 +01:00
bchanot 6c36e2f22d docs(supabase): sandbox role prerequisite for the DEV restore check 2026-10-27 13:52:05 +01:00
bchanot fcac11294b docs(supabase): restore check on a filtered TOC that must exit 0 2026-10-26 22:00:51 +01:00
bchanot a2507fc083 docs(supabase): restore check reads pg_restore exit and every error 2026-10-26 21:46:02 +01:00