Commit Graph
480 Commits
Author SHA1 Message Date
bchanot 2c8ac2ebe6 chore(chore): R4 plan rev 2 after three challenges; TODO, journal 2026-10-17 19:33:47 +02:00
bchanot 2f08dad1d7 chore(chore): R4 plan rev 1 2026-10-17 18:57:29 +02:00
bchanot ae845c672b chore(memory): R3 validated and merged into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-17 13:15:05 +02:00
bchanot 8df964bd91 Merge feature/rust-r3-anatomy-core into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-17 13:13:15 +02:00
bchanot db8c0efc1c docs(docs): R3 validated and merged; README rescue copy restore 2026-10-17 13:13:10 +02:00
bchanot 9bd612c062 chore(memory): R3 final checks recorded (BDR-056, BLK-012) 2026-10-17 13:00:22 +02:00
bchanot 9bd9acaf58 fix(app): rescue copy importable, trapping draft held, replace confirmed
The JSON rescue copy could not be restored in the app, a draft that traps
the engine left the tab on a reload screen and spent a recovery on every
read, and an unsaved or in-progress report could be lost by a reload
outside the editor or by New report / Import without warning.

Home import reads the copy (content-sniffed, 16 MiB cap, strict UTF-8)
through the core's draft.restore before any session change; a trapping
(draft, archive) pair is held in the resolution panel and only re-read
on Retry; ReplaceSessionDialog guards New report and Import; the
beforeunload guard is app-wide while unsaved. Supersedes BDR-055's
"never held" for `internal` only.
2026-10-17 12:58:57 +02:00
bchanot 9464651140 chore(memory): R3 stopped-state audit and fix recorded (BDR-055, BLK-011) 2026-10-16 18:27:58 +02:00
bchanot 6371523f8c fix(editor): honest stopped state when the draft is unsaved; no dead retry
0279953 chose the stopped message from CoreRuntime.stopped alone: it
promised the report was kept even when the tab's storage refused the
draft (export, the banner's advice, needs the core), four surfaces still
offered a retry that could not work, and a failed recovery below the cap
was a dead end since nothing called retry().

The runtime restarts a failed recovery on the next call (compiled module
reused, cap still counts traps) and notifies status listeners. One
CoreStoppedNotice on the editor, Home, New report and the full-page
notice: reload when saved, else core.stopped_unsaved with a core-free
copy download (also on the storage-full banner) and a beforeunload
guard. Export, import and new report say the stopped message; a core
failure reading an unread draft is FAILED, not held. ESLint census of
the failure keys; core.stopped says "plusieurs erreurs".
2026-10-16 18:26:10 +02:00
bchanot 0279953e9e feat(editor): a clear final state once the engine spent its three recoveries (canvas and action alerts) 2026-10-15 17:58:11 +02:00
bchanot f0580922b5 chore(memory): journal, R3 owner decisions gated 2026-10-15 01:09:49 +02:00
bchanot 2aa27b8e64 chore(chore): R3 owner decisions verify contract 2026-10-15 01:06:41 +02:00
bchanot 4553bf9b06 chore(memory): R3 follow-ups kept by the owner 2026-10-15 01:03:31 +02:00
bchanot 75708250a8 docs(docs): R3 owner decisions (trigger names per language, two canvas failure messages) 2026-10-15 01:03:17 +02:00
bchanot c0a5c8c7ce feat(editor): the canvas tells an engine failure (retry) from a view it cannot draw (no retry) 2026-10-15 01:03:16 +02:00
bchanot 6882c6da4a feat(anatomy): an unnamed trigger carries the opened view's name per language 2026-10-15 01:00:44 +02:00
bchanot d8e9bd391a docs(docs): unnamed trigger names follow each language (owner decision 2026-10-15) 2026-10-15 01:00:43 +02:00
bchanot e1b56083c6 docs(docs): R3 figures at the final commit; TODO and journal after the gates 2026-10-15 00:45:21 +02:00
bchanot 0dc49debc4 chore(memory): BDR-052, BDR-053, LRN-056, EVAL-022 (R2 maintenance, R3) 2026-10-15 00:43:11 +02:00
bchanot 23895b9351 fix(anatomy): url() locality skips CSS whitespace only (security audit R3 pass 2) 2026-10-15 00:40:30 +02:00
bchanot 157c854ed1 fix(anatomy): prescan closers searched after their opener; ASCII-only href trim; root painting attributes removed (security audit R3) 2026-10-15 00:25:43 +02:00
bchanot d3d63394dd chore(memory): R3 progress (TODO, journal) 2026-10-15 00:11:35 +02:00
bchanot 39615c7069 chore(chore): R3 verify contract 2026-10-15 00:10:49 +02:00
bchanot d6b5edb626 docs(docs): R3 in RUST.md §9, CLAUDE.md, CHANGELOG, PDF import gate note, packages README 2026-10-15 00:07:20 +02:00
bchanot 967c71c31e test(tests): visual-canvas dom and perf modes (Chromium DOM vs O1, timings, memory) 2026-10-15 00:03:50 +02:00
bchanot 62f930c14e test(pdf): R3 oracle generators typed without the DOM lib 2026-10-14 23:59:52 +02:00
bchanot 09a6cf7def feat(editor): the canvas draws the view the Rust core composed; denylist and anatomy dependency removed 2026-10-14 23:59:46 +02:00
bchanot 43a370aed1 feat(anatomy): text and output caps, hostile corpus through the shipped wasm within budgets; SheetSession poisons on non-closed throws 2026-10-14 23:55:22 +02:00
bchanot 842797b440 feat(anatomy): view.canvas op on the loaded sheet; drawings read once at load 2026-10-14 23:51:45 +02:00
bchanot 1ec9316a73 feat(anatomy): canvas and highlight composition in Rust (O1 + O3 tree-equal) 2026-10-14 23:50:14 +02:00
bchanot 67d9af3f79 feat(anatomy): annotation layer in Rust (O2 exact, attribute order kept) 2026-10-14 23:48:07 +02:00
bchanot ab41084a36 test(anatomy): clippy collapse in the sanitiser oracle test 2026-10-14 23:46:17 +02:00
bchanot 85c2183791 feat(anatomy): Rust SVG reader: tree, allowlist sanitiser, reference graph, serialiser (O4/O5 green) 2026-10-14 23:46:10 +02:00
bchanot a7b3d7a4c1 feat(anatomy): prescan caps attributes, namespace declarations and raw markup counts 2026-10-14 23:38:54 +02:00
bchanot 4e01710a34 docs(docs): ANNOTATION-RENDERING.md describes the code exactly (R3.0, no rendering change) 2026-10-14 23:37:14 +02:00
bchanot ddd3dc5332 chore(chore): R3 plan rev 2 after three challenges; TODO 2026-10-14 23:36:50 +02:00
bchanot e3168215f7 test(pdf): R3 O4 corpus edge cases (Number() values, namespaces, BOM, refused subtrees); roxmltree dependency 2026-10-14 23:34:34 +02:00
bchanot 5f53aaa222 feat(anatomy): bounded SVG markup prescan before any parser (R3) 2026-10-14 23:32:50 +02:00
bchanot b440a2f3fa test(pdf): R3 freeze O4/O5 sanitiser verdicts on the hostile corpus and the product SVGs 2026-10-14 23:30:56 +02:00
bchanot d1aa35e97c test(pdf): R3 freeze O3 highlighted compositions as trees 2026-10-14 23:29:05 +02:00
bchanot 969b872b98 test(anatomy): R3 freeze O2 layer trees with attribute order 2026-10-14 23:27:46 +02:00
bchanot 47c5f49014 test(tests): R3 freeze O1 canvas trees and the visual comparison script 2026-10-14 23:26:20 +02:00
bchanot fbc9526e57 chore(chore): R3 plan rev 1 2026-10-14 23:21:08 +02:00
bchanot aab61c2fe1 Merge bugfix/r2-maintenance into develop
ci / rust (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / supabase (push) Canceled after 0s
2026-10-14 23:20:32 +02:00
bchanot ad79fb88fa chore(memory): R2 maintenance closed (TODO, journal) 2026-10-14 23:20:30 +02:00
bchanot c97b0e7c67 fix(store): banner on a refused archive write, rescue download kept alive 2026-10-14 23:18:33 +02:00
bchanot a37c50b9ee fix(store): drop the replaced archive when the new one cannot be written 2026-10-14 23:15:54 +02:00
bchanot e5e2211476 chore(chore): R2 maintenance contract oracle count after dry run 2026-10-14 23:13:01 +02:00
bchanot eb741b62a6 chore(chore): R2 maintenance verify contract 2026-10-14 23:12:46 +02:00
bchanot 3be827b02e docs(docs): CLAUDE.md map and session-text rule after maintenance B 2026-10-14 23:12:07 +02:00