Files
Cato 964777b7ac Make Memory explain projects, next actions and the research behind them (#1740)
* feat: connect project purpose, next actions and research in Memory

* test: resolve superseding essays through the real dynamic route
2026-11-30 05:51:51 +01:00

17 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

A connected workspace

Understand what each project is for, how it relates to the rest, and what to do next. The design rationale connects the research to this work. Loki hosts the private builder view; Bitbaum owns the public explanation and portfolio; OrangeCat retains its economic and creative records.

  • Owned project and memory records, observed dependencies and portable handoffs {#memory-foundation}
  • Replace the dependency-first screen with a clear project overview, meaningful relationships and direct next actions {#connected-workspace}
  • Make research, decisions, roadmap and delivery evidence reachable from the workspace {#workspace-rationale}
  • Walk through the result with the owner: find a project, explain a connection, take the next action
  • Add scoped calendar, commitments, decisions and capability providers through their existing owners
  • Publish approved investor/public projections through Bitbaum and OrangeCat; extract the shared experience before a second app consumes it

Execution that proves its result

The map supplies context; reliable execution and measurement remain separate work. Why these tracks belong together.

  • Regression-derived evaluation descriptions and a ledger that separates reviewed outcomes from raw run status {#outcome-benchmark}
  • Record an honest terminal outcome when a goal remains unmet at its attempt cap
  • Capture verification output at the runner boundary, with the required runner release
  • Stop or escalate when the same stable gap returns twice
  • Match shipping gates to the consequence of undoing a change
  • Build deliberately broken replay fixtures and compare the current harness with a deliberately weakened control, including retries and human effort

Private builders

Your work runs in its own private space on Loki's computer, and whoever asks for a change pays for it their own way: a Loki plan, their own AI key, or their own AI subscription. Nobody's request runs on another person's subscription.

  • 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; /login in 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: every build runs in its own throwaway space, so an agent that is tricked cannot reach anything else, not even your other projects.

  • 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

Loki's work spreads over several computers instead of one, and each site knows which computer serves it.

  • A new site can be placed on any of Loki's computers, and the record says which one
  • 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}
  • New accounts build on their own AI key by default
  • 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 callTextDetailed seam
  • 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
  • The studio site can ask who is signed in, and sign-in from it returns to the page a person was on
  • A builder's applications and briefs opened by their account, without making a new private link each time
  • 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