Skip to content
agent-kit-startupPublic

About

Colony desktop IDE by Mission Kit

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Mission Kit Colony

Colony is the Mission Kit desktop IDE: a Tauri 2 cockpit with Mission Control as its home screen. It drives the open Agent Kit CLI and each vendor's own agent on the user's own subscription or API key.

Open source under the Apache License 2.0 (NOTICE). Contributions come in under the Developer Certificate of Origin (git commit -s, see CONTRIBUTING.md). Colony collects no telemetry: its only network calls of its own are the engine and Node runtime downloads you start from Settings → Engine… and the app update check you start from Settings → App updates or Help → Check for updates (see PRIVACY.md).

Status

Cockpit alpha. Omarchy 4 is the reference Linux platform: Linux features are designed and verified on Omarchy 4 first, other distributions and window managers keep working (see Omarchy below).

The cockpit is the center of the window. Its first tabs are Mission Control itself, as native views fed by the kit's own data (see Mission Control data): Mission, Plans, Queue, Inbox, Review, Git, CI/CD and Flight Log (Ctrl+1 to Ctrl+8). Every agent run opens as its own tab next to them, and so does an interactive agent. Files open in tabs after those.

Area What works
Workspace Open folder (Ctrl+O), the folder as the first CLI argument, recent folders on the welcome screen. File access is limited to the opened folder.
First run Mission opens on a First run card when the folder has no Agent Kit, no readiness report, or open essential checks. It renders the kit's own report, .cursor/context/readiness.json (written by agent-kit doctor, which /agent-kit-onboard runs), in the order of /agent-kit-onboard's first message: Repository preparation: N of M essential checks ready., Detected, Fixed, and Next with exactly one action (the first essential check that is not ready, in report order). The essential checks are the mission list, with their status (ready, auto_fix, needs_choice, manual, blocked) as check chips. Without the kit the card is the whole view: install Agent Kit (Install in a terminal runs npx @dadado/agent-kit-cli@latest install in a terminal tab after a confirmation; its installer asks its own questions there), prepare the repository, start a first plan. Every other step opens your agent with /agent-kit-onboard; Colony keeps no checklist of its own and applies nothing itself, so CI/CD config, hooks, remotes and scaffold stay behind the kit's own questions. The report is read again on each Mission Control update, on window focus and with Check again. With an active plan the hero stays and the open checks shrink to one line above it; non-essential checks stay in the Inbox.
Mission Home tab: the active plan from HANDOFF (lifecycle, progress, current and next to-do, gaps) on the Current mission card, whose own row is Play/Stop, Open, Edit…, Cancel…, Plans (labels shown, each with a tooltip and an aria-label; Open HANDOFF is a link in the card's header). Play opens the run dialog, the same action as ▶ Run plan in the top bar. While a driver run is going, the same button is Stop: at an open gate it sends {"type":"stop"} (the run ends there, exit 4); with no gate, on an engine with driver protocol 1.5.0 or newer, it sends {"type":"stop_after_tick"} (the tick finishes, then the run ends with stopped by request, exit 0; a queue run ends at its next gate) and reads Stopping… until the run ends; on an older engine with no gate it is Kill…. Kill… (asks first) is a secondary button while a run is going. Edit… and Cancel… open your agent with /backlog-edit or /cancel-plan <plan> (the kit asks its own confirmation; Cancel… is off while a run or queue is in flight in the folder), and Plans opens the Plans view. In the top bar: ▶ Run plan, ⏭ Run queue (always enabled in an opened folder, like agent-kit run-plan-all: no active plan or stored queue needed, see Queue), ⌘ Open interactive, the engine picker, then cards for what needs you (live gates answerable in place, attention items, gate-exit tickets), the agent runs, the saved chats (see Chats), the queue, the flight log, recent activity and the repository (branch flow, health checks). Agent runs lists every run Colony launched in this window: driver runs (the queue runner included, shown with its queue position and current plan), interactive vendor CLI tabs (plan actions such as Run… included) and queue runner terminal tabs, with plan, engine, state (starting, running, awaiting gate, ended with its exit code), start time and elapsed time; a click focuses its tab. Runs the kit snapshot reports (run_plan activity, agent processes of the folder) are merged in, without duplicating a Colony launch. A run Colony launched on a plan HANDOFF does not name yet (e.g. /run-plan <plan> in an interactive tab) shows as the active run, marked "launched from Colony", until HANDOFF switches to it; ▶ Run plan still runs the HANDOFF plan. The queue card lists the queue and links to the Queue view (Run queue itself is in the hero). It shows the queue as held when HANDOFF names another plan than the queue cursor while Queue status says running, or when a live queue run reports held. While a queue driver run is live, the hero shows its position, current plan, status and open gate; a click opens its tab.
Plans Every plan of the snapshot with filters (open, in queue, backlog, parked, incomplete, completed, all) and search, progress, queue role; a row expands to its to-do list. Actions: Open (the rendered preview), ▶ Run on the HANDOFF plan (driver run), Run… on any other open plan, Resume… on a parked, incomplete or executing one, and the Plan dropdown: Edit… on every plan (a plan off the backlog list gets the kit's own warning first), Archive… on a parked plan, Cancel… and Delete… on a backlog plan; the HANDOFF plan offers Edit… and Cancel… (/cancel-plan, off while a run or queue is in flight; the backlog remove commands stop on it), the same two the Mission card has as buttons. Each opens your agent interactively with /run-plan, /continue-plan, /backlog-edit, /archive-plan, /backlog-cancel, /backlog-delete or /cancel-plan <plan> after a confirmation, and the kit command asks its own question before it changes anything (agent-kit run-plan has no plan argument; it always runs the HANDOFF plan). New plan (/start-project) and Add to backlog (/backlog-add) in the toolbar, and in the Mission hero when HANDOFF names no plan, open your agent the same way. Empty views say what is missing and offer the next step (the kit's empty-state pattern); while the Mission Control server has not answered, Retry starts or reaches it again and Show server log follows its log in a terminal tab.
Commands Go → Commands… or Ctrl+Shift+P: the folder's slash commands from the kit catalog, then Colony's own menu actions (every item of the menu bar and the Settings view, run as if picked from its menu), then Claude Code's built-in commands, with search. A row Colony runs opens the interactive agent already running /<name> with its context: the catalog's context field asks inline for the goal (start-project, backlog-add, hotfix, dogfood, qa), offers the plan (the HANDOFF plan first), the current branch, a PR number or a SHA, and an empty value launches the bare command, which then asks. The click is the intent: only /git-prod, /kit-prod and commands this folder added itself (project rows) show a confirmation first, and /git-prod and /kit-prod open interactively only, with their own production gate inside the session as the yes (Rust refuses them on the driver and headless paths). Which names run is compiled into Colony (PROMPT_SLASH in src-tauri/src/vendor.rs, every kit command) plus the folder's own project rows; meta rows (they build or ship the kit itself) are hidden outside the kit's own repository. The Run menu also carries Hotfix…, QA…, Git staging… and Promote to production…. A Claude Code built-in is typed into the focused Claude terminal (without Enter), opening one first. Copy stays only beside a run, or where the clipboard is the point.
Queue The run-plan-all queue from HANDOFF: order, cursor, outcomes, each plan's lifecycle and progress, the queue status note. ⏭ Run queue starts the queue runner after a confirmation, with or without a queue in HANDOFF and with or without an active plan, as the kit's CLI does: with a stored queue it resumes it, without one it proposes a queue from the active plan and the backlog and asks you to confirm it (queue-confirm, answered like any other gate) before it writes HANDOFF; with no eligible plan it reports that and stops. On an engine with driver protocol 1.2.0 or newer (read from engine.json, or engine-info --json for COLONY_AGENT_KIT_BIN and the PATH fallback) it is a driver run, agent-kit run-plan-all --events ndjson --backend <engine>, in its own agent tab: its gates appear in the Inbox and are answered there, and the cursor and status follow its queue_state events (read-only, Colony never moves the cursor). On an older or unknown engine it opens in a terminal tab, where its numbered-list gates are answered. On driver protocol 1.3.0 or newer each driver run shows the tokens its engine reported (tick_end / run_end usage) in its agent tab, in the Agent runs card and in the Queue view's driver chat, against the folder's per-run token budget (driver chat settings; empty means none). Over the budget the run is marked in red and nothing else happens: the budget never stops a run or answers a gate. An older engine shows "no usage"; Colony does not count tokens from the agent's own stream. One gate can be pre-answered, and only if you turn it on per folder in the driver chat settings (off by default; kit ADR 2026-10-26, Amend 2026-10-28): context-checkpoint answered Continue queue, on driver protocol 1.4.0 or newer, while a token budget is set and the run's reported tokens (hitl_gate.usage) are within it. Colony sends it as "source":"policy", so the kit records policy pre-answer, never an operator reply, and the transcript says "policy pre-answer". If any condition fails the gate waits for you as usual; every other gate is always yours.
Agent tab One center tab per agent-kit run-plan --events ndjson run, opened and focused when the run starts (from ▶ Run plan, a view, or Run → Run plan in another folder…). A readable transcript: assistant text as prose, tool calls collapsible with their results, thinking folded, each tick's LOOP_TICK_RESULT as a summary card (exit, pending before and after, stop, usage limit, link to its Review), HITL gates inline with answer buttons and free text, answered gates marked. Raw log, Stop at gate, Kill. A collapsible Context sources strip under the head lists what that agent loads for its folder (see Open interactive). Several runs at once, one per folder (the kit has no run lock). Needs a folder with the kit installed and an active plan.
Open interactive ⌘ Interactive opens the engine's own CLI, unmodified (claude or codex; the Cursor engines open whichever of those is on PATH), in a center terminal tab in the opened folder, with the picker's model. Colony passes no credentials and reads none: the CLI uses your own login, and its environment is the same as a shell tab's. Agent tabs (driver runs, interactive and queue runner terminals) show a collapsible Context sources strip: what the agent loads for that folder, each with existence, line count and size, a click opens it in your editor. Claude: ~/.claude/CLAUDE.md, CLAUDE.md (and CLAUDE.local.md) of the folder and of each parent up to your home folder, AGENTS.md, .cursor/HANDOFF.md and the auto-memory ~/.claude/projects/<folder with every non-alphanumeric character as ->/memory/MEMORY.md with the count of memory files next to it (Claude Code keys that memory by the start folder, so a session started elsewhere loads another project's memory). Codex: ~/.codex/AGENTS.md, AGENTS.md from the repository root down to the folder, HANDOFF. Cursor engines: AGENTS.md, CLAUDE.md, .cursor/rules, HANDOFF. Only paths, sizes and line counts are read (src-tauri/src/context.rs); a listed file outside the folder may then be opened like the settings file.
Chats The Chats rail item lists, under Running now, the agent runs going in the opened folder (driver runs, the queue runner, interactive vendor CLI tabs and queue runner terminal tabs, with the same state, engine and time fields as the Cockpit's Crew Monitor; a click focuses its tab), then, under Saved, the agent sessions saved for the opened folder, newest first: title, when it was last saved and the short session id. Claude Code saves every session per start folder (~/.claude/projects/<folder with every non-alphanumeric character as ->/<session id>.jsonl), so the list shows the sessions started in this workspace folder; subagent transcripts are not listed. The title is the name you gave the session, else Claude Code's own title, else the first prompt. A click (or Resume) opens claude --resume <session id> in a terminal tab in the folder, labelled with the title (the id is checked as a UUID before it reaches the command line; the session keeps its own model); a chat already open in a resume tab is focused instead. ↻ Refresh reads the list again; it is also read when a folder opens and when an interactive claude tab ends. Up to 200 sessions are listed, with the total. Only the titles are read, line by line, and cached by file size and time (src-tauri/src/chats.rs). Codex and Cursor sessions are not listed yet. Terminal tabs themselves are not restored after a restart.
Inbox Live gates: every open HITL gate from every run in this window, any engine, oldest first (tab badge = their count). A button or free text answers it: the driver-protocol line {"type":"hitl_reply","askId":...,"reply":...} goes to that run's stdin only. A card leaves when it is answered, the tick ends or the run exits. Colony never answers a gate by itself. Below: Mission Control's attention items (open the file, or Ask agent for an allowlisted kit command such as /plan-review-triage; anything else copies) and pending gate-exit tickets.
Review Every tick of every run in this window with the files it changed (added, modified, deleted, renamed; new untracked files included, .gitignore respected), a Monaco side-by-side diff per file, commits made during the tick, the LOOP_TICK_RESULT line, "Copy patch". A tick is the working tree change from the previous tick end (or the run start) to its own end, captured as git tree objects through a throwaway index, so your index, worktree and refs are never touched; an edit you make between two ticks shows up in the next tick. A run killed mid-tick still gets its partial tick.
Git Branch flow from the snapshot (upstream, vs staging, vs main, staging vs main) and last commit, then the commit graph read live from git: one lane per line of history in the theme's colours, merge edges, branch, remote-tracking and tag labels, HEAD (ringed dot) and the current branch's upstream; 150 commits per page, more as the list scrolls. A click (or Enter) on a commit shows its message, author, date and changed files (against the first parent), and a file shows its diff. The graph is read-only: no rebase, cherry-pick, reset or checkout. Then working tree status, per-file diff, commit (optionally git add -A; hooks always run), push without force. Pushing a production branch needs a typed yes: production, prod and release always, and main / master only when the repository also has origin/staging (without staging, main is the development branch and pushes or merges into it are a plain click). Production promotion: Colony never runs /git-prod or any prod promotion; after a typed yes it copies /git-prod for your own agent session. Above them: Requests, one approval card per host request (see Host requests) with the request nonce, kind, arguments, reason, folder and the PR context (title, base ← head, mergeable state, checks, View diff, Open PR); the tab badge counts them. Pull requests: the open PRs with their checks summary and a Merge… button that opens the same card under the same production rule.
Conflicts When git status has unmerged paths, the Working tree shows "Resolve conflicts…", and a tree row's ! mark opens the same window on that file. The file list and hunks come from agent-kit conflicts --json (an engine after Agent Kit 6.14.0). Each hunk shows ours, theirs and the result side by side, with the base under it when known: pick Ours, Theirs, Both (ours then theirs), the DevOps proposal, or type the result. Ask DevOps runs agent-kit conflicts propose <file> through the kit (backend auto, claude or cursor-agent; verification in a temporary worktree only when you tick the box, which starts unticked: it runs the repository's test commands on the agent's text and the merged files before you review them, unsandboxed, as you). That is a no-tools agent session that writes nothing, and each proposal shows with its rationale (or the reason it was refused) before you pick it. Save writes the file only when every hunk is resolved and no marker line is left, and refuses if the file changed on disk since it was read. Stage… opens a stage-resolved card under Requests; Approve runs git add -- <file> for that file only if it is still unmerged, has no markers and is unchanged since the card. Agents cannot file that kind. Commit, continue and push stay with you (Working tree or terminal). Abort merge… runs git merge --abort after a confirmation (a rebase or cherry-pick is aborted from the terminal).
CI/CD Recent workflow runs (gh run list) of the current branch, of the open pull request branches, or all, with Rerun failed (gh run rerun <id> --failed) on a failed run.
Flight Log The current residual and earlier ones, operator warnings, gate-exit tickets, open triages, the ticks of this window's runs, and the headless tick logs (.cursor/loop-logs) with their result, sentinel and gates (open a log in the editor). "Copy fix prompt" copies.
Explorer Lazy file tree (.git hidden), refresh button, its own splitter; View → Show or hide the Explorer. Each row has a file-type glyph picked by name and extension (Cargo.toml, package.json, Dockerfile, README, .rs, .ts, ...; anything else gets a plain file glyph, folders open and close), coloured by file class from the theme: folders, code, config, docs, images, archives and executables each take one of the theme colours. The glyphs are a bundled subset of Material Design Icons (Apache-2.0) and Seti-UI (MIT), see NOTICE; no Nerd Font is needed. Git marks at the row's end, from one git status (porcelain v2) per refresh: M modified, A added, U untracked, D deleted, R renamed, ! conflicted, each in its theme colour; ignored files are dimmed, and a folder shows the strongest mark inside it. They follow window focus, saves, the Git view and each Mission Control snapshot. A click selects a row (1px border); Shift and Ctrl extend the selection. With the tree focused, the keys work as in an IDE explorer: Up and Down move, Left and Right collapse and expand (or go to the parent and the first child), Enter opens, F2 renames, Delete moves the selection to the trash after one question, Home and End jump, Shift with the arrows extends the selection, Ctrl+Up and Ctrl+Down move the focus without changing the selection and Ctrl+Space toggles the focused row, and typing filters the visible tree (the query shows in a field at the top; Backspace trims it, Esc clears it). The focused row shows a 1px border while the tree has focus. Right-click inside a multi-selection to delete it or copy its paths (one per line). Drag the selected rows onto a folder (or a file in it, or the empty Explorer for the root) to move them there: the target shows a 1px border, Escape cancels, and each row is one jailed rename, so a name that already exists in the target is refused for that row and nothing is overwritten; the notice names what moved and what did not, and open tabs follow a moved file. Files dropped from the desktop are still copied in. View → Reveal active file in the Explorer, Collapse folders in the Explorer and Refresh the Explorer are also palette rows. File → New file and File → New folder create in the selected folder (a selected file: its folder; nothing selected: the root), with the name typed inline in the tree; a new file opens in the editor. Right-click a row, or the empty Explorer, for Colony's menu: New file, New folder, Rename (typed in place), Delete (moves it to the system trash after a question; Colony never deletes for good), Copy path, Open terminal here (a drawer shell in that folder), Open in terminal file manager, Open in editor. Open in terminal file manager (also File → Open in terminal file manager and the Commands palette, on the selected folder, else the root) runs the fileManager setting of settings.json (a string or an argv array), else the first of yazi, lf, nnn, ranger and broot on PATH, as a drawer tab in that folder, started without the AppImage's own environment (so it loads the host's libraries); the tree refreshes when you leave that tab or it exits. With none on PATH the status line names an install command (sudo pacman -S yazi on Arch); Colony installs nothing. Every operation is a Rust command jailed to the folder: no .., nothing outside it, never over an existing name; a symlink is renamed or trashed itself, and one pointing outside the folder is refused.
Editor Monaco with one tab per file (each pane has its own editor; a file open in two panes is one model with its own cursor and scroll in each), dirty marker, File → Save (also in the Commands palette, and Ctrl+S) with a Saved or Save failed notice in the status bar on every outcome (a view or a terminal tab active: Nothing to save), File → Save as… (a workspace-relative name typed in Colony; the file is created inside the folder and never overwrites one, the original tab keeps its text), Ctrl+W close (asks before dropping unsaved changes), Ctrl+P quick open. The native menu shows no shortcuts (GTK would take the keys from the terminals and the editor); the palette rows show them. A plan file or the HANDOFF opened from the cockpit (Open plan, Open HANDOFF, a plan's Open) shows rendered first: the plan's to-dos as a status table (from the Mission Control snapshot), then the body (headings, lists, tables, code, links; built as DOM, never as HTML). A Preview | Editor switch heads every Markdown tab; Explorer opens Markdown in the editor. In the preview a repo link opens that file in Colony and a web link (http or https only) opens in your default browser; any other scheme is refused (src/weblink.ts, and the opener plugin's capability scope admits http:// and https:// only). In the editor, as in VS Code, an http or https address underlines while Ctrl (Cmd on macOS) is held over it and Ctrl+click opens it in your default browser; a plain click places the cursor, and a link with any other scheme (file:, mailto:) is refused with a note in the status bar.
Split panes The centre area is a split tree. View → Splits → Split right or Split down (also in the Commands palette) halves the focused pane: a file shows in both halves, another tab (a terminal, an agent chat, a run) moves to the new pane when its pane keeps a tab, else the new pane starts empty. Every pane has its own tab strip with its own Back and Forward, and any tab kind opens in any pane: what you open goes to the focused pane, which shows by its 1px border colour. A rail view shows in the focused pane, in one pane at a time. Drag the line between two panes to resize them. Closing a pane's last tab removes the pane and gives its space to its neighbour; View → Splits → Close pane (or the button in an empty pane) removes the focused pane and moves its tabs to the neighbour. Drag a tab out of a pane's strip to dock it: onto another pane's strip or the middle of a pane, it moves there; onto the outer quarter of a pane, near an edge, it splits that pane on that side and takes the new half (an unfilled 1px box shows the part it would take, Escape cancels, a press with no travel is still a click). A drawer terminal dragged onto a pane's strip, its middle or an edge opens there the same way. Each folder keeps its own layout: the tree, its sizes, each pane's files (with the Markdown preview or editor mode) and drawer shells, what each pane shows and the focused pane are saved in settings.json (ui.layout.panes, one entry per folder, the 32 most recent) and come back when the folder opens again, in this window or after a restart. Files reopen in their pane; a shell comes back as a fresh shell in the folder it was last in; agent tabs, runs and running processes are not restored, and a file that no longer exists drops its tab, never the layout. View → Splits → Reset the layout (also in the palette) goes back to one pane, keeps every tab and clears the folder's saved layout. The rest of View → Splits, every row also in the Commands palette: focus the pane on the left, right, above or below (Ctrl+Alt+arrows) or the next and previous one (Ctrl+Alt+PageDown, Ctrl+Alt+PageUp); move the shown tab to the pane in a direction (Ctrl+Alt+Shift+arrows; with no pane there a new one opens on that side; in a focused editor Ctrl+Alt+Shift+Up and Down stay Monaco's copy line); swap the focused pane with its neighbour, or move it past the neighbour; move a border left, right, up or down by a step; equalize the panes (Ctrl+Alt+0); zoom the focused pane to fill the area and back (Ctrl+Alt+Z, also ended by focusing another pane). Ctrl+Alt+\ splits right and Ctrl+Alt+- splits down.
Terminals The terminal drawer: real PTYs running your $SHELL in the opened folder, docked at the bottom, the top or the side (the three buttons at the right of the terminal tabs, or Terminal → Terminal at …), several tabs (+ or Ctrl+Shift+T). The interactive vendor CLIs, resumed chats, the driver chat and queue runners open as centre tabs (with their gate badge) and are not repeated there. Any terminal tab moves to the other bar and back: drag it onto the other bar (the bar it would land on shows a 1px accent line), right-click it for Move to panel or Move to editor area, or use Terminal → Move terminal to the panel (the active centre terminal) and Terminal → Move terminal to the editor area (the drawer's active terminal), also in the Commands palette. The session moves alive: same process, scrollback and Terminals row; an agent tab keeps its Context sources strip, gate badge and gate border in the drawer, and a click on it in the Inbox or Agent runs opens the drawer on it. Run transcripts, files and views do not move. A moved tab stays where it is until it closes, and Colony remembers where each kind was last moved (shells, interactive agent tabs, the queue runner; ui.layout.terminalPlacement, like VS Code's terminal.integrated.defaultLocation): New shell terminal (menu, palette, Ctrl+Shift+T) and the Explorer's Open terminal here open where shells were last moved, and new interactive or queue tabs open where their kind was. The drawer's +, the shell an empty drawer starts and Reopen always open in the drawer. Terminal → Reset terminal placements (also in the palette) sends new tabs back to the defaults, shells in the drawer and agent tabs in the centre; tabs already open never move on their own. Its bar (shell tabs, +, dock buttons, show / hide) stays on screen when the drawer is closed; the toggle, a shell tab, Terminal → Show or hide the terminal, Ctrl+5 or Ctrl+open it again, Ctrl+Shift+C / Ctrl+Shift+V copy and paste (wired, not yet verified on WebKitGTK). In every terminal, drawer or centre tab, an http or https link (an address printed as text, or an OSC 8 hyperlink such as Claude Code andgh` print) underlines on hover and Ctrl+click opens it in your default browser; a plain click only says so in the status bar.
Open in my editor Open in editor (Ctrl+Shift+E) hands the active file, or the folder, to your own editor; for one file or folder, right-click it in the Explorer → Open in editor.
Engine picker In the Mission tab: engine (--backend: claude, codex, cursor-acp, cursor-agent, auto; the ones not on PATH are marked), --on-limit engine for the next fresh tick after a vendor usage limit, optional --model, tick budget. Each choice is remembered for the opened folder in the settings file. The note under the picker says how a gate answer reaches that engine (cursor-agent has no input channel: a gate ends the tick). The same engine picks the vendor CLI for Open interactive and the backend of Run queue. Local models, with no setup: on an engine with driver protocol 1.6.0 the picker lists every model of agent-kit models --json (Omarchy recipes, Ollama, LM Studio, a llama.cpp server) as Local · <label> (<source>, <state>): running; stopped, which starts on run (the run reports Loading <model>… until it is up); or doesn't fit, shown disabled with Omarchy's reason. Picking one runs --backend local --model <source>:<id>: the Model field and On limit are hidden and not passed (the id is the model, and the kit refuses --on-limit with local, so a local run never moves to a paid engine). The pick is remembered for the folder (backend: "local", localModel), and a model removed meanwhile stays picked, marked "not found now", with Start off, instead of turning into another engine. The list is read again when the window gets focus and when the run dialog opens; models --json runs with a 5 s timeout and fails open (the other engines still show). An older engine shows one disabled Local models (needs a newer engine) row. Open interactive on an Omarchy model opens pi on it in a tab with omarchy-agent --inline --local-model <recipe> (Omarchy starts a stopped model there and points pi at it through its own launch overlay; Colony writes no config); on an Ollama, LM Studio or llama.cpp model it is refused (pi would need a provider file written for it): run those with Run plan or Run queue. A local choice never opens claude or codex.
Native kit views Every rail item and Workspace section is a Colony view over the kit's data: no view loads the kit's web page (see Mission Control data). The one frame the window allows is the Oligarchy game's (see Oligarchy).
Menu bar and Settings One command source, src/menu.json, on one action map in src/main.ts (the shortcuts run the same actions). The menu bar at the top of the window has six menus: File (new window, open folder, new file, new folder, save, save as, open in editor, open in terminal file manager, Settings…, close window), View (the fourteen rail items in rail order, Workspace last; Show or hide Oligarchy on the rail; show or hide the Explorer, collapse and refresh it; Reload Mission Control data; the Splits submenu: Split right, Split down, Close pane, then focus, move the tab, swap and move the pane, move a border, equalize and zoom), Go (Go to file…, Commands…, reveal the active file in the Explorer, Back, Forward), Terminal (new shell terminal, show or hide the terminal, its position, moving a terminal tab to the panel or the editor area, reset terminal placements), Run (run plan, run queue, run plan in another folder, interactive agent, start a project, create a plan in the backlog) and Help (About Colony…: the version; Keyboard shortcuts…; Check for updates: opens Settings at App updates and runs the check there). The Settings view is the one place for Colony's settings: the gear in the top bar and File → Settings… show it, and Back returns from it (with no folder open it shows over the welcome screen, with its own Back). It holds settings only, in seven groups (src/menu.json groups): Appearance (Skin, Title bar, not on a tiling window manager, Rail position, Rail labels, Oligarchy on the rail), App updates (version, channel, Check for updates, Update and restart), Engine (Engine…), Editor and files (editor.command, editor.terminal and fileManager of settings.json), Kit config (both kit files of the open folder: the profile .cursor/agent-kit.config.json, a form for the values the kit keeps as confirmed on a rescan plus a raw JSON editor; then the operator settings .cursor/context/config.json, a form over the keys Mission Control's Config allowlist edits (auto handoff, tick pause, field report review, plan review, agent persona, kit update check, roles; the per-worker-type subworker models stay in Mission Control), checked as Mission Control checks them, with no raw editor so keys outside the allowlist are never written; invalid JSON is never written and a form edit changes only that value's text in the file), Integrations (Omarchy integration…, on Omarchy) and Files (Open settings.json: the raw settings file in an editor tab). An action sits in exactly one of the two (a test in src-tauri/src/menu.rs checks it against the action map), and the Commands palette lists every one of them in its Colony section. No accelerators or mnemonics on the items, so the terminals and the editor keep every key; GTK still opens the menu bar on F10.
Title bar native (default): the system or window manager draws it, the menu bar sits under it. custom (Settings → Appearance → Title bar, on the next start): Colony draws it, with the menus as popups, drag and double-click to maximize, minimize / maximize / close. On a tiling window manager (Hyprland, sway, niri, i3) the title bar is always native: the choice is not offered and a saved custom is ignored.
Rail The views whose content changes as work runs, in this order: Cockpit, Queue, Inbox, Chats, Flight Log, Review, Ship (Git and CI/CD), Activity, Plans, Memory, Terminals, Processes and Oligarchy; then Workspace (Overview, Decisions, Agents, Skills, Rules, Commands) alone at the bottom, below a 1px line, always on screen; no More menu. At any window height the main group scrolls above Workspace (wheel, touch, arrow keys with the focus on the rail); an edge with items out of view fades behind a 1px line, and the item of the current view scrolls into sight. Ctrl+1..9 open the first nine items (Cockpit to Plans), and the Commands palette has a Go to <item> row for every item and Workspace section. Settings → Appearance → Rail position and Rail labels: the rail at the left (default) or the right edge of the window, with labels under the icons (default) or icons only, a narrower rail where each item keeps its tooltip. A label never breaks inside a word (Flight Log wraps between its words); the labelled rail is sized for the widest one, Workspace, in the GNOME and Omarchy UI font. Settings → Appearance → Oligarchy on the rail and View → Show or hide Oligarchy on the rail take the game item off the rail or put it back (shown by default); hidden, colony://play, View → Oligarchy and the palette's Go to Oligarchy still open the game, the arrow keys skip it and Ctrl+1..9 stay Cockpit to Plans. Saved in ui.layout. Terminals lists every terminal of the window (the drawer's shells, closed ones included, with their current folder, and the agent and queue terminal tabs) with Focus and, for an ended shell, Reopen (a new shell in the drawer); the rail item never shows or hides the drawer. Processes is the kit's process list (Copy PID, and the reap command for detached audit sessions). Plans lists the active plan, the backlog and the parked plans. Memory shows counts, top tags and recent errors and decisions. Activity holds the recent activity and the full health checks (each check with its id and detail, the overall status and the pass count); view:health and the palette row Go to Activity → Health open it at the checks. Workspace holds the static kit content: Overview (one line per section with its count and an Open), Decisions (every ADR by Status, date, tags and amends, searchable), Agents, Skills, Rules (always on or scoped, kit or project) and Commands (the kit's catalog: Run for the allowlisted ones, Copy for the rest); it opens on Overview. The agent definitions (.cursor/agents/) stay in Workspace → Agents; the live agent runs are in Chats. A row's Open shows the file in the editor. Decisions and Rules need Mission Control data 1.10.0 (an Agent Kit release after 6.12.0): an older engine shows Update the engine, and Decisions lists the few records its snapshot carries. Oligarchy is the game, the web page loaded from https://oligarchy.missionkit.io/game/ and fed by the open folder's outcome ledger (see Oligarchy).
Back and Forward The two arrows at the head of each pane's tab strip, Alt+Left / Alt+Right (not inside a terminal, where the shell moves by word) and the mouse's back and forward buttons move through the views and documents that pane showed (Alt and the mouse act on the focused pane), per folder. Closing the current tab goes back to what was shown before it. The tab strip holds documents only, so it shows the same tabs whether a view or a document is active: a rail item with several views switches them at the head of the view itself (Ship: Git and CI/CD; Workspace: its sections), and the rail item reopens the one shown last.
Layout The terminal dock, which panels are shown, the rail position and labels, and the splitter sizes are saved as ui.layout on every change and come back on the next start; so does each folder's split tree (see Split panes).
Skins Settings → Appearance → Skin: Bare Metal (default) or Legacy for the whole window, and on Omarchy the live system theme (see Omarchy); saved as ui.skin in the settings file.

Not yet: engine choice per to-do (the CLI picks the backend per run), a driver run of a plan other than the HANDOFF one (needs the kit: run-plan has no plan argument), per-tick reviews of a queue run (the queue runner is one session without ticks), backlog actions without an agent (the kit exposes them only as slash commands), OS keychain for vendor keys (left out: the product plan says the IDE never reads, stores or relays vendor tokens; the agent CLIs keep their own login), the Tauri updater, macOS and Windows builds.

Install (Linux x86_64)

curl -fsSL https://github.com/agent-kit-startup/colony/releases/latest/download/install.sh | sh

packaging/install.sh checks the release signature (minisign key 9A9BB4349C2248C6, with minisign or OpenSSL 3) and the sha256 before it installs anything, installs per user without sudo, and --uninstall removes it again. Settings → App updates shows the version and the distribution channel (Help → About Colony… the version only): the AppImage of a release updates itself in place (signed, user-started); a tarball install updates by running the install line again; distro packages update through the package manager. Releases come from a pushed v<version> tag (.github/workflows/release.yml) and live in this repository's GitHub Releases; install.sh installs the Latest one unless --version names another. https://colony.missionkit.io/install.sh is meant to redirect to the URL above (not set up yet). See docs/release.md for the release files, the identity checklist and the install smoke.

The installer also registers the colony://play link in colony-handler.desktop, the .deb declares it in its desktop entry, and an AppImage registers it when it runs. A web page can open the game with that link. Colony accepts that exact URL with no parameters and refuses anything else (src-tauri/src/deeplink.rs). The link opens the game: on the open folder's Oligarchy view, or, with no folder open, on the game page with Open folder and Back above it (the page gets no data until a folder is open).

Requirements (Linux)

  • Rust stable via rustup (~/.cargo/bin on PATH for builds).
  • Node.js 20+ and pnpm 10.
  • Tauri 2 system libraries: webkit2gtk-4.1, gtk3, libsoup3, base-devel (Arch package names).
  • An Agent Kit engine: a click on the engine in the status bar (or Settings → Engine…), then Install engine (see Engine), or COLONY_ENGINE=<kit checkout> for development. An agent-kit on PATH (npm i -g @dadado/agent-kit-cli) still works as a fallback, flagged as an unmanaged engine.

Build and run

pnpm install --frozen-lockfile
pnpm tauri dev                   # development, hot reload on http://localhost:1420
pnpm tauri build                 # release binary + .deb bundle
./src-tauri/target/release/colony ~/code/some-repo

pnpm tauri build writes src-tauri/target/release/colony and src-tauri/target/release/bundle/deb/Colony_<version>_amd64.deb. A plain cargo build --release is not enough for a runnable binary: the Tauri CLI enables the custom protocol that serves the built frontend.

Launcher (per user, no sudo)

pnpm tauri build
packaging/install-local-launcher.sh

This writes ~/.local/bin/colony (wrapper around src-tauri/target/release/colony) and ~/.local/share/applications/colony.desktop, so Colony shows up in the app launcher, and colony-handler.desktop for the colony://play link. colony ~/code/some-repo opens a folder directly. Rebuilding updates the same binary; the launcher does not need to be reinstalled.

Omarchy

Omarchy 4.x is the reference Linux platform: a Linux feature is designed and verified there first. The surfaces below act only where Omarchy is installed; without Omarchy Colony behaves exactly as on any other Linux desktop. It reads Omarchy state freely and never writes under ~/.config/hypr, ~/.config/omarchy or ~/.local/state/omarchy without an explicit step of yours, which lists the files first and has a matching remove step.

Surface What Colony does
Default agent When Colony has no engine choice for the folder yet, the engine picker starts on the agent in ~/.config/omarchy/defaults/agent (omarchy-default-agent): claude, codex and cursor-agent map one to one, and the note under the picker says "Omarchy default agent". Omarchy's local (the local model) maps to the local backend on the model ~/.config/omarchy/defaults/local-model pins (omarchy:<recipe>) when it is listed, else the first runnable model that is running, else the first runnable one (a pinned model that does not fit is picked and shown with its reason, Start off). The other Omarchy agents (opencode, pi, gemini, ...) have no Agent Kit backend, so Colony keeps its own default (claude). A choice you make in the picker always wins. Both files are only read.
Theme and font Settings → Appearance → Skin → Omarchy (system theme), the default on Omarchy while ui.skin is unset (a skin you pick wins). Colony reads ~/.local/state/omarchy/current/theme/colors.toml, the palette omarchy-theme-set writes, and maps it onto the same nine surface tokens and the semantic colours (src-tauri/src/omarchy.rs, with the roles of Omarchy's own t3code.json.tpl: canvas and terminal on background, panels on dark_background, focus on accent; card and text steps are mixed from background and foreground, with muted text kept at 4.5:1 contrast or better on all 22 themes Omarchy 4.0.6 ships). Light themes (mode = "light") switch the window, Monaco and the terminals to light. The monospace font is the one omarchy-font-current reports (fc-match monospace), first in the editor and terminal stacks. A theme or font switch applies within about two seconds, without a restart: Colony polls colors.toml, theme.name and ~/.config/fontconfig/fonts.conf (theme-set replaces the theme directory, so a directory watch would not survive it). Read-only: no themed template, no theme-set.d hook. Not yet: the font size stays 13 px (Omarchy has no font size setting to follow).
Single instance One window per Colony binary and engine (COLONY_ENGINE). colony, colony <folder>, the desktop entry and omarchy-launch-or-focus reach the running window over a Unix socket in $XDG_RUNTIME_DIR (src-tauri/src/instance.rs): it raises itself (on Hyprland it also asks the compositor to focus it with hyprctl dispatch, switching to its workspace, as omarchy-launch-or-focus does; src-tauri/src/hyprland.rs) and, for another folder, opens that folder the way Open folder does (unsaved files are asked about first; cancel and the window keeps its folder). A path that is not a directory, --new-instance, COLONY_SMOKE or no $XDG_RUNTIME_DIR start a window of their own; any socket error does too (fail open). A second window from inside Colony: File → New window (Ctrl+Shift+N, also in the Commands palette) or New window next to a recent folder on the welcome screen starts the same binary with --new-instance (and that folder), with the same COLONY_ENGINE, in its own session (src-tauri/src/newwindow.rs); without a folder it opens on the welcome screen, not on the last folder, as colony --new-instance with no folder now does from a terminal too. The first window keeps its folder and its socket, so the desktop entry and colony <folder> still reach it. This works on any Linux desktop, not only Omarchy.
Window Window class and app id colony (StartupWMClass=colony), so omarchy-launch-or-focus colony matches it. They follow the name of the binary: the AUR package missionkit-colony-bin installs it as colony-hde, and its window has that class (docs/release.md, Arch package). Native decorations, which Hyprland negotiates away: no client-side titlebar or window buttons under a tiling WM.
Keybinding packaging/install.sh --omarchy-snippet prints an optional Omarchy 4 Lua snippet, o.bind("SUPER + SHIFT + I", "Colony", { launch = "colony", focus = "^colony$" }) (free in the 4.0.6 defaults) plus a commented o.window example, and exits. It writes nothing: you paste it into ~/.config/hypr/bindings.lua yourself, and delete it to remove it.
Notifications A new gate raises a standard freedesktop notification (tauri-plugin-notification, app name colony, not notify-send, so omarchy-shell keeps it). Clicking it in omarchy-shell invokes the notification's default action, which the plugin registers because Colony listens for actions; Colony then focuses its window and opens the Inbox on that gate. If the window is gone, omarchy-shell falls back to focusing the app by its class, colony. Checked against the plugin 2.7.0 and omarchy-shell 4.0.6 sources; the live click is part of the Omarchy dogfood.
Bar widget and menu Settings → Omarchy integration… (Omarchy only) lists every file and command first and runs nothing until you press Install; Remove undoes only what Colony wrote. The bar widget is an omarchy-shell plugin, ~/.config/omarchy/plugins/missionkit.colony/ (packaging/omarchy/missionkit.colony/, passes omarchy plugin validate), enabled with omarchy-shell shell rescanPlugins and omarchy-plugin-enable, so Omarchy's own tooling places it in shell.json: the Colony mark in the bar's colours (its urgent colour while a gate waits) with the open gate count and a tooltip with the live runs of every Colony window. A left click (or omarchy-shell missionkit.colony toggle) opens its panel, in the shape of Omarchy's agents panel and its theme and font: per Colony window its folder, open gates, mission (HANDOFF plan, progress n/m and the next to-do) and live runs and agent chats (a click shows that tab in its window), then Run plan, Run queue, Open Inbox and Open Colony. These only open something in Colony: Run plan and Run queue open their dialog there through the single-instance socket, and nothing runs until you press Start in it. Arrows (or hjkl) move, Enter or Space runs, Esc closes; the row under the cursor is marked by its 1px border colour only. A right click focuses Colony. It is installed by hand, not through omarchy plugin add, so omarchy plugin update does not manage it: Update in the same panel rewrites it, and that panel says when this Colony ships a newer widget than the installed one (never updated on its own). The menu entries (Colony → Open Colony, Colony Inbox, Open folder in Colony, each hidden when colony is not on PATH; the menu takes a font glyph only, so Colony shows as a ringed planet there) go into ~/.config/omarchy/extensions/omarchy-menu.jsonc between // colony:begin and // colony:end; a colony entry of your own there blocks them. Both need colony on PATH (the installer, the launcher and packages put it there). The widget and the entries run the name of the binary that installed them: colony, or colony-hde from the AUR package missionkit-colony-bin.
colony status colony status --bar prints the open gates and live runs of the running Colony windows as Waybar-style JSON (text, tooltip, class, gates, runs, windows) and exits; the bar widget polls it every 3 s (1.5 s while its panel is open). From schemaVersion 1 it adds windowList: per window (at most 8) pid, folder, path, gates, runs, control (it answers the panel), mission (plan, done, total, next, or null) and launches (at most 12: tab, kind run, queue or chat, label, state starting, running or gate); every string is one capped line. Each window on Omarchy keeps its own $XDG_RUNTIME_DIR/colony/<pid>/status.json and a control socket beside it (control.sock), removed on exit. colony --run-plan, --run-queue and --inbox ask the running window to open that dialog or view; colony --focus-tab=<run:n or term:n> --window=<pid> asks that window to show a tab and never starts Colony. colony status --bar also works as a "type": "command" bar module if you would rather not install the plugin.
colony --inbox, --open-folder Ask the running window to open its Inbox or the folder picker (and raise itself); on a first launch, the view opens once the folder has.

Settings

~/.config/io.missionkit.colony/settings.json (Settings → Open settings.json creates it and opens it in a Colony tab; the ⚙ button and File → Settings… show the Settings view). Read on every use: a saved edit applies at once. Colony changes only the keys it writes, one write at a time (also across Colony processes, via settings.json.lock), so a layout save and a skin change never drop each other or an edit you saved meanwhile.

{
  "ui": { "skin": "bare-metal", "titleBar": "native" },
  "editor": { "command": ["zed", "{path}"], "terminal": false },
  "workspaces": { "/home/me/code/repo": { "backend": "claude" } }
}

ui.skin is the look of the whole window: bare-metal (the default, neutral greys), legacy (the slate palette of the kit's original Mission Control) or omarchy (the live Omarchy theme, offered and used by default only on Omarchy; see Omarchy); Settings → Appearance → Skin switches and saves it. Both are one design token set, src/tokens.css, generated from the kit's skin token contract (src/contracts/mission-control-skins.json, a verbatim copy of the kit's docs/contracts/mission-control-skins.json) by pnpm tokens; pnpm build fails when the two differ. The names are the web Mission Control's own (--bg-primary, --border, --text-muted, --green-bg, --mc-radius-chrome, --mc-space-lg, ...) and Colony has no second color name set, so a skin is the same nine surface colors in both. The chrome, the native views, Monaco and the terminals read it. The native views also reuse the kit web page's components: card headers with an icon and a title-case label, status pills, per-to-do segmented progress, the previous / current / next steps, monospace metadata rows and action chips (src/ui.ts, icons in src/icons.ts).

ui.titleBar is native (the default; also what an unknown value gives) or custom, read when the window opens, so Settings → Appearance → Title bar saves it for the next start. Under a tiling window manager Colony always opens native and ignores custom (the file may be shared with a non-tiling desktop, where it applies). ui.layout is written by Colony on every panel change: terminalDock (bottom, top, side), terminalVisible, explorerVisible, railPosition (left, right), railLabels (false for icons only), railGame (false takes the Oligarchy item off the rail), and the splitter sizes in CSS pixels, explorerWidth, terminalHeight (docked at the bottom or the top) and terminalWidth (at the side); an unset field keeps the default, and settings_set_layout refuses a value outside those (nothing is written then). ui.layout.panes maps a folder path to its split tree, {tree, focused, at}: a leaf is {pane, tabs, active}, a split {split: "right" | "down", ratio, a, b}, a tab {file, mode} or {terminal} with a path inside the folder; Colony writes one folder at a time and refuses a malformed tree (an unknown node, a ratio outside 0 to 1, a pane id twice, a path outside the folder, more than 16 panes, 16 levels or 64 tabs in a pane), so a hand edit that breaks it opens one pane.

Open in my editor picks, in order: editor.command (a string split on spaces, or an argv array; the path is appended or replaces {path}), $VISUAL, $EDITOR, then xdg-open. $VISUAL / $EDITOR run in a new Colony terminal tab through sh -c '<editor> "$@"', the way git runs them, so terminal editors (and wrappers such as omarchy-launch-editor --inline) work; a configured command runs detached unless it is a terminal editor (nvim, vim, hx, ...). editor.terminal forces either way. The path is always its own argument.

Runtime environment

Variable Effect
WEBKIT_DISABLE_DMABUF_RENDERER Colony sets it to 1 at startup on NVIDIA + Wayland (WebKitGTK's DMA-BUF renderer hangs there; found in the Colony UI benchmark). A value you set yourself always wins.
COLONY_ENABLE_DMABUF=1 Keep the DMA-BUF renderer on NVIDIA + Wayland.
COLONY_ENGINE=<path> Run this kit instead of the managed engine: a checkout (repo root or packages/cli, after pnpm build) or an extracted engine artifact. Mission Control and agent runs use it (see Engine).
COLONY_ENGINE_REPO, COLONY_ENGINE_DOWNLOAD_BASE, COLONY_NODE_DIST_BASE Where Install engine looks: the GitHub repo whose latest release it installs (default agent-kit-startup/agent-kit), the download base (default https://github.com/<repo>/releases/download; files are <base>/v<version>/agent-kit-engine-<version>.tar.gz, SHA256SUMS and SHA256SUMS.minisig; https or file only), and the Node mirror (default https://nodejs.org/dist).
COLONY_AGENT_KIT_BIN, COLONY_NODE_BIN, COLONY_GIT_BIN, COLONY_GH_BIN, COLONY_CLAUDE_BIN, COLONY_CODEX_BIN Use these binaries instead of the ones found on PATH. COLONY_AGENT_KIT_BIN also wins over the engine for agent runs and the queue runner.
COLONY_HOST_SPOOL, COLONY_HOST_CLI Set by Colony (not by you) in every terminal tab and agent run it starts: this window's request spool ($XDG_RUNTIME_DIR/colony/<pid>/requests, mode 0700, else under ~/.local/share/io.missionkit.colony/host/) and the path of the Colony binary, for "$COLONY_HOST_CLI" request ... (see Host requests).
COLONY_DASHBOARD_SERVE Path to a dashboard/serve.mjs to run instead of the engine's.
COLONY_SMOKE=<log file> Code-path smoke: after the folder opens, check that the native views render the kit server's snapshot (Mission, Plans with one row per plan, Queue, Inbox, Git, Flight Log), write .cursor/plans/colony-sse-smoke.plan.md and wait for it to reach the Plans view over SSE, open README.md, append a line and save, run echo colony-ok-$((6*7)) > smoke.txt in a terminal, open README.md in your editor, check File → New window and a recent folder's New window (the smoke gets the --new-instance plan and starts no window; a missing folder is refused; this window keeps its folder), check that a mailto:, tel: or file: address is refused by Colony's own web-link check and by the opener plugin's capability scope (no address is opened), and, only when the runner puts an xdg-open/gio shim first on PATH and creates .git/colony-opener-shim (the shim appends its argv to .git/colony-opener.log; without the marker the step is skipped so no real browser starts), that a Ctrl+click on an http(s) address printed in a terminal and on an OSC 8 hyperlink, and a click on a web link in the doc preview, reach the opener with that address (in the terminal also with mouse reporting on, as in Claude Code's full-screen mode), while a plain terminal click and a file: OSC 8 link open nothing and xterm's own confirm()/window.open() path is never taken, and in a file opened in the editor that holding Ctrl over an address underlines it, Ctrl+click reaches the opener with the address as written, a plain click places the cursor and opens nothing, and a Ctrl+click on a file: address is refused (Monaco's own window.open() is never called), check the Settings view (the gear and File → Settings… show the same view and Back returns from each; the gear is marked by its border colour alone; the rows sit under Appearance, Engine, Integrations on Omarchy, and Files; Workspace has no Config section; Open settings.json opens the file in a tab and closing it returns to Settings), check the rail (the fourteen items in order, Workspace alone in the bottom group, and no More menu; with labels on, in both rail positions and every dock and at 1024x600, no label broken inside a word or running past its item and no sideways scroll; at 1024x600, emulated by holding the shell at that size, every item reachable by scroll in icon-only and labelled modes with the right fade edges, the active item in view and Workspace on screen at the bottom; Ctrl+1..9 and the arrow keys; the Oligarchy item hidden from the View menu, skipped by the arrow keys, still opened by view:colony and the palette and saved as railGame: false, then shown again from Settings; a palette Go to row per item and section), the native kit views (none loads a web page or frames anything; Processes rows and Copy PID; Decisions and Rules rows on data 1.10.0 or the Update the engine state before it; Agents, Skills, Health and the Commands catalog rows; the Colony map and a seeded build that settles into the Uplink; a drawer shell closed in its bar stays listed in Terminals and Reopen and Focus work, while the rail item leaves the drawer as it was), move a drawer shell to the editor area and back and a centre agent terminal (its Context sources strip included) to the panel and back, by the View menu ids and the tab menu, in each dock position, checking after each move that it still echoes, fits its new pane and is found by its tab id, check the remembered placement (a moved interactive tab records its kind in settings.json and the next one opens in the panel and echoes, while that open-there move records nothing; a shell moved to the editor area makes New shell terminal open there and the drawer's + still opens in the drawer; Reset terminal placements clears the record, leaves open tabs where they are and sends new ones back to the defaults; surviving a restart is not checked), read git status, start a one-tick driver run by clicking the Mission view's ▶ Run plan (it must open and focus its agent tab), check that the open gates show as the window title counter (N) <folder> · Colony, one recorded (never shown) notification per gate whose body carries the ask id and not the gate line, the full question on the Inbox card and the strip pinned at the top of Mission, and that a notification click opens the Inbox on that gate, answer its gate from the agent tab, check the transcript and the tick review, start the queue runner from the Queue view (fixture: a driver run whose queue_state moves the Queue view's live note to the second plan and whose gate is answered from the Inbox, then the token usage both fixture runs reported, and the Queue view's driver chat: its deferred gate listed and its note prefilled from queue gates, a note with a HITL_REPLY: line refused by the panel and by agent_start, and a token budget below the queue run's usage marking it over budget; real CLI: --dry-run in a terminal tab) and an interactive agent from the Plans view, check the Agent runs card (the driver run, then a /run-plan <plan> interactive tab awaiting its fixture gate, focused by a click; that tab carries a gate marker and its gate shows in the Inbox's Live gates and the title counter), the "launched from Colony" hero, the context sources strips of both tabs (a row opens its file in the editor), then switch HANDOFF to that plan (with a run-plan-all queue whose cursor is elsewhere and status running) and check over SSE that the hero follows and the queue shows as held, restore HANDOFF, seed the scratch HOME with three saved Claude Code sessions and a subagent transcript (packaging/smoke/seed-chats.sh, fixture runs only) and check the Chats card lists exactly those three in order with their titles and that Resume starts the vendor CLI fixture with --resume <id> and focuses that tab on a second click, log each step as JSON to the file, then exit. Use a scratch clone: it edits README.md and writes files. With EDITOR=packaging/smoke/fake-editor.sh, COLONY_AGENT_KIT_BIN=packaging/smoke/fake-agent-kit.sh and COLONY_CLAUDE_BIN=packaging/smoke/fake-claude.sh (plus COLONY_ENGINE pointing at a built kit checkout or an extracted engine, so Mission Control runs through the engine resolver; the engine step logs which engine served it) the editor, the driver, the queue runner and the vendor CLI are fixtures (the kit fixture announces driver protocol 1.4.0 through engine-info --json, reports token usage on its gates and its finishing tick_end / run_end, and answers queue gates --json / --prompt with one deferred gate without writing any file), so the gate answers, the transcript, the review, the queue run and the terminal tabs are checked end to end with no agent (the fixture run also starts a second fixture run in a sibling repo2 folder, when present, to check that the Inbox routes each answer to its own run). With the real CLI the queue runner runs with --dry-run and the vendor CLI is only resolved, never started. With COLONY_GH_BIN=packaging/smoke/fake-gh.sh it also files real colony request calls from a terminal tab and clicks their cards: an approved merge (exit 0), a merge into release refused without and approved with the typed yes, a denial with a reason (exit 2), a production push and a kind outside the allowlist refused before the spool (exit 64), a merge from the Pull requests list, and Rerun failed in the CI/CD tab; nothing reaches GitHub. The Ship lane steps need the folder's origin push URL to be a local bare repository (its fetch URL may be unreachable): the promote step first adds one staging-only file commit there, because the host refuses a promote whose staging has the same files as main, and the sync step pushes its chore/ branch there. Last come the Explorer git workbench steps (src/worksmoke.ts): every tree row has a glyph in its file class's theme colour, and the names of the operator's dogfood repo get their classes (folders, code, config, docs, images, executables); on the Omarchy skin with COLONY_SMOKE_THEME_SWITCH=<stock theme> (scratch HOME only: the fixture copies that theme's colors.toml over the one under $HOME, then puts it back) the glyphs follow the theme switch; git marks follow an edit, a new file and the edit undone, an ignored file is dimmed, and an edit from the terminal shows after the window gets the focus back; the tree's keys (arrows, Shift selection, Home and End, the type-ahead filter with Backspace and Esc, F2 rename and F2 then Esc, Ctrl+click, Ctrl+Up/Down, Ctrl+Space, Enter) are dispatched on the tree, a two-row selection gets Delete 2 items and Copy 2 paths, and a selected row changes only its 1px border colour; two selected rows are dragged onto a folder that already has one of the names (the other moves with its open tab, the existing one is refused and left as it was), and packaging/smoke/workbench-fixture.sh run in a terminal tab adds a merge the commit graph must draw (merge dot, HEAD, tag and upstream labels, details and a file's diff, Up/Down, Enter and Esc on the rows, a second page when there is one, no rebase, cherry-pick or reset action) and then a merge stopped on two files (one changed line each, as in the dogfood repo) that the conflict window resolves with the base read from the index for both: one with the DevOps proposal, one with a manual edit, each saved and staged through its stage-resolved card, after which the fixture commits and the marks clear. The conflict listing needs a real kit with agent-kit conflicts (after 6.14.0) named by COLONY_SMOKE_KIT_REAL; the kit fixture passes the listing to it and answers conflicts propose itself, so no agent session runs. Without it the step only checks the window's refusal and aborts the merge. The last fixture step, process-tree-armed, leaves a run-plan --model smoke-tree run going with an agent child and a detached (setsid) subprocess and writes their pids to <folder>/.git/colony-tree-pids; the smoke then exits with the run still live, and the runner checks after Colony has exited that none of the three pids is alive: packaging/smoke/check-process-tree.sh <folder> exits 1 and lists the survivors, 0 when the tree is gone. Set HOME, XDG_CONFIG_HOME and XDG_DATA_HOME to scratch folders too, or the smoke writes its engine choice into your real settings file, the scratch folder into your recent folders and its fixture chats into your ~/.claude (the seed script refuses to run on your real home folder). During the smoke Colony does not focus the editor or the terminal, but the window itself may still take focus from your compositor. COLONY_SMOKE_SHOTS=1 also pauses at a few views (Plans and Queue, Mission, Plans and Queue in Legacy, the gate, transcript, review, terminal tabs, the launched / held Mission view and the Git tab with a pending request card) (a pause step in the log) until <folder>/.git/colony-shot-<name> exists, so a runner can take screenshots.
COLONY_SMOKE with no folder, COLONY_SMOKE_SOCKET=1 With no folder to open (scratch HOME with no recent folders), the smoke checks the colony://play path instead: started as colony colony://play it checks the game the link opened; started without the link it waits up to a minute for a second colony colony://play (same binary, same XDG_RUNTIME_DIR, no COLONY_SMOKE) to reach it. It checks the Oligarchy view (the game frame on its exact address, or the network-needed state when offline; Open folder and Back present; no oligarchy-* key saved by Colony; no "Open a folder first" line), clicks Back and checks the welcome screen, then clicks the gear and checks that the Settings view shows over the welcome screen with its own Back, that Open settings.json names the file in the status bar and opens no tab, and that Back returns to the welcome screen, logs and exits. COLONY_SMOKE turns the single-instance socket off; COLONY_SMOKE_SOCKET=1 keeps it on for this check, so give the run a scratch XDG_RUNTIME_DIR.

A desktop launcher often starts apps without your shell's PATH. Colony appends ~/.local/share/mise/shims, ~/.local/bin, ~/.cargo/bin and the newest mise Node install to PATH at startup, so the dashboard server and the CLI resolve the same tools as your terminal.

Engine

Colony runs the open Agent Kit as a managed engine (the kit's ADR 2026-10-19_colony-managed-engine-distribution): it installs, updates and rolls back the kit itself, and never needs npm. src-tauri/src/engine.rs resolves it in this order:

  1. COLONY_ENGINE=<path>: a kit checkout or an extracted engine, for developing the engine and Colony against the same working tree. A checkout without engine.json is asked with agent-kit engine-info --json.
  2. The managed engine in <data dir>/colony/engine/<version>/ (Linux: ~/.local/share/colony/engine/): the current one of state.json, else the highest installed version Colony supports.
  3. agent-kit on PATH, as before; the status bar says ⚠ unmanaged engine.

COLONY_AGENT_KIT_BIN and COLONY_DASHBOARD_SERVE still win for agent runs and for Mission Control (the smoke fixtures use them).

Supported range: driver events protocol 1.x and Mission Control data 1.x (DRIVER_PROTOCOL_MAJOR, DASHBOARD_DATA_MAJOR in engine.rs), read from the engine's engine.json. A kit release inside the range installs without a Colony release; a new major is refused until Colony declares it.

Settings → Engine… (or a click on the engine in the status bar) shows the engine in use, its contracts, Node, and the installed versions. Install engine / Update engine downloads agent-kit-engine-<version>.tar.gz and SHA256SUMS of the newest kit release whose driver protocol is inside the range this Colony installs (ENGINE_PROTOCOL_RANGE in src-tauri/src/engine.rs, today 1.2.x-1.6.x; read from each release's published engine.json, newest first), or of the version typed in, with the system curl, checks the signature and the sha256, unpacks it with tar into a temporary folder, checks engine.json against the range (an engine outside it is refused with what to do instead: update Colony, or pick another engine version), then moves it into place and makes it current. A newer kit release on a newer protocol is skipped, not installed blind. The engine it replaces stays installed for Roll back; older ones are removed. Signatures: the kit's engine signing public key is pinned in ENGINE_SIGNING_PUBKEY (src-tauri/src/engine.rs; minisign key id EE66495404D7ADCF). Every install also downloads SHA256SUMS.minisig and checks it (minisign, Ed25519) over SHA256SUMS before the sha256 is trusted, and refuses a release without a valid one. Kit releases up to v6.16.1 were published without a signature, so this Colony does not install them: Install engine and Update engine need a kit release tagged after the key existed, and a release served from another repo or mirror (COLONY_ENGINE_REPO, COLONY_ENGINE_DOWNLOAD_BASE) needs the same signature. An engine that is already installed keeps running and stays available to Roll back: the check runs when an engine is installed, not when it starts. New agent runs use the new engine at once; Mission Control switches when the folder is reopened.

Node: the engine runs on a system node that satisfies its node range (COLONY_NODE_BIN or PATH), else on a Node build Colony installed. Install Node runtime downloads the pinned official Node build (24.22.0, Linux x64 and arm64 for now) from nodejs.org, checks it against SHASUMS256.txt and the sha256 pinned in engine.rs, and unpacks it into <data dir>/colony/runtime/node-<version>/.

Host requests

An agent running inside Colony (an interactive claude / codex tab, a shell tab, or an agent-kit run-plan run started by Colony) that cannot or must not merge, rerun checks or push itself asks Colony instead; the same binary has a CLI mode for it:

"$COLONY_HOST_CLI" request merge-pr <number> [--method squash|merge|rebase] [--reason "..."] [--timeout 30m]
"$COLONY_HOST_CLI" request rerun-checks <run-id> | --pr <number>
"$COLONY_HOST_CLI" request push-branch [<branch>]
"$COLONY_HOST_CLI" request open-pr promote | staging-sync
Kinds A closed allowlist: merge-pr (gh pr merge N --squash by default; never --admin or --auto), rerun-checks (gh run rerun ID --failed; with --pr, every failed run of that PR's head commit), push-branch (current branch by default, pinned when the request is filed; never forced), open-pr (one of two fixed ship-lane PRs: promote opens staging → main; staging-sync pushes origin/main's tip, never forced, to a new chore/sync-staging-main-<sha7> branch and opens its PR into staging; Colony picks the branches from the local origin/* refs and writes the title and body, and refuses when there is nothing to promote or sync). No shell, no arbitrary command.
Flow The CLI writes a request into COLONY_HOST_SPOOL and waits (default 30 min; --timeout takes seconds or 90s / 30m / 2h). The request becomes a card in the Git tab (badge on the tab, a line in the Inbox and the status bar). Colony runs the action with your own git / gh login only when you click Approve; Deny takes an optional reason that the agent receives. A forged response file in the spool only fools that requester: Colony never reads responses, it acts on the click.
Production A merge into a production base needs a typed yes on the card. A push-branch of a production branch is refused (exit 64) before it reaches the spool: push it yourself from the Git tab. Production for a host request: production, prod, release, main and master, always (the request's folder belongs to the requester, so its local refs do not decide). The Git tab's own push button counts main / master only when the repository has origin/staging. A PR from another repository (a fork) never merges into a production base from Colony, whatever is typed. Approve acts on what the card showed: a merge runs with --match-head-commit <head on the card> and is refused if the base changed; an open-pr whose refs moved is refused.
Exit codes 0 approved and succeeded, 2 denied (the reason is printed), 3 approved but the action failed (its output is printed), 4 timeout or Colony exited, 64 usage error, a refused request, or no Colony host (COLONY_HOST_SPOOL unset).
Git e CI/CD The Git tab is one bento grid like the kit web page's Git e CI/CD section: the Ship lane tile leads (the snapshot's shipLane, Mission Control data 1.8.0, Agent Kit 6.9.0 or later; an older engine shows "Update the engine" and no actions), then Requests, Pull requests, the branch flow, the working tree and Production promotion. A Ship lane row offers a button only for an allowlisted kind: merge the release-close PR into staging (merge-pr, squash), open the staging → main PR (open-pr promote), merge it (merge-pr, merge commit, typed yes), rerun the failed jobs of the tag's CI run (rerun-checks), open the staging sync PR (open-pr staging-sync). Each button opens a card; nothing runs before Approve. A tag push or a push to main is never a button. A row whose next step is /git-staging, /git-prod or /kit-prod gets Run: the agent opens already running it, and the production ones confirm first and ask their own gate inside the session.
gh Colony uses the gh on PATH (or COLONY_GH_BIN) and never reads, stores or relays a token. When gh is missing or logged out, the Pull requests card and the CI/CD tab say so.

Mission Control data

Colony runs the engine's unforked dashboard server for the opened folder (node <engine>/dashboard/serve.mjs with MISSION_CONTROL_REPO_ROOT=<opened folder> and PORT=<free port>, on loopback) and is a read-only client of its data API: GET /dashboard-data.json once, then GET /api/events (SSE, a full snapshot per change). The Colony page cannot read that server itself (the server answers CORS only for its own origin), so the Rust side fetches both over loopback HTTP/1.0 and forwards each snapshot unchanged (src-tauri/src/mcdata.rs); the stream reconnects on its own. The views read the snapshot contract of the kit (docs/contracts/mission-control-snapshot.schema.json, dashboardDataVersion 1.6.0), mostly its missionControl projection, and tolerate any nested field being absent. GET /api/config is asked too and is a 404 on kit 6.2.0 (the server only accepts config writes there), so the views use the snapshot's system summary. Colony never writes to the server. The status bar shows the feed (live or offline, age of the last snapshot, data version).

No web panel

Colony no longer embeds the kit's web page (plan colony-sidebar-native-kit, to-do s3; kit ADR 2026-10-08_mission-control-embeddable-contract.md amend 2026-10-28): there is no Mission Control tab, View menu row, frame hook (window.__MISSION_CONTROL_ACTIONS__) or host-action seam, and the CSP's only frame source is the Oligarchy game's origin (frame-src https://oligarchy.missionkit.io). The kit's page stays a standalone surface (agent-kit dashboard in a browser). Colony still runs the engine's dashboard server for the opened folder, only as the data API above, and stops it when Colony exits (also on a crash, through a parent-death signal); its log is under ~/.cache/colony/dashboard-<port>.log.

Oligarchy

Oligarchy, the game, is one web page: the one served at https://oligarchy.missionkit.io/game/, also playable as a trial in any browser (kit ADR 2026-11-17_oligarchy-web-game-data-contract-colony-pairing.md). Colony runs no game engine. The Oligarchy rail item loads that page the first time it is shown, in a frame sandboxed to allow-scripts allow-same-origin (no top navigation, popups, forms or downloads; the page's colony://play links do nothing inside Colony), and loads it again after Reload, after Try again or when another folder opens.

  • Data. The page asks Colony for the game data and Colony answers with the minimal shape of src/oligarchyfeed.ts: the kind and time of each of the newest 20 outcomes of the open folder's ledger, counts per kind and per resource, and the flow streak, posted only to the exact game origin. Every snapshot change posts a fresh copy. With no folder open Colony does not answer, and the page plays the trial with its no-data note.
  • Nothing else crosses. No Colony command or capability names the game origin, the CSP allows only that origin as a frame, and the webview refuses every navigation, in any frame, that is not the game's origin (src-tauri/src/gameframe.rs; Colony's own page only for its first load).
  • Offline. Before each load the view sends a HEAD request to the page (no cookie, no referrer; the CSP's connect-src names the game origin for it). No answer within 8 s, or the window's offline event, shows that the game needs the network, with Try again, instead of an empty frame or WebKit's error page.
  • Saves. The page keeps its save in its own origin's storage. Colony keeps no game state; the saves of the earlier in-Colony game (oligarchy-state-v1:*) are left as they were and not read.
  • Staging. This build loads the production origin only. The staging origin behind a Settings switch (ADR point 8) is not in this build.

License

Apache License 2.0: see LICENSE and NOTICE. The license covers the code, not the names "Mission Kit", "Agent Kit" or the helmet logo (CONTRIBUTING.md). Colony includes no Oligarchy game content: the game is the web page above (see NOTICE). Privacy and network calls: PRIVACY.md.

About

Colony desktop IDE by Mission Kit

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages