Skip to content

The browser UI ​

New here? Read Getting started with the browser page first: it is a one-page tour from the first task to the dashboard.

cully ui serves a page where you describe a task. Cully prepares context, starts a coding agent (Claude Code, Codex or Cursor) in its own git worktree, and lets you keep talking to it. The same page shows what Cully already knows: status, timeline, replay, handoff, suggestions, impact and jobs.

Tasks offers List and Board views with the same flat task styling, search treatment and primary-action colors. Board keeps separate status columns and its queue and move controls.

Cursor edit tasks require a working native sandbox. On a Linux VM where AppArmor prevents that sandbox from starting, edit tasks are unavailable until the host policy is repaired; installing files in the user's home directory cannot load kernel policy. Cully reports the startup failure and keeps the sandbox enabled. See Cursor sandbox setup.

Start it ​

sh
cully ui --repo ~/work/myrepo --tokens ~/.cully/tokens.env

Open the base URL and paste the browser access code from cully ui code. Cully stores a session cookie for that instance. If you prefer the private sign-in link printed by cully ui, it still works.

Configure Claude separately. A subscription file contains numbered CLAUDE_CODE_OAUTH_TOKEN_N entries from claude setup-token. Cully skips exhausted accounts and continues a task on an available one. Without a pool, Claude uses environment credentials such as ANTHROPIC_API_KEY or its own CLI login. Cully asks for that CLI login only after an authentication failure.

For separate frontend and task server containers, see Run the Cully UI with Docker.

cully start is the same command under a shorter name. Unless you give it --mcp-url, it also runs the self-hosted memory service inside the same process (see Memory store): agents can reach it at /mcp on the same address with the browser access code as a Bearer token, and the UI's own saves (agents, task and session links, the records you consent to sync) go to it directly, with no model call. With --mcp-url https://your-cully/mcp (or CULLY_MCP_URL) it embeds nothing and uses the hosted deployment instead. The address must be https, or http to this machine.

Open it from your agent ​

sh
cully run --ui claude      # or: cully claude --ui, cully codex --ui, cully cursor --ui

Before the agent starts, Cully prints a link. The first time, it also starts cully ui in the background for the current repository; later runs in the same repository print the same link. Open it in a browser and start using it. cully ui url prints the link at any time and starts the UI if it is not running.

Run cully ui status to list the browser URLs of UI servers already running on this machine. The command does not start a server or include sign-in tokens.

  • One server per repository. Its address and process id are recorded in a small file in Cully's log directory, and its output goes to ui.log. Neither contains the sign-in token, which stays in ui-token (mode 0600).
  • Localhost only. The background server listens on 127.0.0.1 with a free port. Over SSH, Cully adds the ssh -L command to forward that port.
  • Opt in. Only --ui, or CULLY_UI=1 in your environment, starts it. Utility commands such as --version, mcp and -p never print a link, and a failure to start the UI is reported without stopping the agent.
  • Needs a git repository, because agents work in worktrees.

Stop the background server with kill on the process id in that record, or leave it running; it holds no agent state beyond what you start from the page.

Reach it on a VM ​

Keep the default bind and use a tunnel:

sh
ssh -L 7777:127.0.0.1:7777 you@vm

Then open http://localhost:7777/ and enter the access code. To connect without a tunnel, bind the UI to the VM's address and pass --tls-cert and --tls-key, or use HTTPS ingress for the Docker frontend.

What a task does ​

  1. Context. The project's latest journal as a handoff, plus live git state.
  2. Recall (optional). The advisor reads Cully memory for prior work on the task.
  3. Scout (optional). The advisor searches the web for current practice and pitfalls.
  4. Worktree and agent. Cully creates a cully/<slug>-<id> branch and worktree, then starts the chosen coding agent. For Claude Code it uses the configured credential source. A failed preparation stage is shown and skipped.

The agent shows as needs you when it has finished a turn and is waiting. Pick plan only to let it read and propose without editing.

Sign in to the Cully MCP ​

The header's Status button (Live, Offline, Signed out, Sign in or Paused) opens a small panel with the server connection, the Cully MCP state, the pause switch and which account agents use. When Claude, Codex or Cursor reports that the Cully MCP needs authentication, the Status button turns amber, the home page shows a banner, and an agent that started without access shows a warning. Authenticate MCP opens a dialog for the three agents Cully wraps. Status comes from the same probes cully status uses.

The dialog runs the agent's own login command on the machine running Cully and shows the sign-in link it prints:

  • Claude runs claude mcp login cully --no-browser and Codex runs codex mcp login cully --no-browser. Open the link, sign in and approve. If your browser is on the same machine as Cully, the page finishes by itself. If Cully runs on a VM and your browser is on your laptop, the approval ends on a http://localhost… page that cannot load, because that address points at your laptop. That is expected: copy the full address from the address bar and paste it into the dialog. Cully accepts only a localhost address that carries an authorization code or an error, and passes it to the login command.
  • Cursor has no --no-browser option, so its login cannot take a pasted address. Run cursor-agent mcp login cully in a terminal on the machine whose browser you use, or forward the callback port with ssh -L.

Deep link: #/mcp/claude, #/mcp/codex or #/mcp/cursor opens the dialog directly.

Every session on this machine ​

The Sessions tab lists every Claude, Codex and Cursor session open on this computer, in any folder and however it was started. Sessions are grouped by folder, with the git branch and remote. New agent here starts a new agent in that folder, and View history shows that folder in the Dashboard.

  • How they are found. Cully looks at your own running processes: the command line, the working folder, and whether the Cully terminal started it. It reads no conversation and no environment values. Sessions the UI started yourself are on the Agents tab, not here. By default the list shows only the agents you started Cully with (cully run --ui claude marks Claude; the agents the page starts count as Claude), and only sessions with a live terminal. Show sessions from other agents and Show sessions whose terminal was closed reveal the rest.
  • Terminal closed. A session whose terminal window has been closed but whose process is still running is listed as detached. Background daemons and headless runs are not listed.
  • Any folder. Add a git repository with Use another folder, or start from a session's folder. Agents only run in repositories you have added, and the folder must be yours.
  • One UI per user. cully run --ui from any folder prints the same link; the folder you launched from is added to it.
  • Hiding folders. cully ui --hide-sessions-in /path (repeatable, or CULLY_UI_HIDE_SESSIONS_IN with colon-separated paths) keeps sessions started in those folders out of the list, before any command runs there. Use it to keep work you do not want on a shared page, for example a separate company workspace.
  • Detection works on Linux. On macOS it is best effort and untested.

Write prompts faster ​

The new-task box and the message box inside a task share a few helpers. Everything they add ends up as plain text in the prompt, so Claude, Codex and Cursor read it the same way.

  • @ mentions. Type @ and a few letters of a file or folder name. Use the arrow keys, then Enter or Tab. The path is written as @path/to/file (quoted when it contains a space) and shown as a chip you can remove. The list comes from GET /api/files, which runs git ls-files (tracked and untracked files that are not ignored) in an allowed repository only, with the same guards as the diff view.
  • / commands. At the start of the box: /plan, /edit, /tdd, /debug, /fix, /factory, /bestofn set how the task works; /queue holds the task (or sends a message after the current turn); /steer sends a message now; /clear-draft empties the box (with undo); /help lists them.
  • History. Up and Down in an empty box walk through your last 50 prompts for the project. Recent lists them. They live in this browser only.
  • Templates. Templates holds five built-in prompts and your own. Write where a value should be asked for. Save this prompt as a template keeps what you wrote; templates can be renamed and deleted.
  • Long pastes. Text over about 2000 characters or 40 lines becomes a "Pasted text, N lines" chip. It is sent as a fenced block after your message.
  • Size hint. Very long prompts show a rough token estimate (about four characters per token).
  • Undo. After Queue for later, a toast offers Undo while the task is still waiting for a slot. Tasks that start at once have no undo: they already own a branch and a worktree.

Preferences, the checklist and About ​

