Where seqno stands, what comes next, and what is still missing. How it works is in architecture.md; why it is built this way is in decisions.md.
web (done) ──▶ hardening (next) ──┬──▶ iOS + iCloud Drive
└──▶ desktop (Electron)
The web app runs in Chrome and Edge on the real core: a Loro edit log, a SQLite index, and Logseq import.
- Graphs. Open a Logseq folder with the folder picker, or one of two demo graphs kept in the browser: a short tour, and a developer's notes that use most of what seqno renders. The developer graph is Bassim's own story from January 2023 to November 2026, on its real dates: 31 project pages that each list the decisions behind them, and systems of power traced through history, fiction, design, open source and software. The first open imports the markdown; after that, edits save to the edit log as they land and survive a reload, and the header says when a save fails. A graph can be open in any number of tabs; they share one core worker, so each tab sees what the others type at once. The import reads what Logseq reads: a heading written without a bullet is its own block, a ref to an old Logseq
id::reaches its block on any page,config.edn's:property/separated-by-commasand:ignored-page-references-keywordstype properties as Logseq does, YAML front matter is a page's properties, and Org-mode pages and journals (.org) read, render, edit and export with Org's own syntax:*headings,#+page properties,:PROPERTIES:drawers,*bold*,/italic/,[[url][label]]. - Pages. Journals with today on top, every day back to the first, of which only the days near the screen are mounted, pages, aliases, tag pages, the All pages table, Mod+K full-text search, the right sidebar, favorites and recent pages. Renaming a page rewrites every reference to it. A height change above the screen doesn't move what you're reading, scrolling up or down, and Back puts the row you were reading back where it was.
- Outlining. Enter, Tab and Shift+Tab, drag, multi-block selection, collapse, zoom, moving blocks with keys, and undo and redo one command at a time. Pasting a markdown outline makes blocks.
- Blocks. Tasks and priorities, SCHEDULED and DEADLINE with a date picker, properties as
key:: valuelines, headings, code blocks edited in place, images with resizing, assets as in Logseq (paste, drop or/Upload an assetsave a file in the graph'sassets/and link it; images, audio, video, PDFs and other files render or download from there), PDFs in Logseq's viewer with text and area highlights that round-trip through Logseq'shls__pages and.ednfiles, math (inline and display LaTeX drawn by KaTeX, with mhchem, as in Logseq), embeds, block references with counts, hover previews, and linked and unlinked references. - Vim mode. A switch in Settings: vim inside each block (normal, insert, visual), and
jkddyypo>>zcVuover blocks, next to Logseq's own keys. - Export. Export page and a block's Copy / Export as open Logseq's dialog: text (dashes, spaces or no indent,
[[text]] -> text, remove emphasis,#tagsor properties, newline after block, level <= N), OPML, HTML and a PNG of the rendered blocks, copied or saved. Export graph in the header menu downloads EDN, JSON, Roam JSON, or a zip of standard Markdown or OPML files. Each writes what Logseq writes for the same graph (typed properties, lists and tables inside blocks, two-space line breaks), checked against Logseq 0.10.9 itself, and Logseq reads seqno's EDN and JSON back into the same graph as its own. Export public pages writes Logseq's static site (the pages withpublic:: trueand their aliases, or every page butpublic:: falseunder:publishing/all-pages-public?) into a folder you pick, or a zip where the browser can't write folders; the site is seqno's own read-only view and opens from disk or any static host. - Whiteboards. Whiteboards in the left sidebar (
g w,n wfor a new one) lists every board as a card with a live preview and when it was last edited, and deletes the ticked ones. A board has Logseq's tools on the right edge (select, pan, add block or page, draw, highlight, eraser, connector, text, rectangle, circle, triangle, color, scale, with keys 1–9,oand thewchords) and its bottom bar (undo, zoom and its menu, grid, snap to the 8px grid, pen mode), every button with Logseq's styled tooltip after 300ms. Shapes get labels, Logseq's palette, fill, dashed strokes, bold and italic from the context bar above the selection; connectors bind to shapes and re-clip to their edges as they move; the clone handles make a linked copy; right-click has Logseq's menu. Double-click or the add tool opens Logseq's search to place a page or block as a live portal, edited in place, or to make a new block, page or whiteboard. Every shape is a block on the board's page, so boards sync, undo and show in linked references like pages do, and Logseq'swhiteboards/*.ednfiles import and write back. Images, videos and PDFs dropped or pasted onto a board save inassets/; YouTube, tweet, website, HTML, video and PDF shapes render as in Logseq; Mod+G groups and Mod+Shift+G ungroups; the right-click menu aligns, distributes, packs, flips and exports the selection as a PNG; a shape's Link button links it to a page or block, with Quick Links on hover; shapes rotate from just outside a corner, Shift snapping to 15°; zoom, fit and focus glide for 100ms; and the first board you make opens as Logseq's own onboarding board, after Logseq's welcome and two-step tour. - Plugins. Logseq marketplace plugins run unchanged. More › Plugins opens Logseq's Plugins page: Installed and Marketplace, plugins and themes, search, Install, an on/off switch, settings and Uninstall. Plugins get toolbar buttons, managed from Logseq's puzzle menu in the header (every toolbar item with a pin; until one is pinned all show, after that only pinned ones do, with links to Plugins and the first plugin's settings), slash commands, block and page menu items, PDF highlight menu items, command palette commands,
{{renderer}}slots, their own windows, settings and shortcuts, and themes restyle seqno through Logseq's CSS variables. The graph's ownlogseq/custom.css(or:custom-css-url) applies over the theme and follows every edit, in seqno or on disk, without a reload; Settings and the Files filter open it,config.ednandexport.cssin Logseq's raw file editor;export.cssstyles the published site, the only place Logseq 0.10.9 reads it. Installed plugins and themes keep a local copy and work offline, and seqno itself opens offline. Plugins update as in Logseq: seqno checks for new versions on start every 12 hours (a switch in the puzzle menu and on the Plugins page turns it off), the Plugins page's Check all updates and each card's Check update check by hand, a red dot on the puzzle button and a New updates row open the list of updates with Update all of selected, and each card shows its version and its own Update button; an update swaps the offline copy for the new version's, keeps the plugin's settings and reloads it. When the header is crowded, the plugin buttons' row is capped as in Logseq. Plugins' Datalog runs on Datascript as in Logseq, with inputs, their file storage is kept per app,logseq.Assetslists, opens and stores files in the graph'sassets/, andExperimentsgets Logseq's React 17 andloadScripts, so plugins can draw code blocks, and KaTeX enhancers extend math. Proven on Journals calendar, Word count (with its selection count), Markdown Table Editor, Pomodoro timer, Random Note, Markmap, Merge Pages, Dev theme, Quick Capture, Log-Stats, Hypothesis, Assets plus, PDF Translator, Fenced code plus, Logseq Display Math and Extensions plus. - Command palette. Mod+Shift+P lists Logseq's commands with their keys, most used first, and runs them, including on the selected blocks; Mod+K search lists matching commands too,
/narrows search to the current page, nodes, code, commands, files or themes, and Mod+Shift+K searches the open page. The commands include next and previous journal and tomorrow (g n,g p,g t), document mode (t d, Enter for a new line and Shift+Enter for a new block, with aDin the header), the brackets toggle (Mod+C Mod+B, saved inconfig.edn), Logseq's accent colors (c c,c o), selecting graphs to open or remove (Alt+Shift+G), re-index, and the block keys (t n,t o, Mod+;, Alt+Up/Down, Mod+Shift+C, Mod+L). The page menu (the header's…and a right-click on a page title) has Logseq's items: favorite, copy the page URL, delete (journals too; deleting today's journal starts a new empty one), View as slides (the page's top blocks as reveal.js slides in the right sidebar, their children as slides below them), export, and make public or private. - Queries. Live
{{query}}blocks drawn like Logseq's. They take Logseq syntax, or Dataview-style text. - Tests. About 490 unit and component tests and 56 Playwright flows against a production build. A design harness puts 12 screens next to Logseq in light and dark.
Not done yet: sync between two real devices through iCloud Drive. The sync engine has passed the simulator and folder tests, but not a run on two computers.
Make the web app safe for real, large graphs before adding platforms:
- Open lazily: load from the newest snapshot, show the visible page first, and keep the index on disk so it catches up instead of rebuilding. (Done: an open imports the newest snapshot without decoding it first, restores without events, and loads the saved index and catches it up in the background. Opening still decodes the one block tree to list the pages; the tree-per-page layout below removes that.)
- A tree per page. Decided: one Loro doc with a tree per page (
graphV2Layer, see decisions.md); a doc per page is dropped. Graphs kept in the browser use it: a new one starts on it with today's journal keyed by its day, and an existing one converts when it opens, checked page by page against its old files before they go. In Node it opens ten years of journals in 0.16 s instead of 1.0 s on one tree, 30 years in 0.42 instead of 2.8 s and 60 years in 0.87 instead of 5.6 s, with 0.37, 0.71 and 1.2 GB of memory instead of 0.47, 1.0 and 1.8 GB (a first open in a fresh process); ten years written at 2× and 4× the blocks a day (280k and 540k blocks) open in 0.09 to 0.17 and 0.22 to 0.42 s on a CI runner, with 0.52 and 0.83 GB; the spike had estimated 0.35 against 5.5 s at 30 years. It converts a one-tree graph in 37 s at ten years, and runs bulk commands on a 20k-block page as fast as the one-tree layout. In Chrome on a CI runner, years kept in the browser show the first journal in 0.6 to 0.7 s at ten years, 1.1 to 1.5 s at 30 and 1.6 to 2.5 s at 60 (see Scale below); CI also runs its sync simulator suite. Still to do:- Picked folders. They stay on one tree, and this build refuses one a later build converted. Converting a synced folder waits on Bassim: every device that opens it has to run a build that reads the new layout first, and exactly one device converts it (the converter writes the same bytes on every device, but two conversions of two different sets of files would double the blocks). Converting ten years takes 37 s in Node and holds both layouts in memory while it checks them.
- Moves between pages meeting other devices' changes. Decided: a move between pages is a pointer, which keeps what other devices type into the block, and a delete removes only what the deleting device saw, so a block another device moved, wrote in or added meanwhile is kept (see "A delete removes only what the deleting device saw" in decisions.md).
- A tree per page. Decided: one Loro doc with a tree per page (
- Close the data-safety gaps below. Done so far: each open writes with a new peer id, two pages with one name merge into one, two devices importing the same folder write the same ops, merging a block with Backspace keeps its properties and its references, undoing a delete brings back the same blocks with what other devices typed into them, a delete keeps what other devices moved, wrote or added meanwhile, saving follows each edit and shows when it fails, the import lists the files it left out, and each tab undoes only its own edits.
- Keep the edit log small on a single device, and show save state in the UI. (Done for graphs kept in the browser, and the header shows save state; a lone device on a synced folder still can't delete, see below.)
- Turn on the markdown mirror so Logseq sees edits made in seqno. (Done: one device writes each folder's files once a second and merges Logseq's edits back, a device that imported on its own can't double blocks and gives way to the folder's copy, and the saved dot waits for every keystroke the tab sent. Not checked against a real Logseq desktop install, which this build machine doesn't have.)
- Run the sync simulator on the real graph with every command and device restarts. (Done: 50 runs of 600 ops and 20 runs of 10k ops all converged.)
- Check in a 50k-block benchmark that fails when open or typing goes over budget, and test sync on two real Macs. (The benchmark is in:
tools/benchruns in CI, in Node for open and typing and in Chrome for ten years of journals and a 20k-block page, opened and scrolled. Thescaleworkflow runs it by hand at any number of years; at 30 and 60 years, and at ten years with 2× and 4× the blocks a day, both layouts still scroll the journals and the long page at a 16.7 to 16.8 ms frame p95 with no frame over 50 ms, and rows usually show 30 to 150 ms after a jump; a jump during the first index fill can wait up to 0.4 s for the day's blocks (2.1 s once). The two-Mac test needs two Macs signed into iCloud.)
An Expo app with loro-react-native (loro-ffi 1.16.2 at opt-level 3), a Swift vault module for coordinated atomic writes and file watching, and Loro moved off the JS thread. A prototype of the vault module passes 9 of 9 checks on the simulator, though 2 of them can only really fail once a second device exists.
- Needs the paid Apple Developer Program (99 USD a year). The free tier has no iCloud capability, so the app can't reach its iCloud container. Container ids can't be deleted, so the bundle and container ids get chosen once.
- Then: a real iPhone run (the simulator sits at 57.6 ms for a warm merge against a 50 ms target, and 149.4 MB against 150 MB), plus a second device for real conflicts, latency and download status.
- Untested fallback without the program: pick an iCloud Drive folder once in the document picker, and reinstall the app every 7 days.
Electron around the same web build, with graph folders anywhere on disk, including iCloud Drive on a Mac. The vault's node file adapter and the node:sqlite index driver already pass their tests. Nothing blocks it.
- Two copies with two or more devices each stay split. Sync refuses a second import, so nothing doubles, and a copy with a single device gives way to the folder's. When both copies have more than one device, neither gives way: they trade edits through the page files but keep separate histories.
- Import leaves files out. A file whose name matches an earlier page, or one that isn't downloaded or can't be read, is left out. The tab that ran the import now lists them in a notice until it is closed, but nothing retries them later, and the list isn't kept anywhere.
- The editor matches its own edits by text. It recognizes its edits coming back by comparing text, so a change elsewhere that happens to produce text it typed a moment ago could be taken for its own (found by reading the code, not reproduced). A rejected edit now shows a notice and puts the graph's text back in the editor, so a mismatch that leads to a rejection heals itself.
- No device list. The app counts only itself as a member, and there is no "remove this device" setting.
Ten years at 2× and 4× the blocks a day (SEQNO_BENCH_DENSITY, a heavy writer instead of a longer one: 280k and 540k blocks on the same 6,654 pages) cost what the same number of blocks costs in more years. Ten years at 4× lands next to 30 years at 1× (410k blocks on 19,959 pages) on every measure below, so the slow parts follow the blocks, not the pages or days. What a journal day puts on screen used to follow the blocks a day too; days now window their rows like a page (see decisions.md), so ten years at 4× keep 3.1k to 5.9k DOM nodes after scrolling the journals, against 8.9k to 15.2k before (same-day runs, counted after a garbage collection), and rows show after a jump in a median 99 ms (115 ms before).
- Opening a picked folder grows with the graph. On a CI runner a picked folder shows the first journal 1.2 to 1.8 s after opening ten years of journals (150k blocks, a 59 MB snapshot), 3.0 to 4.0 s after 30 years (410k blocks, 162 MB) and 6.9 to 7.4 s after 60 (800k blocks, 318 MB), against 0.6 to 0.7, 1.1 to 1.5 and 1.6 to 2.5 s for the same years kept in the browser on a tree per page. Ten years at 2× and 4× the blocks a day take 1.6 to 2.3 and 2.8 to 4.0 s in a picked folder, and 0.9 to 1.4 and 1.1 to 1.7 s kept in the browser. What's left on one tree is importing the snapshot and decoding the whole block tree the first time anything reads it, because every page and block lives in one tree, and reading every page root for the page list. Folders wait for their conversion (Hardening, step 1).
- The first index fill grows with the blocks: 25 to 35 s at ten years, 73 to 83 s at 30 and 113 s at 60 on a CI runner, and 64 to 68 s and 71 to 115 s at ten years with 2× and 4× the blocks a day. Search and backlinks are partial until it ends, and later opens load the saved index and catch up instead. Most of it is SQLite calls made a block at a time (17 of 28 s at ten years, in Node with the browser's SQLite build) and reading every page, which the graph's background walk of every page also does (another 3 s). Rows show 47 to 132 ms after a jump during the fill, at every size.
- Opening a 30k-block page takes about 2.8 s: the core reads every block of the page, and the tab lays all of them out once. Scrolling it afterwards stays at 16.7 ms frames.
- A reload during an index save waits for it. The closing session finishes writing the whole index before the reloaded tab reopens the graph, so the first journal shows 0.8 to 1.0 s after the reload at ten years (a 72 MB index), 2.0 to 2.8 s at 30 (197 MB) and 3.8 s at 60 (386 MB); the index has the long page's last block 1.0 to 1.4, 2.8 to 3.0 and 5.2 s after it. At ten years with 2× and 4× the blocks a day (132 and 255 MB) it's 1.7 to 1.8 and 2.1 to 2.9 s, then 2.5 to 2.7 and 3.2 to 4.3 s. Both go over their 2 s and 3 s budgets from 30 years, and at 4×.
- Memory grows with the blocks. Chrome holds 1.3 to 1.5 GB once ten years kept in the browser have filled their index, 2.5 GB at 30 years and 4.5 GB at 60, and 1.9 and 3.0 to 3.2 GB at ten years with 2× and 4× the blocks a day. In the worker, Loro's and SQLite's wasm memory reaches 2.0 GB after the 60-year fill and 2.8 GB while it saves the index (in Node, same code). Wasm memory never shrinks, and a closed graph's Loro memory is given back only after a garbage collection, so a graph opened right after another big one starts on top of it: the open benchmark, which reopens 60 years and then opens a second copy, ends with Chrome at 8.9 GB. Loro's wasm can't pass 4 GB.
- Big imports are very slow. Import loads every page in one Loro commit. At 50k blocks that took about 3 minutes, and reopening the result about 2 more (at 10k blocks, under a second each). Committing one page at a time measured about 15 s in total.
- Update files pile up on a lone device in a synced folder. Each edit is saved as soon as the last write finishes, so typing can write a file per keystroke. Graphs kept in the browser compact at 100 files and delete what the snapshot covers. In a picked folder, deleting needs another device to confirm the snapshot reached the server, so a device that is alone there never deletes its update files or its hourly snapshots, and every open reads all of them.
- Live queries re-run on any matching key. The row-level check that cut re-runs from about 4 to 1 per keystroke exists in
@seqno/querybut isn't wired in. - A page re-reads in full on every change to it. Fine for normal pages, likely slow for one with tens of thousands of blocks (not measured).
- Missing features: flashcards, All pages views and filters, linked-reference filters, a toolbar for selected blocks, the query builder menu, and Settings beyond General, Keymap and Version control.
- Plugins: a plugin's display in one tab doesn't follow
DB.onChangedfor edits typed in another tab, Git plugins have no remotes to push or pull (decisions.md, "Git runs on the mirror's files, in the browser"), and the API parts listed infeatures/plugins/README.mdanswer "not supported yet". Themes that rely on Logseq's nested block markup (.block-childrenthreading) don't find it in seqno's flat outline, and the other Logseq names the popular themes select that seqno doesn't render yet are listed, each with its reason, inpackages/dom/src/gaps.ts. - The command palette lacks Logseq's commands for what seqno doesn't have yet (flashcards, the developer commands, installing a plugin from a file, and the desktop app's window, file and find commands); Save is left out because every edit saves. The page menu lacks Logseq desktop's file items (open in directory, default app, backups).
[[suggests pages only; Logseq 2.x also lists matching blocks.- Favorites live in app storage, not
config.edn, so Logseq doesn't see them and a Logseq graph's favorites aren't imported. - The date picker stays in edit mode after Submit and has no keyboard navigation. Resizing an image writes its width only.
- No exit animation for the palette and editor popups.
- Safari and Firefox get no notice. The plan is a screen that points to Chrome or Edge.
- The sync simulator's mutants switch bugs on only in the stand-in vault, and its restarts are clean: a crash that loses unsaved edits isn't simulated.
- Browser flows fail on page errors but not on errors inside the core worker.
- Lint doesn't stop UI code from importing core-only libraries such as
loro-crdtdirectly, and nothing enforces the exact Loro version for new packages. fixtures/sits outside lint and formatting. It is in the repo map as a tool, so only other tools (liketools/bench) can use the 50k-block generator.