Flight status
boarding
Current altitude: 3,000 ft and climbing. The workspace, the daemon and the agent engine are built, and the TUI can select an agent and prompt it. This page is the honest instrument panel. If it says a thing works, it works in the repository today.
What works right now
Section titled “What works right now”| Capability | State | Notes |
|---|---|---|
| Workspace builds | cargo xtask check runs fmt, clippy, tests, the shell build and the web UI on Linux, macOS and Windows |
|
| Daemon binds and serves | GET /v1/health, GET /v1/agents, /v1/stats, /v1/permissions, GET /v1/events (SSE), /v1/sessions, /v1/terminals and the attach WebSocket, /v1/files with if_match, GET /v1/openapi.json. It listens on a unix socket (0700 directory, 0600 socket, TCP only with --addr). acpilot tui hosts the daemon’s core in its own process when nothing answers (P6-11, --no-spawn to require a running one) |
|
| API document | Snapshot-tested, so a wire change is a reviewable diff | |
| Error contract | One error type maps to fixed HTTP statuses and exit codes | |
| Swagger UI | --features docs, at /docs |
|
| CLI | boarding | version, tui, serve, doctor, models probe, the filesystem ext verbs and secret. The rest is the command-line phase (P5) |
| TUI | boarding | A client of the daemon that opens as an editor. acpilot tui README.md shows the file with no assistant pane. The pane appears only when you choose an agent from Session → Select Agent. It then has a session list, a streaming transcript, and a permission card answered with y/a/n. It hosts the daemon in its own process when nothing answers. It has a terminal pane over the shells an agent opened. The wheel reads back through scrollback. F2 copy mode covers cells or whole lines, and the history stays in place while output keeps arriving. It has smart-case find, drag selection, and copy over OSC 52. Its menu bar answers Alt mnemonics and the mouse, and its dividers drag. acpilot tui --demo draws the whole shell on a seeded world. The editor pane draws a real document with syntax highlighting and a numbered gutter. The gutter markers come from the review’s own patch. It also shows the current line, bracket matching, / find, and go-to-line. A click lands the caret, a drag selects, and y copies. It has v visual mode with y/d and a : command line (:w, :q), and a wheel that scrolls the view. A click focuses the tree on a row and the session list on a session. A drag held at a pane’s edge scrolls past it. The widths a divider drag chose are remembered for the next start. --no-mouse leaves the pointer to the terminal. The footer’s stats bar draws a context and a credit track per integration. F4 names where each figure came from. A CI job holds the 200×60 drawing to a 16.7 ms frame budget |
| Text model | boarding | acpilot-text is the crate every editor pane will edit through. It has a character-indexed rope that keeps a file’s line endings and byte-order mark. It also has selection sets with motions, edits as replacements, and an undo history that groups a typed run. pane adds the viewport arithmetic a renderer needs. It answers which rows are on screen and what survives the horizontal scroll (tabs and double-width characters measured in cells). It also says where the caret lands and what / found. Property tests cover undo-then-redo, caret bounds, offsets, and row width. The TUI’s editor pane draws it |
| Syntax highlighting | boarding | acpilot-text::highlight has four grammars (Rust, Python, JSON, TOML) compiled in and loaded lazily. It does an incremental reparse per edit and returns spans for the visible range only, resolved to the theme’s syntax tokens. A theme file therefore needs no knowledge of tree-sitter. The TUI’s editor pane paints them. The desktop and web panes are P10 and P11 |
| Themes | boarding | The token schema and the two built-in themes are applied by every surface. theme plus theme_tui/theme_gui/theme_web live in the settings cascade and resolve through one ThemeRegistry. The TUI draws every pane from it, the desktop app takes its id from settings, and the daemon themes the page it serves. Saving a settings file recolours a running TUI. The daemon sends whole prefs frames on connect and after every save, so a client that watches no file still follows. A save that does not parse keeps the last good preferences and arrives as prefs_error |
| Desktop, web | hangar | Crates exist so the layout is real. The desktop app opens a window with the shared theme tokens, a menu bar, and the profile list. It also shows the integration stats bar (F4 names each figure’s source) and About. The daemon serves an embedded page carrying the theme’s CSS variables. That page lists a directory, opens a file and saves it with if_match, with a diff against disk. The desktop app’s panes and editor are P10 |
| Agents, sessions, permissions | boarding | Engine phase (P2). It has a manifest registry and a supervisor (stderr ring, restart, tree kill). It has sessions (initialize/new/load/prompt/cancel, numbered events). It has agent-facing file callbacks (workspace-scoped reads, writes outside it held for approval) and the permission broker (ordered rules, path globs, allow always, audit rows). It also has the API half. That half has GET /v1/agents with available/missing from PATH. It also has the pending list, the resolve route, and a stream that announces a new request. Terminals create, list, and attach over a WebSocket pane that replays the screen (P3-6). The terminal/* requests an agent makes are served by the daemon’s own registry and ended with their session. A pane over each of those lets a client watch and type into the shell an agent opened. Every session appends its events and permission decisions to session.jsonl under the data directory, so a conversation outlives the process. No route reads a stored one back yet |
| Language servers | hangar | Language intelligence phase (P7) |
| Profiles | hangar | Profiles phase (P4) |
| Local models (LM Studio) | boarding | Models phase (P4.5). acpilot-model discovers models, probes capabilities and sends one chat request. The provider routes list, add, edit, remove and probe a declaration, and GET /v1/models asks the enabled ones. acpilot models probe wraps the probe. There is no CLI verb for the rest |
| The model lab | boarding | Models phase (P4.5). The TUI’s lab page over the panes edits a recipe, resolves its corpus and streams a run, with the effective request and a two-run comparison. Recipes are read and written over the API, a run streams and appends its record, and the log pages newest first. Promotion is served (POST /v1/recipes/{id}/promote, P4.5-9) but the lab has no promote key yet, and the web and desktop labs do not exist |
| Model-backed agents | boarding | acpilot-agent-lm runs a recipe as an acp-stdio agent: the model reaches files, terminals and permissions only through ACP callbacks. Promotion writes the manifest entry and acpilot agents rm reverses it, so the agent is listed by GET /v1/agents and started by the session routes like any other |
| Integration stats | boarding | GET /v1/stats lists one row per configured agent. acpilot-stats turns a row into a track and a sentence for every surface. The TUI draws it in the footer (F4 names each figure’s source), and the desktop app draws it in its own. The daemon serves the measured rows to the page at /app/stats. The sessions engine counts the context figure from the events a conversation carries. The agent’s own usage update wins when it sends one. An agent with a session shows an estimated 18.4k / ?, and one without shows nothing at all. An unknown denominator is drawn as an indeterminate track, never full or empty. A provider row per declaration comes first, and OpenRouter’s /api/v1/credits is read (cached for a minute) when a declaration names it. Every other provider row says nothing about credits rather than zero. Configured windows and plan ceilings remain open |
| Panels | boarding | The TUI’s window is an editor with a column either side. The Panels menu (Alt-P) puts the file manager, the outline, the references list and the assistant on the side a person wants. The outline lists the open buffer’s definitions from the grammar it is highlighted with and re-reads them as the buffer is edited. References (Shift-F12) lists the code uses of the identifier under the caret, from GET /v1/files/references. The parse tree keeps comments and strings out of the list, and Enter opens the file at the use. Two more panels are designed and not built: a project map the agent writes under .acpilot/, and a wiki of linked pages per subsystem. Their shape is in the TUI page and TODO.md |
| Git diff and tree | acpilot-git reads status, diffs, tree and log from the system git. The tree’s letters and the editor’s gutter are served by GET /v1/files and /v1/files/list. GET /v1/git/status, /diff, /tree and /log serve the repository itself. All three surfaces read the same routes and draw separate unstaged and staged halves of the daemon’s patch. The TUI’s F6 pane and the desktop app’s F6 overlay cut it with the same acpilot-git helper. The browser’s Source control panel reads only when opened. Each surface can stage one unstaged hunk through POST /v1/git/stage-hunk: h/l then Shift-S in the TUI and desktop app, Stage hunk N of M in the browser. It can stage the selected path through POST /v1/git/stage and /unstage: s/u in the TUI and desktop app, Stage path/Unstage in the browser. d/x (TUI and desktop) or Discard/Checkout (browser) restore the path through /v1/git/discard or /v1/git/checkout. Each arms behind a confirmation. Discard keeps staged changes, checkout resets both halves to HEAD, and checkout is unavailable before the first commit |
|
| Commit messages | The TUI composer opens with c. It drafts from the open session with Ctrl-G through POST /v1/git/commit-message, and commits the staged index with Ctrl-S then y through POST /v1/git/commit. The message is editable before the confirmation, and the commit route never stages: the pane’s s/u prepare the index first. The desktop overlay uses the same F6, s/u and c/Ctrl-G/Ctrl-S/y path. Tab/Shift-Tab in its composer chooses which listed session drafts the message. The browser’s panel generates a draft into an editable composer whose Review commit is the step before Commit staged index. Discard and checkout are separate confirmed actions, so a commit never silently reverts a path |
|
| Skills | boarding | acpilot-skills discovers SKILL.md from the workspace, the profile and activated extensions. The model lab creates and edits a skill. A recipe selects skills for its master prompt. An external ACP agent receives every visible skill as an appended system prompt when it advertises sessionCapabilities.systemPrompt. An agent without the capability keeps its own instructions. A SKILL.md that does not parse is logged and left out, so the rest still list and still reach a session. A new session can name its own subset, and New Session in the TUI opens a picker with every visible skill ticked. A recipe agent is not offered the picker, because it resolves skills from its recipe |
| Remote drivers over ACP | hangar | Models phase (P4.5-10). The local transport is served. acpilotd --acp answers ACP over stdin/stdout for one profile. It opens a session per session/new (one declared agent, or the one named in _meta.acpilot.agent), and streams the turn’s text, thoughts, tool calls, plan and mode changes. It cancels the turn. The remote half is HTTP/JSON-RPC with tokens, pairing, scopes, a fixed rate limit and GET /v1/acp/*, and it is served too. The store’s session and audit rows still do not carry the driver id. A token is required even on loopback |
| Extensions (themes, presets, grammars) | boarding | Mod shop phase (P4.6). Its loader, checksummed store and per-profile activation with precedence are done. It also has TextMate theme import, a shared theme resolver all three surfaces use, and a curated marketplace list. Signed index and grammar loading remain |
| SSH / WSL hosts | hangar | Remote hosts phase (P8) / Windows phase (P9) |
The flight plan
Section titled “The flight plan”| Phase | What lands | State |
|---|---|---|
| Design phase (P0) | Probes: ACP handshake, PTY agent, gpui text benchmark, SSH, WSL, LSP | done. All six probes answered. Their numbers are in docs/notes/ |
| Foundation phase (P1) | Workspace skeleton, error model, CI, OpenAPI snapshot | done |
| Engine phase (P2) | ACP engine, sessions, permission broker (headless, mock agent) | done |
| Service phase (P3) | Daemon API: SSE, files, terminals, SQLite | done. It has the routes docs/api.md freezes, the tower layers, and --token on a TCP listener. Sessions have an SSE transcript and replay. The files API has read/list/write/remove/mkdir, ETags and traversal guards. Terminals have an attach socket. SQLite history has retention, hosts are supported, and remote workspaces are reached through acpilotd-helper. Files, hidden rows and git letters are all asked of the host the code is on. Language servers run on the host too, through the same helper (P7-11). The browser half is P11-5 |
| Profiles phase (P4) | Profiles and preferences | done. The six-layer settings cascade (defaults, global, inherited profile files, workspace, ACPILOT_*, flags) ships with origin tracking, acpilot config explain, per-profile secrets, state and preferences |
| Models phase (P4.5) | Local models: LM Studio, the model lab, promotion, ACP bridge for remote drivers | in progress. Providers, discovery, recipes, prompt assembly, the agent, the run log, the model API, promotion and the bridge’s local stdio transport are done. The bridge’s remote half and integration stats remain |
| Mod shop phase (P4.6) | Extensions: declarative packs (themes, presets, grammars), signed index, per-profile activation | store and activation done |
| Command line phase (P5) | CLI: full API coverage | |
| Editor phase (P6) | TUI: an editor you could use daily | in progress. The client half and the text model work. The panes that draw and edit a buffer remain |
| Language intelligence phase (P7) | Language servers | in progress. References and diagnostics come from a real server (detected on PATH, one per language and root, stopped when idle). A server can start on an SSH or WSL host through acpilotd-helper (P7-11). Trust pins (P7-12), the TUI’s problems panel (P7-14), definition/hover and agents reading diagnostics remain |
| Remote hosts phase (P8) | SSH hosts | in progress. The helper installs itself on a host. A remote workspace’s tree gets git letters and hidden rows, and its terminals run there (P3-9, P8-6). SSH hosts, remote agents, polling watch and the sshd fixture remain |
| Windows phase (P9) | Windows + WSL | |
| Desktop phase (P10) | Desktop app (gpui) | framework decided and measured (the design phase’s P0-3 benchmark, gpui 0.2.2). The shell itself starts here |
| Web phase (P11) | Web UI + acpilot serve |
done. Every P11 ticket is closed. The daemon serves the page, and the browser panels read the same routes as the other surfaces |
| Release phase (P12) | Packaging, docs, v0.1 |
How this page stays honest
Section titled “How this page stays honest”The phases come from TODO.md in the repository, which holds the plan text. The
ACPilot Roadmap project is the
source of truth for a ticket’s state: planned, in progress or shipped. When a
phase lands, its row here changes in the same pull request. A status page that
drifts is just a rumour with better typography.
Vibecoded, on purpose. While I am a software developer, I lack the time to hand-code all my ideas, and as a result this project is vibecoded withFreebuff.