Preferences (#/preferences, from the theme menu or the palette) is one searchable page. Every change applies at once and has a one-line description and a Reset; a bar beside a setting marks it as changed, and Changed only lists just those.

  • Appearance: theme (follow system, Harbor, Graphite), density, accent colour (six hues, each checked for contrast in every theme by scripts/ui-contrast.js), text size (90 to 125%), reduce motion (follow system or always), chat line height and width, code size, message times, task list width.
  • Behaviour: the single-key shortcut switch, confirm before stop, follow new messages, and the defaults for a new task (recipe, coding tool, folder).
  • Shortcuts: every shortcut with its keys. The g then letter pages and the one-letter keys (c, j, k, ?) can be rebound; a key already in use is refused with the name of what uses it. y and n (permission answers) and Ctrl+K are fixed on purpose. The palette, the chord hint and the help dialog read the same table.
  • Data: export and import preferences as JSON, what this browser stores and how much, and clearing drafts, prompt history or templates (each asks first).

Preferences live in one versioned value (cully:prefs:v1) in the browser. A value that is missing, hand-edited or from a newer version is ignored and the default applies. Theme, density and the shortcut switch keep their older keys so the theme menu and the palette stay in step. theme.js applies them before the first paint, so a stored accent or size never flashes the default.

Get started is a checklist on Home. Its five items tick themselves from real state (a coding tool is installed, a task exists, a recipe was used, a changes list was opened, the Cully MCP is connected). Collapse it, hide it, or bring it back from the palette. Show me around starts a five-step tour, only when you choose it.

About Cully (theme menu or palette) shows the version and build from /api/info, links the keyboard help, and Copy diagnostics puts a redacted text block on the clipboard: versions, coding tools found, system, browser and the settings you changed. It never includes tokens, prompts or your user name, and home folders are shortened to ~.

Long conversations ​

Task chat links to individual messages and shows a summary of longer conversations.

  • Link on a message copies #/task/<id>/m/<n>; opening it scrolls to and marks that message.
  • Past 30 messages, Summary so far at the top of the chat shows what was asked, where it stands, files changed, the last check and whether the agent is waiting on a question, all from the task's recorded data.
  • Replies with more than six headings get a sticky Sections list and a Next section button. Code blocks get Wrap and Collapse, and tables get Copy CSV.

Advisor and Scout ​

The Dashboard has an Advisor and a Scout section.

  • Advisor. Ask the advisor to review an agent's work. It gives up to three pieces of advice, each marked as a warning, a caution or a suggestion and tied to the agent it is for. Send to task passes the advice to that agent as a message; Dismiss removes it. The advisor follows Cully's usual limits: at most six requests an hour, two minutes apart.
  • Scout. When you start a task with Scout turned on, Cully searches the web for current practice. The Scout section shows it working, each search and page it reads as it happens, and the findings with their sources. Clicking the scout or recall step on an agent opens it. Recall shows what Cully memory returned.

Do it from the page ​

Everything below can be done here as well as in the terminal. Each button calls the same code as the command.

In the terminalOn the page
cully setup --agent claude (without an MCP)Dashboard, Setup: Set up Claude. A dialog says what changes: Cully adds its session-tracking entries and skill to the agent's user settings and leaves your other settings as they are.
cully mcp add --agent claude --url URLSetup or the header: Connect the Cully MCP, then Authenticate MCP to sign in
Start the advisorSetup: Start the advisor
cully jobs run NAMEDashboard, Background work (Scheduled jobs): Run now (only the program name is shown, never its arguments)
Run a scoutDashboard, Scout: Start a scout, with live searches and findings; Use in a new task carries them into a new task
cully suggestionsAdvisor, From terminal sessions (read only)
cully handoffCopy for another agent on Activity and on an agent's Summary tab
cully status, cully rescueOverview and Setup
cully timelineActivity (replay playback is not on the page yet)
cully impactSavings

Not on the page yet: cully apply N, cully improve, cully eval, cully update, cully task, cully workflow and cully terminal.

These actions change your own agent settings, so they need the same login token as everything else, and a token holder can already run commands through an agent. The page is still plain HTTP on a network address by default; use --tls-cert and --tls-key, or an SSH tunnel to localhost, on a network you do not trust.

Notifications ​

The bell in the header turns on three kinds of heads-up for when an agent needs you, new advice arrives, or sign-in is needed: a flashing tab title (works everywhere), a short sound, and desktop notifications. Browsers only allow desktop notifications on HTTPS or localhost, so over plain HTTP on a network address the menu says so and the other two still work. Your choices are kept in the browser. Nothing is sent anywhere.

The Inbox ​

The Inbox button in the header (and #/inbox) lists what your agents need and did: approvals and questions (needs you, longest wait first), failed or stuck tasks, limits reached, and finished tasks with the files changed and cost. Each item can be answered where it sits: Allow once or Deny for an approval (the same call as the task page, so a high-risk call shows the whole command and needs a second click, and "Allow for this task" is offered only where the task page offers it), a small Reply box, Open, Dismiss (with Undo) and Snooze (1 hour or tomorrow). An approval cannot be dismissed or snoozed: it denies itself ten minutes after it was asked, and its card says Denies itself in 8:12. The tab title and icon follow the count.

Keyboard: j and k move, e dismisses, r replies, a allows once (never a high-risk call), d denies, o opens, s snoozes for an hour. They follow the single-key shortcuts switch in help.

After you have been away from the tab for more than five minutes, or the server was out of reach, a While you were away strip says what finished, failed or waits, what it cost and how many files changed. The Watching button on a task page mutes that task's sound and desktop alerts (it still shows in the Inbox, and an approval still denies itself). Do not disturb (30 minutes, 1 hour, until tomorrow) is in the bell menu. Desktop notifications appear only while the tab is hidden, one per task, and carry a clipped task title and a fixed phrase, never a prompt or command. The sound is a soft two-note chime, off by default. Notifications on the Inbox page has the switches and Send test notification. Approvals exist for Claude Code and Codex; Cursor runs edits without permission cards, so Cursor tasks never ask.

Where it left off ​

Handoff is a plain summary: what was asked, where the agent stopped, what changed, and whether the last check passed. The text written for another agent stays behind Copy for another agent, and Continue in new agent starts from a short prompt you can edit.

Memory mode and sign-in ​

The header says how agents sign in: Claude subscription accounts (with a count) when you give a tokens file, or this machine's own Claude login. If no Cully MCP is registered for the agents you use, the header says Local mode (SQLite): everything the UI keeps (session library, agents and their notes, evals, advice, usage) lives in one SQLite database, cully.db in the Cully folder, with mode 0600; nothing needs Postgres or Mem0 and nothing asks you to sign in. Local mode is less efficient than the Cully MCP: it recalls by keyword only, so agents can receive more context and use more tokens, and the page says so and shows how to connect the MCP. Files from earlier versions are imported once and renamed *.imported. Set CULLY_MEMORY=local or mcp to pin it. The sign-in dialog focuses on the agents you launch Cully with (cully run --ui AGENT, or --agent), and the others are tucked under Show other agents.

Agents working together ​

Agents never message each other directly. Cully relays, so every message shows in both feeds and you stay in the loop.

  • Conflict alerts. When a second agent edits a file another live agent already edited, Cully tells both of them, naming the other agent, and asks each to keep changes to that file minimal and expect a merge. Each pair is told once per file. The message wakes an idle agent, which answers it. Read-only (plan) agents never take part. Turn it off with cully ui --no-conflict-alerts.
  • Send to agent. From any agent, send its latest reply or its diff to another live agent, with an optional note. The receiving agent sees it as a message from the named agent and responds.
  • Review. Starts a read-only agent on the same repository with the author's task and diff in its prompt, and read access to the author's worktree. Its findings come back in its own chat; use Send to agent to pass them to the author.

Fan-out (one prompt to several agents, compared side by side) is not built yet.

Board, diff, handoff ​

  • Board lists live agents with the files each has edited and warns when two touch the same file. New agents are told what the others are doing.
  • Diff is the whole change against the commit the worktree started from, so earlier turns are not missed.
  • Continue in new agent puts the handoff in the task box for you to edit before starting.

Sessions and health ​

Sessions shows the sessions open now first, then recent ones from the agent's own folders (~/.claude/projects, ~/.codex/sessions), with Resume and Fork for Claude: the agent runs in the session's original folder, and a summary of what the session did is shown before you start. A session open in a terminal can only be forked, so two writers never share one session.

Open Sessions → Session insights for analysis and health trends or Sessions → Evals for evaluation cases and results.

The session index keeps one record per Claude session in ~/.claude/cully-logs/session-index.json: time worked (gaps over ten minutes do not count), requests, tool calls by tool, files changed, test runs and tool errors, counted from the transcript. No prompt or reply is stored. When you turn on naming, Claude reads each finished session in the background (up to 30 an hour, newest first, never one active in the last 15 minutes, never one in a hidden folder) and writes a title, a description, what could go better, whether it finished the job, whether it drifted, the goal in one sentence and how to tell it was met.

How the analysis worker decides. The end state of a session is counted from the record, not asked of the model: the last check run (passed or failed), a loop on one call, an interrupt, a usage-limit message, a last request with no reply, and the owner's last short message (thanks or "still broken", English only). Each state carries a confidence (high, medium, low) and a list of the signals that decided it; hover the state chip for them. When the facts leave it open (low confidence) the model's verdict is used and marked as such. Cursor transcripts have no results, timestamps or limits, so its sessions say "not recorded" and are never judged from them. The model writes a title (60 characters at most, checked against a list of generic ones, with the owner's own first request as the fallback), what was asked, what was done and how it ended. A session is analysed again only when its counts or ending change or the analysis version rises; version 2 summaries are kept. Each prompt is scrubbed (keys, .env lines, auth headers, URL passwords, emails) and capped at 24000 bytes; the day's estimated tokens are capped (150000, or CULLY_ANALYSIS_DAILY_TOKENS, or POST /api/sessions/analysis {"dailyTokens": N}) and shown in Session insights. A failed try is retried after 15 minutes, then 1 hour, then the session is set aside with the reason; Reanalyse on the session page skips the delay and the budget. Evidence for the design is mixed and indirect: LLM judges agree with people about 80 percent of the time but show position, verbosity and self-enhancement bias (Zheng et al., arXiv 2306.05685), and Anthropic's context-engineering guidance is to keep to the smallest set of high-signal tokens, which is why the worker sends a bounded digest, not the transcript. Not built: chunked map-reduce for very long sessions (the digest is already capped at about 6000 tokens, and extra calls would multiply the cost).

Session details opens when you click a recorded session title. Sessions without a local transcript show their saved summary and recorded metrics. It shows the goal and outcome when analysed, health signals, recorded tool names and their results when available, edited files, and harness usage. Generate summary or Refresh summary uses your configured Claude to name the work and describe what happened and what remains. Continue as a task previews the handoff before starting work in Cully. Tool arguments and outputs stay in the harness transcript. Cursor records tool names but does not provide their results or usage in its transcript.

Session health scores each session from 0 to 100. Signals follow what coding-agent harnesses watch for ("Harness Engineering", arXiv 2609.00006): the same call repeated three or more times in a row, the same call failing three or more times, ending after changes with no test run, and the judged outcome. Make an eval turns a completed session into a test case (goal, checks, what it did) saved under evals/. Evals runs a case on a fresh agent in its own worktree and a judge scores it pass, partial or fail.

The coach reads all analysed sessions and suggests a job, skill, MCP server, habit or eval; it runs about once an hour while naming is on, or when you ask. Everything above is kept in the local database. Saving it to the Cully MCP is not built yet; the records carry a synced field for that.

Keep going until checked ​

Turn on Keep going until checked when you start an agent and, after each turn, Cully makes sure the agent ran tests after changing files, steers it when it repeats the same call or the same failing call, and judges its work against the "done when" lines you wrote. It stops after three rounds (up to six), after 200 tool calls, or after eight identical calls in a row. Every message Cully sends is shown in the feed.

Setting up Cully's memory with a skill ​

Cully installs a second skill, cully-setup, beside the main one for Claude Code, Codex and Cursor. Ask your agent to "set up Cully's memory" (or to fix "Cully MCP needs sign-in") and it follows a runbook: choose between the full local stack (cully setup --all: PostgreSQL, Mem0 with its pgvector database, the data API and the MCP server in Docker), an existing remote server (cully setup --mcp-url URL, with --oauth when it uses OAuth, or a header token), or staying in local mode; check Docker and the CLI read-only first; run setup; then verify by calling a memory tool, listing the containers and watching the UI header change from "Local mode (SQLite)" to connected. The skill never prints a credential and never purges data or volumes without being asked.

Supervising, not just forwarding ​

Cully is a supervisor over harnesses: it does not run the model loop, it steers and checks the harness that does. Features drawn from reading how eleven open-source harnesses work (the paper "Harness Engineering", arXiv 2609.00006, and the source of Codex CLI, Gemini CLI, OpenCode, Mistral Vibe, OpenHands, Aider, mini-swe-agent, Hermes and Pi):

  • Stuck detection. While a task runs, Cully watches its tool calls for the same call giving the same answer three times, the same call failing three times, or two calls taking turns. The task window shows a red line with a Nudge button that tells the task it is going in circles; the board card shows a "Stuck" chip. The agent's own todo-list updates are never counted. Nothing is stopped automatically.
  • Risk on every permission card. Low, medium or high, from fixed rules over the command or path (no model is asked): reads are low; writing files, installing packages, building and testing are medium; deleting recursively, sudo, git push, reaching another machine, force-resetting git, deleting cluster or database data, writing a system or secrets file are high. A high-risk call is only ever allowed one at a time: "Allow for this task" is not offered.
  • Ask, don't block. The default blocks (git push, curl, wget, ssh, scp, nc, kubectl) now become questions on a card when a task can ask you, which it can by default. A rule that asks wins over a broad allow, so they ask even when commands are allowed in general. Turn Ask me about risky commands off on the Permissions page to block them outright again; rules you add yourself are always blocks.
  • Limits per task. Set "Stop at $" and "or after turns" when you start a task. Cully stops it at the limit with a typed reason (cost limit or turn limit), says so in the chat, and shows it on the board. What it did stays on its branch.
  • Approvals from anywhere. A Needs you button in the header (and the top of the home page) lists every question any task is waiting on, with the tool, the risk label and exactly what it wants to do, and lets you Allow once or Deny right there; the task carries on at once. A new question also raises a notification (sound, tab flash, desktop) like a task waiting for a reply.
  • A shareable report. From a task's More menu, Open a shareable report or Download the report: one self-contained page (no scripts) with the goal, the plan and how far it got, where it ended, the files changed with lines added and removed, whether the checks passed, the time, cost, tokens and tools used. It holds no file contents, no token values and no folder paths beyond the folder's name, so it is safe to attach to a pull request.
  • A first minute with nothing to set up. Before you have started anything, the home page says what Cully already found on this machine: your sessions across Claude, Codex and Cursor, how many are analysed and how many need a second look, with links to see them. Hide it once you have seen it.
  • A checked contract. The Harness overview lists what Cully can do with each harness and checks the installed Claude Code's --help for every flag Cully passes. If a release drops one, the features that need it turn themselves off with a plain explanation, instead of failing silently or passing a flag Claude Code would reject.

The top bar has three places you use every day: Tasks, Board and Sessions. Agents, Harness and Dashboard are under More, which lights up when you are in one of them and shows the Dashboard's unread count. Needs you (right of the bar) is where approvals and replies wait. The addresses are unchanged, so existing links and bookmarks still work.

Tasks that outlast the page ​

The Tasks overview (#/tasks, linked from the home page's "All tasks and sessions") groups every task by where it stands, under a summary strip with the three counts: Needs attention (waiting for your reply, a tool waiting for approval, stuck, failed, or stopped at a cost or turn limit or by a server restart), Running (working or starting) and Finished (done or closed). Needs attention comes first when it has anything in it; each group has a count and folds. The Today, This week and All time filter and the search apply to all three. Each card has Continue (or Reopen and continue) and Close, and an expandable Sessions (N) list: a task is made of sessions, and each row shows its harness (Claude Code, Codex or Cursor), a short session id, when it started and ended, its state, and its turns and cost when known, with an Open link when its run is still in this server. Closing stops any run still going and moves the task to Finished; nothing is deleted, and continuing a closed task reopens it. The status comes with GET /api/tasks (status, why, and each session's run, state, ended, turns, cost); a task that was going when the server stopped is listed as stopped and needing attention, never as running. Records saved before sessions carried these fields still load.

Saved to Cully memory. When the Cully MCP is connected, tasks and sessions are also saved to PostgreSQL, where Mem0 indexes them by meaning, so a later session on any machine can find them. A task that has settled (finished, failed, stopped or closed and quiet for five minutes, or waiting on you for half an hour) is saved once: each of its sessions is registered with cully_session (harness, the harness's own session id, the branch and the task name), which is how memory counts a task's sessions, and one summary note is written with cully_log, made from the task's goal and ending and the analysed summary of each session. Analysed sessions that belong to no task are saved one note each, a few every ten minutes, newest first, so a long history fills in over hours instead of in one burst. A changed task is saved again; an unchanged one never is. Nothing holds a prompt beyond the ask, a file's contents, a folder path or a token, and nothing is sent in local mode. The relay is the same one that saves agents: a short headless Claude call allowed one tool and verified afterwards, a few tokens each.

A task is the unit of work you care about, and it can be more than one session on more than one harness: the run Cully started, the session you resumed later, a Cursor or Codex session it was continued from. Cully keeps each task in its local database (state, title, what it was last doing, how many files it changed, and every session it has had with the harness of each), so work from today and this week is still there after the server restarts. The home page lists them under Your tasks (Today, This week, Earlier) as cards with harness badges. Continue resumes the task's last Claude session so the conversation carries on; when the work began in another harness, or that session is gone, a new run starts from a handoff of the task (what it was asked, where it stood, the sessions it had) in the folder it worked in, and it is added to the same task.

The task window and the board ​

The task window gives chat and its message composer the full space beside the left sidebar. The agent's plan is pinned above the conversation, and related tool calls are grouped inline. The sidebar shows recent graph steps, task context, and usage. Open Task details from the header or Open task graph from the sidebar to see the complete graph, summary, checkpoints, and file changes.

Scrolling follows the same rule as other chat apps: only the conversation scrolls, never the whole page, and scrolling it does not drag the page along. It stays at the newest message while you are at the bottom; when you scroll up to read, a Latest button shows how many messages arrived meanwhile, and your own message always scrolls into view. A very long reply is shortened with Show all, code blocks scroll on their own, and Home and End jump to the start and end of the chat. The stage line (context, recall, scout) shows only while it is running or has failed.

The Board is a kanban: Up next, Working, Needs you and Finished side by side, each scrolling on its own. Press + in Up next to add a task, drag one from Up next to Working to start it, and a running one to Finished to stop it. Every card also has a Move to… menu, so nothing needs dragging.

Steer or follow up while a task works ​

While a task is working the composer offers two ways to send. Steer now (Enter) writes the message at once; Claude Code holds it and applies it at its next step. After this turn (Alt+Enter) holds the message and sends it when the turn ends, one per turn and in order. A harness that cannot take input mid-turn sends a steer as a follow-up, and the page says so. When the task is waiting there is one Send. Queued messages show as chips under the composer with Send now (promote) and a remove button, and a count appears on the task's Board card and in the left list. Stopping a task drops its queue. The queue is per task and is not the Board's Up next list. API: POST /api/agents/{id}/message takes mode (steer or followup), the agent view has queue, DELETE /api/agents/{id}/queue/{qid} cancels and POST /api/agents/{id}/queue/{qid}/promote sends now. Changes arrive as a quiet queue_update event.

Tools, permissions and suggested replies ​

The Tools page of the Harness lists every tool on the servers tasks connect to, grouped by server, and lets you choose for each one: Ask (the default: the task pauses and asks you in its window), Allow (it may use it freely) or Block (it never gets it). Bulk buttons set every read-only tool to Allow or every deleting tool to Block, and descriptions and parameters can be loaded for one server or all of them. The Permissions page was redesigned the same way: switches for what a task may do on its own with a plain-words summary on top, the extra rules and the never-allowed rules shown as readable chips ("Commands starting with git push") with quick-add suggestions, and one save bar.

The suggested replies under a task's message box come from that task: if its last message asked something, Yes and No; after edits with no test run, Run the tests; after a failing check, Fix the failing check; after a passing check, Commit; near a full context, Wrap up and hand off. They are worked out from facts the page already has, so they cost no tokens.

The task window hides its Changes and Summary column until a task has changed a file, so the chat fills the window, and keeps its secondary actions under a More menu. Task names are made from the first sentence of what you asked, without the "can you please", at most eight words.

The "Analysing your sessions" bar in Session insights counts a session still in use as waiting and says so (this page's own session is one): a session is analysed 15 minutes after its last activity. Cully's own throwaway calls, such as the server check, are left out of the library.

Usage limits show "Not reported" when Claude Code has not said, never 0%, and keep a figure heard earlier until its window resets. Check now asks each account one tiny question on the smallest model and reads the limits from the answer.

Asking you before a task uses a tool ​

A task runs without a person at a keyboard, so it used to refuse any tool use outside its allowed list. Now Cully asks you. When a task wants to use something it is not allowed to yet (a command such as ssh, a file outside its folder, a web fetch), the task window shows a card with the tool and exactly what it wants to do, and the task waits. Allow once lets that call through; Allow for this task lets the same exact call through again without asking, for the rest of that task; Deny refuses it and the task carries on without it. The card shows everything the task sent, in full, and your answer is tied to a hash of exactly that, so you can only allow what you were shown. A request too long to show (over 20,000 characters) or one that contains one of your tokens is refused instead of shown clipped or hidden. Nothing is allowed unless you click: an unanswered question is refused after ten minutes, and stopping the task refuses it at once. Tools on the Harness permissions always-blocked list never reach you; they are refused first. Behind the card, Claude is started with --permission-prompt-tool pointing at a small helper that talks to the Cully server over a private socket (mode 0600, in a private temporary folder) that exists only while the task runs.

Any folder, with or without git ​

A task can start in any folder you can write in. In a git repository it gets its own branch and worktree. In a folder with no git it works in the folder directly, with no branch to review; the task shows "no git" where the branch would be. Cully works out which when the task starts, so you never have to set git up first. Your home folder and / are refused as too broad.

Reviewing what the agent changed ​

The Changes tab is a review screen, the same for Claude Code, Codex and Cursor because the diff comes from git. It starts with a Review summary: files, lines added and removed, new, deleted and renamed counts, whether any test file changed, and the files worth a closer look with the reason in plain words (lockfiles, dependency lists, CI pipelines, names that look like secrets, build and deploy setup, database migrations, binary files, a very large change to one file). A file list or tree (hide it with Hide file list) shows a status letter, +/- counts and a Check badge for flagged files; the filter narrows both. Each file has a Viewed box: ticking it folds the file away, the count ("3 of 12 viewed") is kept in this browser per task, and a file that changes again is no longer viewed. Unified or Split is remembered; split widens the panel. Code gets syntax colours from a small built-in tokenizer (Go, JavaScript and TypeScript, Python, shell, Rust, C-like languages, CSS, JSON, YAML, Markdown; one line at a time, so a multi-line string or comment may be coloured wrongly) and the words that changed inside a changed line are marked. Colours are theme tokens (--tk-*, --wd-*) checked by node scripts/ui-contrast.js.

Point at a line's gutter + (Shift+click for a range) to ask the agent about it. Ask the agent sends the file, line numbers, the quoted code and your comment as one message; while the task is working it goes as a follow-up after the turn, never a steer in the middle of an edit. Add to my review collects several comments and sends them together. A sent comment stays under its line as Pending until the agent has finished a turn, then shows Answered; its reply is in the chat. Keys, while focus is inside the panel (click a file name): j/k next or previous file, n/p next or previous change, ]/[ next or previous unviewed file, v mark viewed and move on, o open or close, Up and Down then c or Enter to comment on a line, ? for the list. They follow the single-key shortcuts switch in Help. Hand off asks the agent to "Commit your work" (it does not push) and gives pull request text (title, description with the change list, tests and risky files) and the branch name to copy. Each open file also has Copy path, Copy diff and, when the task folder is a plain absolute path, Open in VS Code and Open in Cursor links.

Checkpoints ​

Cully snapshots every task's files before its first turn and after each turn that changed something, whatever harness runs the task. The Checkpoints tab in Task details lists them newest first, each with its turn, time, file count and the first line of the agent's last message. Expand one to see its files and what that turn changed, or press Revert files to here to put the task's files back as they were: edited files are restored and files created later are deleted. Cully takes a "before revert" safety checkpoint first, so a revert can be undone from the same list. Revert is refused while the task is working; stop it first. Snapshots are kept as private git refs under refs/cully/checkpoints/<task>/<n> (untracked files included, ignored files not), so the branch, your commits and your staged changes are never touched; the last 100 per task are kept. For non-Git folders Cully keeps checkpoints in a private repository. API: GET /api/agents/{id}/checkpoints, GET|POST .../checkpoints/{n}/diff, POST .../checkpoints/{n}/revert.

Voice ​

The Speak button beside the task box starts a task by voice. Click it, say the task, and stop talking: it stops after 1.6 seconds of quiet (or click again, or press Escape; it gives up after 10 seconds of silence and stops at two minutes). The audio goes to the Cully server, which turns it into text with a speech model on that machine, and the text becomes the task. With Start when I stop talking on (the default) the task starts at once; turn it off to check the text first.

The first click offers Set up voice: Cully creates a private Python environment under its folder (voice/), installs faster-whisper and downloads the distil-large-v3 model, about 1.5 GB, which takes a few minutes. The model runs on the server's CPU, one worker stays loaded while you use it and stops after ten idle minutes. The audio is written to a private temporary file, deleted straight away and never kept or sent anywhere. To use a different engine, set CULLY_STT_CMD to a JSON list that prints the text, with {file} where the audio goes, for example ["whisper-cli","-m","/models/ggml-large-v3.bin","-f","{file}","-nt","-np"].

The browser lets a page use the microphone only over https or on localhost, so over plain http://10.x.x.x the button explains this instead of recording. Cully cannot get around that: the microphone is on your computer and only the browser can open it. Allow it once, per browser: in Chrome or Edge open chrome://flags/#unsafely-treat-insecure-origin-as-secure (edge://flags/...), add the address you use (for example http://10.162.0.20:7778), set it to Enabled and relaunch; in Firefox set media.devices.insecure.enabled and media.getusermedia.insecure.enabled to true in about:config. Or use an SSH tunnel (ssh -L 7777:127.0.0.1:7777 HOST, then http://127.0.0.1:7777), or start the server with --tls-cert and --tls-key and open the https address.

Continue any session as a task ​

Every session on the Sessions page, from Claude, Codex or Cursor, has Continue as a task. It starts a new task in the harness Cully runs tasks in (the one you opened the page with, Claude by default) and gives it the session's handoff as its first message: the goal, what it did, where it ended, whether it drifted or left changes untested, what would have gone better, and the path to the full record, which the task is allowed to read. You can add what to do next. The handoff is built from the analysis the library already did in the background; a session not analysed yet gets only its size and checks, and the dialog says so. The original session is not touched, so work begun in Cursor carries on in Claude. A folder with no git works too: the task runs in it directly, with no worktree. Resume and Fork of a Claude session also work in a folder with no git, for the same reason.

Suggestions, background jobs and the Advisor ​

The Advisor is the one place Cully suggests things. The Advisor page opens with a Suggestions inbox that gathers every pending suggestion: agents, background jobs, tips from the coach, a workflow-rules update and the latest scout digest. The other pages (Agents, Background jobs, Workflow rules) show what you have approved.

An agent and a background job are different. An agent runs a model: it reads, reasons and reports, keeps notes between runs, and costs tokens. A background job is one fixed command that the Cully daemon starts at a time of day, with no model, no judgement and no tokens; it does the same chore every time and leaves a log. Cully proposes a job only for a chore you repeat that one command can do (tests, a linter, git fetch --all, a build), picks a quiet time, shows the exact command and lets you change the time. Approve adds it to ~/.cully/jobs.json (see scheduled jobs); Reject forgets it. Before proposing anything, the Advisor checks what you already have. It is told your existing jobs and agents, and Cully drops a proposal that repeats one: the same command, the same program on the same folder as a job already waiting, or something you rejected. When the idea matches an existing job or agent but would change it (another target, a new time, different tools), it is offered as an update of that job or agent, shown as now and would-become, and approving it changes that one instead of adding a second. Cully proposes rarely and one idea at a time: an agent or a job is only proposed for a pattern seen in at least six sessions over at least three days (ten for "changed files and never ran tests"), never from the Claude folder itself, only the strongest pattern is offered, nothing new is offered while two proposals (one for jobs) wait for an answer, and it looks again at most every three days once ten more sessions have been analysed. Proposals about the same job collapse into one. Every proposal shows what it rests on ("Based on 7 sessions over 5 days", with the sessions listed) and is dropped if it is not about the repeated work, so a generic idea that merely sounds useful never appears. Only sessions from the last 30 days count. An agent is proposed only for the same kind of task done again and again; skipped tests become a tip, or a job that runs the tests, never an agent. Proposals come from the analysed sessions (their goals and problems, not your prompts, which the library never stores), about once a day once five new sessions are analysed, or when you press Look for background jobs. A proposed command is checked again when you approve it, against an allowlist of fixed shapes (git fetch or status, make with a known target, go test or build or vet, npm test or run, pytest); anything else is refused. See scheduled jobs.

Scout history and the scout ​

Every scout result and every piece of advice is kept in the local database (newest 500) and shown at once. Turn on Scout the web while you work: while a session changed in the last 90 minutes, the advisor gives at most one search an hour, from the last week of analysed sessions. When you are away, nothing new is searched; every 12 hours the scouts found so far are merged into at most three suggestions, which appear at the top of the history and in the Suggestions inbox. A search is only sent when it uses general technical terms: Cully refuses any that contain a path, link, email, ticket number, or the name of a folder or repository, and drops one that is about the same as a search from the last week (by shared words, so a rewording counts as a repeat).

Harness permissions ​

The harness is the program that runs the model (Claude Code). Tasks the page starts run headless, so a tool that is not allowed is refused. Dashboard, More, Harness permissions sets what they may do: groups of tools (read, edit, commands, Cully memory read, Cully memory save, web), extra tools by name, and a block list that always wins. Defaults match what agents had before; changes apply to agents started afterwards and are saved in ui-settings.json.

Hooks, AGENTS.md and your failure log ​

Cully reads your own sessions for what the harness around the agent should change. None of it uses a model, and Cully writes nothing until you press a button.

  • Hook suggestions. A hook is a command the harness runs by itself at a fixed moment. When many sessions in a project that changed files ended without a check, and the project's build files say how to check it (a Makefile target, package.json script, go.mod, Cargo.toml or pytest config), the Advisor proposes a Hook: a Stop hook that runs that check when the agent finishes a turn and sends a failure back so it keeps working. Add the hook writes it into that project's .claude/settings.local.json (which Claude Code keeps out of version control) after a backup of the file and keeps your other settings; Hooks Cully added on the Harness page takes it out again. The hook runs a fixed Cully command, cully _internal hook-check, with a check Cully took from the build files, and it lets the agent stop when it is already continuing because of the hook, so it cannot loop. A project that already has a Stop hook is left alone.
  • AGENTS.md for the project. The task rail has an AGENTS.md section for the task's folder (the same list is on Harness). It follows the research on context files: Evaluating AGENTS.md found they did not generally raise task success and raised cost by over 20%, that agents follow the commands a file names, that project overviews did not help and that repeating the README added nothing; How Many Instructions Can LLMs Follow at Once? found compliance falls as rules multiply and earlier ones win. So Cully suggests a commands-only starter when there is no file, a line naming the command that checks the work, removing a structure tour or lines that repeat the README, and trimming a long rule list. Each card says why, and text to paste is shown with a Copy button.
  • A harness roadmap from your failure logs. Failed tool calls are already in your sessions. Cully groups them by project and kind of call, keeps those seen in at least 3 sessions on at least 2 days, and says which change would stop the repeat: the working command in AGENTS.md for a check that keeps failing, a rule to read a file again before editing, or a look at an MCP server that keeps failing. It uses tool names and the redacted command each call ran, and the answer is kept for half an hour.

Answering a question ​

When an agent needs an answer from you, it ends its message with one line that starts with Question: and lists any choices as short numbered lines (Cully adds that instruction to Claude tasks). The task then shows a Cully asks card at the bottom of the chat: the question, each choice as a button, and a box to write your own answer. Press Send answer or Cmd/Ctrl+Enter. While a question waits, the generic Yes / No / Explain chips are hidden so they cannot answer it badly. If a message asks a question but has no Question: line, Cully shows the card when the last sentence is a question.

The task rail ​

The right-hand rail of a task holds small summaries that cost no model tokens:

  • Requests. Every message you sent the task, grouped by kind (feature request, debugging, question, review, refactor, tests, docs, deploy and release, other) with a count per kind. The kind comes from a keyword score. Each line is a short summary written in the background by a cheap advisor call (never your plain prompt); while it is being made the row says "Summarising…", and if the advisor is unavailable a trimmed first clause is shown. Tool nudges such as "You have gone quiet" are not listed. Click one to scroll to it in the chat. GET /api/agents/{id}/requests returns the same list.
  • Health. One word for how the work stands, from counts Cully already keeps: On track, Edits not checked, Checks are old, Last check failed or Repeating a failure.
  • Nudges. When a turn ends with the same command failing twice or more, or four or more edits and no check run, Cully adds one note saying so, once per kind per task.
  • Ask @name instead. When what you type is the job one of your agents does (matched on the words of its name, role and instructions), a hint under the box offers to put @name in front.

The task goal ​

Each task keeps a goal: what it is for, what done means and the requirements. A message can add a requirement and the goal updates at once. Rewording the job, dropping a requirement or changing what done means is held until you press Update the goal or Keep the goal. Cully checks this in code, so a model that mislabels a removal as small deletes nothing.

Task names and sessions ​

A task can span many sessions. Continuing a session that belongs to a task (Resume on Sessions, Continue from a session, Start a new task with a handoff) carries on that task under its name, and the new session joins its list. A weak name (a bare id, a "Continue:" name) is replaced at once from the session analysis. When the analysis says the work was something else, the rail offers a better name and description once for each analysed session: Use this name or Keep mine. A name you chose is never replaced silently. The API is GET /api/agents/{id}/rename and POST /api/agents/{id}/rename/{accept|dismiss}.

Agents ​

An agent is a named worker with a role, instructions on how it works, a set of tools, a folder and short notes it keeps between runs. Create one on the Agents page, or start from a template (pull request watcher, test guardian, dependency reviewer, docs keeper). Its name, role and instructions are added to the system prompt at the start of every run, ahead of the task, so that part stays the same and the prompt cache can reuse it. Each run is an ordinary task in its own worktree, shown on the Tasks tab; at the end it saves up to three short facts, kept to 2,200 characters with the newest winning, and the next run reads them first. An agent runs when you press Run now, or every hour or day while the page server is running. Definitions, notes and run history are in identities.json in the Cully folder.

Cully also proposes agents. About once an hour while analysis is on, it reads the analysed sessions and suggests agents for work you repeat or skip. A proposal shows what it would do, why, and its tools; nothing exists until you press Review and create, change what you like and save.

Finding repeated work. The advisor reads one short line per recent session (across all folders, then at each of your busiest folders) and names the jobs you keep doing, such as deploy and verify or diagnosing the same failure. Cully checks each pattern against the sessions it cites (at least 3, on at least 2 days) before it can become a proposal, tries the next pattern when the strongest is held, checks every 12 hours or after 5 new sessions, and shows the proposer the commands the sessions really ran. Background job proposals share the same look.

Using an agent. Ask one from a task chat with @name. Each answer is checked: when it names files, Cully looks for each in the task's worktree and says under the answer whether they all exist or which were missing. The Agents page shows how many answers an agent gave, how many named only real files and how many you sent on to the task. Not useful on an answer teaches the agent: your question, never its answer, is kept as a short note it reads before its next answer.

Improving an agent. Every 5 runs or answers, Cully reviews the agent's instructions against how its runs ended and your verdicts and proposes an update you accept or dismiss. An update can change the instructions only: it cannot add tools or change the schedule beyond switching it off, whatever the agent's notes or run summaries said.

Suggestions from the coach can be applied from Advisor and Sessions → Session insights: to a task started from Cully (sent as a message), as a new task, or copied for a session open in a terminal, which the page cannot write to.

Token use and savings ​

Insights and Savings also list What each kind of request cost: tokens, tasks and the average per task for each kind of request (feature request, debugging, question and so on), from the task's first message.

Each finished task writes one line of counts to usage-log.jsonl in the Cully folder: turns, fresh input, input served from the prompt cache, output, and whether it loaded every connected MCP server or only the ones you chose. No prompt or reply is stored. The Savings page adds these up for the last 7, 14 or 30 days: tokens handled, the share of input that came from the cache, tokens saved by the cache (about nine tenths of the cached tokens, because a cache read costs about a tenth of fresh input), a per-day chart, where the tokens went by folder, and the biggest tasks. Once there are tasks of both kinds it compares the input each turn carries with every server loaded against only the chosen ones, and shows what limiting servers saved.

The harness ​

The Harness page is about the program that runs the model (Claude Code, Codex or Cursor). Tasks run in the one the page was opened through; sessions, the library, the advisor and the scout cover all three, and each session is marked with its harness. For each harness the page lists what it has set up on this machine: its version and model, its own permission mode, the MCP servers it has connected (with their status once a task has reported it, and whether tasks load each one), its skills, hooks, plugins, slash commands, subagents and instruction files. Only names and counts are read: headers, environment values, command arguments and URL queries are never shown. For the harness tasks run in there is also a Permissions tab: the groups of tools a task may use, the connected servers it loads, extra allowed tools and the always-blocked list.

Each task has a panel down the left side: what it is doing, how full its context window is and how many tokens are left, the harness's own 5-hour and 7-day usage limits with their reset times (as the harness reports them), tokens used by the task, today and this week, how much came from the prompt cache, the list price so far, and a link to how the harness underneath was set up. When the context passes 80 percent the panel and the task header offer a new task that starts from a handoff. Sessions of every harness show a context percentage where the harness records one (Claude estimates the window from the model name; Codex records the real one; Cursor records none).

Workflow rules and reviewing agents ​

Workflow rules keeps one skill, dev-workflow-rules, that tells every harness how you work: the projects you are on, the harnesses you use, habits that help and things to avoid. About once a day, when several new sessions have been named, Cully drafts an update from your sessions and shows exactly what would change as a diff. Nothing is written until you press Approve and save; then it is written to the skills folder of each harness that has one (Claude, Codex, and Cursor if it has a skills folder), and the file it replaces is kept beside it as SKILL.md.prev. A draft with a secret in it, or without a proper skill header, is refused. While a draft waits, the Dashboard badge, the Overview and a browser notification ask you to review it. The page can only notify while it is open.

Reviewing agents. When you start a task with Keep going until checked, you can ask up to two of your approved agents to review the finished work. A reviewer is read only, sees the task's goal and change and may read the task's worktree, and ends with VERDICT: ok or VERDICT: concerns. Concerns are sent back into the task as a message and count as a round; if there are none the task finishes.

Claude Code compacts its own history before the context window fills, so a full window is not treated as a problem. The task panel shows how many times it has been compacted, and offers a fresh task from a handoff only after three or more compactions, when detail from early on is likely gone.

Saving agents to Cully memory ​

In local mode an agent is a record in the database (its workspace folder stays on disk). When the Cully MCP is connected, Cully also saves each approved agent to Cully memory (Postgres) through the new cully_agent_save tool, so it follows you to another machine; cully_agents lists your agents and cully_agent_delete removes one. The page has no MCP login of its own: a short headless Claude call, allowed to use only that one tool, makes the save, at most every ten minutes and only for agents that changed. The local database stays the source of truth, a failed save is retried, and the saved definition never includes a path on this machine. Migration 011 adds the table; it is private to the owner like every other record. Restoring agents from memory onto a new machine is not built yet.

Look and keyboard ​

One shared layer (polish.css, loaded after style.css) gives every page the same spacing, 6/10/14 px corners, pill-shaped chips, one input and button look, a focus ring on every control, and short 150 to 200 ms motion that stops when the system asks for reduced motion. The top bar and left rail mark the current page with a fill and an underline, and the buttons that only show an icon carry a label for screen readers. On narrow screens the navigation, tabs and buttons grow to a 44 px touch size.

A final pass at the end of ui-insight.css settles the differences between pages: one page frame (1320 px wide, the same side padding), one page header (title, one-line description, actions on the right, a hairline below), one heading scale (24, 20, 15 px, with 11.5 px uppercase section labels), one stat tile (big bold number over a small muted label), one table style (sticky quiet header, numbers right-aligned in tabular figures), no card inside a card, and one sans plus one mono typeface. --link is the accent used as text, kept above 4.5:1 on every surface in all three themes.

Press Ctrl+K (Cmd+K on a Mac), or use the Search button in the top bar, to open the command palette: type to filter (letters in order also match, so dsh finds Dashboard), Up and Down to move, Enter to choose, Esc to close. Start with > for commands only, # for tasks only or / for pages only. With nothing typed it lists what you chose last, then the pages, New task, Status, Notification settings, the three themes, the two densities and your recent tasks by title. g then a letter goes to a page from anywhere outside a text field: g t Tasks, g n New task, g b Board, g s Sessions, g d Dashboard, g a Agents, g h Harness, g i Improve Cully, g c Setup. The header never overflows: when the window is narrow, Search shrinks to its icon, the Needs you button to its count, and then Sessions and Board move into More. Messages that pop up appear in one stack under the header, three at a time; the bell keeps the last twenty. Press ? outside a text field for the list of shortcuts: Ctrl or Cmd+Enter starts a task from the new-task box, Enter sends a message in a task window, y and n answer the first waiting question, Home and End jump in a task feed.

Accessibility. a11y.js adds the keyboard and screen-reader behaviour on top of the views. The first Tab on any page shows Skip to content. Every page has one h1 (a hidden one where the page shows none), a labelled main region, and the tab title reads <Page> · Cully (with the waiting count in front); on a page change focus moves to that heading. The palette is a combobox with a listbox: Up and Down move the highlighted result without leaving the input, the number of results is announced, Tab stays inside, and Esc closes and returns focus to where you were. Dialogs are labelled and modal, keep Tab inside, close with Esc (or a click on the backdrop) and give focus back to the button that opened them. In a menu, Esc closes it and returns to its button, and Up, Down, Home and End move between items. The conversation is a polite live log that announces new messages without taking focus, errors are announced as alerts, and a status dot carries its state as text. Under prefers-reduced-motion all animation stops, scripted smooth scrolling included; under prefers-contrast: more borders and secondary text strengthen and blur effects go. Targets are at least 24x24 CSS px at either density (WCAG 2.2 target size), the sticky header never covers a focused or anchor-jumped item (scroll-padding-top, scroll-margin-top), and every drag has a non-drag way: the resizers take the arrow keys, Home and End, and each Board card has a Move to... menu (arrow keys, Enter, Esc) that does what a drop does and says so in the same toast.

Colour, density and checks. ui-shell.css owns every colour token. A theme is a few inputs (neutral hue and chroma, text hue and chroma, accent hue and chroma, a contrast level --ct) plus one lightness table per scheme; OKLCH turns them into a 12-step neutral scale (--n0 to --n12: page, panel, borders, field border, faint, secondary and primary text), an accent scale and four status scales (--ok-*, --warn-*, --bad-*, --info-*, each with bg, line, solid and text). The older token names (--bg, --ink, --forest-hi, --red) point at steps, so components did not change. Text steps sit far enough from every surface step that contrast holds by construction. Graphite has its own table (a calm slate grey, lighter than Cully dark), not an opacity of dark. In the dark themes a surface is lifted by a lighter step plus a hairline instead of a shadow: page, panel, sunken, raised, then the overlay step for menus, dialogs and the palette, which are the only layers that keep a shadow. The Theme menu also sets the density, Comfortable or Compact; it is a data-density attribute on <html> that theme.js sets before the first paint and keeps in localStorage like the theme, and it drives row height, paddings, control height and one type step through --d-* tokens (never below 12 px type or a 24 px target). Motion uses --dur-fast, --dur-base, --dur-slow (100, 160 and 240 ms) and --ease-out, --ease-in, --ease-in-out; prefers-reduced-motion zeroes them. A skeleton or spinner appears only after about 350 ms, a skeleton for a whole view and an inline spinner for one module. The bell keeps the last 20 events with their time, each dismissible, in the Recent list.

node scripts/ui-contrast.js is the contrast check, and it is meant for CI: it evaluates the real stylesheets (cascade, OKLCH, calc) for Cully light, Cully dark, Harbor and Graphite, each also under prefers-contrast: more, and checks over 240 pairs: text on every surface at 4.5:1, status text on its own background and on the page, status dots, focus rings and field borders at 3:1, and floors on how far surface levels and hairlines must stay apart. It prints only failures (--all prints every ratio, --json machine-readable output) and exits 1 when any pair fails. Run it after changing a colour token; scripts/ui-contrast.js is also run by go test ./internal/cully/ (TestUIContrastMatrix) when node is installed.

Colour language ​

One colour, one meaning, in every theme. The tokens live in ui-shell.css (look for "colour language") and are built from the status scales, so they follow each theme's lightness table. A component never picks a hue; it picks a meaning.

MeaningColourTokensUsed for
Working, infoBlue--state-working, -ink, -bg, -lineA task that is working (dot, pill, status line), preparing (hollow ring), tool, helper agent and checking phases, a running automation, an info banner, a hunk header, a reading tool call
Needs you, warningAmber--state-waiting*A task that waits for you, stuck or stale (dashed ring), the Needs you lane, medium risk (reaches the web), partly passed, mixed evidence, a tool call that changes files
Done, ok, addedGreen--state-done*A finished task, a passing check, an added diff line, low risk (safe), strong evidence, a connected server, money saved, a scheduled automation
Failed, danger, removedRed--state-failed*A failed task or run, out of tokens (hollow red ring), a removed diff line, high risk, a deleted file, a failed check
Idle, stopped, queuedGrey--state-stopped*A stopped or closed task, a queued task (hollow ring), weak evidence (dashed outline), an unchecked server
Primary action, focus, linksThe accent (--ah, six hues in Preferences)--forest-hi, --a-*, --link, --focusThe main button, the focus ring, links, selected tabs, switches. Never a state.
Harness identityOrchid, cyan, ink--harness-claude, --harness-codex, --harness-cursor (each -ink and -bg)The harness chip, the usage bar. Diamond, square and triangle marks go with them, because a circle always means a state
Chart seriesSix hues on a three-step lightness ladder--chart-1 to --chart-6 (--cat-* for the timeline lanes)Categorical series; series 1 is the default single-series bar
SyntaxViolet, orange, cyan, blue, grey--tk-kw, --tk-str, --tk-num, --tk-fn, --tk-comCode in messages and the diff; 4.5:1 on the code, panel and diff-line backgrounds. A number is never red
Chart scalesBlue ramp, blue to amber--seq-1 to --seq-5, --div-neg, --div-mid, --div-posSequential and diverging data. Never red to green

Rules that keep it learnable:

  • A state is never the accent, so changing the accent hue in Preferences cannot make "working" look like "done". With a green, blue or amber accent a button may share a hue with a state; shape (button against dot or pill) and the word still tell them apart.
  • A state always carries a second cue: its word, a shape (solid dot working, hollow ring preparing or queued, dashed ring stuck, hollow red ring out of tokens, ○, ✗ and ✓ in the status line), or both. The helper phase is a ring and the checking phase is striped, in the working blue.
  • Risk reads safe (green), reaches the web (amber), high risk (red). A diff reads added (green), removed (red), hunk (blue).
  • The ink token of a state is for text (4.5:1 on every surface and on its own -bg), the plain token is for dots, bars and icons (3:1 on every surface), -bg is the subtle fill of a pill or card, and -line its border. scripts/ui-contrast.js checks all of them in every theme and accent hue.

node scripts/ui-contrast.js --cvd simulates protanopia, deuteranopia and tritanopia (Machado 2009) and lists the colour pairs that come within a distance of 6 (OKLab, times 100) of each other. The chart lightness ladder was chosen by trying all 729 ways of giving six hues three lightness steps and keeping the one whose closest pair, under any of the three simulations and in a light and a dark scheme, is farthest apart (about 5.5). The red mark is darker than the green and amber ones (light themes) so deuteranopia keeps failed apart from done and waiting, and the harness hues (orchid, cyan) sit on the ends of that ladder. What remains: working blue and done green under tritanopia, amber and green under deuteranopia in Harbor and under protanopia in Graphite, the Codex cyan against working blue under tritanopia, and chart series 4 and 6 (violet and teal) under deuteranopia in the dark themes (5.5, just under the 6 line). All of them have a word or shape next to the colour.

Evals ​

Repeats. On the Evals page, Run each 3 times runs every approved case three times and marks each case Passed all, Flaky (passed some) or Failed all, so a lucky pass does not look like a working agent. An attempt that errors because the agent could not run counts neither way. It uses three times the tokens.

An eval is a small test: a task, a few checks in plain words and a judge that says pass, partly or fail, run again after something changes to show whether it got better or worse. The Evals page explains this and has two parts. Your agents: Cully drafts up to eight cases per agent from its role and rules (some where it should do its job, one where it should refuse, one awkward edge case); you approve the ones to keep, run them, and each answer is judged. A run only plans and answers; it never changes files and uses no notes. The page flags an agent whose instructions or tools changed since its last run. From your sessions: cases made from finished sessions, as before.

Suite health (top of the page) rates the tests as a measuring tool, not the agent, from 0 to 100: Distinct (near-duplicate goals and checks, found with normalised word and word-pair overlap), Informative (cases that passed every one of at least 4 graded runs carry no signal), Trustworthy (flaky cases, where runs at the same commit disagree, and cases that mostly end in an infrastructure error), Solvable (cases that failed every one of at least 3 runs are usually broken, not hard), Current (subject files gone from the folder, or never run) and Checkable (no check that names a test, command, file or number a program could verify, so a model judge alone decides). An infrastructure problem (no result, judge unreachable, timeout) is shown as Error, not the agent and never counted as a failure. A case whose source session changed files but whose run changed none fails on counts alone, and the judge is not asked. Repeats (Run 2, 3 or 5 times) show pass rate and pass^k, the chance that all k runs pass; a case that passed last week and fails now is marked Regression with the commit range when both commits are known. Housekeeping lists merge, retire and fix suggestions; nothing changes unless you click, Retire only keeps a case out of runs and never deletes or edits it, and Restore undoes it. Suite runs are budgeted: $10 per suite run and $25 per 24 hours by default (list price, POST /api/evals/budget changes them), saturated cases are skipped except a 20% daily sample that watches for regressions, retired and stale cases are skipped, and Preview cost shows the plan first. Session cases run on the program they came from (Claude, Codex or Cursor) and fall back to Claude if it cannot start; the judge is always Claude, so a Claude run is judged by the same model family, which is a known bias of model judges. Checks are not run as commands yet.

Activity ​

Activity opens on a feed of cards, newest first and grouped by day: tasks that finished, failed or need an answer, runs of your agents, eval verdicts, and what the scout and advisor found. A strip of counts for the last 24 hours sits on top, and anything that needs a look is pulled to the front. Each card shows what it was, how it went, a preview and its folder; click it to see the full text (as formatted Markdown, with the links) and the facts behind it, with a button to the page where it lives. Filter by Tasks, Agents, Evals, Scout or Advice. The This folder tab keeps the file and command timeline of the current folder.

The Harness page ​

Overview opens with What to look at: servers that need you to sign in or failed to connect, a warning when tasks load many tools (each tool description is sent every turn), servers not checked yet, and a missing instruction file, each with a button to the place to fix it. Under it the three harnesses sit side by side (model, permission mode, servers connected, skills, hooks, plugins, instruction files).

Connected servers is a list in the style of other MCP clients (Claude Desktop connectors, Cursor's MCP settings): one row per server with a state dot, name and address, tool count, a button for the one thing to do (How to sign in, Check again) and the switch for whether tasks load it. Servers that need you are grouped first; connectors you added in claude.ai sit in a collapsed group, since tasks do not need them. A row opens in place to say why a server is in its state and what to do: a server with no header credentials set uses OAuth sign-in, which only Claude Code can do (claude, then /mcp), and the steps and commands are there to copy; a server with headers set whose sign-in failed says its headers (names only, never values) were refused; a server that failed to connect says that is often temporary. States are checked when the page opens if they are over ten minutes old, and the top of the page says how old they are, with Check now. Before this change a server shown as a card had a coloured edge for its state (connected, needs sign-in, failed, not checked), whether it is a web address or a program, how many tools and prompts it offers, and what to do when it is not connected. Ones that need you come first; filter by state or search by name. The switch on a card decides whether tasks load that server, and the line above the cards counts the tools tasks will carry.

Opening a server shows its state and address, then its tools. A long list is grouped by service (for example jira and confluence) or, when there is no such prefix, by what the tools do. Each tool is marked Reads, Changes things or Deletes, a guess from its name that is there to help you scan a list of ninety; filter by it, search by name or description, and Copy tool name gives the mcp__server__tool name to use on the Permissions page. Load descriptions and parameters asks your Claude once to read the definitions.

Servers, tools and prompts ​

On the Harness page each connected MCP server is a card with a switch for whether tasks load it. Open a card to see its tools, prompts and resources in a scrollable list with search. Claude Code reports every tool and prompt name when a task starts, so those are known after the first task. Cully's own server lists every tool with what it does and what it takes, read from its source. For any other server, Load descriptions and parameters asks your Claude once to read that server's tool definitions (a few thousand tokens) and remembers the answer. Claude Code does not report resources, so the Resources tab says so.

Tasks on Codex ​

When Codex is installed, the new-task page shows a Harness picker (Claude Code, Codex, Cursor; see Tasks on Cursor below). Pick Codex and the task runs codex app-server over stdio JSON-RPC in its own worktree, like a Claude task: edit mode uses the workspace-write sandbox, plan mode read-only, with the on-request approval policy. When Codex asks to run a command outside the sandbox or change files, the same permission card appears (risk label, exact command, allow once, allow for this task, deny). Allow maps to accept, allow for this task to acceptForSession, deny to decline. High-risk calls are still allowed one at a time. GET /api/harness/available lists the installed harnesses; the API accepts {"harness":"codex"} and {"resumeThread":"<thread id>"} on POST /api/agents. Follow-up messages sent during a turn are queued and sent when it ends (no steering). What a harness can do comes from the capability matrix (/api/harness/capabilities), not from its name. Codex loads the MCP servers from its own config; Cully's server choice and tool groups apply to Claude only.

Message shapes recorded from codex-cli 0.172.0 (full notes in the spike file notes.md, kept under /twbuild/proshan/tmp/codex-spike):

  • initialize {clientInfo, capabilities}, then the notification initialized; thread/start {cwd, approvalPolicy, sandbox} returns {thread:{id}, model}; thread/resume {threadId, ...} returns the same; turn/start {threadId, input:[{type:"text", text}]}; turn/interrupt {threadId, turnId}.
  • Notifications: turn/started, item/started and item/completed (types agentMessage with phase commentary or final_answer, commandExecution with command, aggregatedOutput, exitCode, status, fileChange with changes), item/agentMessage/delta, thread/tokenUsage/updated (total and last breakdowns, modelContextWindow; inputTokens includes cached and cache-write tokens), turn/completed {turn:{status}}.
  • Approval: Codex sends the request item/commandExecution/requestApproval (or item/fileChange/requestApproval) with an integer id; the answer is {"id": <same>, "result": {"decision": "accept" | "acceptForSession" | "decline" | "cancel"}}.

Tasks on Cursor ​

When cursor-agent (or agent) is installed, Cursor appears in the same Harness picker. A Cursor task runs cursor-agent -p --output-format stream-json --stream-partial-output --trust --workspace <worktree> in its own worktree; POST /api/agents accepts {"harness":"cursor"} and {"resumeThread":"<chat id>"}. The CLI takes one prompt per process, so each turn is a process: the first turn records the chat id from the system/init event, and every follow-up starts a new process with --resume <chatId> once the turn has ended. A message sent mid-turn waits for the turn to end (matrix: midturn is "partial"). Interrupt sends SIGINT to the process group, stop kills it; the task stays open after an interrupt.

What Cully can and cannot control. Cursor never asks Cully before acting, so there is no permission card. Plan mode (or an edit group that is switched off) runs --mode plan, which is read only, and never passes --force. Edit mode passes --force --sandbox enabled so commands run at all in print mode, and every edit-mode task says so in a task note and in its run info. Cully's block list cannot be checked against commands Cursor runs itself; Cully writes the simple Bash(prefix:*) rules as Shell(prefix) deny rules into the worktree's .cursor/cli.json (git-excluded, skipped if the project has its own), because Cursor documents that --force runs commands "unless explicitly denied". Cursor's own MCP servers load unfiltered. Usage limits and context size are not reported; tokens show only when the result event carries a usage object.

Spike findings (cursor-agent 2026.11.22). Signed in as expected (cursor-agent status, about, create-chat work). The first prompt started and printed system/init (session_id, model, cwd, permissionMode: "default", apiKeySource: "login") and the user echo, then the API refused it: "Your team has reached its usage limit ... usage resets 12/1/2026". The error went to stderr with exit code 1 and no result event, and Cully shows that stderr as the task's error. So these were NOT verified against a real model turn: assistant delta shape, tool_call started/completed shapes, result usage and duration, what a command does without --force, a real file edit, and --resume continuing a chat. The runner and its tests follow Cursor's published stream-json format (assistant deltas carry timestamp_ms, tool events carry call_id and tool_call.<kind>ToolCall.args/result) and handle a missing field by showing less, not by failing. Re-run the spike after the limit resets; raw logs are in /twbuild/proshan/tmp/cursor-spike.

Out of tokens, and switching harness mid-task ​

A harness whose tokens are used up is hidden from the new-task picker and the switch menu, with one quiet line under the picker ("Claude Code is out of tokens until 3:40 PM", "Codex hit its limit; back about 4:10 PM"). Claude Code is judged from its reported usage windows (a known window at 100 percent that has not reset, on every account). Codex and Cursor have no reliable limits feed, so a task that ends with a usage, rate, quota or credits message (case-insensitive patterns such as "usage limit", "rate limit", "quota", "out of credits", "too many requests", HTTP 429) marks the harness exhausted in the local database until the time the message names, or 30 minutes; a later task that finishes a turn cleanly clears it. GET /api/harness/available adds exhausted and until (unix seconds). The harness a task is already running on is never hidden from its own window.

In a task window, More, Switch harness (or the harness chip) lists the available harnesses. After you confirm, POST /api/tasks/{id}/switch with {"harness":"codex","note":"optional"} waits up to one minute for the current turn to end (it denies a pending permission question first, and stops the run if the turn does not end), builds a redacted handoff (the task's prompt, where it stood, files changed, the journal and live git state), and starts a new run on the chosen harness in the same worktree and branch. The task record gets a new session with the role handoff, the previous session ends with the reason "switched to Codex", the graph gets a resumed-on-other-harness step, and the memory summary mentions the handoff. The old run stays visible and read only. It refuses the current harness, an unavailable one and an exhausted one.

Queue tab ​

While a task works, messages you type wait for the model. The Queue tab in the right-hand panel (beside Graph, Calls, Changes and Summary) lists them in the order they will be delivered, with the full text, whether each is a steer or a follow-up, and Send now and Remove. The tab shows how many are waiting, and Stopping the task drops them.

MCP Apps (read-only viewer) ​

Some MCP tools ship an interactive app (a ui:// resource). Start Cully with CULLY_MCP_APPS=1 and a finished call to an mcp__server__tool tool shows Open app inside its expanded tool group in chat. Cully connects to that server itself (stdio, or HTTP without sign-in), checks that the tool declares _meta.ui.resourceUri, reads the resource and shows it in a sandboxed frame under the call, with the call's input and result pushed to it.

The frame has no access to Cully: it runs with sandbox="allow-scripts" and no same-origin rights, so it cannot read the page's cookie or token, and its content policy allows no network, no nested frames and no forms, plus only the https resource domains the app declared. In this phase the app cannot call tools or read resources, send messages to the model or open links; those requests get an error. Servers that need sign-in are not supported. A resource over 1 MiB is refused, and a card says when an app changed since you last opened it. The design covers the later phases (approved calls, declared network domains, Codex and Cursor).

Security model ​

  • Every API call needs the token (cookie or bearer); changes also need the X-Cully-UI header; loopback binds reject other Host names.
  • Agents run only in repositories you pass with --repo, in worktrees, with tools limited to Read, Glob, Grep, Edit, Write and Bash. They are told not to push.
  • Token values stay in the agent's environment; the UI shows only a token number, and agent output is scrubbed of token values.
  • Agent output is rendered as text only, under a strict content security policy.

The graph window ​

The Graph tab in Task details shows the states Cully observed, with one node per state and one lane per session. Arrows show why a state changed, and repeated retries appear as a loop with a counter. Drag to pan, scroll to zoom, or use the arrow keys to move through the states. Select a node to inspect its activity, tool results, and files. Fit shows the whole trace and Latest returns to the newest state.

Task graph ​

The Graph tab in the task window's right panel shows what a task did as a graph. Each node is a visit to a phase: working, waiting on a tool, needs you, waiting on a helper, checking, stuck, done, failed, stopped by a limit, stopped or closed. Each edge carries the reason for the step, such as a tool starting, a permission question, your answer or a turn ending. One lane is drawn per session, so continuing in another harness shows as an edge between lanes. The tab opens by default while a task has no file changes; your own tab choice always wins after that.

It is an observed trace, not a graph Cully executes. Cully cannot see inside the harness, so it builds the graph only from the event stream, the permission relay, stuck detection and its own harness loop. Steps between tool calls are inferred, and a Codex or Cursor session with fewer events gives a coarser graph. A step marked as suspected before a failure is a hint, never a finding.

"Waiting on a helper" appears only for reviewers that Cully launched itself. Cully cannot tell when a task is waiting on some other task it did not start.

The trace is stored with the task record and kept to 400 nodes. When it grows past that, the oldest plain working and tool steps fold into one "earlier steps" node; questions to you, stuck spells, helpers and failures stay. Tool input is never stored, only a short redacted summary. A node still open when the server restarts is closed as a restart. The same trace is available at GET /api/agents/{id}/graph and GET /api/tasks/{id}/graph, with a Mermaid text version as a fallback view.

What is not stored ​

Agent transcripts live in memory and are lost when cully ui stops. The journal receives only what it always does: event class, outcome, project-relative path and a command hash. Worktrees and branches stay on disk until you remove them.

History of changes ​

Every create, update, delete, approve, pause or resume of an agent, a background job, the workflow rules file or the tool policy is written to a change ledger in cully.db (newest 500 kept). Each entry has the time, the subject, who asked (a proposal id, you, or a schedule), and a before and after snapshot. Agent snapshots leave out notes and run history, and token values are redacted; an entry whose snapshot had to be redacted is marked lossy and cannot be rolled back.

  • GET /api/ledger?kind=agent|job|rule|policy lists entries with a plain field diff.
  • POST /api/ledger/{id}/rollback puts the before snapshot back (a created item is removed, a deleted one is re-created). It answers 409 when the subject changed since the entry, unless the body is {"force": true}. Restored agents pass validateIdentity and restored jobs pass the command allowlist. A rollback is itself recorded and is not rolled back again.
  • The page is #/dashboard/history, linked from the Agents page, the Background work page and the advisor inbox.

Proposals carry a preview ("What will change": fields, old to new) worked out from the same snapshots before you approve.

Lifecycle: agents and proposals are active, stale or archived, and can be pinned. An agent not run for 30 days is stale; a proposal nobody acted on for 14 days is archived on its own, unless pinned. Archived things are hidden, never deleted. POST /api/identities/{id}/pin and /archive, POST /api/suggestions/{id}/pin and /archive take {"on": false} to undo; GET /api/identities?archived=1 and GET /api/suggestions?archived=1 list the archived ones.

Setup ​

A guided Setup page, new in the next release, walks you through mode, the dev-workflow rules and suggestions. See Set up Cully and One machine or many?.

Factory mode ​

Choose Factory beside Edit and Plan only when you start a task. It follows how software factories run agents: you state the goal and how a person could tell it is done, and the agent does the building.

  • You write the goal, and under it the acceptance scenarios, one per line, each something a person could observe ("with an empty cart, checkout shows the empty message"). At least one is required.
  • The agent is told to write a short spec first, plan small tasks, build one at a time with a commit each, run the project's own checks after its last edit, and finish by saying what is proven, what is only claimed and what it did not check.
  • Your scenarios stay hidden. A reviewer that holds them judges the work after each turn and tells the agent only what is missing, never the scenarios, so it cannot write to a test it never saw. You can untick this under the scenarios.
  • A second reviewer is added if you have approved an agent named Independent reviewer (Setup offers one).
  • Factory tasks cannot be plan only. Like the other recipes, they can be queued; the recipe is applied when the task starts.

Hidden checks are a design choice from published factory practice, not a proven result; the research page says what it rests on and where the evidence is thin.

Recipes ​

A recipe is a way to run one task, chosen when you start it. Factory is one of them; the others are Test first, Debug, Fix and Best of N. A recipe is a brief for the agent plus, for some, a loop Cully runs around it, so it works the same on Claude, Codex and Cursor. The list comes from GET /api/recipes, and a task started from the API names one with the recipe field (factory, tdd, debug, fix or bestofn).

RecipePick it whenWhat the agent does
FactoryYou can state the goal and how a person could tell it is done, and want a spec, small tasks and a reviewer.See Factory mode.
Test firstThe behaviour is clear enough to write as tests before any code.Writes failing tests for your Done when, then the code, then runs the tests.
DebugSomething is wrong and you do not yet know why.States hypotheses, tests each before changing code, then patches.
FixYou know roughly what is broken and want a small, checked repair.Finds the fault, repairs it, then validates with the project's checks.
Best of NThere is a check that can tell pass from fail and you want choices.Runs 2 to 4 separate options of the same task and marks which pass your Done when.
  • Done when. Factory (acceptance scenarios) and Best of N (a verifier) cannot start without it. For Test first, Debug and Fix it is optional (a test command, a repro or how to tell it is fixed); when you give one it is what the judge checks. Best of N holds the Done when back from the agent, as Factory does.
  • Loop. Every recipe turns on the keep-going loop. Fix stops after at most 3 rounds. No recipe can be plan only: each runs with edits allowed.
  • Best of N never picks a winner for you. It needs 2 to 4 options and a Done when. When every option has ended, Cully reports which ones passed their checks (their loop ended done) and says to compare them; you look at the diffs and choose. It costs N times one run. A badly written check will pass bad options, so write scenarios a person could observe.
  • Queue and Options. Queue holds a task until a slot is free; every recipe can be queued except Best of N, which starts now. A queued task keeps the request as typed and the recipe is applied when it starts. Options runs the same task as several options in parallel: every recipe allows it, and Best of N requires it.
  • The recipe chip. A task started with a recipe carries its name, so you can tell afterwards how it was run; a task that continues it keeps the name. Choosing a recipe in the start form also shows its hint, how strong its evidence is, and the notes for the harness you picked.
  • Harness notes. The judge that checks Done when runs on Claude, whichever harness runs the task. Cursor runs edit recipes without permission cards: it does not ask per tool call here. Claude runs in accept-edits mode and asks before tool calls outside the allowed groups; Codex runs in its workspace sandbox with Cully's block list.

The evidence for each recipe, and what Cully chose not to build, is on the research page.

Connection, panels and filters ​

  • Offline banner. If the server stops answering, a banner says the connection was lost. The page keeps what it has, keeps trying every few seconds, and shows a "Reconnected" message and redraws the page when the server is back.
  • Session expired. If Cully stops accepting the page's sign-in, a banner says so and that nothing will update. Open the link that cully ui prints (it ends in ?token=...) in this browser, then use Sign in again, or Try again to check whether it has recovered.
  • Resizable panels. The task list on the left and the Graph, Calls, Changes and Summary panel on the right have drag handles. They also work from the keyboard: arrow keys move 16 px (48 with Shift), Home and End go to the ends, and double-click resets. Widths are remembered in this browser.
  • Filters. A choice of five options or fewer is a segmented control (a radio group, arrow keys move the choice). A longer list is a button that opens a listbox with type-ahead.
  • Queued messages fold. More than two waiting messages in a task collapse into one "N queued messages" line you can open.

Skills and ready-made agents from setup ​

Setup installs these skills for each harness it links: cully-sessions (where Claude, Codex and Cursor keep sessions, how to read them and what to capture), cully-spec, cully-verify, cully-handoff and cully-repo-map. Each is short on purpose. A copy you edit is left alone, and uninstall removes only the ones you did not change.

The Setup page also offers ready-made agents (Independent reviewer, Handoff keeper, Loop breaker) and a nightly checks job before Cully has any history to learn from. Each card links to its sources. Nothing is created until you review and approve it.

Keeping the library current without the page open ​

cully curator runs the same background work the page runs, with no browser: it indexes new sessions, names and summarises them, retitles tasks that have weak names, refreshes suggestions and saves summaries to memory. It follows the analysis switch on the Sessions page, so it does nothing while analysis is off, and the hourly limit still applies. Run it in a terminal, under a service manager, or use cully curator --once from a schedule.

Only one process indexes at a time, because two would overwrite each other. A lock in Cully's folder decides which: the first to start keeps it, and a second curator says so and exits. A page opened while a curator runs does not index; it re-reads what the curator wrote every few seconds.

Checkpoints in a folder with no git ​

A task in a folder with no git still gets checkpoints, diffs and revert. Cully keeps the snapshots in a private git repository under its own folder, pointed at the task's folder, so nothing is added to your folder. It skips dependency and build folders (node_modules, .venv, dist, build, target and similar) and refuses a folder where a snapshot would be unwise: the root, your home folder or one above it, a path near the top of the disk, and a folder with more than 20,000 files. Revert writes files back into the folder, after taking a safety checkpoint first.

Built in the open. Apache 2.0 licensed.