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.
| # | Decision | Status |
|---|---|---|
| 0001 | Tauri (system WebView) as the desktop shell | Accepted |
| 0002 | Canvas 2D rendering, no WebGL requirement | Accepted |
| 0003 | Shoelace as the prebuilt design system | Accepted |
| 0004 | Plain ES modules, no UI framework, no build step in development | Accepted |
| 0005 | Scene graph compiled into a backend-neutral display list | Accepted |
| 0006 | .ofini is a ZIP of JSON plus original assets | Accepted |
| 0007 | Internationalization: the English text is the key | Accepted |
| 0009 | Bundled extensions are data, packed from source, installed on demand | Accepted |
| 0008 | Vibe hub: concurrent chats, fair write lock, tag-based run undo | Accepted |
| 0010 | Collaboration through a dumb relay with end-to-end encryption | Accepted |
| 0011 | Live editing: state-diffed tree registers and an RGA for text | Accepted (beta) |
| 0012 | VS Code extensions from Open VSX: declarative parts plus a sandboxed web-extension API subset | Accepted |
| 0013 | The Collaboration window pops out as a UI-only remote view | Superseded by 0030 |
| 0014 | Model routing with fallback as a provider wrapper | Accepted |
| 0015 | Liquid glass refraction: own SVG displacement-map code instead of vendoring amazing-glass | Superseded by 0021 |
| 0016 | Office Suite: one studio, a registry of lazily loaded apps per document kind | Accepted |
| 0017 | OpenAI account sign-in on desktop, OAuth for MCP servers, nothing undocumented | Accepted |
| 0018 | Built-in relay, FTP/FTPS and SMTP in the desktop shell | Accepted |
| 0019 | Extension background scripts in workers, a watchdog, and a worker pool for heavy jobs | Accepted |
| 0020 | Color management: compact ICC engine, no bundled CMYK profile, PDF/X with an honest preflight | Accepted |
| 0021 | Native window materials (Mica, Acrylic, vibrancy) instead of Liquid glass refraction | Accepted |
| 0022 | AI orchestration (plan_work) and lazy skill packs | Accepted |
| 0023 | Computer use for the assistant: risks, OS permissions, and the session-grant design that was built for Windows and macOS | Accepted |
| 0024 | An ofini command-line tool with an optional TUI | Layer 1 built (0032); rest proposed |
| 0025 | A terminal in the Code studio without a shell or PTY (reuses the assistant's run-without-a-shell command) | Accepted |
| 0029 | Scene Studio: one pure model, frame = f(model, time), 2D compositor with a WebGL pass, WebCodecs export with own containers | Accepted |
| 0028 | Code mode for the Vibe assistant: run_script in an isolated worker, call gate, one undo step, dry run | Accepted |
| 0030 | Collaboration always lives in its own OS window: one UI fed by snapshots, no in-app fallback | Accepted |
| 0031 | Launch screen: an inline card for the web, a separate splash window on the desktop | Accepted |
| 0032 | The ofini command line tool reuses the pure engine modules in Node; rendering stays in the app | Accepted |
| 0033 | Docking layout with our own small engine: a pure layout tree plus a DOM renderer | Accepted |
| 0034 | Proto Studio: UI design and prototyping on a real HTML and CSS canvas, one operation layer for editor, Vibe, MCP and CLI | Proposed |
| 0035 | World 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 adapter | Proposed |
Edit on GitHub → docs/adr/README.md