OpenFini

Docs / Decision records

Architecture decision records

Short records of the decisions that shape OpenFini. New decisions get the next number; superseded ones stay in place and are marked as such.

#DecisionStatus
0001Tauri (system WebView) as the desktop shellAccepted
0002Canvas 2D rendering, no WebGL requirementAccepted
0003Shoelace as the prebuilt design systemAccepted
0004Plain ES modules, no UI framework, no build step in developmentAccepted
0005Scene graph compiled into a backend-neutral display listAccepted
0006.ofini is a ZIP of JSON plus original assetsAccepted
0007Internationalization: the English text is the keyAccepted
0009Bundled extensions are data, packed from source, installed on demandAccepted
0008Vibe hub: concurrent chats, fair write lock, tag-based run undoAccepted
0010Collaboration through a dumb relay with end-to-end encryptionAccepted
0011Live editing: state-diffed tree registers and an RGA for textAccepted (beta)
0012VS Code extensions from Open VSX: declarative parts plus a sandboxed web-extension API subsetAccepted
0013The Collaboration window pops out as a UI-only remote viewSuperseded by 0030
0014Model routing with fallback as a provider wrapperAccepted
0015Liquid glass refraction: own SVG displacement-map code instead of vendoring amazing-glassSuperseded by 0021
0016Office Suite: one studio, a registry of lazily loaded apps per document kindAccepted
0017OpenAI account sign-in on desktop, OAuth for MCP servers, nothing undocumentedAccepted
0018Built-in relay, FTP/FTPS and SMTP in the desktop shellAccepted
0019Extension background scripts in workers, a watchdog, and a worker pool for heavy jobsAccepted
0020Color management: compact ICC engine, no bundled CMYK profile, PDF/X with an honest preflightAccepted
0021Native window materials (Mica, Acrylic, vibrancy) instead of Liquid glass refractionAccepted
0022AI orchestration (plan_work) and lazy skill packsAccepted
0023Computer use for the assistant: risks, OS permissions, and the session-grant design that was built for Windows and macOSAccepted
0024An ofini command-line tool with an optional TUILayer 1 built (0032); rest proposed
0025A terminal in the Code studio without a shell or PTY (reuses the assistant's run-without-a-shell command)Accepted
0029Scene Studio: one pure model, frame = f(model, time), 2D compositor with a WebGL pass, WebCodecs export with own containersAccepted
0028Code mode for the Vibe assistant: run_script in an isolated worker, call gate, one undo step, dry runAccepted
0030Collaboration always lives in its own OS window: one UI fed by snapshots, no in-app fallbackAccepted
0031Launch screen: an inline card for the web, a separate splash window on the desktopAccepted
0032The ofini command line tool reuses the pure engine modules in Node; rendering stays in the appAccepted
0033Docking layout with our own small engine: a pure layout tree plus a DOM rendererAccepted
0034Proto Studio: UI design and prototyping on a real HTML and CSS canvas, one operation layer for editor, Vibe, MCP and CLIProposed
0035World Studio: 3D on a pure scene and mesh model with one operation layer, rendered through a pinned three.js (WebGPU with a WebGL 2 fallback) behind our own adapterProposed

Edit on GitHub → docs/adr/README.md