Commit Graph
844 Commits
Author SHA1 Message Date
bchanot 26e4b1b0ee chore(memory): V1-2.3 reserves verified, journal 2026-11-01 22:01:06 +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 bd65b81c41 chore(memory): V1-2.3 four residual risks with their status 2026-11-01 21:46:37 +01:00
bchanot ff1b4959d7 docs(docs): V1-2.3 reserves results and gates 2026-11-01 21:24:36 +01:00
bchanot 3bfd6c87aa fix(supabase): a null lease token is stale in the three M6 round RPCs
Security review MEDIUM: is distinct from let a null token match an unleased
verifying round (service role only). pgTAP 021: 72.
2026-11-01 21:19:54 +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 e967ce6736 test(worker): verify child at the input caps, brk bounded by the limits
Max frame (document and base 2 MiB, drawings 6 MiB) passes through the full
sandbox; refusals just beyond give caps verdicts; RLIMIT_AS and the argument
filters still stop the verify child; seccomp traced on the max input; the two
tracked misclassifications asserted as current behaviour.
2026-11-01 21:07:23 +01:00
bchanot a6de7d6b94 chore(memory): V1-2.3 reserves contract, plan, LRN-109 brk 2026-11-01 21:03: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 a48aaf7499 chore(memory): journal V1-2.2 closure and V1-2.3 build 2026-11-01 18:03:57 +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 5afb34ed0f test(supabase): V1-2.3 verification worker end to end on the sandbox 2026-11-01 17:34:33 +01:00
bchanot 13fe98ca0d chore(memory): V1-2.3 P1-P3 done 2026-11-01 17:20:08 +01:00
bchanot 31fbb0317f feat(worker): V1-2.3 sandboxed verify child and sheet-verify job mode 2026-11-01 17:20:07 +01:00
bchanot 345dde59e6 chore(memory): V1-2.3 worker plan 2026-11-01 16:51:31 +01:00
bchanot 1cd4344363 feat(supabase): V1-2.3 M6 worker verification RPCs, service role only 2026-11-01 16:51:31 +01:00
bchanot 1593305875 chore(memory): V1-2.2 final conformity, delta verifier CONFORME on I7 2026-11-01 16:51:30 +01:00
bchanot 5eca08688a chore(memory): V1-2.2 closure, mutations rerun on final code, BDR-092, LRN-108, V1-2.3 contract 2026-11-01 16:38:53 +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 e190dfc794 chore(memory): V1-2.2 interior rule evidence, tools, LRN-105..107 2026-11-01 13:40:57 +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 de2dfb392e chore(memory): V1-2.2 owner decisions evidence, BDR-091, LRN-103/104 2026-11-01 02:01:50 +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 e67715025c test(pdf): R4.1 manifest call-1 svgSha256 for the isolated layer
Owner-authorised (brief 2026-11-01): the one byte digest no declared
transform can map, a9a3155c to 45fd4aaf. Call 2 and every other R4
digest unchanged; the original stays in Git history (87b8873).
2026-11-01 00:40:07 +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 f1bb19b30b chore(memory): V1-2.2 three MEDIUM evidence, lot B patch, contract, TODO, journal 2026-10-31 23:39:40 +01:00
bchanot 9e49ed1b4d fix(anatomy): V1-2.2 frame slack on the span only, non-finite bounds refused
Security review: the edge slack grew with the frame's offset (a frame at
1e15 accepted a circle 4000 units past its edge) and f64 min/max drop a
NaN bound. The slack now follows the span only; a non-finite bound is
unreadable, never in frame.
2026-10-31 23:36:18 +01:00
bchanot 587cbb2b5d docs(docs): V1-2.2 frame no longer listed open in ANNOTATION-RENDERING 2026-10-30 20:57:43 +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 0c87c7f6c3 fix(anatomy): V1-2.2 refuse annotations outside their view's frame
A view without view_box was framed by the drawing's viewBox: moving it and
translating the drawing back left the horse identical and its 19 main-view
markers out of frame, accepted. One frame definition (view_box, else the
drawing viewBox read with the SVG grammar) now frames both composers and is
measured by the verdict (verification.validation.out_of_frame) and the
preview; curves and arcs on their shape. The document is never rewritten.
2026-10-30 20:54:46 +01:00
bchanot 958228a9de chore(memory): V1-2.2 root visibility evidence, A6 decision, BDR-089/090, LRN-102 2026-10-30 18:56:49 +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 d8562f60f5 fix(anatomy): V1-2.2 refuse a root visibility that hides the markers
Both composers append the marker layer as the root's last child, so a
root visibility="hidden" whose children set visible back drew the
drawing without a marker (0 marker pixels in Chromium and Firefox, PDF
and canvas). The reader refuses any root visibility but visible
(root_visibility); cleaning, verdict, preview, PDF gate and both
composers answer it.
2026-10-30 18:56:48 +01:00
bchanot 81f7639c75 chore(memory): V1-2.2 reserved ids evidence, mutations, contract, TODO 2026-10-30 17:31:01 +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 08efd9a792 fix(anatomy): V1-2.2 reserve the PDF halo id in the reader and composers
A drawing defining filter#osteo-halo replaced the PDF halo (a transparent
filter erased the marker); an element holding the id before the first
defs won its resolution. The reader refuses the id in any letter case
(reserved_id), both composers refuse such a tree, the halo is always the
engine's. Exact name only: osteo-overlays stays.
2026-10-30 17:30:48 +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 f976f33307 chore(memory): V1-2.2 finalisation, A6 scope, BDR-088, LRN-101, floor wording 2026-10-30 15:05:56 +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 98060d74a3 chore(memory): V1-2.2 owner decisions, BDR-087, LRN-100, final review 2026-10-30 12:50:01 +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