Commit Graph
312 Commits
Author SHA1 Message Date
bchanot 9c4603755e chore(memory): journal, DEV read incidents 2026-11-02 00:11:51 +01:00
bchanot 53cedf2499 chore(memory): repair TODO line, record the two DEV read incidents 2026-11-02 00:11:37 +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 8db62b43e2 chore(memory): BDR-093 V1-2.3 verified, CPU-contention MEDIUM accepted temporarily 2026-11-02 00:09:03 +01:00
bchanot 57b93afae6 chore(memory): V1-2.3 closure verified, journal 2026-11-01 23:47:04 +01:00
bchanot bb8acbe663 docs(docs): V1-2.3 closure adjustments, review and gates 2026-11-01 23:24:19 +01:00
bchanot c98a9c8f82 chore(memory): V1-2.4 wireframes scope prepared for the owner 2026-11-01 22:57:59 +01:00
bchanot e4c8e2aac3 chore(memory): V1-2 floor reductions recorded, closure C2-C5 done 2026-11-01 22:56:43 +01:00
bchanot efc9bedd9c chore(memory): V1-2.3 closure contract and plan 2026-11-01 22:55:24 +01:00
bchanot 26e4b1b0ee chore(memory): V1-2.3 reserves verified, journal 2026-11-01 22:01:06 +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 a6de7d6b94 chore(memory): V1-2.3 reserves contract, plan, LRN-109 brk 2026-11-01 21:03:00 +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 13fe98ca0d chore(memory): V1-2.3 P1-P3 done 2026-11-01 17:20:08 +01:00
bchanot 345dde59e6 chore(memory): V1-2.3 worker plan 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 e190dfc794 chore(memory): V1-2.2 interior rule evidence, tools, LRN-105..107 2026-11-01 13:40:57 +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 f1bb19b30b chore(memory): V1-2.2 three MEDIUM evidence, lot B patch, contract, TODO, journal 2026-10-31 23:39:40 +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 81f7639c75 chore(memory): V1-2.2 reserved ids evidence, mutations, contract, TODO 2026-10-30 17:31:01 +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 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
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 5281337412 chore(memory): V1-2.2 arbitration criteria, mutation script, TODO 2026-10-29 16:24:30 +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 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 ac71c5b662 chore(memory): V1-2.1 final checkpoint, TODO, journal 2026-10-28 21:21:09 +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 1f9fa8b835 chore(memory): V1-2.1 raw old-schema repro log, evidence, LRN, TODO 2026-10-28 20:51:17 +01:00
bchanot 7c4bf124f4 chore(memory): V1-2.1 review findings fixed, evidence, TODO, journal 2026-10-28 20:16:34 +01:00
bchanot 12816671e4 chore(memory): V1-2.1 final decisions evidence, BDR-085, TODO, journal 2026-10-28 19:41:17 +01:00
bchanot 2af61e72cc chore(memory): V1-2.1 portable M7 rehearsal, final evidence 2026-10-28 19:02:12 +01:00
bchanot f80f325fd6 chore(memory): V1-2.1 evidence update, M7 rehearsal scripts, TODO, journal 2026-10-28 18:44:00 +01:00
bchanot 4a829416c6 chore(memory): V1-2.1 corrections evidence, TODO 2026-10-28 18:14:11 +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 3914eaa866 fix(supabase): V1-2.1 harden M5 after the security and verifier gates
Fresh security audit PASS; verifier ECARTS(10) addressed:
- publish re-checks the approver's sheet_reviewer grant (publish.approval.invalid)
- scope disclaimer enforced at approve and publish (publish.disclaimer.missing, O6)
- to_confirm split from inherited (publish.to_confirm.open distinct from publish.inherited.present)
- save_sheet_draft requires an active sheet; working copy adds the 2 MiB octet_length check
- delete_sheet_asset EXECUTE revoked from service_role (§5.4 surface)
- species table comment updated (§7.2); lease columns dropped from the reviews grant
- lock order sheet->version->round in decide/publish; conflict_retry kind (40001/40P01) in sheets.ts
Tests: pgTAP 016 (omitted status, separation, revoked-reviewer + renewal, ack carry,
inactive-species publish refusal, deprecated-delete, schema_version 1, content-write
without actor, working-copy positive), 001 census (no other writer of profile_roles).
871 real-stack pgTAP / 122 PGlite / 4 sandbox green; typecheck, lint, types drift clean.
2026-10-28 16:20:51 +01:00
bchanot 77e5fa4cf5 feat(supabase): V1-2.1 M4/M5 secure sheet access and review workflow
M4 20261028100000_sheet_access_hardening + M5 20261028110000_sheet_review_workflow
(applied together; no unprotected window). Implements contract §5-§14.

- Catalogue rights table + owner RPCs; has_mfa / has_aal2_session (live
  auth.sessions check); grant_active vs caller_has split; catalogue reader
  predicate; can_edit_sheet on the sheet_editor capability (F14).
- AR-1 B: aal2 required on every platform role change, target verified factor,
  race-free last-owner guard (F18/F19); service_role loses table privileges on
  the catalogue + profiles/profile_roles and EXECUTE on the role RPCs (F12/F17).
- Reviewed lifecycle: version provenance + review columns, content/freeze/
  author triggers, rounds/comments/acknowledgments, save/submit/withdraw/
  comment/acknowledge/decide, atomic publish_sheet_version(review_id) on the
  stored verdict, deprecate/archive/restore, species RPCs, equine working copy,
  uploads with the storage check (F7) + editor INSERT policy + 2 MiB bucket.
  F1-F3,F5,F6,F8,F9,F13,F15,F16 closed. Verdict is a fixture until M6 (V1-2.3).
- O22: SQL business mirror removed, declared status check kept; pgTAP 011 and
  the Rust generator's SQL parts deleted, ledger retargeted.
- Access layer sheets.ts (closed SheetFailure kinds); old client publish gate
  deleted; types regenerated; upload tool reads via get_sheet_asset_state.

Tested on the throwaway sandbox only; DEV untouched. pgTAP 850 (real stack) /
122 (PGlite) green; real-GoTrue AR-1 B + F18 race green; fresh install and
M3->M5 upgrade green; V1-1 regression green; rust:check, typecheck, lint,
build, types drift clean. BDR-084, LRN-095.
2026-10-28 15:52:49 +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 41d3b09120 chore(memory): BDR-082 V1-2 decisions ratified, TODO, journal 2026-10-28 11:35:52 +01:00