# What a full OS still needs `roadmap.md` lists what has been built. This document looks the other way: it starts from what a person needs to use Pinnacle as **the only system on their laptop and phone, every day**, and lists what is still missing. It has three parts: missing parts of the system itself, missing software, and how new projects for that software are made. Written 2026-11-28 (session s893) from the code on main at that date. It is a point-in-time inventory: when something here gets built, mark it in `roadmap.md` and remove it here. midas's scout reads this file as a design document, so each missing item it names is a reason for a tech in the Pinnacle goal's tree. ## How each item is judged - **Need**: **1** means you can't use Pinnacle as your only system without it. **2** means its absence is noticed within a week. **3** means something people miss now and then. - **Where**: **pinnacle** means a part of the system: the kernel, a driver, a service, a system program, or a crate in this repository. **new project** means a repository of its own, which Pinnacle pins by `rev`, as it does Mithril, Frits and Fien (part 3). - **Evidence** is what was checked to call it missing. "Nothing" means a search of the code and docs outside `ports/` and `std/` found nothing. ## What already holds In short (the details are in `roadmap.md`): a kernel for ARM and x86-64 on QEMU with SMP, PCI, a journalled copy-on-write file system with an encrypted vault, a display server with shared-memory windows, a vector renderer, one font, Mithril views, a network stack with TLS 1.3 and HTTP, a DHT messenger with calls, Wi-Fi and modem services (simulated), BLE, sound, a Vulkan driver over Venus with wgpu on it, Rust `std` with ports of crates from crates.io, the Store, and these programs: Terminal (typed records, pipelines, remote), Files, Fien, Notes, Settings, Contacts, Messages, Calls, Phone, Clock, Calculator, Paint, Bluetooth, Wi-Fi, and the agent. Cartopolis runs on it under Venus. So the foundations stand. What is missing is mostly at both ends: real hardware below, and the everyday software people expect above. ## 1. Missing parts of the system ### Hardware and getting it onto a machine | Item | Need | State and evidence | |---|---|---| | Running on one real device | 1 | Nothing has run on hardware (`hardware.md`: "Nothing here has run on hardware yet"); `rk3399` waits for a board with a serial console. The first real device decides most of the driver list below. | | Laptop input beyond USB and PS/2: I²C-HID touchpads and keyboards | 1 | USB keyboards, mice and tablets, USB hubs, and the keyboard controller's keyboard and touchpad (PS/2, as a mouse) are built (`roadmap.md`, 2026-11-29); many laptops' touchpads are I²C-HID only. | | Storage: SD/eMMC | 1 | NVMe, AHCI/SATA and USB sticks are built (`roadmap.md`, 2026-11-29); SD/eMMC is in the `rk3399` step, not built. | | A UEFI boot entry for an installed disk | 3 | The installer is built (`roadmap.md`, 2026-11-29); it writes no `Boot####` variable (the kernel calls no UEFI runtime services), so a firmware that boots only from its entries needs one made by hand. | | Real Wi-Fi, Bluetooth and modem chips | 1 | The protocol stacks are there; each chip still needs its own driver (`wifi`, `bt`, `modem` run on simulators). | | Power: suspend and resume, battery level, screen brightness, lid | 1 (laptop/phone) | Tickless idle and parked cores exist; deeper sleep states and frequency scaling "need a board" (`roadmap.md`). | | Camera, microphone, speaker on a device | 2 | Calls use a stand-in camera and tone in QEMU (`roadmap.md`, Calls). | | Real GPU drivers (no host to forward Vulkan to) | 2 | 3D runs only through Venus to a host. On a device that means an own driver per GPU, a project far bigger than Venus. Until then the CPU vector renderer is the screen. | | External displays, HDMI/USB-C | 3 | Nothing. | | Printing and scanning (IPP Everywhere / eSCL, no drivers needed) | 3 | Nothing. | ### Time, language and access | Item | Need | State and evidence | |---|---|---| | Scripts still not shaped: Indic and Southeast Asian (Devanagari, Thai, …), colour emoji, CJK line breaking | 3 | Arabic, Hebrew, CJK and emoji are drawn since s916 (`text-and-access.md`); these have no font, no reordering, or wrap only at spaces. | | Translations of the remaining apps; languages beside Dutch and English | 2 | The mechanism and its test are there (`pinnacle-locale`, s916); Calls, Messages, Notes, Files, the Store, Calculator and Paint speak Dutch since s924; Contacts, Bluetooth, the terminal, Kees and Fien still speak English. | | Accessibility in the apps drawn by hand, the on-screen keyboard read aloud, braille, voice control | 2 | Text size, high contrast and the screen reader work for apps built from views and the system's own screens (s916); apps drawn by hand have no UI tree. | ### Network and safety | Item | Need | State and evidence | |---|---|---| | IPv6 | 2 | Built (s917): an address from the router's prefix, neighbours by solicitation, TCP and names (AAAA) over it, `connect6` for programs and std; IPv4 first where both work, as there is no Happy Eyeballs yet. Left: UDP for programs, and p2p's DHT, are IPv4 only; no DHCPv6. | | HTTP/2, and HTTP/3 (QUIC) later | 2 | HTTP/2 built (s917): `net/src/http2.rs` with HPACK, chosen by ALPN over TLS, which `rt::net::request` uses. Left: one request a connection in `rt` (the multiplexing is there for a program that keeps a connection), and HTTP/3. | | VPN (WireGuard) | 3 | Nothing; the p2p sessions already have WireGuard's shape. | | Firewall rules per app beyond `network=yes` | 3 | An app either has the whole network or none (`roadmap.md`, apps confined). | | Store: one key per publisher, revoking a key | 2 | Built (s917): each key names its publisher, an app is replaced only by its own publisher's package, and the hosted Store's signed registry list (`keys/publishers`) admits publishers and takes keys back for good (`store.md`, "Publishers and their keys"). Left: a publisher revoking its own key without the registry. | | A log and crash viewer for the person | 3 | Crash output goes to the serial console. | | More than one person on a device (accounts, a guest) | 3 | One vault, one person by design so far. Decide whether it is wanted at all. | ## 2. Missing software What people open in a normal day, and whether Pinnacle has it. Libraries come first, because several programs share each one. ### Shared libraries that do not exist yet | Library | Need | Used by | Where | |---|---|---|---| | Compression: deflate/inflate, gzip, zip | 1 | PNG, PDF, the web (gzip), mail attachments, backups, Store packages | pinnacle crate, or the codecs project below | | Image formats: PNG, JPEG, WebP, GIF; later AVIF | 1 | Photos, the browser, mail, Messages, Files (pictures opened since s938, `media::picture`) | **Wil** (`jeroen/wil`), the codecs project | | Audio formats: Opus, FLAC, Vorbis, MP3, AAC | 2 | Music, Calls (Opus would replace ADPCM), the browser | **new project** (codecs) | | Video formats: AV1 and VP9 first, H.264 for the existing web | 2 | Video player, the browser, Calls (now an own codec, `media/src/video.rs`) | **new project** (codecs); a large one | | HTML and CSS layout | 1 | browser, mail, help pages | **new project** (browser engine) | | A JavaScript engine | 1 for the web | browser | **new project**; decision below | | PDF reading | 1 | PDF reader, the browser, mail | **new project** (PDF), on `vector` and `ttf` | ### Programs | Program | Need | State | Where, and what it builds on | |---|---|---|---| | **Web browser** | 1 | Nothing | **new project**: on HTML/CSS layout, JS, TLS, HTTP, images, fonts, and Mithril for its chrome. The largest gap by far; see the decision below. | | **Mail** (IMAP + SMTP, or JMAP) | 1 | **Kees** (`jeroen/kees`, 2026-11-29): IMAP + SMTP, plain text | the project **Kees**, with Calendar; on TLS, `rt::net`, Mithril; shows HTML mail as text until the browser engine's layout can show it. | | **Calendar** (CalDAV, `.ics` invites) | 1 | **Kees**: CalDAV, invites by mail answered | in Kees, together with Mail (one account sync, one engine). | | Contacts sync (CardDAV) | 2 | **Kees** syncs address books into Contacts by UID | in Kees; Contacts' own edits do not go back to the server yet | | **Photos**: view, scroll, share | 1 | Files opens a picture, fitted to its pane (s938); no app of its own, no zoom, scrolling or sharing | pinnacle system program, on codecs | | **Camera** | 1 (phone) | Nothing | pinnacle, after the camera driver | | **Music and video player** | 2 | Nothing plays a file | pinnacle program, on codecs and `rt::audio` | | **PDF reader** | 1 | Nothing | **new project** (the library) and its viewer | | Office documents (ODF, DOCX, XLSX): view first, edit later | 2 | Notes edits plain text | **new project**, later; viewing before editing | | Chat with people outside Pinnacle (Matrix, XMPP) | 2 | Messages talks to Pinnacle devices and SMS | **new project** if wanted; Matrix is the open choice | | Password manager and autofill | 2 | The vault exists | pinnacle: passwords in the vault, autofill in the browser | | Maps and navigation | 2 | Cartopolis runs on Pinnacle, with Venus | Cartopolis; needs a GPU or a 2D fallback on a device | | Archive manager (open a zip) | 3 | Nothing | pinnacle, in Files, on the compression crate | | Weather, news reader (RSS) | 3 | Nothing | small Store apps, good first Frits apps | | Developing on the device itself (rustc on Pinnacle) | 3 | The workbench builds on another machine | later; the workbench covers it meanwhile | ### Already there Terminal, Files, a code editor (Fien), Notes, Settings, Contacts, Messages, Calls, Phone, Clock, Calculator, Paint, the Store, a scripting language (Frits), the agent. ### The decision the browser needs A browser that can open the web as it is needs a JavaScript engine and a CSS engine of full size. Written here, with no outside code, that is years of work. It is the person's choice, and it decides the browser project's first year: 1. **All own** (as Pinnacle's rule says): an HTML/CSS engine in stages. A reader first (articles, documentation, no scripts), then forms, then a JS engine. Useful early for reading; most web apps don't work until late. 2. **Rust crates as a port** (as Cartopolis is ported today): a CSS engine and layout from Servo's crates (Stylo, Taffy, Parley, as Blitz combines them) and a JS engine in Rust (Boa). These are Rust only, with no C, so they fit "no C anywhere". But they are outside code, so the browser would be an app from the Store, not part of the system. 3. **Both**: option 2 to have a browser soon, option 1 as a long track that replaces it piece by piece. **Chosen 2026-11-28: option 2**, as the project **Flitz** (jeroen/flitz): Blitz's crates, with Boa for JavaScript later, and a test there that fails if anything in the build compiles C. Where Blitz's defaults bring C in, Flitz does that part itself (its network on rustls with ring, fonts carried rather than found through fontconfig, Vello painting instead of Skia). `cargo xtask flitz ` installs and opens it. The same question, smaller, applies to the video and audio codecs. ## 3. Making a new project This is how Fien became a project (session s877, 2026-11-27), written out as steps for the next one. A project is worth its own repository when it is useful outside Pinnacle (on the web through Mithril, or in Cartopolis), or when it is large enough to need its own tests and gate. Anything that touches the kernel, the display server or a service's protocol stays in this repository. 1. **Name and scope, from the person.** One line saying what it is, the README's first line. The names so far are Dutch first names (Frits, Fien); the person picks the name. 2. **Make it on the hub.** `midas project create --description "…" --gate "cargo test --locked --workspace" --gate-nodes any` (MCP `project_create`). This creates the repository, its first commit and its landing. Making it public is the person's choice (`--public`). Then `midas sessions add-project ` brings it into the session. 3. **Lay it out as Fien is laid out.** A Cargo workspace with `crates/core` (`no_std`, no crates from outside, all logic and its tests) and `crates/view` (the screens, on Mithril pinned by `rev`), the same `rust-toolchain.toml` and `rustfmt.toml` as Pinnacle, a LICENSE, a README with screenshots, `docs/`, and a **CLAUDE.md** with how to build and test. Fien has no CLAUDE.md; a new project should start with one. 4. **Land the project first**, through its own gate, so Pinnacle can pin a commit that is on main. 5. **Bring it into Pinnacle** in a second landing: a `git` dependency with `rev` in `programs/Cargo.toml` (as `fien_core`), a `[profile.release.package.]` entry in `Cargo.toml` like Fien's and Frits's, a program in `programs/src/bin/` or a Store package with its manifest (`network=`, `gpu=`, `effects=`), a line in the self-check, and a `cargo xtask` demo or shot. Then a row in `roadmap.md`. 6. **Let midas see it.** Add the project to the Pinnacle goal's projects so the scout reads it. Goals ▸ Map draws the arrow by itself from the Cargo URL, and turns it amber when Pinnacle's pin falls more than five commits behind. midas needs no change for this. One thing midas cannot express yet: a tech in the tree that needs a project which does not exist yet (`lands_in` may only name existing projects). Until that changes, the person makes the project (step 1–2) and the tree takes it from there. ## Suggested order The order follows the Need column, plus what each item depends on: 1. **One real device boots and is usable**: pick the device, then its storage, USB input, display and power drivers, and the installer. Until this works, everything else can only be tested in QEMU. 2. **The basics a person notices on day one**: all built — network time, time zones, the Dutch and US-International keyboard layouts and a PC's system updates (`time-and-keyboard.md`, `updates.md`), and backup and sync of the vault (`backup-and-sync.md`). 3. **The codecs project**, starting with compression and images: it unlocks Photos, previews in Files, and pictures in Messages, and later the browser needs it too. 4. **Mail and Calendar**, as one project: plain text mail first, which needs nothing that is missing apart from IMAP/SMTP. 5. **PDF reader.** 6. **The browser**, once the decision above is made. Its reader stage can start in parallel with 3–5, since it only needs HTML/CSS layout. 7. Then the 2s: IPv6, HTTP/2, audio and video codecs, music and video playback, publisher keys in the Store, the remaining translations and accessibility in the apps drawn by hand. (Shaping and fallback fonts, languages and accessibility were built in s916: `text-and-access.md`.)