* feat(workbench): one project side by side, on one screen or two A project's session and Loki as columns of one window, and its site in a window of its own — beside this one or on the other screen. Nothing in it is new UI: the columns are TerminalSurface and LokiWorkspace mounted as they are; the site is the live page with the owner's pass, where pointing and "Fix it now" already live. What the workbench adds is the arrangement. - /projects/[id]/workbench, a Workbench row on the project page, and the pane SSOT in config/workbench.ts (session, loki). - The site is a window, not a pane, on purpose: every fleet site sends frame-ancestors 'none' and Cross-Origin-Opener-Policy same-origin, so it can be neither framed nor reached as an opener. The workbench says only what it knows. docs/architecture/workbench.md. - Windows open the best way the platform offers: Fleet Runner places them from the real display list (new IPC open-workbench-window, v0.8.60, caller tiled left / new window right, or the other display whole, an open window brought forward); a Chromium browser places a popup on the other screen once allowed; any browser gets a half-screen popup. - Any pane in its own window (?pane=): a solo window hides the shell chrome at every width; the windows of one project on one machine keep each other honest over a BroadcastChannel (a popped-out pane leaves its window and returns when that window closes). - Which panes a window shows is device-local (localStorage per project), never a column on the project. Two columns from xl; below that one pane at a time and the strip chooses; below md the phone's rows. - Each column's side rail (the session's Loki rail, the chat's history) is remembered for the workbench apart from its own page and starts closed in a column: TerminalSurface gets `rail`, LokiWorkspace gets `basePath`, `project` and `history`. - Full screen is the browser's own, on the workbench root. - Pure parts tested: scripts/test/workbench-layout.ts, workbench-windows.ts, workbench-placement.ts. Checked by hand at 390, 720, 1000, 1440 and 1920px and as a one-pane window at 900px, no horizontal scroll. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * refactor(workbench): one placement rule, a window's own layout, honest re-opens A second pass over the workbench after an independent review of the diff. - One placement module for both sides: src/lib/workbench/placement.ts is the pure rule the browser popup and Fleet Runner's real windows share (the desktop copy is gone). Tiling respects the caller's minimum width, so the 800px shell and the new window meet on a 1440px display instead of overlapping; only a display too small for both overlaps. - The layout is the window's: sessionStorage per project, kept across the window's reloads and never shared. Two full workbench windows of one project each keep their own arrangement; localStorage's cross-window storage event clobbered them. useLocalStorageState takes the area. - A popped-out pane announces itself closed on every way out — pagehide and a soft navigation away — and open again from the back-forward cache. - A window already open is brought forward, never navigated again: the site's address carries a pass minted per visit, and a second navigation left it unread in the address bar. Fleet Runner keys windows by the URL without its fragment, restores a minimized one and places it where the person now asks. - The screen-management prompt is raised when "On the other screen" is chosen, not on the open that follows: a click that waits for a prompt goes stale and the browser refuses the window. - Close in a solo window leads somewhere even when window.close() is a no-op (a typed address): it falls through to the whole workbench. - The dock click on macOS asks whether the SHELL window exists, not any window, so a site window open with the shell closed no longer hides it. - Which panes are on screen (columns, or one of them) is a pure, tested rule; window opening lives in one hook (use-workbench-windows) instead of two states; the phone's rows read each pane's surface from the registry; useBodyClass serves both the immersive chat and the solo window. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(workbench): one box — Session and Watch, not Session and Loki The first cut put Loki's chat in the second column. Beside the session's box that was a second place to type on one screen, and a person had to work out which box did what ("I see two chats, and it just gets confusing"). The session's box already does the one thing the screen is for — it types into the live agent, or starts one — and the session already offers Loki about itself ("What's going on?"). - The second column is Watch: the project's run as a live thread (what you asked, Loki narrating, the agent's screen, and where the change is — pull request, tested and merged, live), mounted from ProjectWatch as it is. It has no box. Loki's chat stays its own page. - The pane registry carries where each pane's own page is (`pageHref`), so the phone's rows and the columns read one list. - A pane body can be a scrolling thread (Watch) or a surface that fills the pane (the session). - LokiWorkspace is back to what it was: the host-path, project and history props it only grew for the workbench are gone with their only caller. - The project row says what the screen is for: "Say what to change and watch it happen, with the site beside". Checked by hand at 390, 720, 1000, 1440 and 1920px and in both solo windows: no horizontal scroll, no console errors. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(workbench): one screen, one box — the site as Loki sees it, the robot, one line of state "If a user sees tons of options, they can feel a paralysis" (owner, 2026-10-31). The screen showed about twenty controls: the Sessions page's builder picker, tab strip, agent and view switches, Watch's card with its own buttons, pane toggles, a window-placement menu. One thing to do, a few things to see — so: - The site, left, as Loki's own browser sees it (WorkbenchSiteView): the review worker already walks the site in a headless Chromium on the box and keeps one frame per action with the action named. While it walks, this shows the robot using the site, frame by frame — the one thing no window of yours can show; at rest, the last look. A tap opens the real site in its own window, where the person uses it and the widget does the watching. Fleet sites forbid framing and sever window.opener, so a picture of Loki's browser is what can honestly be shown inside Loki. - The robot, right: TerminalSurface in a new quiet shape (`quiet`) — no builder picker (which builder runs a project is a stored decision), no tab strip of other projects, no shell rows; the chat | terminal switch and the agent stay. Its box is the ONE box on the screen. - One line of state over the robot (WorkbenchStateLine): the sentence the Watch track composes, a dot for its tone, "Watch it work" for the whole story. Pure stateLine() in lib/workbench/state-line.ts, tested. The Watch column is gone from the screen. - One "⋯" for the rest: the robot in its own window / on the other screen, the site on the other screen, full screen. The pane toggles and the placement menu are gone; a placement named for one opening wins and becomes the remembered one. - The pane registry is the robot alone; the site is a region. Below xl the robot alone (the site is in its own window anyway). On a phone: the site, the robot, Watch it work, as rows. - TerminalSurface stayed under the function-size ceiling by lifting the builder-picker wrapper and the resume filter out of it. Checked by hand at 390, 720, 1440 and 1920px and in the solo window: no horizontal scroll, no console errors. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(workbench): a focus screen — the app's chrome leaves while you build Three layers of navigation sat around two columns: the sidebar's twenty destinations, the project strip ("Profile · Chat · Home · Sessions"), then the workbench's own header and the robot's bar with the Sessions page's agent menu — "Frankenstein elements just thrown together" (owner, 2026-11-01). - While the workbench is open, the sidebar, top bar, bottom tabs, footer and project strip are gone (body.fc-workbench-focus, the former solo rule applied to the whole screen from md up). They are for moving between pages, and a person here is not moving. The one back link in the header is the way out. A phone keeps its own bars: the rows need them. - The robot's bar is the chat | terminal switch alone (TerminalSessionBar `agentSwitch`, off in the quiet shape): the session's own chip names the agent and its box changes it. What is on the screen now, left to right: back, Open the site, "⋯"; the site as Loki sees it; the robot with one line of state, the view switch and the one box. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(workbench): two windows of one desk — one frame, a title bar each The site sat in a card and the robot stood bare beside it, with a line of state floating above and a caption floating below: two different things on one screen. Now both regions, and a solo window, are one frame (WorkbenchFrame): a title bar — a dot for its tone, one sentence, one link — over a body. - The site's bar is its address and what Loki is doing there ("Live", "Loki is using it: …", "Loki's last look: …"), like a browser's own tab; its body the page, top-aligned; before any look, the address alone and "Tap to open" — never a sentence apologising for an empty box. - The robot's bar is the build's state (hooks/use-run-state, the Watch track's sentence) with "Watch it work"; its body the session with the one box. WorkbenchStateLine is folded into it. - The floating Ask Loki button leaves in focus: its panel is the second chat this screen deliberately has not, and it sat on the send arrow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(nav): Loki first — the chat is the default screen, three words then folds The owner's philosophy, 2026-11-01, now in AGENTS.md ("Why Loki exists, and for whom"): a good Loki chat, reachable in one step, is the screen that opens; the rest of the app one tap away; a friend on your side, not a staff; never a screen that makes a person feel stupid; measure by effort, not features. - APP_HOME and RUNNER_HOME are /loki: signing in, and Fleet Runner starting with the computer, land on the chat. They landed on Today, a page to read before a person could say anything. - The sidebar is three bare words — Loki, Home, Projects — the same three as the phone's bottom bar (Loki first there too), then folded groups that each say the question they answer: Waiting for you (Approvals, Feedback), Your day (Today, Suggestions, Voice), Across your projects (Sessions, Missions, Activity, Prompts), Under the hood (Packages, System), and Private behind the PIN. Not a drawer called More: the navigation test records why a "More" section rots, and still forbids it; the phone's More is the folded groups as a sheet. - Every sidebar line says what it is for on hover (the item's own description), so nothing has to be guessed. - SidebarSection gains `bare` (no header, never folded) and `foldedByDefault`; the tests that pinned the old Build / Loki / To review / The fleet placement now pin the new homes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(voice): Loki speaks as someone on your side The owner's philosophy (AGENTS.md, "Why Loki exists"): a friend on your side, not a staff you direct; never a word that makes a person feel stupid. The public pages still said the opposite. - Hero: "Say what you want. Loki builds it with you." (was "Describe it. Agents build it."). The lede, APP_DESCRIPTION, the social-card tagline and the how-it-works steps follow. Every factual claim is one the product keeps: it builds with AI agents, puts it online, changes it on ask. - /why's principles open with two new ones from the owner's words: "On your side" and "Life is short". Commitments about how Loki is made, not claims about what it does. - The new-project card says "Say what you want. Loki sets it up and starts building." instead of repos and agents; the sidebar's Loki line drops "dispatch" for "Loki answers, or builds it with you". - The hero's two sentences are separate balanced blocks: on a phone each breaks as an even pair, never one word alone. The mission headline on /why ("Direct the creation of …") is left for the owner to decide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 * feat(voice): the mission reads "with someone on your side" /why's headline was "Direct the creation of everything you can imagine." — the staff-you-manage voice the owner set aside. It now reads "Make everything you can imagine, with someone on your side.", the owner's own call (2026-11-01). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmswy1H6cYyL3hmLRy9 --------- Co-authored-by: Claude <noreply@anthropic.com>
15 KiB
Roadmap
Where Loki is going, in order. This file is the canonical roadmap: the fleet
map (/api/fleet/map) reads it, /roadmap renders it, and the same record is
what every other fleet site shows for its own project. Format:
docs/architecture/building-in-public-records.md. Nothing is dated; the order
carries the argument. Nothing here claims what is not true. "Now" holds only
work that is actually moving; finished items live under "Shipped".
Now
Private builders
One sealed builder per account on the box you already have: its own Linux user, home, token and agent sign-ins, and the rule that whoever asks for a change pays for it with their own engine — a Loki plan, their own key, or their own subscription signed in with the CLI's /login. Nobody's request runs on another person's subscription. Plan: docs/architecture/private-builders.md.
- Design note: tenant model, credential handling, what a request without an engine becomes
- A request on a shared project from someone with no engine goes to the owner as a suggestion; the per-site allowance is retired {#seat-suggests}
- Agent terminals get an allowlisted environment, never the runner's whole one {#agent-env}
- The runner reads projects through the API and carries no database password {#runner-no-db}
new-tenant.sh: user, dev root,loki-box-runner@<tenant>unit, token per tenant, reconciled from the account's flag {#new-tenant}- The owner's runner on the same template
- Eligibility is a flag on the account, not an environment allowlist; a project with no stored builder routes to the connected one {#private-builder-flag}
- Settings → Your engine: a key marked for building reaches your builder;
/loginin your own Sessions signs in your subscription {#your-engine} - The first tenant who is not the owner builds on their own sign-in
Partner track
bitbaum owns the systems design course and partner approval. Loki supplies scoped application and assigned-delivery infrastructure; qualification does not enrol a partner in the whole ecosystem. OrangeCat or Solon handoffs remain optional and require their own purpose and consent.
- Request-scoped application evidence, separate course review and studio approval with visible reasons; bitbaum owns the course and public profile consent
- The candidate build is an ordinary project with an approval control in Control
- Self-serve "Go live" for a tenant's site through the existing runner channel
- The not-approved path: the docs and scripts to run the stack yourself
Next
Capacity you can read
The numbers that decide when the next wall is hit, published on the System page and in this file, so "when do we need more" is a reading, not a guess.
- Queue median wait per builder channel {#capacity-card}
- Box memory and CPU headroom
- Monthly builds, tokens and cost per account, and what welcome builds cost against their cap {#capacity-card}
- The share of monthly token spend that is routine work
- Drop-off at "add your API key"
Sealed builds
After private builders: each build in its own throwaway box (a container, then a microVM when the box exposes KVM), so a tricked agent cannot reach even its own tenant's other work. SandboxExecutor is the seed.
- A container per build with the agent CLIs inside, on the same machine
- Per-build CPU, memory and network limits
- A microVM per build where the hardware allows it
One box becomes a pool
Runners on several boxes claim from the one queue; each site knows which box serves it.
new-site.sh --host, and a register that records the host per site- Runner units on a second box claiming from the shared queue
- Deploy reconciler that targets the right box
Bring your own key, metered by default
The builder pays their model vendor directly and pays Loki for the platform; every run records the tokens it spent, per tenant, from day one.
- Loki's own chat runs on your key when you paste one in Settings
- Several providers per account, in your own order; the composer's picker shows your models first and links to adding a key
- Passes paid in Bitcoin: the Billing tab shows the pass, its end date, the Buy button and the ledger; the operator grants, extends and revokes from System → Plans
- A key marked "for building" reaches your private builder, not only your chat {#your-engine}
- Tokens per run per tenant recorded and shown on the run, and which engine paid for it {#welcome-changes}
- BYOK as the default execution path for new accounts
- Welcome changes: a few free builds for a newcomer on Loki's key, under a monthly cap in CHF {#welcome-changes}
- A metered pool (wholesale tokens sold inside a plan) once the numbers say so
Signed installers and native channels
Make Fleet Runner trivial to install on every platform, including for builders who never open a terminal.
- Headless CLI install path for servers and CI runners
- Apple-signed and notarized macOS builds, and a signed Windows executable
- Homebrew tap, winget, and a .deb apt repository
Remote control channel
Web and mobile become genuine remote control surfaces, not eventually-consistent dashboards.
- When your computer is offline, its work waits in a visible queue instead of going somewhere else
- The local app opens an authenticated outbound WebSocket when remote control is on
- Scoped credentials through the existing agent token system
Mobile fleet control
Native iOS and Android apps on the remote control channel, made for steering and approval rather than authoring. No-screen mode (shipped) is the web form of this; a native shell is what it needs if the browser suspends the page when the screen locks.
- Push notifications when an agent needs you
- Swipe to approve or reject agent output where a human is actually needed
- Voice capture for commands and approvals
Later
Loki as a GitHub App
Builders work in their own GitHub organization: repositories, secrets and CI minutes are theirs, and Loki acts through an app installation rather than as the studio's account.
- App installation flow and per-installation tokens
- Provisioning and CD registration against the builder's org
Own inference for routine work
Reviews, walkthrough scripts, second opinions and briefs on an open-weight model on rented GPUs, once monthly API spend passes roughly thirty thousand dollars and most of it is routine.
- Route routine features to a self-hosted model behind the same
callTextDetailedseam - Cost per shipped fix published alongside the capacity numbers
The academy
The studio-owned transferable course is developed in bitbaum. Loki provides optional building tools and the application evidence API; course content and teaching priorities remain in the studio roadmap.
- bitbaum hosts the initial
/academy/lesson and capstone rubric; its portal records evidence without requiring a Loki account - Follow bitbaum's course expansion and assessment calibration after the first pilot reviews
Builders on other people's sites
A builder found on Bitbaum is an OrangeCat account with a seat on one project and their own engine; the client pays them through the builder's own OrangeCat service. Bitbaum is the directory and the door.
- Assigning a builder grants the seat on that one project
- A fee on the assignment, paid to the builder's own wallet when the client accepts
- More parallelism without routing work to a different machine silently
The fleet learns from its own runs
The evidence that decides whether a run was done also decides how the next one is briefed, with a human gate on every learned change.
- Every dispatch stored with the exact prompt and the graded outcome, one joinable record
- Prompt improvements proposed from run history and reviewed by a person before they land
- The judge is a different model lineage from the agent that did the work
Team and multi-machine surfaces
Same control plane, several operators, several machines: shared fleet views, per-operator permissions, per-project autonomy ceilings.
- Coordination when several people steer one fleet
- Orchestration across desktop, laptop and remote box
Stakeholder graph
Each project's competitors, collaborators, investors and customers as typed edges in OrangeCat's entity graph, surfaced on Loki for the agent to act on. Essay: https://loki.orangecat.ch/thoughts/where-stakeholders-live
- Competitors first, as the most automatable category
Funding-triggered work orders
Verified OrangeCat settlements connected to owner-approved project work, with explicit controls and an audit trail.
- Confirmed Bitcoin funding can be linked to a Loki project and shown read-only
- Automatic work orders, escrow and other rails
Physical robotic fleets
The same control patterns — an on/off autopilot, approvals, handoff, queues, visibility, override — on a different execution substrate.
- Per-fleet autopilot behind the same approval gate
Shipped
Workbench
One project on one screen, one box: the site as Loki's browser sees it, the robot at work under one line of state, and the real site in a window of its own — beside it or on the other screen — so building, using and asking for the next change happen on one screen, or two. docs/architecture/workbench.md.
/projects/[id]/workbench: the site picture, the robot (the Sessions surface, quiet) with its box, the state line, a Workbench row on the project page {#workbench}- The robot in its own window (
?pane=session), the windows of one project keeping each other honest on one machine {#workbench-pop-out} - Fleet Runner places windows on displays; a browser gets a placed or plain popup {#workbench-desktop}
- A pointed-at element on the site lands in the robot's box, carried through the server (the site cannot be framed or reached as an opener)
- A live stream of Loki's browser rather than one frame per action, if watching the robot click wants it
- Remember which display each window went to, per project, in the desktop app
No-screen mode
Run the fleet with the phone in a pocket: one tap opens the microphone, the briefing is read aloud, twelve spoken commands approve, dispatch, pause and resume through the seams the screen uses, and what changes — a run finishing, a failure, a new approval — is announced unasked.
- The briefing, the approval list and the failure list composed from one snapshot, pure and tested
- An explicit grammar for the twelve commands; anything else is a question for Loki
- Announcements between turns from a twenty-second poll, bounded to five per poll
- The headphone button as the only button, through the media session
- Pleasant for an hour: a studio voice with the phone's as fallback, a music bed the phone composes, a tone before each kind of news, talk-over, coalesced and varied sentences, "details" and an only-what-needs-me mode
- Verified on a locked iPhone in a pocket for an hour
Make it yours
Pick one of the studio's MIT projects and say what your copy is for; agents copy it into a project of your own, keep the licence and the credit, and give it your name and look.
Change a website from its address
Enter an existing website and say what should change, in plain words. The brief survives signing in and becomes one project, and sending it starts the build.
Message Loki from any AI app
Loki is an MCP server: claude.ai, ChatGPT, Claude Code and Cursor can ask it questions, list projects and approvals, and — with a separate permission — act. It signs in with your OrangeCat account or an agent token.
Watch it work
A project's run as a readable thread: what the agent was asked, each step it took, what it is doing right now in one line, and its handoff at the end.
One account through OrangeCat
Sign up with OrangeCat and the same account opens OrangeCat, Loki and Solon. An existing Loki account links to it with one click; GitHub, Google, X and email sign-in still work.
Roles, hand-over and invites
Invite anyone into a project by email, with or without an account. A builder can run agents, a client follows the work, and the owner can hand the whole project to another member.
Approvals from Telegram
Decide on Loki's proposed actions with one tap in Telegram, and give standing approval to small, reversible ones such as an event in your own calendar.
Found a Solon organization from a project
Loki prepares the link with the project filled in; the owner signs with their own wallet on Solon, and the project is attributed to that organization only with their consent.
Take a site down
A site Loki built can be taken offline, put behind a password, or removed. The plan shows exactly what will happen before the button exists, and the permanent options are typed, not clicked.
Crew
Hand work to people, not only agents. An assignment is a draft until you hand it over; the person answers through a link with no account, and a fee can be set in bitcoin, payable to their own OrangeCat profile.
Fleet command center
The web control plane coordinates fleets of AI agents across projects, with one-button autopilot: pause all, or build all.
- Agents drain each project's queue, then pick the next-best task
- Per-project pause / resume / direct-send, with per-project autopilot overrides
- Handoff between agent sessions with truthful status on every card
- Multi-user foundation: sign-in through OrangeCat (or GitHub, Google, X, email), organizations, team invites, agent tokens
Fleet Runner desktop app
The desktop app owns the agent terminals, agent launching and state sync on your computer — the same React tree the web serves.
- Tray icon, OS notifications on agent idle, embedded session watcher
- One tag push produces installers for Linux, macOS (Apple silicon) and Windows
- Auto-update through the GitHub release feed
The feedback loop, end to end
A visitor's note on any fleet site becomes a pull request, a deploy, and a walkthrough of the change on the live page.
- One script tag puts a feedback button on any site; reports land in a per-project inbox
- One click dispatches an agent; the fix ledger follows the PR to merge and deploy
- The owner's own note starts the build straight from the site
- "Watch the fix": a narrated cursor walks the owner through the change on the live page; a step it cannot show is filed back as a report
- The walkthrough tells the story — what was wrong, why this way, what else was considered, who it helps — from a design note the agent writes with each fix
- The reporter gets their own walkthrough of their fix, in plain words
- Failed runs say why in one sentence
OrangeCat project handoff
A signed "Build it with Loki" link carries a public brief into Loki's guided project setup.
- Loki asks for project context before agent work begins
- Linking is optional and never publishes private work by itself