Changelog

What was merged and verified, newest first, from the integration log in the project's tracker. Each entry says what changed and how it was checked.

Release 0.4.1

Released 2026-11-28. Spreadsheet cell comments and collaborative undo, floating linked charts, Timeline and Workload finishing touches, faster large-sheet edits, a smaller first load and SBOMs on every release. See CHANGELOG.md.

Release 0.4.0

Released 2026-11-28. A Spreadsheet block on opencalc's engine with Excel import and export, linked charts, database formulas, relations and rollups, Timeline and Workload views, partial sync on by default, and performance and reliability work. See the release and upgrade notes.

Release 0.3.0

Released 2026-11-26. Live blocks shown and edited in several canvases, find and replace and search across canvases, automation rules and offline editing, all off until the host turns them on. See the release and upgrade notes.

Release 0.2.1

Released 2026-11-26. A new insert menu: Quick insert, Recent, goals like "track tasks", and five categories, with heading, list, callout, column, database-view and diagram-type variants in one place. Shortcuts like /h2 still work. See CHANGELOG.md.

Release 0.2.0

Released 2026-11-25. Stable headless API under /api/v1, on by default, with TypeScript and Rust clients; signed webhooks; the block SDK for your own blocks; and host editor profiles. See the release and upgrade notes.

Release 0.1.2

Nextcloud, Mattermost, and Element / Matrix integrations, plus diagram mode, version history, and the headless API. See the release and upgrade notes.

Release 0.1.1

Jitsi Meet integration and temporary canvases. One Prosody plugin and config give every Jitsi meeting a shared canvas under Shared document, like Etherpad, with no Docker changes; tested against a stock docker-jitsi-meet with two browsers. Hosts without file storage can set storage = "ephemeral": canvases start blank or from a built-in template, survive a server restart, and are deleted when the meeting ends. Also: the block handle no longer disappears before you reach it, and the template button inside an open canvas is gone. See Jitsi Meet and CHANGELOG.md.

Release 0.1.0

The first release: 0.1.0-alpha.1 plus the SEC-33, SEC-34 and SEC-35 security fixes, WOPI proof keys, block schema validation and the template load test, with best-effort support and no SLA. WOPI hosts now need proof keys and MCP needs a public URL: read the upgrade notes before upgrading.

Release 0.1.0-alpha.1

Embeddable collaborative workspace canvas. The first alpha, for evaluation, with no production SLA: rich text, databases, whiteboards, templates and collaboration; a standalone SQLite deployment and the host SDK; import and export for the tested formats. The AI assistant and MCP endpoint are experimental and off by default. Read the alpha release notes for the acceptance evidence, the known limitations, and backup and recovery; the summary is in CHANGELOG.md.

Integration log

