Commit Graph
466 Commits
Author SHA1 Message Date
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
bchanot e34b7f282e fix(store): hold session texts whose set-aside fails, never overwrite them 2026-10-14 23:11:59 +02:00
bchanot 1312b366b1 chore(supabase): stop tracking the CLI's .temp/cli-latest cache 2026-10-14 22:27:40 +02:00
bchanot f99b4a581f fix(worker): bump rustls to 0.23.46 (RUSTSEC-2026-0346..0349) 2026-10-14 22:26:39 +02:00
bchanot 484f8515fd chore(memory): R2 merged into develop, BLK-010 resolved (worktrees removed)
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 21:57:56 +02:00
bchanot c3f28d8325 Merge feature/rust-r2-domain-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-14 21:57:30 +02:00
bchanot f768e94c5a chore(memory): R2 closure — L1 refusal (BDR-051), LRN-055, EVAL-021, journal, TODO, L1 verify contract 2026-10-14 21:57:19 +02:00
bchanot 8d7a56fbf8 docs(docs): RUST.md 8.6/8.7 module size after L1 and the JSON.stringify boundary invariant 2026-10-14 21:56:53 +02:00
bchanot f8a8b25614 docs(docs): L1 resolved, lone surrogates refused and set aside (RUST.md 8.7, PDF-FORMAT, CHANGELOG) 2026-10-14 21:49:40 +02:00
bchanot 5020954433 chore(workspace): drop isCoreBuilt, unused since the stamp gate replaced the skip helper 2026-10-14 21:49:39 +02:00
bchanot da8a0370cb fix(app): set lone-surrogate texts aside or refuse them with a message (L1)
A draft the core refuses as lone_surrogate is unreadable content: it
goes to osteo:quarantine:draft verbatim with the existing notice. An
import is refused as ImportError('lone_surrogate') with the owner's
wording (home.import.error_lone_surrogate, FR/EN), the file untouched.
The publish gate reads the kind as invalid_shape. Tests on the real
core: quarantine keeps the exact text, an editor action leaves the
report as it was, normal text with pairs and literal backslashes reads
unchanged.
2026-10-14 21:49:39 +02:00
bchanot 20d03cf7fd fix(domain): refuse lone UTF-16 surrogates instead of replacing them (L1)
serde_json already refuses a lone surrogate escape; the U+FFFD pre-pass
is gone and parse_json classifies the refusal (strict escape scan, on
failure only) so callers name it: closed kind lone_surrogate from
operation inputs, sheet.check, draft.restore and archive.import.
Oracles untouched: the two L1 cases and the Zod verdict now assert that
TypeScript kept the surrogate and Rust refuses the text.
2026-10-14 21:49:28 +02:00
bchanot 36316cf67f fix(domain): sheet.check reads its document without an intermediate copy; RUST.md states the copy behaviour exactly
Second security pass on e49009e: PASS with two LOW items, both applied.
Module 1,044,559 B raw / 340,154 B gzip; core 135, core-wasm 25, app 313.
2026-10-14 01:07:17 +02:00
bchanot 651f1fef13 chore(memory): R2 delivered — BDR-050, LRN-054, BLK-010, EVAL-020, journal, TODO, verify contract 2026-10-14 01:05:13 +02:00
bchanot e49009e363 fix(domain): security audit follow-ups — deserialise JSON by reference, literal delete paths in the wasm build
The security gate (PASS, 0 blocking) reported LOW items: an imported
attachment's Value was copied for the wrapper and the snapshot gate (a
hostile 16 MiB attachment multiplied linear memory), and wasm-build.sh
deleted its outputs through a variable. Every JSON input is now read with
T::deserialize(&Value) (same errors, no copy); one deserialiser instead of
two also shrinks the shipped module from 1,180,281 to 1,046,498 bytes raw
(372,132 → 340,929 gzip). The two outputs are removed on their literal
paths. RUST.md records the numbers, the quarantine retention and the
base-image tag residual.
2026-10-14 01:02:30 +02:00