2026-11-29

  • RLB-04-Q1 and RLB-04-F9: browser-e2e flakes on main (run 46189828110, d96b0e3)
    Read from the CI traces (Playwright trace snapshots, network, console): p-people :130 typed "Owner @Ravi", the members request returned Ravi, no picker; sheet-block :86 Sam's B3 had no value while every later edit reached him. Causes and fixes in the two rows (late plugin registrations closing an open suggestion menu; the sheet engine's observer re-subscribed one render late). Repro, local Apple M4, release server, 6 niced busy loops beside the run, --workers=2: unfixed editor (the CI run's own editor-dist) p-people + sheet-block --repeat-each=10: 1 failed of 120 (sheet-block :21, Sam's SUM 6 not 16, the same engine gap); p-people did not fail locally (0 of 70; the unit test reproduces it every run). Fixed build --repeat-each=20: 240 of 240 passed. Quarantine RLB-04-Q1 lifted (p-people :35, :156).
  • Deadline notes (WS-08/WS-20 follow-up)
    Not done in this pass: passphrase-encrypted secrets in backups, S3 target, a backup before migrations, mention e-mails, the Home order tie-break on MySQL, the Workspace flows in CI on MySQL/MariaDB
  • Workspace on MySQL 8.4 (Docker mysql:8.4 on :33084, removed after): migrations and flows
    tests/flows.rs and the passkey flow tests take WS_TEST_MYSQL_URL (a new database per test). Migrations 0001-0003 applied (21 tables). Found and fixed: RS256 passkey keys did not fit passkeys.public_key VARCHAR(255) (the register answered "already added"); seen failing on MySQL, migration 0003 makes it TEXT (SQLite: no-op), then passkeys 6/6 on MySQL. Flows on MySQL: 12/12 on the first run (search, sharing, trash, public links, e-mail, backups refused with 501); a second run failed sample_content_and_routes_stay_in_their_lane once: Home listed "Welcome" before "Product" (workspaces made in the same millisecond have no tie-break in the order). Open: a stable tie-break for the Home order, and a CI job on MySQL/MariaDB
  • WS-08 the stored SMTP password is encrypted (prototype 9a "Stored encrypted")
    Seen failing first: flows::smtp_sends_invites_resets_and_share_notices with a new check that the stored settings row has no plain password (the row held "password":"secret-pass"). After: Secrets::seal/open (AES-256-GCM via aes-gcm 0.10, already in the tree, key = HMAC-SHA256 of the token key, associated data = the row name), sealed on save, opened only to send; the fake server still sees \0canvas\0secret-pass; unit secrets::tests::sealed_values_round_trip_and_are_bound_to_their_row (fresh nonce, wrong row or other secrets refused, plain values pass through); oc-workspace lib 32/32, flows 12/12
  • WS-20 backups: .tar.zst archives, schedule with retention, download, admin restore
    Seen failing first: flows::backups_archive_schedule_download_and_restore against a stub module (Back up now still wrote a folder, so the .tar.zst name assertion failed). After: the archive holds manifest.json, workspace.db and files/canvases/<id>/1.ocanvas; the download is the same bytes and refuses other names and members; bad schedules are 400; weekly Sunday 03:00 next runs; the first scheduler tick only notes the time, each new slot makes one backup and keep 2 removes the oldest; off means no run and no next; restore into an empty folder gives the same sign-in and the same saved bytes, a folder with data is refused without --force and moved aside with it, a non-archive is refused and changes nothing; units backup::tests (next runs, names); setup_checklist_smtp_settings_and_backups updated for the archive; web typecheck
  • WS-08 SMTP sending: invites, password resets, share notices, Send test
    Seen failing first: flows::smtp_sends_invites_resets_and_share_notices (branding had no email, then no /auth/forgot). After: the test drives a fake SMTP server on 127.0.0.1 (EHLO, AUTH PLAIN checked as \0canvas\0secret-pass, DATA): no mail with SMTP off, test message to the admin, an e-mailed invite whose link signs up, a general invite not mailed, Forgot password? with the same answer for a known and an unknown address and a working mailed link, a second request within 10 minutes sends nothing, an admin reset link mailed and returned, a share notice with the canvas link, and a refused connection still makes the invite with emailError (test send 502); flows 2/2 filtered, web typecheck
  • WS-06 passkeys accept RS256 (older Windows Hello) and EdDSA alongside ES256
    Seen failing first: passkeys::tests::rs256_and_eddsa_keys_verify_and_tampering_fails ("a supported key") and passkeys::flow_tests::rs256_and_eddsa_passkeys_register_and_sign_in (options offered only [-7]). After: pubKeyCredParams offers -7, -8, -257; RS256 keys 2048-4096 bits checked with rsa 0.10 (PKCS#1 v1.5, SHA-256), Ed25519 with ed25519-dalek 3 (verify_strict), both already in the tree; ES256 rows stored as before, new kinds as rs256:/ed25519: (no migration); software authenticators of all three register and sign in; passkeys 6/6

2026-11-28

  • RLB-04-F7 phone PDF upload; install artifacts
    Picker: see RLB-04-F7. Release: release.yml publish job attaches SHA256SUMS (binaries, SBOMs, chart, install.sh), install.sh (scripts/install.sh stamped with the tag as its default) and the Helm chart opencanvas-<v>.tgz (helm package), and puts a "Quick start" section first in the notes (docker run, install one-liner, helm install). scripts/install.sh (POSIX sh): Linux x86_64/aarch64, latest or --version, verifies SHA256SUMS (falls back to the archive's .sha256 on older releases), installs the bundle to ~/.local/share/opencanvas (or /usr/local/share as root) and a launcher opencanvas that sets OC_WEB_DIR in ~/.local/bin (or /usr/local/bin); macOS exits with "use Docker or a source build". Checked: actionlint clean, shellcheck -s sh clean; on this Mac the script printed the macOS message (exit 1); with OPENCANVAS_OS=linux it installed v0.4.3 aarch64 (latest) and x86_64 (--version 0.4.3) with the checksum OK; in debian:bookworm-slim as a normal user it installed v0.4.3 and the launcher served /healthz {"ok":true,"version":"0.4.3"} and /app/ 200. Not run: the workflow itself (needs a tag); helm not installed here. README "Run it" and the site's getting-started page updated.
  • GRAPH-02/03 knowledge graph view to the approved prototype (local panel, full graph, filters, search, card, pins, worker layout, list, keyboard, phone, states)
    Seen failing first: graph/model.test.ts and graph/layout.test.ts (modules missing), then 21/21 (collapse of block targets, block nodes, space/kind/orphan/updated filters that keep the current canvas, depth from a root, search that keeps nodes, space tones, update buckets, announcement text, direction picking, list rows and sorts, CSV quoting, pins per person; layout settles and stops, linked closer than unlinked, pins held, no overlap, known positions kept, deterministic, 2,000 nodes / 6,000 links in ≤ 400 ticks). Playwright zl-graph.spec.ts seen failing against a build without the Graph button (getByRole('button', {name: 'Graph'}) timed out), then 5/5 on chromium: local graph 1 → 2 → 1 links, axe clean on gr-, focus announces the canvas, arrows reach the linked canvas, Space selects (card), P pins (kept in localStorage per person), Enter navigates through the host; full graph search "1 of N match" with nothing removed, L to the list, aria-sort changes, a row expands to Linked from; a reader without access to the linking canvas sees "No links yet" and no title (GRAPH-A1 in the UI); phone list first, tap opens a sheet with 44 px actions, Graph one tap away; links off: Action_OpenGraph explains why. GRAPH-A4: initial JS 290.3 KB gz (budget 300, unchanged), packages/editor/src/graph/ in [start] forbid; graph chunk 16.9 KB gz, worker 3.7 KB. Release server binary reused (no Rust change). prepush: clippy, SPDX, px, client gen, typecheck, budget, site gates pass; the opencanvas-client models test was not run (stopped twice when free disk fell under 10 GB; no Rust or OpenAPI change here).
  • LINK-A4 and GRAPH-A2 benchmarks, once each
    tests/links.rs bench_backlinks_500_sources and bench_local_graph_depth_2 (#[ignore], mock host answering access in 20 ms, a new reader per run, 20 runs). First run (debug build): LINK-A4 301 ms with batch / 3.5 s per file, GRAPH-A2 611 ms. Changes: /access/batch chunks of 200 sent together, per-file /access and excerpt loads in a sliding window of 8 (not rounds of 8), one link_edges query per graph level (links_touching) instead of two per node. Release build, Apple M4 under background load: **LINK-A4 p95 57 ms with /access/batch (< 300), 1.48 s per file (< 1.5 s, near the 1.25 s floor of 500 calls at 8 × 20 ms); GRAPH-A2 p95 112 ms (< 250)**. bench/results/2026-11-28-links-graph-local-m4.json. MySQL not measured.
  • LINK-A7 keyboard, screen-reader names, 320 px, 200% zoom, phone (LINK-04)
    zl-links-a11y.spec.ts (chromium): arrow onto a link selects it, Space previews without typing, Escape closes; Linked from groups are disclosure buttons (aria-expanded by Enter), references are links next in the tab order, filters are toggle buttons; axe on the section clean; no horizontal overflow at 320 px and at 200% zoom (640 px at 2x), the section within the viewport. Seen failing first: the keyboard test against a build without the Space handler. zl-links.phone.spec.ts (webkit-phone): long press opens the preview sheet with Copy link, the section at the end, More options > Linked from as a bottom sheet within 390 px; it first failed on a test locator (the phone menu is buttons, not menuitems). Not done: a real screen-reader run (VoiceOver/NVDA); the checks cover roles and names.
  • LINK-04 top-bar entry and shared side-panel tabs (2b); LINK-05 aliases
    More options > Linked from opens the side panel (a sheet on phones); Comments and Linked from share a tab row. meta.aliases (≤ 8 of ≤ 100 characters, warned when not a list of strings) goes into search.json (aliases) and into the unlinked-mention search with the title; no alias-editing screen (needs a prototype frame). Seen failing first: oc_model::links::aliases_are_trimmed_deduplicated_and_capped against the previous search.rs (no aliases in search.json). The e2e tab and menu steps were added to zl-links and failed first on a wrong locator (the menu item is a menuitem), not on missing behaviour. zl-links 2/2, oc-model all green, initial JS 289.2 KB.
  • LINK-A5 guard: pre-0.5 editors deleted canvas links
    Found: links/compat.test.ts, an editor whose schema lacks canvasLink bound to a canvas with one deletes it from the Y.Doc (the docs/38 assumption "0.4 keeps it" was wrong). Fix: caps=links on the connection (editor, bench clients); filter::removes_canvas_link refuses an update from any other connection that removes one and closes it with 4426, like SDK and live blocks. Seen failing first: tests/links.rs an_editor_older_than_0_5_cannot_delete_canvas_links with the guard off (the link was deleted); restored, passes. links 11, oc-server lib 178, blocks, live_blocks, partial_sync, rooms, ai green; ADR-081 row and docs/38 §2.2 item 5 and LINK-A5 reworded.
  • LINK-01/04/05 editor to the approved prototype ([[, #, link states, preview, Linked from, chips, side panel, unlinked mentions with Link and Undo)
    Seen failing first: Playwright zl-links.spec.ts against a build with the links chunk not mounted failed (no picker). Then zl-links 2/2 and ze-find-search 5/5 (chromium, 2 workers, E2E_PORT_SHIFT=4900, E2E_SKIP_BUILD=1); editor vitest links/model 7, canvaslink 4, schema, late, inline green; typecheck. Initial JS 288.5 → 289.1 KB (node only; packages/editor/src/links/ added to forbid), links chunk 13.2 KB gz. Not run: phone projects, keyboard-only and screen-reader scripts, 200% zoom (LINK-A7).
  • LINK-04/05 server routes for the editor
    POST /v1/links/resolve (state per link: ok with host title and block text, none without a title, gone, missing block), GET /v1/links/targets (headings with ids or h: anchors, blocks with ids, databases and first rows), GET /v1/links/preview (plain-text lines of the canvas or block, read with the person's role), POST /v1/backlinks/link and /unlink; session links {enabled, mentions, urlPatterns}; sample host POST /access/batch; e2e host sample-links on :4206. Seen failing first: linking_a_mention_needs_edit_in_the_source_and_undoes with the edit check relaxed to any role (view linked). tests/links.rs 10 pass; oc_model::links 10.
  • GRAPH-01 graph API (ADR-082)
    Seen failing first: tests/links.rs the_graph_never_shows_or_bridges_through_a_hidden_canvas with hidden canvases expanded (b reached through h) failed; restored, passes. Covers depth 1 and 3, kinds filter, full graph with total, API = MCP, a reader who sees only the root, 403 for a hidden root, 400 for depth 4; full_graphs_are_rate_limited (2 a minute); unit tests for parameters and spaces. oc-server lib 178, api_v1, links 8, client models.
  • LINK-01 (server part), LINK-02, LINK-03 (server part): link index and backlinks read path (ADR-081)
    Seen failing first: tests/links.rs the_index_follows_acknowledged_saves_only_and_holds_no_text with the index write moved before the host call (rows before the acknowledgement) and backlinks_leave_out_what_the_reader_cannot_open with the access filter off (hidden sources listed) both failed; restored, both pass. tests/links.rs 6 (ack-only writes, LINK-A3 byte check, none/410/failing batch/per-file fallback, API = MCP = editor route, counts per block only of readable sources, host key refused, off by default, backfill and delete, exports with host URLs), storage_conformance::link_index_contract (2,000 edges, 900-char file ids, order, delete; SQLite p95 27 ms debug build; MySQL/MariaDB in CI), unit tests in oc_model::links (extraction, cap, URL patterns, host URLs, lowering) and oc_server::links (config, excerpts, cursors). Also run: oc-server lib 176, api_v1, mcp, mcp_api_parity, exports, search, live_blocks, host_api, ops_metrics; oc-model all. Attribute renamed targetBlockId (ADR-081 row noted).
  • PSYNC-A1 re-measured once after PSYNC-BUG-2/3 (50 MB fixture, real editor, docs/36 profile: 4x CPU, 40 Mbit/s, 40 ms, 1280x900; local Apple M4 shared with other work, load average 10-14 during the runs; release binary of 754a937..87a89b6 (no server change after c951139), one editor, no edits)
    Cold (scripts' default: a fresh file id per run, the room reads and cuts the file): 4,348 ms median of 5 (3,658 / 4,062 / 4,348 / 7,042 / 7,335), socket created at 728-884 ms (the session no longer waits for the room), room ready (first frame) at 2,329-5,811 ms, main document in at 2,672-6,185 ms, editor mount after it 986-1,170 ms; heap 14.8-26.4 MB; 35 parts listed, none loaded before the first screen. Reopen (BENCH_REOPEN=1, the mock host keeping saves under their version, the room opening from its kept split): 1,983 ms median of 5 reopens (1,866-2,142; the cold first run 3,246), socket at 480-558 ms, main document in at 943-1,055 ms, mount 919-1,087 ms. For comparison on the same machine earlier today with less load: cold 3,298 ms (one run), reopen 1,244-1,606 ms (PSYNC-BUG-2 row). PSYNC-A1 (< 2 s, worst < 2.5 s) is not met for a cold open: the room's cut of a 50 MB file (split 0.6-2.0 s unloaded) stays on the critical path; on a reopen it is met in these runs (median 1,983, worst 2,142) but with no margin under load. Next: the cold cut (a version-keyed split the host or a previous room produced, or splitting on the save) and the full-DOM layout in the one render. Results bench/results/2026-11-28-browser-local.json (cold), 2026-11-28-browser-local-reopen.json
  • Bench nightly run 46136980463 (c8f0554): fixture s first screen 1,493 ms over its 1,000 ms budget on ci-ubuntu-latest
    **Not a regression against the baseline editor; code costs found later in the same frame (PSYNC-BUG-3 row: a double render on mount, the first block-id pass on fixtures without ids, the first toLocaleString; fixed there, s mount -43% locally; the nightly will say whether s gets under 1,000 ms).** It is the first scheduled run of bench-nightly.yml (every earlier run was a push event that failed in 0 s), so there is no earlier CI number; the budget comes from the Apple M4 baseline (733 ms, 6e5e94a). On CI: socket open 517-537 ms, main document in 675-708 ms, first screen 800 ms later in one long frame (worst 802-893 ms; m shows the same shape, 1,661 ms). Local, same machine and server binary (754a937 release), 4x CPU, 40 Mbit/s, 40 ms, s x3 or x5: current editor, partial sync on (the default) 867 ms median (795-1,023), partial sync off 1,018 ms (1,009-1,097); the 6e5e94a editor (built from that commit, whole room) 997 ms median (957-1,319). So the current editor is no slower than the baseline's on today's (loaded) machine, and partial sync makes s faster, not slower. CPU profile (unminified build) up to the first screen: no hot function (largest: a forced layout read under ProseMirror's DOM selection, 86 ms; toLocaleString in the placeholder, 19 ms); the time is the editor's mount and layout. The CI number is about 2x the M4 one for s and m alike, which is the runner. Budget not changed (owner's call: a per-machine budget for ci-ubuntu-latest, or less startup work, which PSYNC-BUG-3 (progressive first render) addresses). The bench now takes BENCH_PARTIAL=0 (whole rooms) since partial sync is the default. Results: bench/results/2026-11-28-browser-local-before.json, -before-whole.json, -base6e5e-whole.json
  • SITE-05 roadmap and release staleness
    docs/09 release table (v0.1.0 to v0.6, Released/In progress/Planned), feature priority status, duplicate stale v0.5 row removed; 28 tracker rows that shipped in a release (CHANGELOG or release notes) set to Done; duplicate SHEET-06/07/DB5-01/SHEET-08 copies merged into the newer ones; roadmap page shows phase and release-group states from the rows, the Workspace track and Backlog; tools/test_sitelib.py Roadmap seen failing first; site rebuilt
  • SITE-04 naming, home title, alternatives/ and solutions/ pages, README intro, launch drafts
    tools/test_sitelib.py SharedPartsAndTitles seen failing first on the old sitelib (2 of 3), then 11/11; build-site, check-site-links, check-site-claims, check-site-seo (61 pages, titles ≤ 70, descriptions 70-160, FAQPage on all 7 new pages) and scripts/prepush.sh pass. Competitor statements are general public facts, dated 2026-11-28 on each page; not checked against vendor pages in this pass.
  • WEB-08 headroom: initial JS 299.3 → 288.5 KB gz
    Moved out of the initial bundle (measured per step): the file, image, link card and embed node views with their helpers (editor/atomviews.tsx, fetched as soon as the editor's code runs; an empty wrapper for the moment before) −5.1; the top bar's popovers (components/TopMenus.tsx) −1.9; the @mention list and paste-link menus (editor/popmenus.tsx) −1.1; the replace/conflict/closed modals and the database Automate menu (components/WorkspaceModals.tsx) and person cards −1.6; the colour and date pickers (editor/pickers.tsx) −0.3; the twelve icons only those views draw (registered by atomviews.tsx, also in icons-extra) −0.8. Menus, modals and cards are fetched right after first paint. Headroom 0.7 → 11.5 KB; short of the 15 KB target: what is left is tiptap/ProseMirror, React, Yjs and the workspace itself. typecheck, editor vitest 238, Playwright n-file-preview, d-conflict, i-exports 5/5 (2 workers).
  • SHEET-08: an edit reads only what it can change
    oc-sheet src/deps.rs + Book::refresh_from; workbook in automatic (incremental) calculation after open. Seen failing first: engine::an_edit_reads_only_the_cells_it_can_change (read 16 cells, expected 5). New differential test narrowed_reads_match_a_full_recompute (INDIRECT, OFFSET, B:B, cross-sheet, a formula repointed, cleared cells, a spill blocked and freed; every step equals a fresh compute and every changed cell is answered) caught opencalc's incremental pass leaving a blocked spill unrecomputed, so while a spill exists an edit recalculates and reads everything as before. cargo test -p oc-sheet 21 + integration tests green, clippy -D warnings. Bench (release, Apple M4, load 3.4-4.3; previous code on the same load in brackets): open 273-285 (274-283) ms, edit 67-68 (103-104) ms, next edit 12-13 (103-104) ms; e2e/perf/results/sheet100k-local-m4-narrowed.json. oc_sheet.wasm rebuilt: 1,168,858 bytes, 401,048 gzip (the same sources before this change: 1,137,655 / 391,291; the incremental recalculation is now linked); sheet vitest 38 pass on it.
  • DEP-01 SBOM and update policy
    release.yml job sbom (rust:1.98-bookworm): cargo cyclonedx 0.5.10 → opencanvas-<tag>-rust.cdx.json, cdxgen 12.9.0 --required-only on web → opencanvas-<tag>-web.cdx.json, checksums, attached by publish with a release-notes section. actionlint (with shellcheck) clean. Not run locally: running the SBOM tools here was not permitted, so the first tag is their first run. docs/38 (update policy: what is checked, response times per advisory class, how updates land, adding a dependency, the SBOMs); SECURITY.md links it.
  • RLB-01c on MySQL: full save drill
    DATABASE_URL=mysql://… scripts/crash-drill.sh save on MySQL 8.4.13 in Docker (--max-connections=1000, container removed after), 200 rooms x 2, 45 s, kill at 25 s, WAL durability, host 1.5-2.5 s per save, Apple M4: PASS. 0 acked lost (35,126 acked before the kill), converged in 224 ms, 0 rooms differ; 969 host saves, 0 rooms without a save, 0 sent edits missing; first save after the restart p50 4.5 s, max 9.2 s; 200 rooms read in 5.3 s; 503 + Retry-After 26, 503 without 0, other 5xx 0; slowest client back 6.9 s. Restart log errors 26: the admission 503s. Result: bench/results/2026-11-28-crash-drill-save-mysql84-local.json.
  • v0.4.1 UI gaps (docs/37 §3): spreadsheet comments, undo "kept newer value", phone merge/wrap, merges across frozen panes; floating chart, database chart + live view test; Timeline drag reassign, phone Months, 6b Jump to, insert-menu variants
    Seen failing first: sheet vitest collab.test.ts (module missing); Playwright sheet-block.spec.ts test 5 and chart-block.spec.ts test 1 against a build without the change (no undo toast; no floating chart), timeline vitest +2, insert model +1, db-timeline v0.4.1 test with the catalogue entries removed. Then: sheet vitest 42, editor insert 27, database 254 passed; Playwright chromium chart-block, sheet-block, db-timeline, zd-insert-menu, zf-offline-sheet: 13 passed, 1 failed (db-timeline "drag to move, resize and link": the test assumed calendar days, fixed; then db-timeline, chart-block, sheet-block 11 passed). Initial JS 299.3 / 300 KB.
  • RLB-01c host-save throughput with a slow host
    Cause: a room held one of the 8 load slots (OC_ROOM_LOADS, RLB-01b) for the whole load, including the host's GET /files answer. With a 1.5-2.5 s host only about 4 rooms opened per second, so at 200 rooms many had not opened (or saved) by the kill and queued again after the restart. Seen failing first: tests/room_load_slow_host.rs (32 rooms against a 1 s host took 4.08 s). Fix: Room::load gives the slot back while it waits for the host and takes one again for the database work after (room/actor.rs); after: 1.1 s. Save drill, full size, SQLite (scripts/crash-drill.sh save: 200 rooms x 2, 45 s, kill at 25 s, WAL durability, host 1.5-2.5 s per callback, Apple M4): PASS. 0 acked lost, converged, 884 host saves, 0 rooms without a save, 0 sent edits missing; first save after the restart in every room (p50 6.0 s, max 10.2 s); 200 rooms read in 5.8 s; 503 + Retry-After 32, other 5xx 0; slowest client back 7.3 s. Restart log errors 32: the 32 admission 503s. MySQL not rerun.
  • SEC-V4 second pass (SEC-61..64)
    Reviewed: live-block derived sessions, presence batching, formula cost, relations across canvases, offline device keys, POST /v1/import?format=xlsx\|ods, GET /v1/export/sheet. SEC-62 (Medium): one value in XFD1048576 of a 1 KB .xlsx built 1,048,576 row ids (import test still inserting after 5 min); xlsx read with 4 GiB/8M-cell desktop limits and recalculated on an async worker. Fix: 64 MiB inflated, cell cap in the reader, manual calculation, 250,000 rows+columns per workbook, spawn_blocking, two imports at a time. SEC-63 (Low): /v1/live/audience answered counts to a member without access. SEC-64 (Medium): =MMULT(SEQUENCE(1000,1000),SEQUENCE(1000,1000)) cost 17 s per cell in every save (search.json), export and read, computed twice; engine cancels only every 4,096 cells. Fix: cells computed once; engine::bounded runs a block's computation on its own thread, waits 2 s (10 s for an .ods import), then falls back to inputs, remembers the block, and refuses new work while two overrunning jobs run. Seen failing first: import_limits.rs (2), import.rs::a_workbook_spanning_the_whole_grid_is_refused, live_blocks.rs::who_can_see_this_counts_members_without_access, formula_cost.rs (13.1 s). Export permission: 403 asserted in import.rs. Tests run once: oc-sheet (release), oc-model, live_blocks, import.
  • SHEET-06: linked chart block (4h), database ⇄ spreadsheet (8a)
    vitest chart 8 + link 5 + insert/profile, cargo chart_exports 4, Playwright chart-block.spec.ts, typecheck, initial JS 299.3 / 300 KB
  • Board and diagram audit, opencanvas.studio (docs/41)
    Live #demo (v0.4.1) and opencanvas.studio in Chrome; 15 defects (1 P0, 4 P1), rows BRD-05..22. P0: a sticky or text placed with the mouse loses focus on the mousedown default (focus trace in docs/41 D1). opencanvas.studio is an Excalidraw-based AI whiteboard, unrelated to this repository. Analysis only; no build or tests run.
  • BRD-05..16 board audit bug fixes (docs/41 §5.1)
    Board vitest 33 files / 380+ tests pass incl. new audit.test.tsx (10, 9 seen failing first) and diagram-phone 11e; Playwright -c e2e/diagram/playwright.config.ts (production build, #demo, 2 workers): new board-audit.spec.ts (6, all seen failing first on the old build) plus the existing board, icons and S1-S11 specs pass (one S6 dark run failed once in a full 2-worker run on a toBeVisible and passed on rerun and 3 × 2 repeats); specs/w-two-user-board.spec.ts passes against a fresh release oc-server (the 11-27 binary refused the current sample host config). BRD-17..22 wait for a prototype.
  • BRD-20 export dialog and copy as image
    Board vitest export/export.test.tsx 11 (seen failing first: modules missing), connectors.test.tsx menu updated; Playwright -c e2e/diagram/playwright.config.ts board-frames-export.spec.ts BRD-20 (real mouse, download + clipboard read) passes. Initial JS 288.5 KB of 300 (board is lazy; unchanged).
  • BRD-21 frames
    Board vitest 35 files / 398 tests pass (new frames/frames.test.tsx 7: the 4 board cases seen failing first; tool-order expectations gain Frame). Playwright board-frames-export.spec.ts BRD-21 seen failing on the BRD-20 build, passes on the new one (real mouse: draw, centre-drop, drag by name, zoom-menu list, ⇧P).
  • BRD-23 empty board (decision 11)
    vitest empty/empty.test.tsx 3 pass (2 board cases seen failing first); Playwright board-frames-export.spec.ts 3 pass (decision 11 seen failing on a build without it: no heading).
  • BRD-24 working together; board options menu over its scrim
    Board vitest 40 files / 449 pass; whole diagram Playwright config (--workers=2) 38 pass, including the merged board UX specs. The merge with the context-menu branch had put the board options menu (z 5) under the new scrim (z 7): BRD-20 export and S11 phone timed out until .ocbd-scrim + .ocbd-menu got z 8.
  • BRD-32 tool bar centred at the bottom
    Board vitest 42 files / 459 pass (mixed-version.test.ts seed 7 failed once under load and passes alone: pre-existing); toolbar.test.tsx 12. Whole diagram Playwright config (--workers=2, production build) 40 pass; the old option-A toolbar specs then failed on the More menu, fixed; board-toolbar.spec.ts 11 pass incl. BRD-32 at 1280, 853, 640 (centred within 2 px, real mouse) and 320 (clear of the pill).
  • Board QA pass (docs/41 §7), BRD-33..37
    Board vitest 43 files / 464 pass (new qa.test.ts 4, 3 seen failing first), qa-ui.test.tsx 1 (seen failing first). Whole diagram Playwright config (--workers=2, production build) 48 of 50 pass: the new board-qa.spec.ts BRD-35 threshold was then corrected (16 px is the unturned spacing; 4 px before the fix) and passes; board-ux.spec.ts "Lock from the menu" failed once under load and passes alone and twice repeated. BRD-33, BRD-34, D12 and BRD-35 each seen failing on the build without the fix.
  • Board QA pass, BRD-38..39
    Board vitest 44 files / 467 pass. Whole diagram Playwright config (--workers=2, production build) 52 of 53 pass; the one failure is board-ux.spec.ts "Lock from the menu", flaky about 1 in 6 under two workers (docs/41 §7 Q10). BRD-38 e2e passes 4 of 4 repeated (ids differ per run); BRD-38 and BRD-39 seen failing on the build without the fix.
  • Q10 flaky "Lock from the menu" (docs/41 §7)
    Root cause traced (Playwright's click scrolls the page to the menu item; the drag then used a stale position). Before: 6 of 12 failed at --workers=2. After the test re-measures the shape: --repeat-each=20 --workers=2 20 of 20 pass.
  • Board at 2,000 shapes (docs/41 §7)
    e2e/perf/board-frames.perf.ts PERF_SIZES=2000 (3,000 connectors, production build, 1280 × 900): pan p95 16.8 ms, 0 frames over 25 ms; zoom p95 16.7 ms, 2 of 204 over 25 ms; drag 1 / 20 shapes p95 16.8 / 16.7 ms; remote edits p95 16.8 ms; fit view pan p95 16.8 ms, one 53 ms long task on a drag release. Heap 38 → 46 MB. e2e/perf/results/frames-qa2000.json.
  • WS-21 GHCR release job, WS-24 README, guide and site
    actionlint release.yml clean; tools/check-dockerfile.py seen failing on deploy/workspace/Dockerfile (block-sdk, client, sheet missing), passes after; scripts/prepush.sh exit 0 per piece; tools/check-site-pages.mjs for workspace, index, docs/workspace and docs/index: zero axe violations, light and dark, 1440 and 390 px (a 365 px overflow of the hero command at 390 px seen first, fixed by wrapping). Screenshots skipped for disk.
  • BRD-21 leftovers and Copy link to shape (BRD-18); whiteboard UX made visible
    Board vitest 42 files / 467 pass before the keymap change, then frames.test.tsx 16, ux-menu.test.tsx, editor blockLink.test.ts and Shortcuts.test.ts pass (all new tests seen failing first); Playwright -c e2e/diagram/playwright.config.ts board-frames-export.spec.ts --workers=2 5 pass, the new real-mouse test seen failing on the old build. docs/29 §9, the site's whiteboard section and Miro page, README, and the whiteboard screenshots (light and dark, tools/capture-site-screens.mjs --only whiteboard) updated. Found while testing: a Playwright click on a context-menu item low on the board scrolls the page to it (a test effect; the spec re-measures).

2026-11-27

  • UX4-01 board tool bar, option A (SCALE-02 S3)
    Seen failing first: board/src/toolbar.test.tsx (module missing, then 7 of 12 failing on the old bar: order, More, 100% menu, roving focus, rail setting). Now: board vitest 33 files all passed (board.test counts [data-tool]; the UX-DGM-01 scroll-fade test replaced). Playwright e2e/diagram/board-toolbar.spec.ts (production editor build, demo document, reduced motion, axe on the row and the More menu): 640×450 (1280 at 200%, compact, 8 tools + More), 853×533 (1280 at 150%) and a 24 px root at 1280×800 each with and without the comments panel, 320 px (3 tools, More, 100%, all targets ≥ 44 px), the left rail: 7 passed; no overlap with the zoom pill or the top actions, nothing covered (hit test at each centre), all nine tools reachable.
  • TALK-01 Nextcloud Talk (panel, card, meeting canvases, Follow me)
    Seen failing first: PHP MeetingPolicyTest, MeetingServiceTest, CanvasCardTest (classes missing; later the /0 link case found in the scripted run), JS talk.test.js (module missing, then the 1024 px sidebar case), bridge.test.js UI_ViewBlock, editor follow.test.ts. Now PHP 66/66, app JS 62/62, editor follow + blockId 11/11. integrations/nextcloud/test/e2e.sh (Docker nextcloud:31-apache 31.0.14, Talk 21.1.12 from the app store, real OpenCanvas, ports 8590/8591): Files run PASS and Talk run 23/24 (the 2a width check assumed a 16 px root; Nextcloud's is 15 px), then TALK_ONLY=1 with the measured root: RESULT: PASS (24 ok): empty state, access count 1 of 2, no-access card with Ask, share with the conversation, card with access, beside at 38 rem, full screen, call via Talk's API, meeting canvas Temporary with Save for the moderator, participant edits without Save, guest (Talk name prompt) View only with the guest banner, Lock makes the participant read only, Follow me state, call end: participant read only "Call ended", moderator saves into the Talk folder and the file is posted back, banner "Saved to Files", phone card with one Open and full-screen canvas at 390 px. Fixed on the way (all found in the real run): link /open/0/<id>; the Canvas button covered by Talk's top bar (now in Talk 21's .top-bar-menu); a card stayed "no access" after the share (Nextcloud's resolve answer is browser-cached for an hour: the widget re-asks /talk/card/{id}); "Enable interactive view" overlay on phones. Containers removed. Not driven: see README "Not yet tested"
  • RLB-01b P0: recovery admission (503 + Retry-After), clients honour it; SEC-54/55/59
    Server. ApiError::busy (503 BUSY, Retry-After 1-5 s, spread). A pool timeout in any handler maps to it instead of 500. room::recovering(): more than OC_ROOM_LOAD_QUEUE (32) rooms waiting for a load slot makes /v1/launch and WebSocket upgrades answer 503 + Retry-After. A browser form launch gets a "Reconnecting…" page (own CSP, values escaped) that posts the same form again after the delay. The launch token is now spent last (SEC-59): before, a launch that failed after its jti was recorded made every retry a replay. Clients. Editor lib/busy.ts::fetchBusy waits out 503 + Retry-After for up to 60 s on the session lookup and access renewal (the loading screen stays, no error screen). The SDK clients already retried 503 with Retry-After. oc-bench launches and viewers honour it, mint a fresh jti per launch, send caps=ext,live,subdoc, and count 503s with and without Retry-After and other 5xx; verify fails on any bare 503, any other 5xx, or a client back after more than 60 s. Seen failing first: recovery_admission.rs (303 instead of 503); editor busy.test.ts ("We couldn't open this canvas"); partial_sync.rs::a_client_id_used_in_the_main_document_is_refused_in_a_part (SEC-54: the database was gone from the whole view); partial_sync.rs::part_edits_count_against_the_document_size_limit (SEC-55: 240 KB passed a 100 KB limit); the MySQL save drill for SEC-59 (38,434 "launch token already used", 38 rooms never back). MySQL 8.4 drill (Docker :13357, full size: 200 rooms × 2, 45 s, WAL durability, Apple M4): edits pass (0 acked lost, 503 + Retry-After 189, other 5xx 0, slowest client back 7.5 s); migration 6 of 6 kill points pass and migration-then-edits passes (503 0, other 5xx 0, back 4.6 s); save: 0 acked lost, converged, 0 sent edits missing, 503 + Retry-After 2,831, 503 without 0, other 5xx 0, every client back within 31 s, but it fails its host-save check: 105 of 200 rooms had no host save within 120 s at 1.5-2.5 s per save. The reduced save drill (100 rooms) passes fully (201 saves, 0 rooms without a save, back within 14 s). Open RLB-01c: host-save throughput after a restart with a slow host at 200 rooms. Tests run once: recovery_admission, http, hardening, partial_sync (13), editor busy.test.ts.
  • DB4-07/08 DB100K: a cell edit no longer re-reads the database
    database/src/snapshot.ts: the block's snapshot cache records what each Yjs change touched; a change whose paths are all rows.<id> re-reads those rows and keeps every other row object (row id to index map from the last full read); anything else (fields, order, views, notes, rows added or removed) or an inconsistency reads the whole database as before. Tests (snapshot.test.tsx): a cell edit in a 3,000-row block makes fewer than 20 Y.Map.toJSON calls (3,004 before, seen failing first); 300 seeded random edits, batches, new and deleted rows and renames keep the incremental snapshot equal to a full read. Database package vitest 214 pass. DB100K re-run once (results/db100k-local-m4-incremental.json, same load mix and machine as the first run: one tab, no peers, 100,000 rows x 30 fields, scripted scroll 10 s per scenario with a local cell edit every 500 ms, Playwright Chromium, local Apple M4): p50/p95/p99 ms table 16.7/16.7/16.8, sideways 16.7/16.7/16.8, board 16.7/16.7/16.8, 0 long tasks in each (was table p95 483 ms with 19 long tasks). Passes the gate. Fixture write took 11.5 s (5.5 s in the first run; the one-off load, not the edit path; not investigated).
  • DB4-07/08 DB100K first run
    e2e/perf/db100k.perf.ts once, results/db100k-local-m4.json. Load mix: one tab, no peers, 100,000 rows x 30 fields written in one local transaction, scripted scroll 10 s per scenario with a local cell edit every 500 ms; Playwright Chromium, local Apple M4; fixture 5.5 s; 64 rows in the DOM. Frames p50/p95/p99 ms: table 16.7/483/500, table sideways 16.7/250/300, board 16.7/16.8/200. Fails the gate (p95 <= 16.7 ms). 19 long tasks per 10 s scenario match one per edit: a cell edit costs about 0.4-0.5 s on 100,000 rows (likely the whole-database snapshot rebuilt per transaction); scrolling is within budget. Open: incremental snapshot on edits, then re-run.
  • DB4-07 spec zi passes: WASM under the editor CSP, long press, axe
    Spec zi (zi-db-advanced{,.phone}, E2E_PORT_SHIFT=1100) 3 of 3 pass, now committed. Fixed, each with a test seen failing first: (1) the editor CSP had script-src 'self', so Chromium refused to compile the formula engine ("the engine couldn't load"); now script-src 'self' 'wasm-unsafe-eval' (WebAssembly compilation only; eval and inline script stay blocked; routes::csp_tests, docs/07, docs/15); (2) a new field turned into a formula was renamed back to "Text" by the closing name panel (formula/adv.test.tsx); (3) phone: the click that ends a long press toggled off the row it had just selected ("0 selected"; large/large.test.tsx); (4) axe: aria-multiselectable on the database <table> (allowed on grids only), card rows without a cell (role=gridcell wrapper), avatar initials under 4.5:1 on light person colours (white or black by contrast; a11y.test.tsx checks 586 colours). vitest: database package 212 pass.
  • DB4-07/08/09 (part), PSYNC-03 placeholders
    Large tables and boards (database/src/large/), part placeholders to the prototype (editor/src/editor/placeholder.tsx: sized from the header, no shimmer, "Loading" after 400 ms, retry with a countdown stopping after five tries, "Not on this device" offline). vitest: large 9, placeholder 4, whole database package passes; the old 1,003-row table test now checks the large grid. Found by spec zi (seen failing first; unit tests added and seen failing with each fix reverted): a brand-new formula field never loaded the engine ("Loading formulas…" forever; the formula and rollup panels now ask for it), axe aria-allowed-attr on the row-number cell (aria-pressed on a rowheader; now a rowheader span holding the toggle); the phone spec long-pressed an off-screen overscan card (now targets cards by text). Initial JS 297.9 KB gzip (budget 300). DB100K: not run.
  • DB4-07/08/09 (part), PSYNC-03 placeholders
    Large tables and boards (database/src/large/), part placeholders to the prototype (editor/src/editor/placeholder.tsx: sized from the header, no shimmer, "Loading" after 400 ms, retry with a countdown stopping after five tries, "Not on this device" offline). vitest: large 9, placeholder 4, whole database package passes; the old 1,003-row table test now checks the large grid. Found by spec zi (seen failing first; unit tests added and seen failing with each fix reverted): a brand-new formula field never loaded the engine ("Loading formulas…" forever; the formula and rollup panels now ask for it), axe aria-allowed-attr on the row-number cell (aria-pressed on a rowheader; now a rowheader span holding the toggle); the phone spec long-pressed an off-screen overscan card (now targets cards by text). Re-run of zi (E2E_PORT_SHIFT=1100) after these fixes: the 5,000-row table spec passes; 2 still fail, so the two zi-db-advanced specs are not committed yet: (1) the formula panel now asks for the engine, but the browser refuses the WASM ("the engine couldn't load"); likely cause: the editor CSP (crates/oc-server/src/routes/mod.rs, script-src 'self') lacks 'wasm-unsafe-eval', not yet changed or verified; (2) phone: a long press on an on-screen card opens the selection bar with "0 selected". Initial JS 297.9 KB gzip (budget 300). DB100K: not run.
  • RLB-08 (part 1): downgrade start rule
    Finding while preparing the 0.3 ↔ 0.4 drill: a release refuses a database a newer release migrated ("migration N was previously applied but is missing"), so every downgrade needed a database step. Seen failing first: storage_conformance.rs::a_database_migrated_by_a_newer_release_still_opens (SQLite, a fake applied migration 999). Fix: SQLite and MySQL/MariaDB migrators set ignore_missing (migrations stay additive within a release pair; docs/13 "Upgrades and downgrades"); storage_conformance 17 of 17 pass. 0.3.x itself cannot be changed: a downgrade to 0.3 is a restore of the pre-upgrade backup (OC_RESTORED=1) or deleting the rows of migrations 12 and 13 (both additive). Open: the rolling 0.3 → 0.4 → 0.3 drill under load (Docker Desktop failed to start; v0.3.0 sources extracted, build not finished).
  • RLB-03 backup and restore, restore epoch
    Runbook in docs/13 "Backup and restore" (SQLite VACUUM INTO, MySQL/MariaDB mysqldump --single-transaction + binlogs, Redis RDB/AOF). Restore epoch (migration 0013 restore_epoch, OC_RESTORED=1 once at start, Store::mark_restored): offline generations read at least the highest in the backup + 1,000,000 (also for people with no row), and revokes go on from there; schedule slots due before the restore are skipped and logged (skipped/RESTORED); webhooks rely on receiver Idempotency-Key dedup; idempotency keys finished after the backup: accepted and documented. Seen failing first (stub mark_restored): storage_conformance.rs::a_restored_database_never_un_revokes_a_device ("restored_at 0 ≠ 5000", SQLite) and automation.rs::a_slot_due_before_a_restore_is_skipped_not_run_twice ("the 09:00 slot ran again after the restore"). After: both pass (storage_conformance on SQLite and MySQL 8.4), with automation, offline. scripts/restore-drill.sh (new): backup under load (50 rooms × 2, 40 s, WAL durability), revokes after the backup, restore, OC_RESTORED=1, checks. SQLite (backup at 222 WAL rows) and MySQL 8.4 Docker (167 rows): all pass: load converged and reached the host, restored server ready, integrity ok (SQLite), gen floor 1,000,001 > 2, the post-backup revoke absent from the backup, a new load on the restored database passes (RLB-A4).
  • PSYNC: database edits between two editors on a split room (browser suite)
    The full browser run with partial sync on failed 67/146 (first: b-live-autosave, a Done toggle never reached the other editor). Causes: (1) the router's owner index did not know items editors wrote while the room was split, so deletions in a later whole view were dropped and new blocks were assigned by guesswork; (2) a part's delete set, re-merged with flatten, lost deletions of items outside the update; (3) the client-id guard refused a part's echo of structs the room had sent; (4) read-only editors' empty sync replies were refused as writes. Rule now: an item's owner is decided where it is applied: what an editor or the server applies to the main document belongs to the main document (recorded in the index at apply time); a part's writes belong to that part; only a split (open or after a whole view) moves blocks into parts, and it sends every editor the new parts list. Plus: main_share keeps the update's structs and cuts only its delete set; unknown ranges belong to the main document; read-only echoes that add nothing are ignored. Tests: tests/partial_sync.rs 13 pass (new: a deletion during a whole view reaches everyone, seen failing first; a block that becomes a part is announced); the 59 previously failing browser specs pass with E2E_PARTIAL=1 (zg-live-gaps' old-editor emulation keeps subdoc on a split room). Separately, 7ad6ccf's content-visibility broke r-permissions:56 and zb-block-samples:58 (checked by building each half); removed in 12850e0. partial_sync stays off by default (PSYNC-BUG-1..4).
  • PSYNC-A1: the editor side of the 50 MB first screen
    CPU profile (BENCH_PROFILE=1, new; unminified build): Tiptap core's getChangedRanges/simplifyChangedRanges (quadratic in a transaction's steps) and position mapping took ~28 s of main thread on the block-id pass, one transaction with a step per block (the fixture has no ids). Fix: blockId assigns at most ID_CHUNK (200) blocks per transaction, the first pass at once and the rest in idle callbacks (vitest seen failing first). After it the profile showed no quadratic work, so the delete core extension stays on. Text blocks get content-visibility: auto (with overflow-clip-margin for caret labels). Bench (wsMs, new: socket open, first frame, main document synced, from navigation), 50 MB fixture, docs/36 profile, local Apple M4 (shared with other suites), pinned server binary, one editor, no edits: first screen 5,925 ms median of 5 (2,539-12,255), heap 16.5 MB, worst load frame 0.8-1.6 s (was 7-11 s). Main document synced at 1.9-10.9 s; first screen 0.7-1.4 s after it. PSYNC-A1 (< 2 s) still not met: the time before the socket opens is the page boot plus the room opening the 50 MB file inside the launch/session request (server side; no Rust build was allowed in this round). Next: cache the split per host version, or answer the session before the room has opened the file. Editor specs h, b, ze-find, zh, k, x: 18 passed and ze-find failed once under load ("1 of 2" for "1 of 3") and passed on its own (5 passed).

2026-11-26

  • RLB-01b recovery-storm pool timeouts (MySQL)
    Seen failing first: scripts/crash-drill.sh --reduced migration on MySQL 8.4 (Docker :13357), migration-then-edits: 52 of 100 viewer launches 500 for 21 s after the restart ("pool timed out while waiting for an open connection"; 200 slow-acquire warnings, 38 "save not started"), recovered state read in 21,317 ms. Cause: every room reopened at once and their epoch claims, WAL reads and outbox writes held all 16 connections. Fix: at most OC_ROOM_LOADS (8) rooms load at once (room::actor::load_permits), and the MySQL/MariaDB pool is OC_DB_MAX_CONNECTIONS (default 32). After, the same drill: 100 rooms read in 642 ms (open p50 200 ms), 0 viewer errors, 0 acked lost, restart log errors 0; all 6 migration kill points pass.
  • DB4-03/04/06 (DB4-05 part): formula, relation and rollup fields in the editor
    vitest src/formula: 12 pass; mutation check (computed values not overlaid on the rows) fails 2 of them. Whole database package 197/197. Engine: NOW(), EMPTY; vectors re-blessed (563), WASM rebuilt.
  • DB4-01/02/10: formula engine (ADR-078)
    cargo test -p oc-formula: engine 11, props 6 (proptest; first run found index out of bounds in eval on a call with too few arguments when the checker is skipped: arity now checked in eval), vectors 1 (560 cases). oc-model formula::tests, validate::computed_tests pass. vitest src/formula: WASM gives the same 560 values. [host.flags] formulas (off) in the session JSON.
  • RLB-01 single-node crash drills
    scripts/crash-drill.sh (new): edits, save (host saves 1.5-2.5 s, kill with saves in flight) and migration (kill -9 at 20-1,000 ms into the first start on an empty database, then restart, then the edits drill on it), on top of oc-bench verify --crash-at. Local, Apple M4, --reduced (100 rooms × 2, 30 s, OC_DURABILITY=wal). SQLite: all pass (edits: 0 acked lost, converged; save: 0 acked lost, 310 saves, 0 sent edits missing at the host; migration: 6 of 6 kill points start again). MySQL 8.4 (Docker :13357): edits and save pass with 0 acked lost and 0 edits missing at the host. **Finding (High, availability): a kill during a MySQL migration left a dirty _sqlx_migrations row and the node never started again** ("migration 1/2/9 is partially applied" at 60, 120, 250, 500 ms; MySQL DDL commits per statement). Seen failing first: storage_conformance.rs::a_migration_killed_halfway_is_finished_at_the_next_start (MySQL; "migration 12 is partially applied"). Fix: store::finish_dirty_mysql re-runs a dirty migration statement by statement under the GET_LOCK migration lock, skipping what the killed run applied (table/column/index exists, table already dropped), then marks it done. After: the migration drill passes 6 of 6 kill points on MySQL. Open (RLB-01b, Medium): migration-then-edits on MySQL in Docker on macOS: after the restart 52 of 100 viewer launches answered 500 for about 21 s ("pool timed out while waiting for an open connection"; the pool is fixed at 16 while 100 rooms recover their WAL and write the outbox); 0 acked edits lost, rooms converged, the host has every edit. Nightly job crash-drill (SQLite, MySQL 8.4) added to reliability-nightly.
  • RLB-04 flaky tests: inventory, policy, repeat jobs, one product race fixed
    Inventory (gh run list -w ci.yml, failures of the last 3 days): p-people :35/:156 (12 runs; "@" typed, no picker: fixed on main by 2b9f261, the caret-rect fallback), zf-offline-2 :56 (2 runs; fixed by e53c22f), rooms.rs::queued_awareness_is_encoded_once_per_batch (1; already bounded 1..=3 per send tick), automation.rs::a_date_rule_runs_once_at_nine_with_the_room_closed (1; "one node takes the slot" 0 ≠ 1), t-mobile-blocks.phone MOB-06 PDF (1) and za-block-sdk axe (1) not reproduced, left to the nightly repeat job. Root cause of the date rule: the room wrote its schedule from a spawned task computed with "now"; a room opening after 09:00 and before the sweep (every 20 s) rewrote the due 09:00 slot to tomorrow, so the reminder never ran (a real product bug: an editor opening the canvas at 09:00:05 skipped it). Seen failing first: automation.rs::opening_the_room_after_nine_keeps_the_due_slot (schedule moved to 1795766400000, tomorrow). Fix: automation_schedule_set(.., now) keeps a due slot when the new time is later (the sweep runs and advances it); the room's opening write is awaited, not spawned. storage_conformance asserts the rule on every backend. Repeat: scripts/repeat-tests.sh 12 -p oc-server --test automation 0 of 12 failed; p-people --repeat-each=5 10 of 10. Added: policy in docs/13 "Flaky tests" (tracker row, root cause, no timeout raise, quarantine with owner and ≤ 14-day expiry, list empty at release); .github/workflows/reliability-nightly.yml (Rust 5×, browser --repeat-each=3, nice); CI runs added or changed specs --repeat-each=5.
  • PSYNC-02..04 completed; partial_sync on by default
    Redis: a stream per part (oc:wal:{room}:p:<doc>, so trimming the main stream after a snapshot never drops a part's rows), a set of part ids, and under Redis-only storage a snapshot hash per part (epoch-guarded script); supports_parts() is true on every storage; conformance (14) passes on SQLite and Redis 7 (Docker, port 16399), and parts_on_redis_survive_a_crash on the Redis WAL and on Redis only. Crash safety: under memory durability a part's rows go to the WAL as they happen (memory_durability_writes_part_edits_to_the_wal). A room recovered from the WAL resumes seq after every part's rows (found by the Redis test: new rows collided with part rows). Fast open: a room that splits cuts the file's ydoc.bin as it is (read_ocanvas_raw), validates the main document (a part when first loaded), takes headers and the history baseline from document.json, and writes the part snapshots in one transaction; the parser no longer allocates per item; measured on the fixture before: read 5.2 s + history JSON 3.5 s + encode/split 2.2 s + parts 4.1 s = 16 s to the first sync. Find: while there is a query, every part loads (released two minutes after). PSYNC-A4: fuzz_split_rooms_converge (text, cells, API writes taking whole views, releases, unloads, evictions; OC_PSYNC_FUZZ iterations, 10,000 nightly) found that a main-document update from an editor during a whole view deleted every part's items (its delete set names the main document's fillers); parts::main_share keeps only deletions of parts the update also writes to (seen failing first); a_split_room_serves_parts_to_editors_on_both_nodes (two nodes, relayed parts list and type 101). Default on: [host.flags] partial_sync unless false; test hosts default to false (those suites test whole rooms), docs/05 and the 0.4 upgrade note in CHANGELOG. PSYNC-A1 (first screen < 2 s) is not met: 50 MB fixture, real editor, docs/36 profile (4x CPU, 40 Mbit/s, 40 ms, 1280x900), local Apple M4, one editor, no edits, release binary pinned with OC_BIN: 9,182 ms median of 5 (8,055-13,096) against 29,961 ms whole; JS heap 15.5 MB against 472 MB; 35 parts listed, none loaded before the first screen. The load has 10-17 long frames, the worst 7.3-11.4 s: ProseMirror building the main document's 200 pages (5,739 elements) in one frame under the 4x throttle. Reaching 2 s needs the editor to render the main document progressively (first screen first), a new item, not done here.
  • PSYNC-03/04: the editor side and compatibility
    Editor (lib/parts.ts, lib/blocks.ts, editor/partsundo.ts, offline copy): caps=ext,live,subdoc; a database or board view asks for its part when within one screen (IntersectionObserver, rootMargin 100%), shows the existing block skeleton sized from the header until step 2, releases two minutes after leaving; held parts re-requested after a reconnect (the handshake also sends offline edits); one newest-first undo order over the main manager and a manager per part; an offline copy pins every part and keeps the list and each part's state sealed on the device; find, automation, block duplication, content and diagram import use blockMap/blockDoc/eachBlock/observeBlocks. Server: a main update that reaches into a part (a block that just became one) takes a whole view so it is routed, not lost (seen failing first); memory durability now splits (parts written on dump and when a whole view splits; seen failing first). Found by spec zh (seen failing first): the client framed type 101 without the custom-message length and the inner message's sync type, so no part loaded in a browser; fixed and docs/15 §3.2 corrected. Tests: editor unit tests 35 files pass; server tests/partial_sync.rs 8 pass (incl. a_split_room_saves_what_a_whole_room_saves: same document.json, search.json and API state split or whole, 0.3 reader opens it); Playwright zh passes on a partial_sync host (E2E_PORT_SHIFT=810: 800 puts the sample host on 5000, which macOS Control Center holds), and b, ze-find, zf-offline, zf-offline-2, zf-automation (18) pass. Initial JS 296.9 KB gzip (budget 300). First screen, 50 MB fixture, real editor, docs/36 profile (4x CPU, 40 Mbit/s, 40 ms, 1280x900, local Apple M4, one editor, no edits): whole room 29,961 ms median of 5 (27,243-45,606), heap 472 MB. With partial sync: not measured yet. The BENCH_PARTIAL runs reported no split because the shared target dir's release binary had been rebuilt from another tree without the memory-durability change; the bench now takes OC_BIN to pin a binary. Open: that measurement (PSYNC-A1, target < 2 s); PSYNC-A4 fuzz/cluster with parts; find does not search parts that are not loaded.
  • PSYNC-02 (part 2): partial sync in the room, behind [host.flags] partial_sync (off)
    room/split.rs: on open the room splits the canvas (parts as room_part_snapshots, main as the room snapshot), recovers a split WAL, or folds parts back when the flag was turned off; joiners without caps=subdoc closed with 4426, others get {"t":"parts"}; type 101 frames: step 1 loads a part (access and same-file checked per request; sub-denied otherwise), updates only for loaded parts, view/comment refused, one client id per document; parts unheld for part_evict (30 s) are snapshotted if written and dropped. Server work (patch, template, history, icons, tools, AI undo, automation undo, save, conflict) runs on a whole view (parts::flatten of main + every part, ids kept) whose updates are cut by owner (route) into per-document WAL rows and holder frames; the view splits again after whole_release (20 s), snapshotting only parts whose owned ranges moved. GET state merges the parts' bytes without a whole view. Found while testing (seen failing first): yrs lists GC in a document's delete set, so a part's update applied to the whole canvas deleted every other part's items; parts::own_share cuts a part's update to its own items, deletions and clock ranges, used for part edits during a whole view (model test a_part_applied_to_the_whole_document_changes_nothing_else, room test a_part_edit_during_a_whole_view_touches_its_block_only). Tests tests/partial_sync.rs: mixed versions (0.3 editor closed 4426 next to a 0.4 one; flag off serves it whole), load on demand + holders only + API read/write + v1 save with item ids, role per request + other file's block refused, eviction and reload from the WAL. All 50 server test binaries pass. Room memory on the 50 MB fixture with 20 viewers (caps=subdoc, first page, no edits; release build, Apple M4, local; one process per figure, test-process RSS): split room opened from its WAL 220 MB (a high-water mark: opening walks every part once, one at a time, to index its ids) against 4,401 MB for the same room whole (2,382 MB in a second run), 5-9%, under the 30% bar (tests/partial_sync.rs room_memory_on_the_fixture). Open (PSYNC-03/04): the editor; the Redis WAL; a save still builds the whole canvas for its duration (the byte merge exists, write_ocanvas needs a Doc); mentions and HAPI-05 change events see the main document only between whole views.
  • PSYNC-02 (part 1 of the server work): ID-preserving split and flatten; WAL per document id
    oc_model::parts: own lib0 v1 parser; each item is owned by the part of its parent (origin's parent when the parent is not encoded), databases[k]/boards[k] start a part; foreign clock ranges become GC fillers so every part is a stock Yjs document with the original state vector; flatten copies each range's raw item bytes from its owner, GC elsewhere (keeping yrs' GC struct boundaries, which it does not always squash), delete set only for owned items; route cuts incremental updates with an owner index and prefixes fillers. Property tests seen failing first (yrs byte-offset panic in the generator, unsquashed adjacent GC, delete ranges on GC sent to a part without the client's structs → pending, a state vector short of an all-GC range): 300 random 3-replica canvases split→flatten give the same struct bytes, delete set, state vector and JSON; re-encoded parts flatten to the whole; concurrent edits on parts converge with edits on a flattened copy. 50 MB fixture (crates/oc-model/examples/psync_fixture.rs, Apple M4, local): flatten byte-equal to the original struct section, main 804 KB + 35 parts (largest 2.29 MB), split 1.4 s, flatten 0.5 s; yrs holding main 6.7 MB RSS vs whole 737 MB (0.9%, bar 30%); load mix: one process, no edits. WAL: migration 0012 (room_updates.doc_id, room_part_snapshots with header); main load/compaction only touch doc_id = ''; load_part, compact_part, part_keys, drop_parts; SQLite and MySQL only (supports_parts false with the Redis WAL). Conformance test seen failing first (main compaction dropped part rows). Open: room integration (lazy load/evict, per-request role check, routing in a whole view for API/MCP/automation/history/exports, flatten on save), protocol type 101 in docs/15, caps=subdoc + 4426, [host.flags] partial_sync (docs/05), room memory measured in a running room, mixed-version test.
  • Fix: zf-offline-2 :56 (chromium, CI run for 4337f72)
    Not the p-people cause and nothing leaking between specs (each test has its own browser context). The trace shows the offline reload of /app/ failing ERR_INTERNET_DISCONNECTED: the service worker registered 3 s earlier had not finished caching the editor code when the test went offline, so the frame never loaded and no locked copy showed. goOffline now waits until the worker is activated, as zf-offline already checks. Seen failing first with /app/shell.json delayed 8 s (the same symptom at the locked-region wait); after, it passes with that delay, and zf-offline + zf-offline-2 8/8 without it. p-people :156 in the same run is the late-plugin race fixed in the row above
  • Fix: CI red on main (c9b40f4). p-people :35/:156 (chromium) and automation_cluster::the_daily_limit_is_counted_cluster_wide (MariaDB)
    p-people: the CI traces show "@Ravi" typed before the late plugins loaded (one /v1/members?q=Ravi fetch, none for R/Ra/Rav; the suggestion decoration in the DOM, no .pop). installLate registered 5 plugins one by one; each reconfigure recreates every plugin view, the Collaboration view's re-render started the mention menu, the next registration destroyed its view (onExit cleared the menu), and the suggestion then stayed active with the same query, so it never reopened. Now one reconfigure, then one no-op transaction so a "/" or "@query" typed earlier opens its menu. Seen failing first: new late.test.ts (store empty), and with the late install delayed 1.5 s p-people failed 3 of 7 locally with the CI symptom; after, 7/7 with the delay, late.test.ts passes, editor vitest 213/213, j/m/p-people/zc/zd/ze-live-blocks/t-mobile-blocks 34/34. Daily limit: the test waited for 2 logged runs, but a run's row is written running before it reads the room; the test then closed the room under it and it failed FILE_UNAVAILABLE (CI: done, failed, done, skipped). The test now waits until the runs finished. Seen failing first with a 300 ms pause before the run reads the room (same FILE_UNAVAILABLE, 2/2); after, 3/3 with the pause and the file 7/7 ×3 on MariaDB 10.11 + Redis 7 without it
  • BENCH-03 browser baseline (machine local: Apple M4, 10 vCPU, 16 GB, macOS 26.3; Chromium 159; 4× CPU throttle, 40 Mbit/s, 40 ms RTT on HTTP; one editor per run, fresh file id, SQLite; 3 runs, medians)
    First screen S 733 ms, M 3,331 ms, L 5,937 ms, 50 MB 45,582 ms (PSYNC-A1 target < 2 s: FAIL, worst 47.2 s). Heap after GC S 10.2, M 53.9, L 109.6, 50 MB 472.1 MB. DOM nodes 588 / 2,024 / 4,453 / 10,510. Long frames during load: 50 MB 24–55 frames, 48–67 s blocking, worst single frame 16.6–18.7 s; while scrolling 18,000 px: worst 60–281 ms. Initial JS 294.1 KB gzip, 5 requests, nothing forbidden. Bug found and fixed: the server sent the editor uncompressed (955 KB for the 294 KB-gzip initial JS; no deployment in deploy/ compresses either). The build now writes a .gz beside each text asset and /app/ serves it (ServeDir::precompressed_gzip); tests/web_assets.rs failed first (no content-encoding), passes now; transfer 955 → 297 KB, S first screen 1,875 → 1,217 ms in the same smoke run. Budgets from the baseline in bench/budgets.toml (heap S/M +5%; L, 50 MB baseline +5%); check-browser.mjs on this result fails only 50 MB's first screen (the target)
  • BENCH-04 fast gate
    scripts/bench/check-fast.sh (16 s: editor build + check-budget.mjs, budget from bench/budgets.toml): initial JS 294.1 KB gzip of 300 KB. --forbid seen failing first (--forbid=web/packages/ui/src/ → exit 1); it also showed that source-map paths are chunk-relative, so the patterns now match paths from the repository root, and that offline/{marks,pending,status} are initial by design (the forbid entry names `offline/(ui
  • BENCH-01 benchmark harness, local baselines (machine local: Apple M4, 10 vCPU, 16 GB, macOS 26.3, internal SSD; SQLite; load generator on the same Mac; other work on the machine, load average 3 → 12)
    X10K short (10,000 connections, 500 rooms, demo:big 3:1, 7,500 idle / 1,500 presence 2 Hz / 1,000 typing 1 edit/s, 4 min in 30 s buckets, kill -9 + restart at 2 min): not scaled down (fd limit 61,440, one source address was enough). Ramp 10,000/10,000 in 52 s; p50 42 ms (the 40 ms outbound tick is the floor); p99 per bucket run 1: 703, 308, 49, 242, fault 1,910, 52, 3,533, 3,494 ms; run 2: 1,214, 2,114, 6,280, 11,329, fault 16,251, 10,424, 433, 390 ms: FAIL p99 < 250 ms. RSS max 1.7 GB (pass < 6 GB); server CPU 1.1–1.7 cores; restart ready in 0.5–1.0 s; all 10,000 back, max 7.8 s (run 1) / 33.7 s (run 2) (pass < 60 s); no drops outside the fault. The spread between runs and the low server CPU point at the shared machine and the load generator (≈ 1 core, same Mac) as much as the server: to be split on the reference machine. R1K short (1,000 peers, 1 room, 100 typing 2/s, 900 presence 5 Hz, 4 min): the room cap admits 550 (MAX_PEERS, not configurable), 450 refused with 1013 and retrying; for the 550: p99 41–46 ms every bucket, server 0.5–0.6 core, RSS 106–155 MB, drift −0.1%; FAIL "all 1,000 connected". Bug found in the load client and fixed: a client refused by a full room reset its backoff on every connect and retried every 0.5 s (27,000 refusals per 30 s), counted as drops, and pushed p99 to 2.6 s; refusals are now counted apart and the backoff resets only after a session that lasted (rerun above). Results: bench/results/2026-11-26-{x10k-short-local-run1,x10k-short-local,r1k-short-local}.json
  • PSYNC-01 partial sync spike: subdocuments vs a first-screen projection (ADR-076)
    Fixture: new seeded generator scripts/bench/fixtures/ (the benchmark generator had not landed), canvas-50mb = 50.85 MB Yjs state (56.5 MB .ocanvas). Spike code in spikes/psync/ (own Cargo workspace, not in the product build): split cuts the fixture into a whole update, a main document (809 KB) + 35 subdocuments, and projections, and checks main + subdocuments flatten back to the same logical document; hold loads each into yrs under /usr/bin/time -l; web/bench.mjs runs Playwright Chromium with CDP 4× CPU, 40 Mbit/s, 40 ms, median of 5, local Apple M4, one viewer, no edits. Results: 0.3 whole document 6,059 ms to first screen, 10.53 MB, room 734 MB, browser heap 385 MB; subdocuments 228 ms (531 ms with a database on screen), 191 KB (655 KB), room 5.0 MB (38.9 MB), heap 3.4 MB (20.2 MB); projection 182 ms and 26 KB to paint but caret at 6,310 ms, room 734 MB, heap 385 MB. Chosen: subdocuments (meets PSYNC-A1 and A6; the projection fails both). Not proven: the spike split JSON with new item ids; PSYNC-02 must split by item so the v1 save is a byte merge (docs/36 §2.5, ADR-076 updated).
  • RLB-05 MySQL storage_conformance parallel failures
    Setup: mysql:8.4 on :33061, mariadb:10.11 on :33062, redis:7 on :63791 (Docker). Seen failing first: with OC_TEST_MYSQL_URL the file failed 3 of 3 runs in parallel (stale_epoch_is_refused_on_every_guarded_write, "stale epoch" at the stale-epoch test's first append_updates); with --skip idempotency it passed 5 of 5. Cause: every MySQL test shared one database, and idempotency_keys_claim_once_replay_and_expire calls purge_expired(now + 10 days), which deletes room_epochs rows older than a week whose room has no rooms row; the tests stamp epochs at 1,000–2,000 ms (1970), so another test's epoch row vanished mid-run and its next guarded write was fenced. SQLite never showed it (a file per test). Not a store race: in production the sweep only drops epochs of rooms closed for a week. Fix: backends() creates a fresh database per test (as the migration test already did). After: 5 of 5 on MySQL 8.4 + Redis, 3 of 3 on MariaDB 10.11 + Redis, 13 tests each. CI: the automation-cluster job (MySQL 8.4 and MariaDB 10.11 matrix, Redis service) now also runs storage_conformance.
  • OFF-08 offline test gaps: a simulated day offline (vitest fuzz) and expiry, queued uploads and the unsent pause end to end (Playwright zf-offline-2, Chromium)
    Seen failing first: the fuzz (summary mismatch: deleting a block counted as editing it; and a block someone moved lost the offline edit with no summary item, also as a unit test that fails on the old merge.ts); zf-offline-2 expiry reconnect (the offline edit never arrived: a copy opened locked was not read into the document, so the replay sent nothing and confirmed the log), expiry while open (the text was still in the page, hidden), queued upload (no "Waiting to upload" caption). Fixed in offline/merge.ts (blocks by Yjs item, moved), offline/controller.ts (read the locked copy before sending or holding), App.tsx (locked/revoked render the title only; no view banner while locked or paused), editor/nodes.tsx (pending caption). Fuzz: seeds 1, 7, 42 and OC_FUZZ_SEED at 4,000 steps each (about 2.5 s), checks convergence, no lost single-side text (except a block deleted live, after the text reached the server), the summary items, frame sizes and packing, cut replays; OC_FUZZ_LONG=1 (60,000 steps a seed) run once locally: 4 passed in 64 s. Expiry is driven by Playwright page.clock (no test-only grant config). zf-offline-2 4 tests, --repeat-each=3 12 passed; zf-offline still 4 passed. Known limit: text written offline in a block that someone else deletes offline and sends later is gone without a summary on either side
  • SRCH-06 replace inside live blocks in the browser
    The zg-live-gaps replace test, un-fixme'd, failed first ("1 of 1"; then the dialog without the path, because the registry kept the path from mount time; then Sam's match order). Fixed: the registry reads the title and path live; the test no longer moves past the first (live) match. Now: zg-live-gaps 5/5, ze-live-blocks 2/2, zf-live-embed 1/1, ze-find-search 5/5 (chromium). ze-live-blocks.phone (webkit-phone) fails in the template gallery or after it on this machine with the gap changes reverted too (the typed line lands in the top callout, or "Use template" times out): not caused by them; left open
  • SITE-03 website SEO, AEO and GEO: structured data per page type, titles and descriptions, sitemap lastmod from git, Facts page, FAQ rewrite, llms.txt facts, 404 at the domain root
    Seen failing first: check-site-seo.py on the old site, 314 problems (descriptions over 160 characters, no JSON-LD on 48 pages, no lastmod, no og:locale or Twitter tags); the new check-site-claims.py self-test cases fail on the old checker. Now: check-site-seo 50 pages OK and self-test 20 cases; check-site-links and check-site-claims pass; test_sitelib 8 tests; check-site-pages.mjs 200 axe runs (50 pages, 1440 and 390 px, light and dark), zero violations, no overflow or console errors, served at the root
  • NC-03 Nextcloud full integration run (SRCH-05 and LEGAL-01 in a real Nextcloud)
    Setup by integrations/nextcloud/test/e2e.sh: nextcloud:31-apache 31.0.14 (SQLite) on :8490, app copied in (a bind mount into custom_apps made the installer fail: "Cannot write into apps directory"), OpenCanvas release build on :8680 with a proof key, connection check 4/4. nextcloud-full.e2e.mjs: LEGAL-01 line in the app description; New menu > New canvas opens in the Viewer; template + heading + line, saved into the file; unified search (OCS provider opencanvas) finds it for alice with "<line> · Release 4.2" and a #block= link, one oc_opencanvas_search row; bob finds nothing, then with a read-only share finds it and opens view-only; the header search hit opens the full page at the block in view; WebDAV delete empties search and the index row. Seen failing first: the hit title kept .ocanvas (SearchTextTest::testTheTitleShownLeavesOutTheExtension failed, then the run). Now RESULT: PASS (16 ok) on 2 runs; PHP unit 47/47
  • AUTO-CL automation in a Redis + MySQL cluster
    Setup: redis:7 on :13318, mysql:8.4 on :13316, mariadb:10.11 on :13317 (Docker); three in-process nodes per test with real Redis leases, members/events bus and hot WAL, a fresh database each. tests/automation_cluster.rs: a date slot runs once across 3 nodes (non-owners sweep first); a slot claimed by a node that then dies runs once on another after the claim and the 3 s lease expire; a node dying after logging the run does not repeat it, the janitor logs it INTERRUPTED; row changes through n1/n2/n3 and after the owner moves run once each; the 4-rule loop stops at depth 3 twice from different nodes; runs_per_day = 3 counted across an owner move; 10 failures on two owners pause once with one notification; every node reads the same run log with no duplicate id. Seen failing first: PUT /automations through a non-owner answered 503 "the room moved to another node" (API, editor and MCP rule calls never forwarded); with the non-owners sweeping first the slot was never run (deferred 5 min, 0 notifications); the interrupted run stayed running. Now 7/7 on MySQL 8.4 and on MariaDB 10.11. Not fixed, seen while running the full suite with OC_TEST_MYSQL_URL on MySQL 8.4: storage_conformance stale_epoch_is_refused_on_every_guarded_write / snapshot_replaces_the_covered_wal_and_never_goes_back fail when the file runs in parallel (pass alone); the CI rust job sets no MySQL URL, so it never ran there
  • LEGAL-01 trademark check (not legal advice) and owner decision
    Read nextcloud.com/trademarks (updated 2024-06-26), nextcloud.com/brand and mattermost.com/trademark-standards-of-use on 2026-11-26. Findings: the listed names are plain "OpenCanvas" (app id opencanvas, plugin id com.casualoffice.opencanvas), which both sets of terms allow; nothing carried a trademark or not-affiliated line (Mattermost Standard 6 asks for "Mattermost is a trademark of Mattermost, Inc."); the plugin used "Mattermost" as a noun (Standard 4: adjectives only); the only reproduced logo was a drawn Nextcloud mark in docs/prototypes/nextcloud-approved/NextcloudScreens.html; shipped icons are our own. Owner decision 2026-11-26: add the line "Nextcloud is a registered trademark of Nextcloud GmbH. Mattermost is a trademark of Mattermost, Inc. OpenCanvas is an independent open-source project, not affiliated with or endorsed by either company." to both READMEs (so the site pages), info.xml, DESIGN.md §10 and NOTICE; reword the plugin text; replace the logo with a neutral rounded square. Seen failing first: TestCommandReplies, TestCardMessageUsesMattermostAsAnAdjective, TestOpenPageSignedOutWording (Go) and bundle-check.mjs (webapp) on the old strings; green after. Advice kept open: Mattermost's Standard 1 asks for prior written approval, so contact [email protected] before a Marketplace listing; ask Nextcloud before any commercial use around Nextcloud.
  • AUTO-06 follow-ups: entry points (1c), the triggering person's Undo toast (3a), numeric query parameters on the editor routes
    Seen failing first: editor_routes_take_numeric_query_parameters answered 400 ("invalid type: string \"5\", expected u64": a #[serde(flatten)] query struct reads numbers as strings) before the explicit fields; /v1/search with limit likewise. the_person_who_triggered_a_run_is_told_and_can_undo_it fails with the notice switched off. automation 12, search 8; Playwright zf-automation adds the entry points and the toast
  • AUTO-06 automation panel (approved prototype)
    Vitest 4 (automation/model.test.ts: write/read/switch/delete with the saver as owner, sentences with broken tokens, the server's checks in words, next run in Europe/Berlin, run outcomes). Playwright zf-automation.spec.ts (create from scratch, test run, a new row runs it and shows in the run history, a URL on another origin refused, switch off; view only; a host without automation; axe light and dark with reduced motion) and zf-automation.phone.spec.ts. Editor initial JS 286.6 KB
  • AUTO-01..05, AUTO-07 automation server (ADR-067/068, migration 0010)
    Seen failing first: tests/automation.rs found the field-name trigger match (rules name fields, events carry ids), a wrong year in the pinned clock, a 302 retried into success (now final, as webhooks) and a stale-peer write in the filter test before the fixes. 10 integration tests (Done moves the row and notifies once; owner without edit pauses and changes nothing, Run it as me; a 4-rule loop stops at depth 3 with 3 done; URL calls signed, idempotent, named fields only, origin refused at save, redirect not followed; 10 failures pause and notify once; a date rule runs once at 09:00 UTC+1 with the room closed and two workers; clients need perms.automate and own what they enable; test run changes nothing; 404 without the table; MCP parity), unit tests for the config, engine, schedule, time zones and the rule model with a 0.2 round trip; the automation tables hold no text. Cluster with Redis/MySQL not run here (see report)
  • OFF-02..07 editor and server: offline copies (encrypted IndexedDB under a device key), service-worker shell and offline open, fresh-launch reconnect with chunked replay, checkpoint before long merges and the collaborator toast, merge summary, held/revoked/locked/paused states, queued uploads (oc-pending:, MOD-01), clearOffline()/offlineFiles(), sample host offline + sign-out (ADR-074 Proposed)
    Seen failing first: tests/offline.rs offline_merge_saves_a_checkpoint_first with the control dispatch renamed (no checkpoint); vitest merge summary with the deleted-block check disabled. Rust tests/offline.rs 11 (adds the checkpoint, 5 MB chunked catch-up over a socket, oc-pending MOD-01), oc-model 75 lib tests (pending refs, export placeholders); vitest offline.test.ts 10 and fuzz.test.ts 3 seeds (2,000 offline transactions, three clients converge); Playwright zf-offline.spec.ts (Chromium): keep, offline edit, reload offline, reconnect with checkpoint and toast, revoked, view only, device limit, list, sign-out clear, axe light and dark
  • LIVE-08..11, SRCH-05 Nextcloud, SRCH-06 engine (the v0.3 gaps)
    Seen failing first: tests/live_blocks.rs the_session_answer_carries_the_hosts_folder_path_as_text with path removed from the session answer (Null vs "Leadership weekly › Q1"); insert/model.test.ts nested cases (3, live block and canvas actions offered); find/engine.test.ts live block case (no live matches); Nextcloud SearchTextTest (heading trail dropped, title-only result) and bridge.test.js blockFromHash. Now: live_blocks 24/24, vitest 27 files 193 tests, Nextcloud PHP 46/46 and bridge 10/10, Playwright zg-live-gaps (chromium) 4 passed + 1 fixme (SRCH-06 in the browser). Also fixed: the sample host failed to start (checkSigned declared twice by a merge), so every e2e run on main was broken. Presence "· in <canvas>" label dropped (owner, ADR-069 amendment). Editor initial JS 289.2 KB
  • SRCH-01 find and replace, SRCH-04 search all canvases (ADR-065/066, approved prototype)
    Seen failing first: find/engine.test.ts replace-all undo case fails with the cell and shape writes under an untracked origin (two undo steps); ze-find-search.spec.ts failed on its first runs (the sample host's UI_OpenFile check, a viewer's Esc and focus, the dark mark contrast found by axe) before the fixes. Vitest 13 (find engine on a real Yjs-bound editor: 500 matches one undo step, formatting, read-only cells, comments, cap, time budget, live current match; search model). Playwright: 5 desktop (find, collaborator's text within one update, replace all and Undo, invalid pattern, view-only, cross-canvas result through the host's index to /files/<id>#block=, hidden entry, axe light and dark with reduced motion) and 2 phone. Editor initial JS 286.2 KB
  • OFF-01 server (+ OFF-07 clear page): [host.offline] checked at start-up, perms.offline and offlineReason, the ES256 offline grant in the session answer, offline_generation (migration 0011, Redis oc:offgen:), POST /api/v1/offline/revoke, GET /v1/offline/clear (ADR-063/064)
    Seen failing first: tests/offline.rs with the session answer's offline member renamed fails 5 of 8 (no grant, no generation); the start-up, revoke and clear cases were written with the code and failed to compile without it. 8 integration tests (start-up checks incl. WOPI refusal, off by default, perms.offline with offlineReason, grant signed/capped by max_role/expiry/JWK and tamper-evident, revoke raises the generation per person and refuses bad keys and bodies, canvas:admin required, the clear page's CSP and script, a byte search: only the number is stored), 3 unit tests, a storage conformance contract (SQLite; MySQL/MariaDB and Redis in CI), OpenAPI and both clients regenerated
  • SRCH-02/03/05 server: search.json in every save, POST /api/v1/extract, host GET /search behind GET /api/v1/search, MCP canvas_search and GET /v1/search (ADR-065)
    Seen failing first: tests/search.rs every_save_carries_search_json_without_comments with the zip entry renamed fails (no search.json); the other cases were written with the routes and failed to compile without them. 8 integration tests (save with and without comments, extract 200/415/422/401 and a byte search of the database, API vs MCP parity, host key refused, /access filter, 10/min limit, editor route with the callback token, 404 hides the entry, callback off calls nothing, 504 on a slow host), unit tests in oc_model::search and oc_server::search, a conformance scenario, OpenAPI and both clients regenerated
  • LIVE-03/04 paste-as and the reference card end to end
    Playwright ze-live-ref (chromium): a block link with the editor's clipboard marker pasted into another canvas offers Reference and refuses Live block ("Make it live in its canvas first"); the card shows the source block and follows an edit in the source (Refresh, "Updated just now")
  • LIVE-06 compact view="block" embed in the web component
    Playwright zf-live-embed (chromium): a chat-like host page on its own origin embeds the live file with view="block"; compact chrome, no top bar or header, the element's height follows UI_Resize (< 400 px), an edit in the embed reaches the canvas that embeds the block, axe clean. Seen failing first: the embed crashed on a tiptap view access before mount (PeerBars now waits for the view). Also fixed: Make live now picks its block by id (a position could name another block) and the e2e specs click into the paragraph before the block menu shortcut. Re-run 3 times with q, zd, ze: 7 passed each time
  • LIVE-03 editor live block chrome, Make live, paste-as, host picker, reference card; LIVE-07 unlink and who can see this (ADR-073 Proposed)
    tests/live_blocks.rs 23 (new: the session live answer, view=block in the launch fragment, the audience count without names, 410 → LIVE_GONE; each seen failing before the code). vitest live 9. Playwright ze-live-blocks (chromium, 2: make live, the host picker, Asha and Priya editing one live block from two canvases, who can see this, no access, convert to a copy with Undo, remove and Undo with no 4426, a deleted source, axe light and dark) and ze-live-blocks.phone (webkit-phone: compact header, 44 px options, the sheet). The spec failed first on a real bug (Make live stamped no block ids). Editor initial JS 288.1 KB of 300
  • LIVE-04/05/06 projections, refresh, exports, render API (ADR-072 Proposed)
    tests/live_blocks.rs 19 (projection with ETag/304 and blockRef, refresh under none/title/content, exports byte-searched for a reader without access in md/html/docx/ocanvas/json, API makeLive/listReferences/renderFile); conformance scenario live blocks run by both clients. Seen failing first: before the export wiring, exports_inline_only_what_the_exporting_person_can_read fails (no inlined content); the canvas render without an author resolved (no access) and was fixed in the test, not the server (host-key calls act for nobody)
  • LIVE-02 live block rooms and schema, presence from, usage events (ADR-071 Proposed)
    tests/live_blocks.rs 15 (incl. a two-node cluster relay with the derived role enforced by the owner, and the mixed-version case: a 0.2 editor's removal is refused with 4426 and the room keeps every node), editor src/live/compat.test.ts 3. Seen failing first by mutation: the room rule off fails 5 tests (0.2 editor, flag/perms, depth, 50 limit, snapshot policy); the slot cap off fails the open-limit test; presence filtering and usage events off fail their tests; compat.test.ts keeps the no-rule case that loses the nodes. cargo tests run per binary (676 passed, 0 failed; an earlier whole-workspace run failed history_api only because the Mac slept and sessions expired), pnpm -r test 756 passed, prepush green
  • LIVE-01 live block host contract (ADR-070 Proposed)
    tests/live_blocks.rs (6) + oc-model live unit tests (7) + oc-server live unit tests (3). Seen failing first by mutation: the embedded check, the revocation check off fail derived_sessions_follow_the_hosts_access_answer and a_viewer_of_the_live_file_cannot_change_it_and_revocation_reaches_every_embed. cargo test --workspace 667 passed, pnpm -r test 753 passed, prepush green
  • PERF-11 X10K profile (short, local, loaded Mac) and OC_MAX_PEERS
    Baseline re-run worst p99 20,044 ms; autosave out of window 1,747 ms; sample: ~50% of actor CPU in inline prepare_save. Cap configurable to 1,000 (default 550); config unit test seen failing first
  • PERF-11 alloc_release regression after 641d74f
    RSS after eviction 82–86 MB (limit 75) → 63–70 MB: snapshot groups capped at 1 MB, blocking-thread cache flushed after a save build; alloc_release, rooms, durability, partial_sync, cluster green
  • X10K short and R1K short (OC_MAX_PEERS=1000) after PERF-11/12 (601d2a7), quiet Mac
    X10K PASS: p99 50–64 ms per bucket (baseline 11,329 ms), back in 37 s, RSS peak 3.2 GB. R1K: 1,000 joined, p99 53–81 ms, RSS drift FAIL (+62%: one step at the last sample; reruns −25%, +27%). Fan-out sharding not needed for latency
  • BENCH-05 benchmarks page; allocator gauges; open-file limit raised at start (PERF-11)
    Site checks (links, claims, SEO) green. R1K at 1,000: live heap (oc_alloc_allocated_bytes) grows in 50–80 MB steps (186 → 420 MB in 4 min), cause open

2026-11-25

  • INS-01 categorised insert menu (ADR-062 Accepted, prototype approved)
    Seen failing first: editor/insert/model.test.ts (23 tests: categories, variants and Tab, /h2 /todo /board and the old ids, intents with stop words and stems, Did you mean, Recent ranking, cap, clear and throwing storage, meeting flat list, quick_insert, chips, nothing to insert, Browse all only in full, keyboard map and announcements, phone steps) run against no model: the suite fails to load; then 2 of 22 failed on the first model and were fixed. tests/editor_profiles.rs insert_menu_goal_chips_are_checked_at_start_up_and_reach_the_session failed to compile (no intents/chips) before src/editor.rs. Editor vitest 23 files, board vitest 31 files green; initial JS 285.0 KB (unchanged); px-to-rem --check clean. Playwright zd-insert-menu.spec.ts (desktop: category flyout, Callout Decision by Tab, intent, /h2, Did you mean, keyboard-only Database Board view, axe light and dark on the menu and flyout; meeting host :4203 flat list) and zd-insert-menu.phone.spec.ts (sheet, Layout → Columns step, /h2, intent, meeting tiles); zc, f-phone and l-ux-phone updated for the consolidated list and drill-in
  • ACC-V2 and REL-04: v0.2 acceptance rows, security audit and the 0.2.0 release preparation (f6b45e0, 8641295 and the docs/version commit)
    The docs/23 v0.2 rows were run on SQLite, MySQL 8.4, MariaDB 10.11 and Redis. The docs/18 §6 audit fixed SEC-46 (room updates are checked against SDK block schemas), SEC-47 (concurrent migrations on an empty database), SEC-48 (webhook claims), SEC-49 (quadratic diagram labels), SEC-50 (icon <use> chains), SEC-51 (restore undo key), SEC-52 (client webhook timestamp overflow) and SEC-53 (unsupported history cache); each fix has a test seen failing first. scripts/audit.sh ok. prepush.sh exit 0
  • EDP-01 editor profiles (ADR-061 Proposed)
    Seen failing first: tests/editor_profiles.rs with the route wiring removed fails 6 of 7 (session has no editor, history routes answer, AI/MCP on, import open, team templates on, comment writes accepted); profile.test.ts with the filter, intent keywords and input-rule switch disabled fails 12 of 25. Hide never delete: a document with every block type of the schema opens unchanged under y-prosemirror, takes an edit in every block and round-trips losslessly in all six profiles. OC_DEV=1 cargo test --workspace and pnpm -r test green; prepush.sh exit 0. Playwright e2e/specs/zc-editor-profile.spec.ts (meeting host on :4203: / shows only the meeting blocks, a full document opens intact and stays editable, > stays text) added in a second commit; not run locally at the owner's request, CI runs it
  • BSDK-05 versions, declarative migrations, 0.1.x round trip (ADR-060 Proposed)
    Seen failing first: ext/compat.test.ts without the server rule loses the block (kept as the third case, so the reason stays tested); by mutation, the replace guard off fails a_block_from_a_newer_version_is_not_overwritten; migration off fails older_data_validates_after_migration. Editor vitest 109 (19 files), board and database suites green
  • BSDK-02 extBlock, ext root, templates, fallbacks (ADR-059 Proposed)
    Seen failing first by mutation: Markdown/HTML/DOCX expansion off and patch preparation off fail exports_render_templates_or_fallbacks and patches_write_data_migrate_and_derive_fallbacks; the 4426 guard off fails an_editor_older_than_0_2_cannot_delete_sdk_blocks; canvas_read without data fails api_writes_are_checked_against_the_block_schema. Found: a 0.1.x editor deletes unknown nodes (y-prosemirror), which ADR-042 had not covered; fixed by caps=ext + 4426. Template parity: the shared fixture passes in Rust and TS
  • BSDK-01 block manifests, schema registry, [host.blocks] (ADR-058 Proposed)
    Seen failing first by mutation: with the extBlock hook off in validate.rs, 3 of the model tests fail (schema errors not reported, the invalid .ocanvas accepted); with the session field renamed, installed_packages_reach_the_session_and_refused_ones_healthz fails. cargo test --workspace (OC_DEV=1) green; editor build 283.7 KB gz initial JS (budget 300)
  • API-DOCS-01 API reference on the website (/api/)
    Seen failing first: check-openapi.py reported 137 gaps in openapi.json before the fill (0 after); the search test fails without the sub-heading rule. tests/api_v1.rs (10, contract), opencanvas-client (models, conformance, unit), @opencanvas/client 36 with the conformance server: green. Webhook test vector as published verifies with verifyWebhook and the page's Python and openssl code, fails with one byte changed. check-site-pages.mjs: zero axe violations and no overflow on every page at 1440 and 390 px, light and dark. Not done: no "try it" console (static site, credentials)
  • HAPI-08 MCP tools on the API operation layer
    Seen failing first: the parity test before createBoard existed (board_add_shapes without a board had no operation: 404 on the API side); by mutation, MCP ignoring the file write bucket, ignoring _meta.idempotencyKey, createBoard unmapped and comment_add mapped to listComments fail all 4 mcp_api_parity tests. The first full run differed only in board pictures (the SVG data URI carries the board id), now compared without them. After: mcp_api_parity 4/4, mcp 10/10, ai_tools 5/5, ai 19/19, ai_e2e 5/5, api_v1 10/10 (router ↔ document contract incl. createBoard), api_paging_limits 5/5, api_tokens 6/6, api_idempotency 2/2, api_events 5/5, cluster 12/12, both clients regenerated and green; OC_DEV=1 cargo test --workspace and pnpm -r test green; bash scripts/prepush.sh green
  • HAPI-07 Rust client
    Seen failing first: by mutation, Last-Event-ID not sent, retries off, webhook check on v1 and one model field changed fail 8 tests (conformance scenarios and vectors, models_match_the_openapi_document, unit retries/backoff/key reuse/resume); unit events_end_on_4003… failed on the first run (a close in the same chunk as an event dropped the event), fixed in both clients. Also fixed a HAPI-06 test committed red: the "web platform APIs only" check matched ArrayBuffer as Buffer. After: cargo test -p opencanvas-client 17/17 + doctest, pnpm --filter @opencanvas/client test 36/36; bash scripts/prepush.sh green
  • HAPI-06 TypeScript client and the shared conformance suite
    Seen failing first: by mutation, retries off, Last-Event-ID not sent and the webhook check on v1 fail 10 tests (unit retries/backoff/409/resume, vectors valid/clock-behind/v1-only, conformance rate limit and webhook signature); the first resume scenario passed without Last-Event-ID (the missed event was still live), so it now waits on a witness stream until the event is published before resuming, and fails with the header off (events resume step 10: nothing within 10000 ms). The first fixture run failed on two wrong assumptions (block JSON nests node.type; replace gives a new block id, so the stale-block steps use editText). After: pnpm --filter @opencanvas/client test 36/36 against the real server, pnpm build (dist imports in Node), gen.mjs --check; bash scripts/prepush.sh green
  • WH-01 webhooks (ADR-056 Proposed, design written first)
    Seen failing first: the OpenAPI-free part by mutation: claim always granted, Retry-After ignored, no give-up and redirects followed fail 4 of 7 tests/webhooks.rs (two_nodes_deliver_each_event_once, retries_back_off_on_the_server_clock, gives_up_after_max_attempts, a_refusal_or_a_redirect_is_final_and_never_followed); the origin check removed fails urls_off_the_callback_origin_are_refused. After: webhooks 7/7, units 3/3, storage_conformance 10/10 on SQLite, MySQL 8.4 and MariaDB 10.11 (migration 0009 applied on all three; the first MariaDB run on a fresh database failed in unrelated tests racing the initial migrations, green on rerun), cluster 12/12 incl. webhooks_are_sent_once_in_a_cluster, ops_metrics; dashboard regenerated; bash scripts/prepush.sh green

2026-11-24

  • HAPI-05 events stream and headless sync token
    Seen failing first: the contract test without the two OpenAPI entries; by mutation, api_events 3/5 fail with edits not recorded, the sync token stored for idempotent replay and the revoke check off, cluster change_events_reach_streams_on_every_node fails without the bus wiring, events/changes units fail with lag kept and deletions dropped. After: api_events 5/5, cluster 11/11, api_v1 10/10, lib units; bash scripts/prepush.sh green
  • VH-01d / VH-02b editor history UI (branch worktree-agent-a0b8a89f6274d9fcd)
    Seen failing first: group.test.ts and changes.test.ts (modules missing), the wording test (no history sentences), panel.test.ts (test data folded at a 45-minute gap and a filter matched "Named"; fixed in the test), history_api.rs a_list_that_has_not_seen_the_latest_save_is_fetched_again (the 30 s list cache hid a fresh autosave: the e2e caught it first; fixed with known). After: vitest 98/98 (--maxWorkers=2), history_api.rs 8/8, e2e z-version-history.spec.ts 3/3 (chromium: name, preview, Show changes + Compare with, restore with Sam editing, his toast, Undo, footer, viewer without history, in-file host) and z-version-history.phone.spec.ts 1/1 (webkit-phone), axe light + dark clean on the panel and the preview (a target-size miss on the fold toggle fixed). Related specs k-ux, i-exports, r-permissions, v-import 20/20. Initial JS 282.2 KB. Seen on the way, not fixed (not history): in the host's iframe, the first click into the canvas after an <input> in the iframe had focus puts the caret at the start of the canvas (reproduced with a plain input and no history panel); the phone spec clicks twice, the desktop spec has Sam make the edit
  • DGM-19 level of detail (fit view, 1k/5k/10k)
    Before/after with the perf harness on the same machine (Apple M4, load 9-18 both runs): 10k pan latency p50 134.6 → 23.6 ms, zoom 66.3 → 27.8, drag 57.7 → 21.1, 0 long tasks, 23 board SVG elements; board vitest (--maxWorkers=2) and scripts/prepush.sh green
  • UX-DGM-01 diagram editor fixes and SCALE-02 (S1, S2 pills, S5, S6)
    Each test seen failing first, then passing; before every commit bash scripts/prepush.sh (all gates) and pnpm --filter @opencanvas/board exec vitest run --maxWorkers=2 (318 passed at the end); database 185 and editor 82 passed. Chromium (e2e/node_modules/playwright) against editor/dist served locally, before (d51fbe9) vs after, light and dark: toolbar inside the canvas, search input 22 → 30 px, checkbox preview fills the tile, phone tools 44 px with Text reachable, rail Icons flyout, "1 KB of 5 MB", icons 16 → 24 px at a 24 px root and unchanged at 16 px, pills with an ellipsis, comments panel 570 → 384 px, caret label sideways scroll 5 → 0 px at 200 %.
  • DGM-18 mixed-version (0.1.1 + current) collaboration fuzz, 24 seeds × 160 edits
    Found and fixed a data loss: concurrent creation of a shape's nested props Y.Map dropped one client's fields (14/24 seeds; regression tests seen failing first). Board vitest 332/332 (--maxWorkers=2, nice 10), scripts/prepush.sh green
  • DGM-12b avoid-route export parity (ADR-047 point 3)
    Seen failing first: Rust board-avoid fixture drew the plain elbow through the wall, web exportResolvedArrows missing, draw.io kept stale bends. OC_DEV=1 cargo test -p oc-model 150 passed / 0 failed, board vitest 332/332 (--maxWorkers=2, with DGM-18), scripts/prepush.sh green
  • DGM-17 part 3 (Add your own icon)
    Board vitest 28 files, 307 passed (--maxWorkers=2, background); oc-model all tests and oc-server icons, rooms, security, hardening, http, cluster and lib tests green; clippy -D warnings and fmt on oc-model and oc-server; e2e/diagram/icons.spec.ts 3 passed (adding an SVG against a stubbed /v1/icons, axe on the dialog); editor build: initial JS 282.2 KB / 300. The machine's disk filled once during the run (other agents' builds); the oc-server test binaries in this agent's target dir were deleted and the listed suites rebuilt
  • Fix: oc-model html::tests::many_raw_text_tags_are_linear failed under taskpolicy -c background (a 2 s wall-clock budget for 200,000 tags in a debug build)
    Now a growth check: 4x the tags must take under 8x the time (quadratic is 16x), best of three per size. Passes at background priority (6.8 s for the test)
  • HAPI-04 signed cursors and the shared limiter
    api_paging_limits 5/5 with OC_TEST_REDIS_URL (seen failing: limiter layer off 2/5 + the cursor test with an index cursor); api_v1, api_tokens, api_idempotency, mcp, lib green
  • Fix: room_assets_size failed on MySQL 8.4 / MariaDB 10.11 (SQL SUM is DECIMAL, which the sqlx Any driver cannot decode; the query errored before the old fallbacks ran)
    Now summed in Rust over size (BIGINT). storage_conformance::rooms_sessions_notifications_and_assets seen failing on both before (integration log above), passes after; the whole conformance suite 9/9 on MySQL 8.4 and MariaDB 10.11 with Redis, --test-threads=1 (parallel tests on a fresh database race on the first migration run)
  • VH-01c Nextcloud app versions over files_versions (G3 closed)
    Seen failing first: php tests/run-without-phpunit.php 40 passed, 2 failed without VersionList (class missing), 42/42 with it; php -l on the controller and routes. Expiry checked in the Nextcloud 31 source (apps/files_versions/lib/Storage.php): labelled versions skipped by expireOlderThanMaxForUser and the expire() quota loop, not by its low-space fallback. Not run in a real Nextcloud yet (one pass pending; the getVersionsForFile user and setMetadataValue paths are unverified)
  • VH-01b server history proxy, name, restore, undo (branch worktree-agent-a761bb5199a105a03)
    Seen failing first: oc-model/tests/restore.rs "restore_rebuilds_the_old_version" failed on a real bug (insert index advanced by the count, removing the wrong block), fixed; by mutation, 4 of 7 oc-server/tests/history_api.rs tests fail with naming-when-clean, the restored broadcast, the undo window and the 404 fallback switched off. After: history_api.rs 7/7, restore.rs 2/2, history.rs 9/9. Restore is cluster-forwarded like templates (RemoteOp::History); not yet run in a 2-node cluster
  • VH-01a host contract + VH-03 in-file bounded history (ADR-055) (branch worktree-agent-a761bb5199a105a03)
    Seen failing first by mutation: with the save headers, the checkpoint rule and the session fields switched off, 4 of 6 contract tests in oc-server/tests/history.rs fail; with history left out of saves, 2 of the 3 in-file server tests fail; oc-model/tests/file_history.rs fails with "oldest first" pruning (bounds test), a broken delete op (rebuild test) and history/ not read (round trip). After: tests/history.rs 9/9, tests/file_history.rs 6/6, tests/roundtrip.rs (manifest commit.*), wopi unit tests 8/8; cargo clippy --workspace --all-targets -D warnings clean. Sample host smoke run (PORT=4155 node examples/sample-host/server.mjs): auto PUT then named PUT (X-OpenCanvas-Autosave: 0, message "Board review ✓") → list [named "Board review ✓" v2, auto v1], get v2 → bytes, v999 → 410. WOPI reference host: syntax only (node --check); its versions are exercised again in VH-01c
  • DGM-17 part 2 (All icons) and merge of main bb7846e
    Board vitest 27 files, 299 passed (--maxWorkers=2, background); oc-model diagram tests, clippy -D warnings, fmt green; e2e/diagram icons (2) and s2-shapes (2) passed with axe; editor build: initial JS 281.5 KB / 300, Lucide index and each category in their own lazy chunks; px checks and tools/build-lucide-icons.py --check ok
  • DGM-14.7 shape libraries
    Board vitest 21 files passed (207 before + 50 in libraries.test.tsx) at taskpolicy -c background with --maxWorkers=2; cargo test -p oc-model --test diagram 13 passed (shared target). pnpm --filter @opencanvas/editor build: initial JS 281.3 KB / 300 (board chunk 65.1 KB gz, of which library data ~26 KB). px checks and build-site ok. Screenshots of every library (light and dark) and of the panel in #demo checked by eye
  • DGM-17 part 1 (built-in icons)
    Board vitest 217 passed (taskpolicy -c background, --maxWorkers=2, load average 40+); oc-model tests, cargo clippy -D warnings and fmt green; e2e/diagram icons.spec + s2-shapes.spec passed (axe WCAG 2.2 AA on the panel). The S2 spec and two vitest cases changed on purpose: with icons, "data" and "queue" now put the Icons group first (1d). Initial JS 281.3 KB / 300 (icon data in the board chunk). px checks ok
  • DGM-14.4 (S2 step 1)
    Board vitest 175 passed at background priority (load average about 17-21). The background run caught a real bug first: onDrop read dataTransfer.getData on every drop and threw for a drop without it (the image-drop test); it now reads the kind only when the drop carries the tile type. Under that load the diagram suites' polls needed 20 s (vi.waitFor timeout) and 60 s per test; e2e/diagram 4 passed (S1 ×2, S2, S3). Initial JS 281.3 KB / 300 (board chunk 40.8 KB gz with the library data, diagram chunk 7.3 KB gz). px checks ok
  • HAPI-03 idempotency store, storage conformance on four backends (MySQL 8.4 :33081, MariaDB 10.11 :33082, Redis :8811, all local and removed after)
    idempotency test green on all four. Found, not from this change: rooms_sessions_notifications_and_assets fails on MySQL 8.4 and MariaDB (room_assets_size SUM returns DECIMAL, which the sqlx Any driver cannot map); outbox_and_notification_ids_are_idempotency_keys failed once on MariaDB in the parallel run and passed alone
  • DGM-14.3 (part) and the board name note (ADR-045 §8, docs/15)
    Rust: oc-model/tests/diagram.rs a_board_name_survives_import_validation_and_ocanvas_round_trips passes (12 in the file); it guards existing behaviour, so there was no failure to see first. Board vitest 160 passed at background priority (taskpolicy -c background pnpm --filter @opencanvas/board test, load average about 20); explicit timeouts added to the full-mount suites (board, open, ux, connectors: 60 s; render-identity: 240 s, after it took 125 s at that load). Browser e2e/diagram 3 passed. Initial JS 280.7 KB / 300 (diagram chunk 5.0 KB gz, board chunk 38.6 KB gz). px checks, SPDX, build-site ok
  • VH-02a structural diff in oc-model (ADR-052): blocks (blockId, then Myers over signatures + similarity pairing, LIS for moves), word diff with semantic clean-up, container attributes, databases, boards, meta; JSON; 2,000 entries / 5 s; in-memory DiffCache
    Seen failing first: with the block, database and board passes stubbed out 14 of 18 tests/diff.rs tests fail; a_ticked_task_is_a_change_of_its_paragraph fails with container attributes switched off; first real run failed databases_… (row order) and shared_fixtures (no fixtures yet). After: cargo test -p oc-model --test diff 18/18 (2,000-paragraph legacy diff in the suite), lib unit 3 new, cargo clippy -p oc-model --all-targets -D warnings clean
  • VH-00 stable block ids in the web editor (branch worktree-agent-a761bb5199a105a03)
    Seen failing first: blockId.test.ts 5/9 (no ids on load, none written to Yjs, pasted copy took the original's id, no convergence); the paste test fails again with transformPasted removed. After: editor vitest 79/79 (blockops duplicate and inline HTML tests updated: copies now get a fresh id, HTML carries data-block-id); oc-model roundtrip.rs reads the shared Yjs fixture (passes: the Rust side already kept attrs)
  • HAPI-02 user-scoped API tokens, one auth check with MCP
    api_tokens 6/6 (bearer off: 5 fail), mcp 10/10 incl. the new comment test (fails with comments off), api_v1 9/9, ai, ai_e2e, lib green
  • HAPI-01 headless API v1 router, OpenAPI 3.1, RFC 9457 problems, 0.1 aliases
    cargo test -p oc-server --test api_v1 9/9 (seen failing first: v1 router unmerged 6/9, undocumented route, no deprecation layer); lib, host_api, mcp, import, hardening, security, http, ai_tools green
  • OPS-01 dashboards and alerts: server from this worktree (Linux debug build in rust:1.98-slim-bookworm, :8791, SQLite) + Prometheus v3.5.0 + Grafana 12.1.1 (deploy/monitoring/), load from demo-load.sh (2 editors → mock host, 2 editors → host broken with 500 on save, exports, bad launches)
    45 panels: all show data except AI (off); cargo test -p oc-server 33 binaries green; ops_metrics green at background priority; promtool check 12 rules + test SUCCESS; helm lint/template green on 4 value sets; alerts fired for real: PdfExportsFailing, Restarting, HostCallbackErrors{broken}, SavesFailing; containers, images and volumes removed after
  • Coordinator rule (CI red on slow runners): no fixed waits in tests, explicit timeouts on heavy jsdom suites, package tests must pass at background CPU priority
    Board tests: fixed setTimeout waits replaced (diagram*.test.tsx poll with vi.waitFor around an act flush; scene/render-identity mounts wait for the board's frames by chaining requestAnimationFrame; connectors upload waits for the image; routing scheduler test waits for the work with vi.waitFor); { timeout: 60_000 } on the fuzz / full-mount suites (graph, projection, render-identity, routing, scene), 30 s on the diagram suites. The diagram grid-snap and port tests depended on timing (the view refits on the next frame; with real waits the move landed at the zoom floor): they now wait for the refit and work in that view's screen coordinates, and the grid test also checks ⌥ moves freely. Before: taskpolicy -c background pnpm --filter @opencanvas/board test → 5 failed (4 timeouts at 5 s, the scheduler's 50 ms wait). After: board 157 passed three times in a row at background priority; editor 64, database 184 passed at background priority. Browser e2e/diagram (fixed waitForTimeout replaced by waiting for the diagram window's transitions) 3 passed twice at background priority
  • DGM-14.1, DGM-14.2 (part): diagram mode S1 and the first S3 canvas features, built to the approved prototype
    board vitest 157 (140 before + 17 new: diagram.test.tsx 11, diagram-canvas.test.tsx 6; 8 + 4 seen failing first against main's BoardBlock / before the code; connectors.test.tsx menu test updated for the new "Open as diagram ⇧D" item; headingAbove regression seen failing with the old contenteditable stop). Browser: cd e2e && E2E_SKIP_BUILD=1 npx playwright test -c diagram/playwright.config.ts → 3 passed (S1 open/close/focus/scroll/Esc/⇧D/reduced motion + axe WCAG 2.2 AA on the diagram window, which caught --fg-3 hint text at 3.9:1 before the fix; S3 grid/rulers/ports/port-to-port avoid connector). pnpm --filter @opencanvas/editor build: initial JS 280.3 KB / 300 (diagram chunk 5.0 KB gz, board chunk 37.7 KB gz); the first build was 371.7 KB because Rollup put Vite's preload helper in the board chunk once it had a dynamic import (fixed: helper pinned to ui). node tools/px-to-rem.mjs --check (now also board/src/diagram/styles.ts) and node ../tools/check-px.mjs ok. Server e2e suite not run (ports shared with other agents' runs; no server or Rust change)
  • DGM-15: draw.io and Excalidraw import through FC-10 (dry-run report, refusals, Undo import), docs/29 §7, ADR-048 Proposed
    cargo test -p oc-model --test diagram_import 10 passed (10 failed against the stub first); cargo test -p oc-server --test import 13 passed (4 new failed first); clippy -D warnings and fmt clean; e2e/specs/v-import-diagram.spec.ts 4 passed + v-import.spec.ts 4 passed (real server, release build, axe light/dark). All of these re-run under taskpolicy -c background (oc-model 37 + integration suites, oc-server import 13, ai_tools 5, http 11, editor vitest 64, the 8 e2e): green. No fixed waits in the new tests (expect polls 20 s, 2 min per e2e test; the billion-laughs bound is 60 s)
  • SCALE-01 (branch worktree-agent-aea42b71b5f8d65c8): px → rem codemod run (node tools/px-to-rem.mjs: 1702 CSS values; editor 1058 + 4 by hand (--bw), database 552, board 89, ui 3; 20 inline React values by hand (editor 13, database 7)), html font-size removed (body .875rem), media queries in em, JS compact breakpoint 45em, tools/check-px.mjs in CI, ADR-050 Proposed
    Pixel diff: dist-before built at 1c255fe; e2e/pixel/run-diff.sh <dist-before> <snaps> 3 → baseline 28 snapshots (14 screens × desktop-light 1280×900, phone-light 390×844 DPR 2.75), then 3 compare runs of the new build: 28 passed each, maxDiffPixels: 0, threshold: 0. Dark not in scope (baseline-vs-baseline itself flaps by 1–12 px on 2–4 dark screens). Slash menu dropped from the suite: its open position varied between runs of the same build. Guard seen failing first on a planted .planted{font-size:13px;padding:6px 8px} + @media (max-width:600px) (2 problems, exit 1), and on the 6 real inline px it found before they were fixed. node tools/px-to-rem.mjs --check after the run: 0 to convert (idempotent). pnpm -r typecheck ok; pnpm -r test board 124, database 184, editor 64 passed; pnpm --filter @opencanvas/editor build 280.2 KB / 300. Reflow check at 200 % / 24 px / 320 px + axe: docs/19 §Scaling (S1–S8, not fixed). Browser suite on the new build: cd e2e && E2E_SKIP_BUILD=1 npx playwright test (oc-server release built with the shared CARGO_TARGET_DIR after touching the .rs files) → 91 passed (4.2 min).
  • DGM-10 to DGM-13 (Phase 2, engine only; DGM-13 minimal after the owner's scope cut): browser frame harness, SceneIndex (culling, marquee, snapping), syncArrows commit sync, port-aware resolvers in web and Rust, deterministic obstacle router + incremental AvoidRouter
    Seen failing first: scene.test.tsx board tests ("expected search to be called", nudge read 3,754 shapes, want < 100); graph.test.ts port test (drew [200,50]→[480,200], want [200,25]→[440,200]); oc-model/tests/diagram.rs 4 tests (missing resolved_points, then points and both SVGs differ); routing.test.tsx board test (drew M100 30 L400 30). Then: board vitest 140 passed, pnpm -r typecheck, editor vitest 64, database vitest 184, editor build initial JS 280.2 KB (unchanged, budget 300; board chunk 34.9 KB gz, was 29.9); cargo fmt --check, cargo clippy -p oc-model --all-targets -D warnings, copied oc-model test binaries 94 passed (diagram 11); check-spdx.sh 0 missing; python3 tools/build-site.py. Frames: cd e2e && PERF_DIST=<copy of dist> PERF_LABEL=<before/after-dgm11/after> npx playwright test -c perf/playwright.config.ts, Apple M4, load 2.8-4.2 (final run 7.0); 10k drag one node latency p50 22.1 → 5.5 ms, commit 24.8 → 5.7 ms, fit-view pan 68 ms unchanged (docs/29 §6.1). Left for Phase 3: route worker, Rust router or ADR-047.3 stored-pts export rule, narrower avoid commit set, O(n) list copies, scene layer
  • DGM-16: owner accepted ADR-045 (condition: props merges per field), ADR-046 and ADR-047. props is now a nested Y.Map, one key per property (model.ts: addShape converts, updateShape/moveShapes merge per field, plain-form props read as is and converted on the next edit); ADRs marked Accepted; docs/15, docs/29 updated
    Seen failing first: compat.test.ts "concurrent edits to different props of one shape both survive the merge" (expected {stereotype, owner, attrs, nested}, received {stereotype: 'value'}) and the plain-form test. Rust readers already accept both forms; new diagram.rs tests (per-field merge in yrs, both forms render the same) fail when import stores props as one value (mutation). Then: board vitest 124, board typecheck, editor tsc --noEmit, editor vitest 64, database vitest 184, editor build initial JS 280.2 KB (budget 300; board chunk 29.9 KB gz); cargo fmt --check, cargo clippy -p oc-model --all-targets -D warnings, copied oc-model test binaries 91 passed (diagram 8); check-spdx.sh 0 missing. 10k projection bench: 0.058 ms p50 per edit (was 0.065; v0.1.1 18.4)
  • DGM-01 to DGM-09: diagramming Phase 0 (fixtures, measurements, ADR-045/046/047 Proposed, docs/29) and Phase 1 graph core (registry, ports, semantic edges, spatial index, incremental projection wired into BoardBlock, compat tests, exporter fallback)
    Seen failing first: compat.test.ts "copy and paste keeps … port refinement" (v0.1.1 paste dropped port), projection.test.ts 5/6 against a stub, graph.test.ts (modules missing; then anchorFor picked right for a bottom-edge port), export.test.ts diagram fixture + fallback (2), oc-model/tests/diagram.rs fallback, parity and HTML/preview (3). Mutation checks: dropping the order dirty flag fails 3 projection tests; ignoring the end binding in the resolver fails the resolver fuzz and the render-identity test. Then: board vitest 122 passed, board typecheck (also --noUnusedLocals), editor tsc --noEmit, editor vitest 64, database vitest 184, editor build initial JS 280.2 KB (unchanged; budget 300), board chunk 28.2 → 29.8 KB gz; cargo fmt --check, cargo clippy -p oc-model --all-targets -D warnings, copies of the oc-model test binaries: 89 passed (diagram 6); board.web.svg unchanged; check-spdx.sh 0 missing. Numbers: docs/29 §2. Not run: oc-server tests (oc-model API unchanged), Playwright, browser frame traces (DGM-10)
  • MX-02 Element widget in real Element Web + Synapse (vectorim/element-web:latest, matrixdotorg/synapse:latest, pulled and removed after) + OpenCanvas from this branch on :18080 (temporary_wording = "room", frame_ancestors), bridge on :8091
    node e2e/element-e2e.mjs: run 1 16/18 (Ravi and Lena timed out: the S2 timer fired after the credentials and replaced the state), fixed, run 2 18/18 incl. the room-wording note. cd integrations/matrix/bridge && npm test 24 pass. Screenshots docs/prototypes/matrix-approved/real-host/. Server: cargo test -p oc-server --test launch_options (3, seen failing first) plus --lib --test http --test ephemeral --test jitsi_plugin --test wopi --test security --test hardening green; clippy -D warnings, fmt clean. Editor: vitest 70 pass (lib/wording.test.ts seen failing first; Jitsi meeting wording pinned); build 280.5 KB of 300 KB.
  • MM-02 Mattermost webapp in Mattermost 12.1.0 (integrations/mattermost/e2e/docker-compose.yml, amd64 emulated) + OpenCanvas from this branch on :8095 (cargo build -p oc-server --bin opencanvas, shared target; binary copied aside and checked for temporary_wording), Playwright Chromium, alice and bob, light
    integrations/mattermost/build.sh; e2e/setup.sh; MAIN_ONLY=1 node e2e/mm-e2e.mjs 13/13: S3a App Bar button, S3b/S3c dialog, S3d busy, panel opens on the new canvas with no template picker (S2f, start=page), S1a card, S1i Open on the title row, S1b menu (Download greyed Later), S7a copy fallback, S2b card body opens the panel and bob sees alice's text live, S1e ring, frame theme = light. Screenshots docs/prototypes/mattermost-approved/real-host/. go test ./... (server, server/canvas), webapp npm test (bundle check, 6 logic tests). Containers removed; image kept.
  • MM-01 Mattermost plugin in a real Mattermost 12.1.0 (team edition, amd64 emulated) + postgres:16-alpine (integrations/mattermost/e2e/docker-compose.yml), OpenCanvas built from the branch (cargo build -p oc-server --bin opencanvas, shared target), Playwright Chromium, users alice/bob/eve
    mmctl plugin add + enable OK. API: create 201 (+ custom_opencanvas cards for canvas and meeting notes), outsider create 403; launch 200 no-store, claims iss/aud/role edit/ttl 600/jti 32/user "Alice Doe" "@alice"/channel context/members; OpenCanvas /v1/launch 303, same token replayed 401; outsider launch 404. Browser: card Open → RHS editor; bob sees alice's text live and her name; meeting notes open with sections; switching canvases works. Callbacks via a header-name tap: GET/PUT files and GET members 200 with x-opencanvas-signature + x-opencanvas-callback-token; saves v1, v2 stored as .ocanvas in the channel's file store (6 files). Bad callbacks 401: wrong key, 10-min-old timestamp, missing, v1-only, forged callback token. Removing bob from the channel: OpenCanvas "role changed by host … none", his editor showed loss of access. Secret absent from both logs. Found and fixed (seen failing first): members 401 because Mattermost re-sorts the query (TestSignatureSurvivesQueryReordering); webapp bundle required its own react (npm test); panel did not switch canvases (stable frame name, browser-checked). Not tested: guests (license), non-member in a private channel via browser. Containers removed; image kept.
  • MX-01: Matrix widget in real Element Web (vectorim/element-web:latest) + Synapse (matrixdotorg/synapse:latest) + OpenCanvas 0.1.1 from branch (ephemeral host, frame_ancestors = ["http://localhost:8081"]); per-host frame_ancestors (ADR-044)
    node e2e/element-e2e.mjs 17/17 (two runs); without frame_ancestors the editor frame is blocked (control); cd integrations/matrix/bridge && npm test 21 pass; node scripts/e2e-synapse.mjs 11/11; cargo test -p oc-server --test embed_origins --test http --test security --test ephemeral --test wopi green (new test seen failing first); clippy -D warnings, fmt clean; check-spdx.sh 0 missing; site build and checks (see commit)
  • Fix: nightly fuzz seed 66002356 diverged. yrs 0.28.2 strands a pending update for good when it holds a cross-client dependency cycle (A#0 waits on B's missing range, B#n has A#0 as right origin): its cycle check records the on-stack client as missing, so the later arrival of B's structs never triggers the retry. New oc_model::sync::apply_update re-applies the pending structs/deletes while the doc moves forward; used by the room (client updates and server patches/AI tools), .ocanvas load and the fuzz clients (Yjs, which real clients run, has no such hole)
    New tests seen failing first: oc_model::sync unit test (plain yrs leaves it pending; also pins the yrs hole so an upgrade that fixes it shows up) and tests/fuzz.rs a_pending_dependency_cycle_is_integrated_by_the_room_and_its_peers (without the room change the room's doc holds "bbb" + pending instead of "cabbb"; the room probe reads the doc through rooms.tool, since encode_state_as_update_v1 merges pending structs and hides the bug). fmt, clippy -D warnings, cargo test -p oc-model -p oc-server green; seed 66002356 replays clean; 5 000 release iterations from seed 66000000 converge (8.5 s)
  • NC-02: Nextcloud app screens built and driven in a real Nextcloud 31
    Setup: nextcloud:31-apache (31.0.14, SQLite) in Docker, app bind-mounted into custom_apps, occ app:enable opencanvas; OpenCanvas built from the worktree (CARGO_INCREMENTAL=0 cargo build --release -p oc-server --bins, server source unchanged) with a proof key on :8480, editor from web/packages/editor/dist. npm ci && npm run build (vite, 5 entries). THEMES=light,dark node opencanvas/tests/browser/nextcloud-ui.e2e.mjs: list icon, New menu order and separator, name dialog default/clash/slash, create database canvas -> Viewer, stock "New canvas" -> Viewer, click -> Viewer and the edit saved into the file, row menu "Open in full page", full page title and back link, phone layout, Share -> sidebar card, not found, 101 MB too large, unreachable, not set up (user/admin), admin validation, save -> check 4/4 OK, allow-list mismatch, dead internal address, end-sessions confirm, "Can comment" saved as share attribute, edit link name prompt + guest edit + remembered, view-only link, password link (Nextcloud password page -> canvas), links turned off: RESULT: PASS (66 ok, one run per theme). php tests/run-without-phpunit.php 40 passed; npm test 51 passed; scripts/check-spdx.sh 0 missing; tools/build-site.py, check-site-links.py, check-site-claims.py pass. Not re-run: the backend e2e nextcloud.e2e.mjs (only its iframe selector changed).
  • NC-01: Nextcloud app (integrations/nextcloud/opencanvas, WOPI host) proven in a real Nextcloud; share role sync; docs (README, docs/05 §6a, site docs/nextcloud.html)
    Setup: nextcloud:31-apache (31.0.14, SQLite) in Docker with the app in custom_apps, occ app:enable opencanvas (MIME repair step wrote ocanvas → application/vnd.opencanvas+zip), OpenCanvas built from the branch (CARGO_INCREMENTAL=0 cargo build --release -p oc-server --bins) with a proof key, settings/check → discovery, .ocanvas action and proof key true. node opencanvas/tests/browser/nextcloud.e2e.mjs (Playwright Chromium, Nextcloud login): open, owner edits, autosave lands in the file and adds a version (1 → 2), read-only share is view-only, second user co-edits live (~100 ms), downgrade → read-only and revoke → access gone while open, reopen refused (404): RESULT: PASS on 3 runs. With role sync off (no opencanvas_api_key) the downgrade and revoke steps FAIL ("still editable 10 s after"), as before the fix. opencanvas/tests/browser/conflict-copy.sh: outside WebDAV PUT → 409 → (conflict copy).ocanvas in Nextcloud with the edit: PASS. php tests/run-without-phpunit.php 22 passed; tests/e2e/run.sh PASS. tools/build-site.py, check-site-links.py (1723 links), check-site-claims.py pass; check-site-pages.mjs not run (needs an editor build with OC_EDITOR_BASE=./, not present in the worktree). OpenCanvas server source unchanged.
  • RND-01 server side: GET /v1/preview viewer preview (SSR in editor markup, per-version cache, ETag)
    tests/render_preview.rs 4 tests seen failing first (404, route unmounted), then pass; cargo fmt, cargo clippy -p oc-model -p oc-server --all-targets -D warnings, OC_DEV=1 cargo test -p oc-model -p oc-server (360 ok, 0 failed), check-spdx.sh (0 missing). Client shell and Playwright not done
  • TPL-01: host team templates (GET /templates, GET /templates/{id}, /v1/templates list/apply/undo, gallery "From your team", sample host, docs/05 §5)
    Seen failing first: /v1/templates route off → tests/team_templates.rs 0/6; undo tracking off → apply_replaces_the_canvas_and_undo_restores_it 409 NOTHING_TO_UNDO. Then fmt, clippy --workspace -D warnings, cargo test --workspace 362 passed / 0 failed (1 ignored), team_templates 6/6 four runs in a row; editor typecheck + vitest 60/60; e2e y-team-templates 3/3 (release build); check-spdx 0 missing. Found: in a shared CARGO_TARGET_DIR, worktrees share one fingerprint slot per crate, so a newer build from another worktree makes yours look fresh (one run linked another worktree's oc-server: 0/6; target/release/opencanvas was another branch). Touch your sources before building, and check the binary
  • Branch worktree-agent-a8dbb155b0daf3423: UNF-01 SSRF-safe link unfurl (server /v1/unfurl + image proxy, editor link cards; docs/07 updated)
    cargo fmt --check OK; cargo clippy --workspace --all-targets -- -D warnings clean; OC_DEV=1 cargo test -p oc-server 291 passed, 0 failed, 1 ignored (unfurl unit 11, tests/unfurl.rs 7); seen failing first by mutation (classifier, IPv4-mapped, redirect re-check, size cap, HTML type, rate limit, OG order, metadata: each fails a unit or tests/unfurl.rs test); editor typecheck, vitest 59, unfurl.test.ts fails with the pending-only and image-scheme guards removed; editor build 278.9 KB gz (budget 300). Playwright not run
  • PROTO-OK items 1-4 brought to the approved prototypes (see PROTO-OK).
    Seen failing first against the old editor: u-access-expiry (390 px message 131 px wide), v-import (dialog 860 px), s-mobile.phone MOB-11b x2 and t-mobile-blocks.phone MOB-04b (webkit-phone and android-chromium); all 33 pass after. Full suite: 87 passed, 1 failed (v-import "FC-10 mocked": the template gallery did not open in applyTemplate, before any import code; 12/12 on --repeat-each=3 of v-import). pnpm -r test (board 83, database 184, editor 55), editor typecheck, build 278.4 KB (budget 300), check-spdx. Review shots light/dark (phone at 390 px) via shots() (OC_SHOTS).

2026-11-23

  • REL-03: release v0.1.0 documents prepared (docs/28, CHANGELOG 0.1.0 with upgrade notes, SECURITY supported versions, README v0.1.0 notice, docs/26 exit-criteria status; site release page now docs/28); not tagged, version not bumped
    build-site.py, check-site-links.py, check-site-claims.py pass. Verification checklist not run (docs/28, all PENDING)
  • SEC-MED-A2: SEC-33/34/35 fixed (branch security-medium-alpha2)
    New tests seen failing first (MCP 200 instead of 404; write without files accepted; WOPI expiry 10 years out); cargo test --workspace, clippy -D warnings, fmt, check-spdx.sh (0 missing), audit.sh ok; Playwright not run
  • REL-01: release v0.1.0-alpha.1 prepared (docs/25, CHANGELOG, SECURITY, README alpha notice, version 0.1.0-alpha.1 in crates, web and e2e packages, Helm chart; site release notes page and changelog entry)
    cargo build, OC_DEV=1 cargo test --workspace (319 passed), pnpm -r typecheck, vitest (board 83, database 184, editor 54), build-site.py, check-site-links.py, check-site-claims.py pass. Playwright, e2e-db, audit and Docker build not run here (docs/25 checklist)
  • PERF-08: jemalloc purge fixed (was refused), sweeper in AppState::new, alloc_release guard un-ignored; docs/22 §9.7
    fmt, clippy -D warnings, cargo test --workspace; both new/un-ignored tests seen failing first. Benches: S2 before/after with idle eviction, K, K2 (pause only), S1 Redis-only. Playwright not run (merge).
  • FC-10 import UI (prototype Import.dc.html): "Import…" in the slash and "…" menus behind session.import.formats; drop zone; CSV preview with detected, changeable types (sent as types=) and where to insert (blockId); done state. #demo parses locally, labelled. PERM-07 review fixes: solid accent Reconnect (no transition), header lock and "Read only". import_formats on for the e2e "sample" host.
    Seen failing first: v-import (desktop, webkit-phone) and the new PERM-07 checks. Real-endpoint and mocked specs; axe light and dark. Known gaps: server import is not undone by ⌘Z (server-side change; the done text says it is); size limit shown as 5 MB (server limit) vs 10 MB in the prototype.
  • Approved prototypes docs/prototypes/fixes-approved built: PERM-07 access expiry (Token_Expiring 60 s before exp, amber bar after 5 s without renewal, red read-only bar at expiry, renewal toast; ADR-036), MOB-11b phone toolbar (safe area, sits on the keyboard), MOB-04b phone database (132 px sticky title, ellipsis, edge, tap opens the row). Import UI (FC-10) not started (timebox).
    Seen failing first: MOB-11b, MOB-04b on webkit-phone and android-chromium against main; PERM-07 (u-access-expiry) against the editor without the change. Screenshots in target/fix-shots/.

2026-11-22

  • SITE-02: website, README and docs for the assistant and MCP (home Assistant section, docs/ai.html, FAQ, llms.txt, sitemap, README, docs/00, docs/09; assistant screenshots from #demo; roadmap items wrap at 390 px)
    check-site-links, check-site-claims pass; check-site-pages.mjs (axe WCAG 2.2 AA, 1440 and 390 px, light and dark) after the roadmap wrap fix; screenshots read
  • PERM-05 save token, PERM-03 banner, PERM-02 UI matrix, MOB-04..07 (branch fix/perm05-save-token)
    See ACC-01. Seen failing first: 2 Rust tests, PERM-05 and PERM-03 specs. Full browser suite 70 passed (MOB-11b expected fail on both phones), cargo test 248, clippy -D warnings, fmt, typecheck, vitest (board 83, database 184, editor 43) green
  • Branch chaos-rerun-fencing: PERF-03 chaos reruns on MariaDB 10.11 + Redis 7 in Docker (docs/22 §8, §10.1, §11.1); scripts/bench.sh KD (containerised node: pause + partition), REDIS_ARGS, K2_REDIS_KILL, OC_BIN/OC_LG/WORK, one-call lease reads; oc-bench verify counts connect refusals by HTTP status
    K2 PASS (×2 configs), KD PASS, K PASS, draining PASS (211 × 503, 0 accepted-then-closed); mR data PASS ×2, deadlocks left after retries 9 / 0 (FAIL in 1 of 2). Server source unchanged.
  • Branch perf/memory-and-sqlite-writer: PERF-05 (memory durability ADR-029, idle eviction 60 s, capped socket write batches; docs/22 §9.4)
    cargo fmt --check OK; clippy -D warnings clean; cargo test -p oc-server all passed (Redis tests not run: no OC_TEST_REDIS_URL); 5 new tests seen failing first by mutation. Benches: S1 and S2 memory/SQLite 5 min each, R memory/SQLite, mR wal twice (0 deadlocks). Playwright 43/43.
  • Branch perf-wal-group-commit: PERF-04 (batched WAL, 40 ms outbound tick, SQLite group commit, hot WAL in Redis; docs/22 §9.3, ADR-028)
    cargo fmt --check OK; clippy -D warnings clean; cargo test --workspace 216 passed, 0 failed, 1 ignored (with OC_TEST_REDIS_URL on a local redis-server 8.6; durability.rs also on MariaDB 10.11 serially); new tests seen failing first (mutations; fuzz seed 43 on merged out-of-order batches). Playwright 42/43 on the full run, the one failure (n-file-preview PDF viewer width 996 vs 1000 px) passed on rerun alone. Benches: S1, S2 (SQLite, Redis+SQLite, Redis+MariaDB), R, R with Redis kill, mR.
  • Branch fix-fencing-wal-drain: PERF-03 (docs/22 §8 weaknesses 3, 4, 5, 7 fixed; oc_wal_append_seconds)
    cargo fmt --check OK; clippy -D warnings clean; cargo test --workspace 205 passed, 0 failed, 1 ignored (Redis cluster tests against a local redis-server; fencing store test also run on MariaDB 10.11 before Docker stopped); Playwright 43/43 once. K2 / mR reruns pending: Docker unavailable.
  • Branch perf-revocation-fanout: cluster-wide revocation (Redis pub/sub oc:members, signed), 8 KiB WebSocket read buffer, shared Bytes fan-out (docs/21 note 3, docs/22 §7)
    Tests seen failing first: tests/cluster.rs revoke_on_one_node_reaches_every_node ("n2 still lists the revoked person after 1 s" on main) and …_over_redis (same failure with publishing disabled; passes on local redis-server :8936 via OC_TEST_REDIS_URL), tests/rooms.rs fan_out_shares_one_buffer_between_peers (separate allocations on main). cargo fmt --check OK; clippy -D warnings clean; cargo test --workspace 197 passed, 0 failed, 1 ignored; Playwright once: "43 passed (2.4m)". Bench (loaded machine): idle connection 0.204 → 0.087 MB; A@550 RSS 148–152 → 78–79 MB, CPU and p95 within noise
  • Branch identity-rev2-members: USR-01 revision 2 (docs/21 members model, ADR-026 revision note)
    cargo fmt --check OK; cargo clippy --workspace --all-targets -- -D warnings clean; cargo test --workspace 190 passed, 0 failed, 1 ignored (incl. tests/people.rs 6/6 + revoke_removes_a_member_at_once, people.rs unit merge_order); pnpm -r typecheck 0 errors; pnpm -r test editor 43, database 184, board 83 passed; editor build 275.8 KB gz initial JS (budget 300 KB); Playwright full suite once (cd e2e && npm ci && npm run e2e): "41 passed (2.2m)", p-people 7/7 (members only, real names, same-name, no e-mail in DOM/exports/.ocanvas, removed access, no source, live revoke)
  • Branch worktree-agent-ab2d39a20a60db954: USR-01 users and identity (docs/21 → Accepted, ADR-026)
    fmt, clippy -D warnings, cargo test 193, typecheck (all packages), vitest (editor 44, database 184, board 83), editor build 276.7 KB gz (budget 300), Playwright 39/39 once (second run left to the coordinator)

2026-11-21

  • Branch open-items-editor-server: UX-02 (docs/19 #39–#45), FILE-01 file previews, LAY-01 columns, shared undo for blocks, block handle on wide blocks; merged main (database/board open items)
    fmt, clippy -D warnings, cargo test 178, typecheck (all packages), vitest (editor 35, database 184, board 83), editor build 271.7 KB gz (budget 300), Playwright 33/33 twice
  • Branch ux-audit-editor: UX-01 editor audit + fixes, SEC-20 node-view URL guards
    After merging main (security + database/board UX): typecheck, vitest (editor 28, database 158, board 56), editor build 263.3 KB gz, Playwright 22/22 twice
  • SITE-01 website: home, 12 docs pages, roadmap, changelog, brand, 404; real editor screenshots; demo at app/#demo
    check-site-links, check-site-claims (self-test + site), axe WCAG 2.2 A/AA zero violations on every page in light and dark at 1440 and 390 px (check-site-pages.mjs)
  • Final verification on main
    fmt, clippy -D warnings, cargo test 88, vitest 182, typecheck, initial JS 257.1 KB gz (budget 300), Playwright 11/11, e2e-db PASS SQLite (+ real PDF via Gotenberg), MariaDB 11.4, MySQL 8.4
  • Merged board rendering (resvg), PDF via Gotenberg, asset origins; editor bundle trim + Word/PDF menu; Markdown boards embedded (no ticket links)
  • Branch perf/initial-js-budget: WEB-08 initial JS 299.3 → 257.1 KB gz + CI budget check; WEB-09 Word + server PDF (print fallback on 501)
    typecheck, vitest 182 (editor schema test new), pnpm --filter @opencanvas/editor build (budget check passes), Playwright 11/11 twice (new specs i exports, j late plugins)
  • Branch exports-board-pdf: board SVG/PNG in Rust, DOCX board pictures, HTML inline boards, MD board links, PDF via Gotenberg, asset_origins
    cargo test, clippy -D warnings, fmt green; OC_PORT=8180 HOST_PORT=4100 scripts/e2e-db.sh sqlite PASS with and without OC_PDF_RENDERER=gotenberg:http://localhost:3301 (real gotenberg/gotenberg:8, %PDF, pdftotext has the edit)
  • Final verification on main
    fmt, clippy -D warnings, cargo test 68, vitest 180, typecheck, Playwright 9/9 (Chromium + WebKit phone), e2e-db PASS on SQLite, MariaDB 11.4, MySQL 8.4 incl. patch + DOCX
  • Editor: keep blockId (global attribute, not copied on split); 4429 reconnects instead of ending the session
    e2e spec h fails without BlockId (Received: ""), passes with it
  • Merged host API (patch/commit/convert), DOCX export, live conflict tests, nightly fuzz job, rate-limit split (awareness bucket, close 4429)
    cargo test 68
  • Fix: fast typing closed the socket (update + awareness frame per key > 60/s)
    awareness has its own 120/s bucket, excess dropped; rate limit closes with 4429 (was 1008). Test: 150 updates + 150 awareness in 2 s stay connected (seen failing before). Web should treat 4429 as "reconnect", not "access revoked".
  • Branch server-api-docx-conflict: patch/commit/convert API, DOCX export, live WS conflict tests (copy + reload), nightly fuzz job, rate limit 4429 + awareness bucket
    cargo test, clippy, fmt green; OC_PORT=8180 HOST_PORT=4100 scripts/e2e-db.sh sqlite PASS (now also patches, commits, converts to DOCX; kills only its own PIDs)
  • E2E-01 Playwright suite + WEB-07 code highlighting
    8/8 specs green twice + repeat-each=3; initial JS 299.3 KB gz; client frame coalescing fixes rate-limit disconnects while typing fast
  • Full re-verification on main
    cargo test 49, clippy -D warnings, fmt, vitest 180, typecheck, build, e2e sqlite PASS
  • Server route /sdk/embed.js
    200 text/javascript
  • Merged editor: initial JS 298 KB gz (was 396), wide db/board blocks, uploads via /v1/assets (live), MD/.ocanvas/PDF export, conflict copy/reload + live role + close codes
    typecheck/build green; uploads, role change, host close verified live; reload-conflict path only unit/demo-checked
  • Editor: exports menu downloads md/html/ocanvas/json via GET /v1/export/:fmt, PDF via print stylesheet; conflict copy/reload, close codes 1000/1008, live role changes
    Live: md + .ocanvas downloads, role view→edit without reload, host session close modal (role/session API)
  • Editor: database/board blocks break out to 1100 px (16 px gutters on phones) with edge fades on sideways scrollers; skeletons while their code loads
    headless Chrome 1400×1000 + 390×844, light + dark
  • Editor editor-bundle-uploads-exports: initial JS 396 → 298 KB gz (lazy database/board, gallery+templates, comments, dialogs, CSV, exports, marked, demo seed, desktop chrome, mobile bar, table editing, template icons; vendor chunks react/yjs/tiptap); CSS 62 → 11 KB gz (fonts no longer inlined)
    vite build; typecheck green
  • Fix: out-of-order delete-only updates were neither relayed nor logged (found by the fuzz)
    room treats yrs pending_ds as a change
  • Server hardening branch server-hardening: outbox, 409 policy, doc cap, JWKS, OC_KEK, fuzz, role API
    cargo test (49) + clippy -D warnings green; e2e-db PASS on SQLite, MariaDB 11.4, MySQL 8.4; fuzz 10k OK
  • Merged board/database finishing (connectors, board images, SVG/PNG export, touch kanban, shared calendar, real people in presets)
    board 42 + database 138 pass; one board test failed once under parallel load and did not reproduce in 9 reruns, watch in CI
  • scripts/e2e-db.sh on SQLite, MariaDB 11.4, MySQL 8.4
    PASS on all three
  • Fix: MySQL 8.4 could not connect (caching_sha2 needs RSA or TLS)
    sqlx mysql-rsa + rustls features
  • Fix: {"t":"save"} control (Retry now) was ignored
    skips backoff, saves on next tick
  • Fix: viewers' empty sync step 2 was answered with "permission denied"
    filter::adds_nothing; non-writes from view/comment are ignored silently
  • Two-browser live test via sample host (Priya edit, Sam view)
    Template applied; content, cursors, avatars both ways; DB checkbox live to viewer; autosaves v1–v3 landed in host
  • Merged server, database/board, editor branches into main
    cargo test (30) + vitest (131) + typecheck + editor build green
  • Blocks UX audit (database + board) in a two-doc harness, Playwright 1440/390 px, light/dark
    vitest database 156, board 56; typecheck green; harness removed