Nelson's terminal harness for Claude Code, in Go.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nelson 8556803bf9
All checks were successful
Suite release / scope (push) Successful in 5s
Suite release / check-manifest (push) Has been skipped
Suite release / module (push) Has been skipped
Suite release / check-build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / reserve (push) Successful in 6s
Suite release / build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (push) Has been skipped
Release assets/v0.1.360 Every release asset is complete
Suite release / finalize (push) Successful in 6s
Suite release / publish (push) Successful in 4s
Suite release / deploy-image (push) Has been skipped
Suite release / deliver (push) Successful in 45s
Suite release / deliver-prune (push) Successful in 2s
The usage report carries the latest message's cost, calls and carrying cost for the strip (ATC-257) (#394)
2026-12-02 19:33:36 -08:00
cmd/at-claude Worker windows: delegated work as at-claude windows the hub shows as its agents (ATC-256) (#391) 2026-12-02 19:12:46 -08:00
internal The usage report carries the latest message's cost, calls and carrying cost for the strip (ATC-257) (#394) 2026-12-02 19:33:36 -08:00
release/assets/go at-app.json: what at-update registers and hands off for this app (AHT-231) (#329) 2026-11-29 10:30:14 -08:00
.gitignore at-claude v1: transcript, composer and tool calls over claude stream-json (#1) 2026-11-09 18:51:04 -08:00
.goreleaser.yaml The GoReleaser config's comment says the release suite builds from it (PIPT-31) (#149) 2026-11-18 00:52:00 -08:00
AGENTS.md A hold cleared without a wake answers the held message (#390) 2026-12-02 18:59:13 -08:00
at-app.json at-app.json declares the app's logs, which log-ship ships (AHT-231) (#341) 2026-11-29 15:11:48 -08:00
go.mod Take github.com/romaine-life/fzt-terminal@v0.1.236 2026-12-02 02:59:09 +00:00
go.sum Take github.com/romaine-life/fzt-terminal@v0.1.236 2026-12-02 02:59:09 +00:00
README.md The usage report carries the latest message's cost, calls and carrying cost for the strip (ATC-257) (#394) 2026-12-02 19:33:36 -08:00
TESTING.md A spawned window's grant request shows in the window that spawned it (ATC-256) (#393) 2026-12-02 19:22:52 -08:00

at-claude

Nelson's terminal harness for Claude Code. It runs the claude binary in stream-json mode and draws the conversation itself, so how it looks and behaves is ours to change. Work packages are in OpenProject's ATC project.

Using it

Open at-claude from the at menu or with Ctrl+T then C (fzt-automate's launch-claude, which starts at-claude -pick-repo): it opens on the list of repos and starts Claude in the one picked (ATC-194). The list is Forgejo's repos, starred first, then the eight this PC's Claude sessions ran in last (30 days, worktrees included), then the rest by latest change, mirrors and archived ones left out; with Forgejo unreachable, its title says why and it lists this PC's checkouts. Two rows at its top start in D:\repos itself or open fzt-picker's folder browser. A repo this PC hasn't got is cloned into D:\repos first, the title saying so (Esc stops it). It is a plain fzt: type to search, Enter picks, Esc clears the search then closes the window. The session's id is made as the list opens, so its avatars are dealt while it loads and show from the conversation's first frame; claude, and its host, start once a repo is picked, so at-claude update passes a window still on the list by. -pick-list <program> opens on a list that program prints instead, as JSON: a title and rows, each a name and about; a row with rows of its own is a folder, shown open, and any other starts Claude in its dir (the window's own when empty) with its prompt, if it has one, as the session's first message. A program that fails gives what it printed on stderr as the list's title. Nelson's work laptop binds Ctrl+T then C to its Jira tickets this way. Without -pick-repo it runs Claude in the window's directory, and at-claude -C <dir> runs it somewhere else. at-claude version prints the installed build's version and exits. at-claude record-output on records everything every window writes to its console, into output in at-claude's data folder (two files of 8 MB at most per window, named for its tmux pane), to compare with what tmux's own record-output shows it sent the terminal when a screen is drawn wrong (ATC-79, TMUX-211); at-claude record-output off stops it and deletes every recording, and at-claude record-output says which it is and lists the files.

  • The window names itself for its session (TMUX-232), as a fixed tmux name, which tmux keeps when the window is reopened or restored, so it opens with its name. A name you give the session with /rename is set at once and nothing replaces it; otherwise Haiku names it from its first message, through the host, and the name is kept in ~/.local/state/claude-title/<session id>, where resume-claude lists it. A new session goes back to tmux's automatic name until it has one. Naming ending, named or not, signals claude-named-<pane>, which claude-pane await waits on.
  • Type and press Enter to send. Shift+Enter, Alt+Enter or Ctrl+J starts a new line. Ctrl+Down moves to the start of the next paragraph (line) of your message, and Ctrl+Up to the start of this one or the one before, as in a word processor; Ctrl+Z and Ctrl+Y undo and redo. The composer is composer, the message box gvoice-tui shares (APPS-67), whose README lists every editing key.
  • It takes the whole window, as Claude Code's fullscreen mode does: the composer stays at the bottom, between two rules across the window, and the conversation scrolls above it, with tools being written or still running and queued messages at its end. The rule under the composer says when the session started (a clock-start icon, then 2:14 PM, dated on another day), under the turn rule's label (ATC-134): a resumed session's is its first message's. Before it, from the start, is the model Claude answers with (a brain, then Opus 5.5), as Claude Code resolves the one the window started with until claude's own lines name it (ATC-253), then how hard it thinks (high voltage, then xhigh) as Claude Code's settings say (ATC-254), none for a model taking no effort levels; a click on either opens its picker (below), and a narrow window drops the model first, then the effort.
  • The model picker (ATC-253) lists every model Claude Code offers, from its reply to the window's initialize (each one's value, name and description, the session's own marked (now)): /model sent alone, /model picked from Claude Code's commands, the session folder's model or a click on the model under the composer opens it. A pick switches the running claude with a set_model request through the host, with no turn and nothing sent to Claude, and /model <name> does the same by name; claude's answer says in the conversation that Claude answers with the new model from the next message on, or why Claude Code didn't switch. The host keeps the model claude said yes to, so a restart, an update or a new session in the window starts claude on it.
  • The effort picker (ATC-254) lists the effort levels the session's model takes, from the same reply, with Claude Code's own words for each and the session's level marked (now): /effort sent alone, /effort from Claude Code's commands, the session folder's effort or a click on the effort under the composer opens it. A pick, or /effort <level>, sends Claude Code's apply_flag_settings through the host, with no turn, and the host reads Claude Code's settings back after it, since Claude Code says yes even to a level it ignores: the conversation says Claude thinks at the level from the next message on, or that Claude Code kept its own. The host reads the settings as claude starts and after a model switch too, so the rule shows the level claude really uses, and keeps a level that applied, so a restart, an update or a new session starts claude at it (--effort). /effort ultracode … goes to Claude Code as typed.
  • A new session's first line, beside the system avatar, names the model, the directory and the commands key (Session started · <model> · <dir> · / commands), and stays at the top of the first turn once there is one (ATC-232). In tmux the window's last row is the strip (AGT-49): who the conversation is for, its PR (the plan's glyphs before it) and work package, each with a copy button from 70 columns, its follow-ups, the architecture reviews the agent asked for on its own proposals (a compass and how many, ATC-203), agents, Forgejo's CI load, the session's context, compactions and cost and the account's usage, and › for the side panel. strip-owner works out what it says and sends it with at-claude strip each time that changes; the window draws it itself, fitted to its width (usage is dropped before it would cut the PR or the work package, CI before usage), with the part under the mouse reversed. A click opens that part in the side panel, a copy button copies its link, and the strip folder of the menu names each. The row is kept from the first frame, blank until the strip comes, so nothing moves when it does, which replaced at-tmux's own strip row under the pane. The usage comes from claude, which at-claude reports through tmux-strip usage at the end of each turn (ATC-96), with who claude is signed in as from its reply to the window's initialize; a click on it opens the usage view: whether the window bills the subscription or an API key, the account, and the subscription's limits (ATC-252). The report also carries what the latest message cost, its calls and their average cost, and its carrying cost, which the host counts call by call as the window's answer stamps do (cost.Meter), so the strip shows them in the same place every time (ATC-257, Nelson: an answer's stamp moves down the page).
  • The side panel (AGT-49) is a tmux split beside the window running at-claude's own panel program (at-claude panel-run), so it is an ordinary pane: a click gives it the keyboard, Tab gives it back, its border drags to resize it. tmux-strip makes its views (All, PRs, Tickets, Follow-ups, History, Supervisor, and a PR's, a work package's, a follow-up's, CI's or a message's) and hands each to at-claude panel -session <id> -pane <pane> as JSON; the running panel shows it, or the command opens the split, a third of the window up to 56 columns (tmux's panel-width when set), beside no window under 50 columns. Rows are wrapped keeping their indent; Up and Down move over the rows that do something, Enter or the row's key (a row's before a tab's) runs it, a click runs one and hovering lights it, PgUp/PgDn/Home/End and the wheel scroll, a drag selects and copies, and Esc or [x] closes it. A row's action runs tmux-strip action, whose answer comes back the same way; a panel shows only the answer to the latest row picked, and a redraw only over the view it redraws. Closing it takes @strip-panel off the window's pane, and the window closes its panel as it quits. A notice such as Copied 42 characters. or claude starting or exiting shows in the blank row above the composer. /toggle-status adds a status line under the composer (directory, model, claude's state, the commands key) or hides it again, and an update keeps your choice (ATC-60).
  • Each session has two avatars, as tank-operator's sessions had (ATC-38): Claude's beside the first of each run of its replies, and a system avatar beside the first of a run of notices (the session starting, compaction, errors). Yours goes beside the first of a run of your messages, as tank-operator showed your Gravatar (ATC-46), in place of its ›, and beside the composer from the rule above it to the rule below, saying who talks down there (ATC-87): the composer starts after the gutter with its › where a sent message's goes, and the rules beside the avatar start after it too. As in tank-operator, a run goes on through tool calls, and ends only at a message drawn from anyone else (yours, a notice, a failure after a notice), however long after the one before it the next comes: what a fold hides, a background agent's report in the tool-call row included, doesn't end it, so replies around one don't stack up under an avatar each (ATC-224, replacing tank-operator's seven-minute window, ATC-43). The first of a run of yours is under a faint you, of Claude's under the session's gamertag, an adjective and one of its agent avatar's names that the service deals with the pair (pensive-jim), and of notices under a faint system (ATC-131), each on a row of its own beside the avatar's top (ATC-86); claude when the service can't say. A notice's text is in the conversation's own colour, as yours and Claude's are, a failure's red (ATC-131). They sit in a gutter six cells wide and three rows tall at the left of the conversation, which all text starts after; a one-line message keeps the three rows. A run scrolled past its head keeps its avatar whole on the top row, over the gutter marks beside it, until the run's end pushes it off, so the face still says who is speaking (ATC-224); the name row scrolls off with the head. The ecosystem's avatars service (home's at https://avatars.home.romaine.life, a work laptop's on the laptop) deals them when the session starts or resumes, with yours, the one picture it keeps for you, and they.re placed as images tmux keeps and shows on at-terminal. A window that replaces another, after an update or a restart, keeps what it was dealt, the pictures read from disk, without asking the service again (ATC-75), unless they were dealt before gamertags: then it asks once for the session's, keeping the pictures, and says in one line if it can't get one. If the service can't be reached or refuses, or the terminal doesn't keep placed images, the conversation says so in one line and shows none. Copying text leaves the gutter out.
  • At the right of the last line of each of your messages and each of Claude's replies (under it when the line is too full) is its footer, as tank-operator's (ATC-105): a quote button (💬), which puts the message at the end of what you're typing as a code block; a copy button (📋), which copies the message as it was written, Claude's Markdown or your text as typed; and the time it was sent, with its date before it when that wasn't today (Nov 10, 3:04 PM) and the year too when it wasn't this year, redrawn at midnight (ATC-130). A message's answer also says how long the message took (took 1m 23s · 3:04 PM), as the clock below counted it, and before its buttons what the message used (🪙 and 53k), counted over every turn for it as the clock counts them; a click on the count spells it out in the row above the composer (This turn used 53,889 tokens: 4 input, 537 output, 53,348 cached.). The count is from Claude Code's turn results, and in a resumed session from its saved replies, each counted once. Beside the count is what the message cost at the Claude API's list prices (🪙 2.1m · $0.99), how many calls Claude made for it and what each cost on average (🔁 16 × 6.2¢), and what re-reading the conversation beyond what the session's first call read cost it (🎒 +25¢): what staying in a long session costs a message, which a fresh one wouldn't pay (ATC-257). A click on any of them spells them out with the count. Each call is priced from its own usage (internal/cost, the pricing page's table as of 2026-12-02): its model, its cache writes by how long they last, fast mode and US inference; a model the table doesn't have shows the count alone, and the click says which model has no price. The turn-end log line carries the window's price of the message beside Claude Code's running cost for the session. /copy-reply, /quote-reply and /turn-tokens do the same for the shown turn's latest reply. A resumed session's turns show the same, read from the saved session.
  • While a turn runs, the Thinking block sits where Claude's next message would go if it came now, under the newest thing shown (ATC-136), beside Claude's avatar: the gamertag alone on its name row, as over a message (ATC-110; blank while the service is still being asked), then what is under way with its dots stepping one to three each second (ATC-173): Thinking, or the tools running by what they do (Running a command, Reading a file, Editing a file, Searching files, Running an agent, Running 3 tools, Using another tool by its name), Compacting the conversation, Rate limited, retrying or Retrying after an API error from Claude Code's status and api_retry lines, and Waiting on your answer while Claude's question waits; then how long the message has been under way (1m 23s, ATC-171), a second at a time, whoever started it; the status line says working 1m 23s while it shows. It is one clock for the whole message (ATC-67): from when it was sent, through every turn Claude takes for it and the waits between them, until it is answered. While strip-owner holds the window after a turn (a PR the session handed over landing or being delivered), the block is the system's, under its name and beside its avatar, since its notice is what comes next (ATC-173, Nelson), and says what the session waits on as strip-owner tells the window each time it changes (at-claude hold, AGT-48), else the hold the turn ended with. For one PR that is a post in place of the row (ATC-183, Nelson): what is under way and the PR by its title, then its steps from opening on beside its checks (ten, then the rest counted by state on a row a click or show-folded opens, ATC-223, Nelson: opening the list is how he confirms nothing hidden is running), each with when, how long and how long it usually takes, what still runs counting up on the clock, its row led by a ● and drawn in the busy colour (ATC-199, Nelson: which row is changing was hard to see); for anything else a sentence, and for more than one thing a table of each. A turn Claude starts itself after the answer (a background task's end) counts on from the message's total, and the next message starts again from zero.
  • The window shows one turn at a time, as tank-operator's Turns view does (ATC-57): one of your messages, everything Claude did for it folded behind its row, and its answer. It opens on the latest turn and follows new ones; the rule above the composer says which it is (🧵, then 3/12). Ctrl+PgUp goes to the start of the turn, then the turn before; Ctrl+PgDn to the next; Ctrl+Home to Turn 1; Ctrl+End to the latest (ATC-63: Ctrl+Up and Ctrl+Down are the message's paragraphs only). /turn 4 goes to Turn 4. On an older turn a new one doesn't move you: the bottom row says how many newer turns there are, and a click on it or Ctrl+End goes to the latest; sending a message goes there too. /turn-message folds the turn's message to one line, /tally-tools, /hide-tools, /latest-reply and /turn-work pick how its work shows (below), and /turn-focus swaps which of the message and the work is folded. A turn isn't cut into pages as tank-operator's are, since those only bound what a browser loads: it scrolls. /conversation shows the whole conversation instead, as below, and again goes back. An update keeps the turn, the view and the folded messages.
  • Scroll with the mouse wheel and PgUp and PgDn (half a screen). Scrolling up stops following new output; the bottom row then offers Jump to bottom with a count of new messages, and a click on it, Ctrl+End or scrolling to the end follows again. In the whole conversation, Ctrl+Home is its start and Ctrl+End the latest, and with Ctrl+PgUp puts the start of your message above the top of the view at the top, so pressing it again walks back through what you sent; Ctrl+PgDn walks forward, then back to the latest.
  • Drag to select text, double-click for a word (a path or URL is one word) or triple-click for a line. A message's footer isn't text: a selection leaves it out, and a row holding only a footer isn't copied. A line that wrapped copies as one line, as Claude Code's fullscreen copies it: only the line breaks in the text stay (ATC-141). The selection copies to the clipboard when you let go, and Ctrl+C copies it again. Shift with an arrow, Home or End moves its end. Esc, scrolling and the command menu's keys keep it; any other key clears it. Shift+drag leaves selection to the terminal.
  • Every copy (a selection, a copy button or command, the side panel's) goes to this PC's clipboard and, as OSC 52, to the clipboard of the terminal showing the window, which may be on another PC (ATC-216): a window on the laptop shown through a client in nelsonpc's at copies to nelsonpc. tmux passes an application's OSC 52 on to every client showing the pane only with set-clipboard on on each server it crosses (its default, external, drops it); a copy over 1 MiB of base64, past tmux's input buffer, goes to this PC alone.
  • Every link in a message, a reply or a notice has a copy button after it, 📋 (ATC-78, ATC-81; every icon the window draws is a color emoji, ATC-184): a click on it copies the link's whole address, however it wrapped, and the row above the composer says what it copied. An address in code or in a tool call's row has none, and a selection copies the text without the buttons.
  • A link in a reply shows its text alone, as a browser shows one, its address only in what it opens and copies (ATC-120); a bare address ends before the punctuation after it.
  • A link is a terminal hyperlink to its address, which at-terminal opens on Ctrl+click and underlines under the pointer; a plain click on it opens nothing, since the click that brings the window or pane forward can land on one (ATC-154), and a drag that starts on one selects as anywhere else.
  • A reply appears whole, never word by word as it streams (ATC-103): Claude Code's partial messages only tell the window that a turn is under way and which tool call Claude is writing (● Bash …).
  • By default every reply Claude gives shows, one after another, and all of the turn's tool calls are tallied on one row above them (/tally-tools, ATC-185, Nelson: which calls came before which reply rarely matters, and a row between every reply costs the screen). The row comes with the turn's first call and stays put, each call joining it as it finishes: a call running is the live call's, shown once (ATC-249), and only with the live call off does the row have it, last and counted (2 running). A click on it shows all the work in order, as /turn-work does, and a click on that row tallies it again. /hide-tools instead folds each stretch of tool calls between two replies to a row of its own, which a click opens or folds, as Claude Code collapses them. A row is an icon for each call in it, in order (ATC-184, Nelson), as many as fit and then how many more (+12): a call is drawn by what it does, as tank-operator draws it, in color emoji (Nelson: the Nerd Font glyphs were dull and dead): 📖 reads, 📝 edits, 🔍 searches, 📁 lists, 🌍 is the web, 🔶 git, 🐹 Go, 🎫 a work package, 🔀 a PR, 🤖 an agent; and a Bash or PowerShell call by the programs it runs, read with a shell parser (internal/programs), so cd x && git pull && go test | tail is [🔶 🐹]: one for each program, glue left out (changing folder, printing, a filter trimming the output before it), three at most with a + for the rest, and the shell's for a program with no icon of its own. Every icon is a space from the next and a chain's are in brackets (Nelson: a chain's together and calls apart read as uneven); each is one emoji two cells wide with no variation selector, whose width terminals disagree on, and the icons folder names them all. Each call's own row has them before its name, where its mark turns red when it failed. Shown /hide-tools, the message has no row above the stretches counting the same calls again (ATC-122); calls still running are on the last stretch's row, which says how many (1 running), so nothing moves when they finish (ATC-91, ATC-119). While a turn runs, the newest of its work shows under its latest reply, above Thinking: the call running, or the last one that finished, each replaced by the next, until the next reply replaces it (the live call, ATC-174). It is always two rows, so Thinking stays put as one call replaces the next (ATC-179): the call, then how it stands, running 1m 42s…, counting up from when Claude asked for it (ATC-202; , and 2 more for calls sent with it) or its result's first line and how many follow (+12 lines). /live-call in the view folder turns it off, or on again, for every turn in that window, /latest-reply's included, and an update keeps the choice; /default-live-call in the defaults folder does it for every window. Four commands in the menu's view folder pick how the shown turn's work shows, and an update keeps the choice. /tally-tools is that default. /latest-reply folds it all behind one row of the message's own with only Claude's latest reply under it, once it's whole, and the work since below it: the tool calls running (all of those sent together), or the last thing that finished, each replaced by the next (ATC-76, ATC-85); a new reply replaces both, and the reply the work ends on is the answer, in the same place. A click on the folded row shows the replies again, the calls tallied. /turn-work shows all of the work, tool calls too, and /toggle-activity does that for every message at once, or, with all of it shown, goes back to the default below (to the replies, the calls tallied, when that default is all the work). While the shown turn's work is all shown, the rule above the composer says ▾ click to hide this turn's tool calls beside the turn's number, and a click there tallies them again, for when the row has scrolled away (ATC-62). Every turn Claude takes before your next message counts toward it, those a hook or a background task woke it for included, and a message whose turn ended while strip-owner held the window (a PR the session handed over landing or being delivered) has no answer until the turn that wakes it, or your next message: the reply it ended on shows as the latest reply meanwhile, until the woken turn replies again. A message with no answer (an interrupt, an error, a turn ending on a tool call, claude exiting) shows all it did.
  • The menu's defaults folder sets what every at-claude window on the PC shows (ATC-172): /default-tally-tools, /default-hide-tools, /default-latest-reply and /default-turn-work for how every turn's work shows, /default-turn-message to fold every turn's message to its first line or show it whole, /default-conversation for the whole conversation or the Turns view, /default-status for the status line, and /default-live-call for the live call under a turn's folded work (ATC-174). Each changes every open window at once, over what was picked in it (setting one again puts every turn back on it), and new windows and new turns open with it; the view folder's commands and /toggle-status still pick for one window, until that default is set again. An update keeps a window's picks, but for a default set while it ran. The defaults are view.json in at-claude's folder under %APPDATA%, which every window watches for Windows' change notice (no timer reads it); a test run with AT_CLAUDE_DATA keeps its own under defaults there.
  • A message sent while Claude is working goes to claude at once, as Claude Code's queue does (ATC-255): Claude takes it in at the turn's next tool call, or in the next turn if this one ends first. Until then it shows under the turn as waiting, with Ctrl+Enter or click sends it now: Ctrl+Enter, a click on that row or the menu's send-now asks Claude Code to give it to Claude now, as its own send-now key does (it moves the tool the turn waits on to the background, or stops the turn and runs the message next), and Ctrl+Enter on a message being typed sends it and asks for it now. One of Claude Code's commands (a /name) still waits for the turn's end, shown as queued, since it runs only as a turn of its own, and so does what's sent after it; a host from before ATC-255 queues every message that way.
  • A skill being run shows as a skill row (ATC-59): a magenta ✦, the skill's name in magenta and its arguments, whether you typed it (/done wrap up, shown without the slash) or Claude ran it. The skill's own instructions, which Claude Code adds for Claude, don't show. Claude Code's other commands (/add-dir notes) stay as typed.
  • A message from another Claude session (ATC-52) shows as from it, not you: from and the session's name above it, beside that session's own Claude avatar. That is a message sent with SendMessage, and a spawned window's first message (below). Claude Code tells Claude the same: it came from another session, a teammate's request rather than yours. When Claude Code holds one for an approval this window can't give (the two sessions' permission modes differ), or drops it, the conversation says so.
  • A checker's answer (AGT-25): the side panel's Supervisor tab can send the agent's last question to a fresh agent that goes through Nelson's guidance (tmux-strip check). Its answer is a synthetic turn, as tank-operator's display-only records are (ATC-115): a turn of its own, which Claude never sees, arriving after a running turn ends rather than splitting it. The Turns view on the latest shows it from its top, scrolled clear of an fzt picker that pops up where the command menu does: send sends it to Claude as the next message, from the checker session that wrote it as Claude Code delivers another session's message, never as Nelson's (ATC-115), and the conversation shows it with that session's avatar and name, as the review does; comment quotes it in the composer after what is typed, as a code block under a line naming the checker that wrote it, as quote-reply quotes, for a comment before sending; discuss opens the checker's session in its own window and leaves the answer waiting; discard drops it. The tab's find-the-problem review (ATC-153, AGT-38) looks for the rule of yours the agent's last turn broke: its answer shows whole, under a picker titled find the problem, but send gives Claude only the part the reviewer wrote for it, comment quotes only that, and when the reviewer found nothing wrong there is nothing to send, which send says. Esc closes the picker and check-answer in the menu opens it again while the answer waits. The entry says what was done, and the choice goes to tmux-strip check-choice, which records it. A window that attaches after an update shows the answer and its choice, with no picker.
  • Claude's questions (AskUserQuestion, ATC-149): Claude Code asks the host on its input (--permission-prompt-tool stdio) and waits for the answers. The question shows in the conversation with its choices, never folded with the tool calls around it, and the Thinking row says Claude is waiting on your answer. An fzt picker pops up where the command menu does, one question at a time (Newsletter (1 of 2)): typing finds a choice by its words, so unsub finds Unsubscribe, and Enter answers with it. On a question taking several choices Enter checks or clears one and done answers with those checked. Esc closes the picker and leaves the question open: what you type in the composer then answers it in your own words instead of going to Claude as a message (own-words in the picker says so), and Enter with nothing typed, or answer-question in the menu, opens the picker again. The last answer sends them all, and the question shows what you answered. Esc in the composer stops the turn, which calls the question off. A window that attaches after an update opens the picker on a question still waiting, from its first.
  • A tool Claude Code asks before running (ATC-166), as it does before removing a folder at the top of a drive even in bypass mode, is asked the same way, as a yes or no: the picker names the tool (Claude Code asks: Run Bash?), and what it would run shows whole, wrapped, in its call just above the picker, saying it waits on you (SES-230: the picker's one-row title clipped a long command with nothing to say so). When a hook put it to you, the picker says so (A hook asks: Run Bash?). Why it asks, the hook's reason or Claude Code's own (its safety checks give one), shows whole there too, first (SES-241: a long reason was cut off at the title's edge), then what the call says it does, its own description, then the command (SES-278: a long command alone didn't say what was being approved). A call with no description shows the reason and the command. yes runs it and no refuses it, telling Claude you said no. Words typed instead refuse it with them, as Claude Code's "No, and tell Claude what to do differently" does. Requests that come while one waits are asked in turn, and a window that attaches after an update asks only those still waiting: the host says when it gave an answer, since an allowed call runs on with no result yet.
  • A grant request a session asked strip-owner for (AGT-74), break-glass, Azure access or continue (AGT-83: wake this session once its PRs have all landed, which grants no access and has no minutes, so the request reads This session asks to be woken when its PRs land, its picker Approve waking this session when its PRs land?, and its card says it grants no access and leaves the work package open), opens a picker by itself where the command menu does, as Claude's questions do, mid-turn or while the turn is held: titled Approve break-glass? (lapses 3:40 PM), with approve, deny and copy-link, and above it the request whole: what it asks for and why, how long the grant lasts, when it lapses and its link. approve and deny are the decision, with no Windows Hello prompt on top (ATC-243, Nelson: the pick in his own window is the yes): they run romaine-auth approve|deny --kind <kind> <id>, which signs the decision with the PC's device key. The pick closes the picker at once; the row above the composer says the decision is under way, then what romaine-auth said, and the request drawn above where the picker was says it is decided until strip-owner sees it and clears it. A decision romaine-auth refuses opens the picker again. copy-link copies the link to its page in auth, by OSC 52 and this PC's clipboard as every copy does, to decide it there, as from another PC; the window never opens it. Esc closes the picker and leaves the request waiting; approval in the menu's session folder opens it again. With the menu or another picker open, the row above the composer says it waits instead, and a window that attaches after an update opens the picker on a request still waiting.
  • A grant request a session this window spawned waits on shows here too (ATC-256, Nelson: break-glass requests weren't surfaced to the parent session, so he had to hunt them down; they should surface "and also didn't interrupt the current turn; they can just be a little annoying and on top of them"). The spawned window's host, given strip-owner's hold with its request, also tells the host of the session that spawned it, read from the origin file claude-pane writes for every window it opens (~/.local/state/claude-spawn/<session>, spawnedBy), so a worker window and a /new-window session alike; and clears it there when the hold clears, which strip-owner does once either window decides it, or when the spawned window closes. The window draws it on a row of its own between the notice row and the rule above the composer, in the strip's attention colour: fix-router asks for break-glass for 30 minutes: <reason> · lapses 7:35 PM · click to decide, the reason giving way to the width; several share the row, counted with whose they are. It stays until the request clears. Nothing opens by itself, takes a key from the draft or reaches Claude: a click on the row, or child-approval in the menu's session folder, opens the picker, the list first when several wait, then the request's approve, deny and copy-link, decided as the window's own requests are, with romaine-auth and the PC's device key; the row then says the decision is under way and what was decided.
  • These pickers, the review's, the question's, the tool's and the grant request's, open, close and open again by one path (internal/ui/waiting.go, ATC-245, Nelson: a new picker gets it for free instead of writing its own): each opens by itself as what it asks comes in, unless the menu or another picker is open; the pick that answers it closes it the moment it is made, and nothing it starts holds it open; it opens again only for another pick of his on the same thing (the next question, a choice checked, a pick that couldn't be done); Esc closes it and leaves it waiting, and its menu command opens it again.
  • An image on the clipboard pastes into the message as Claude Code's does (ATC-129): Ctrl+V, which the terminal sends as an empty paste when the clipboard holds no text, or Alt+V (paste-image), which takes the image even beside text. at-claude reads the image itself, PNG or bitmap, scales it down only past what Claude takes, and attaches it to the message: a chip of the image icon and its number on the composer's top row, kept out of what you type (ATC-160). A click on a chip, or open-image for the last one, hands the image to Windows to open in its viewer for PNGs, from a file in at-claude's data folder under images, cleared a day later. Backspace at the message's start or remove-image removes the last one, and clear-message (Ctrl+C) clears them with the text. Sending puts each one's [Image #N] in the message, on a line before it, or after a command, and the message carries those images; images alone send too. The conversation and the queued messages show each marker as an image icon and its number (ATC-147); the message Claude reads, and its copy button, keep the words.
  • Esc stops the running turn, and only the turn: Claude's background agents and commands keep running (ATC-255, Nelson: Esc to correct a message stopped every agent). The window tells Claude Code it has a stop for each background task, which is what makes its interrupt spare them; stop-task in the menu's session folder lists them and stops the one picked. Ctrl+C stops it too, clears the composer when nothing is running, and quits when the composer is empty, with no image attached. Ctrl+D quits, and so do /exit and sending the single word exit, as in Claude Code. Quitting asks claude to close and waits for it to exit, saying closing claude…, so it ends the way it chooses to; a second exit meanwhile leaves at once (ATC-206).
  • / opens the command menu, wherever you are in a message: a plain fzt, with its own search bar, popped up above the cursor, leaving the message as it is. Every key in it is fzt's but Tab: Space or Enter on a folder goes in, Enter runs a command, / opens fzt's key pop-up, and Esc backs out a step at a time until the menu closes. Tab on one of Claude Code's commands or skills puts it in the composer without running it, as Claude Code's Tab does, so you can type after it; on anything else it is fzt's. To write a slash in a message, run slash. One of Claude Code's commands that takes an argument goes in the composer as /add-dir and a space, for the argument to follow before Enter. Right after a word, / opens the menu inside its objects folder, searching for the word (below); Esc backs out to the rest of the menu, so a slash after a word (a path) is three Escs and slash. The menu starts with slash, then six folders. Commands holds every action as a one-word command with its shortcut, in folders by what it acts on (ATC-119): message (sending and editing what you type), view (what a turn shows), move (turn to turn, and scrolling), copy (copy-selection, copy-reply, quote-reply), session (interrupt, stop-task, check-answer, answer-question, approval, turn-tokens, new-session, remote-control, exit), window (side-panel, toggle-status, info: repo, version, build time, install path, checkout), then claude-code, Claude Code's built-in commands. A search finds a command in any folder. Skills starts with prompts, Nelson's own instructions to a session (ATC-244): one per .md file in the home profile's claude/prompts, which home-sync copies to %LOCALAPPDATA%\shell-config-profile-home\claude\prompts on each PC (AT_CLAUDE_PROMPTS points a test run elsewhere), read as the menu opens, each by its file's name with its front matter's description (else its first line). Unlike a skill, a prompt costs no context until used, and nothing of Claude Code's needs to know of it. One picked goes in the message as a chip, ⟦prompt.handoff⟧, as an object does, and what you write around it is what you add to it; when the message is sent, the host reads the file then, so an edit counts from the next message, and gives Claude its text in a block after the message, which the window doesn't show. A message whose prompt can't be read isn't sent: Enter keeps it in the composer, saying why, and should the file go between Enter and the send, the notice gives the message back. The prompts are a folder inside skills because one more at the top would overflow the menu's height (ATC-119). Then Claude Code's skills; its bundled ones (simplify, code-review) among them, listed as claude starts. With nothing typed, one of Claude Code's taking no argument is sent, and one that takes one goes in the composer for the argument to follow before Enter. In a message, a skill goes in where the cursor is, for Claude to run, and a built-in command is blocked, saying why: Claude Code runs those only as a message of their own. Objects holds the things a word can mean, in a folder for each namespace (tmux, at-claude, windows, openproject, forgejo), so a window can be tmux's, Windows' or at-claude's exactly (ATC-191). One picked goes in the message as a chip, ⟦tmux.window⟧, that the cursor steps over and Backspace takes whole; picked from a / pressed right after a word, it takes the word's place. When the message is sent, the host gives Claude each named object's definition in a text block after the message, which the window doesn't show; the sent message shows its objects as chips. The catalog is curated by hand in internal/objects. Strip holds what the strip row shows: each PR (planned ones too) and follow-up, read through tmux-strip items as the menu opens, then the row's other parts (the PR it names, its work package, the copy buttons, agents, CI, who it is for). The one under the cursor is highlighted on the strip, and the highlight goes when the cursor or the menu does; Enter opens it in the side panel as a click on its glyph would, and side-panel opens the panel on everything (ATC-72). Claude-nav lists every other at-claude window open in tmux, read from tmux's pane list as the menu opens: each by its window's name, with where it is (primary:3), its directory and what strip-owner says it waits on. Enter goes to it, into another tmux session too. tmux's own window-nav still lists every window (ATC-92). Icons decodes every icon the window and its strip draw: at-claude's own in one folder, a tool call's in another (tool-calls), the strip's by the part they are on in others, read through tmux-strip icons; each row is a word to search by, with the icon and what it means (ATC-152). A link to a PR or a work package has the strip's icon for one before it; a click on the icon opens the link, and a selection leaves it out.
  • Claude Code's Remote Control is on in every window (ATC-213), so any session can be picked up at claude.ai/code or in the Claude app: a new window turns it on as claude starts, and an open one as it updates, with no word in the conversation; the status line and the menu's remote-control row give its page. A connection that fails stays wanted: the window says so once and asks again with your next message, never on a timer. Archiving the session in the Claude app is a sign it is done (ATC-218): the conversation gets a notice of its own, "You archived this session in the Claude app", on a band, saying to close the window with / then exit or undo the archive with /remote-control, which connects the same session and brings it back in the app; the status line says Archived, and Remote Control stays off in that window, through updates, until turned on, since connecting again undoes the archive. A delete in the app, or another device taking the session, gets the same kind of notice saying which. A test run (AT_CLAUDE_DATA) has it off, keeping its sessions out of your Claude app. /remote-control turns it off or on in one window, as Claude Code's own /remote-control does, and that window keeps its choice through updates and restarts; turned on that way, the conversation gives the session's page and you can carry on there or in the Claude app. What you type there shows here as your message. It stays on when claude restarts or the session is started over, and through an update, until /remote-control turns it off; while it is on, the status line says so and the menu gives the page. A window whose claude started before at-claude had it says that at-claude update -restart brings it (ATC-55). A claude the host ends with it on, for a new session or as its window goes, is asked to turn it off and ended on its answer, since a killed one leaves its session listed as offline in the Claude app and on claude.ai; the host ends once that claude has gone. Nothing times either wait: claude's answer or its exit is the event (ATC-206).
  • A window bills to your subscription unless it is put on the Anthropic API key, for when the 5-hour limit stops it (SES-333): /api-key between turns ends claude and starts it again on the key, continuing the session, and again moves it back. The window keeps the choice through every restart: an update's or at-claude restart's starts it with -api-key, and tmux's restore reruns that start command. claude gets the key as ANTHROPIC_API_KEY: the one at-claude was started with, from a shell that had it set (which puts the window on the key too), else the PC's from OpenBao (secret/home/opencode, the key OpenCode uses), read once per host. A window on the subscription gets no key, even one its shell had. One whose key can't be read starts no claude, saying why. Remote Control needs the subscription, so it stays off on the key.
  • If claude exits, the window says why and Enter starts it again in the same session.
  • A resumed session whose background work (a shell, an agent) died with the claude before it, as every window's does when tmux crashes, picks it up: Claude Code tells the new claude of each task but ends that turn without asking Claude, so at-claude sends Claude a notice naming the work and waiting for each to be picked back up, or the reason it can't be (ATC-125). Every message at-claude sends Claude for itself is a notice: a bold heading and a table of facts, with no prose or instruction (claude.Notice, AGT-45).
  • A message a program sends Claude (strip-owner's, tmux-preview's, at-claude's own notices) is a post Nelson reads. Rows only Claude needs, the commands it runs and its working notes, go after a <!-- for-claude --> line, which markdown renderers hide; the window shows the post before it, after a ▸, and a Ctrl+click on the post, or show-sent, opens what Claude got whole in the side panel (a plain click opens nothing, as on a link: ATC-241, Nelson: clicking in the transcript kept opening it), written to a file under the data folder for tmux-strip to show (ATC-178, Nelson: "a semantically meaningful event, delivered knowingly to a user"). A post with nothing behind it, such as Release complete, shows whole with no ▸. Tables with <!-- side-by-side --> alone between them, as a delivery's report writes its facts and its steps, sit side by side, top-aligned, when the window has the room and stack when it hasn't; markdown has no layout of its own, so the system says it with a comment other renderers hide (ATC-176).
  • A background shell Claude started shows as the system's message when it ends, in Claude Code's one line on it (Background command "..." completed (exit code 0)), beside the system avatar, during a turn as much as after one, between the tool calls before and after it (ATC-126). One a subagent started in the background doesn't show: its end is told to that agent, not Claude, and the window leaves out the subagent's own work (ATC-157). A background agent's end is its final report, folded with the tool calls around it and counted on their row (1 agent report after their icons); opened, it shows as that agent's message, beside an avatar of its own dealt under its task, headed by its gamertag and the description Claude gave it (ATC-133, Nelson: hidden like any tool use, but from another agent when expanded). During a turn Claude Code prints only a task_notification line for either, which at-claude reads for the tasks it saw start in the background; for an agent that line's summary is the whole report. A task run in the foreground has one too, and shows nothing. A resumed session's are read from Claude Code's saved <task-notification> messages.
  • While Claude's background work runs, a Background work table under the newest message has a row for each agent and command with how long it has run (ATC-207). Once an agent has made a call, its row also says what it is doing now and what it has used, 37 calls · 1.3m tokens, in columns of a fixed width with the step cut to fit, so each call it makes changes their text and nothing moves (ATC-230). A click on its row, or agent-tokens, spells its tokens out above the composer, as a turn's count does. Claude Code prints a task_progress line after each of an agent's calls: its wording of the call and how many it has made. The tokens come from the agent's conversation, which Claude Code saves as it runs (subagents\agent-<task>.jsonl beside the session's): the host reads what each line added, counts each reply once, and adds the total to the progress line, counted as a turn's is, cache reads in. Claude Code tells of a call before it saves the reply that made it, so the total is of the replies before the latest one, which comes in with the next call: during the first there is none, and the row and at-claude agents say no count rather than 0. The line's own total_tokens is Claude Code's running figure, the latest request's input with every output token so far, which is not what the agent has used in all. Claude Code's model-written progress summaries (agentProgressSummaries) stay off, since each costs a request of its own; a summary that comes anyway is shown as what the agent is doing.
  • at-claude agents answers the same for Claude, from the window's host: each task under way, how long it has run, and for an agent its latest step, its calls and the tokens it has used (input, output, cache read and written). Run from Claude's own tools it finds its window by AT_CLAUDE_SESSION (-session names another), and a Low claude's tools may ask it. A window's session is told of it as it starts, by the SessionStart hook (scratch-hook), so Claude runs it rather than reading the agents' files. tmux-strip agents is the other list of running agents, every subagent's from Claude Code's SubagentStart and SubagentStop hooks, on the strip and in its panel by what each was asked and when it started (AGT-7); this table and command are the window's own, with each background agent's progress.
  • Delegated work on a home PC runs as a worker window, not a sub-agent (ATC-256, Nelson: handed-off work is an at-claude window of its own in the agents tmux session, which a sub-agent dying with its parent can't be), and the window that opened it, the hub, shows it as one of its background agents. Claude opens one with at-claude worker open -name <name> -dir <folder> -brief-file <file|->, through its host, which a Low claude's tools may ask: the host saves the brief in ~/.claude-spawn with a line telling the worker how it reports, opens the window with the installed claude-pane as an open-window request does, marks its tmux window with the hub's session and the worker's name (@at-claude-hub, @at-claude-worker, which a restart of the window keeps, so only this command makes a worker, never /new-window), and moves it to the agents session with tmux's own movew, making the session if there is none (claude-pane opens a window only in its caller's session, CP-1). The worker's host reads the marks as its claude starts and tells the hub's host, found by the hub's session as at-claude wake finds a host, that it started, its progress after each tool call (its latest call in words, its calls, its tokens from its replies' usage) and, as each of its turns ends, its final reply. The hub's host lists it in the Background work table (Worker: <name>, its row's clock and progress as an agent's), in at-claude agents, and on the strip, telling tmux-strip agents of it with at-claude's own WindowStart and WindowStop events; and it gives Claude each report as a wake in the at-claude-worker tag, which the window shows as that worker's message, folded as a background agent's report is, beside the face its own window shows. at-claude worker send <name>, the text on stdin, wakes the worker's Claude with it in the at-claude-hub tag, queued during its turn as wakes are; at-claude worker done <name>, once both agree the work is done, closes its window, which ends its claude with its session saved to resume, and drops it from every list. A worker window closed any other way is dropped too, and the hub's Claude told. A move to a new build hands the list and the worker's tie to its hub on. Stop-task stops only Claude Code's own tasks.
  • A program waking the session comes through the window's host: it runs at-claude wake -session <id> -from <sender> with the text on stdin, and the host sends it to Claude in the sender's tag saying who sent it and that it isn't Nelson's message, at once between turns or when the turn running ends, so the wake is a turn of its own; wakes queued during a turn go together, each in its own tag. The window shows it as the system's message, live and on resume. The senders are strip-owner, the default (a PR it handed over needing it or delivered, or a line sent back from the supervisor card: tmux-strip pr-wake hook, ATC-126), and tmux-preview (a preview the session opened in Nelson's tmux window closing some way other than by him: tmux-preview, its own repo, SES-174); the host refuses any other. Claude Code shows nothing of a hook's own wake, which is why it doesn't go that way.

Flags: -model <name>, -effort <level>, -resume <session id>, and -claude-arg <arg> (repeatable) for anything else to pass to claude. -resume shows the session's earlier conversation, read from the file Claude Code saved it to under ~/.claude/projects, then continues it. -stand-in runs a stand-in agent instead of claude, at-claude's own stand-in subcommand: it speaks claude's stream-json protocol and answers every message, a strip-owner wake included, with a fixed reply naming itself, running no model and no tool, so a test window puts no real agent in front of what it is sent (ATC-156). -prompt-file <path> sends that file's text as the session's first message once claude has started; the new-window skill and tmux-strip spawn start agent windows this way. When AT_TMUX_SPAWNED_BY names the session that spawned the window, as both set it, the message is sent as that session's: in Claude Code's <cross-session-message> tag, with its address, name and permission mode from Claude Code's list of running sessions and its saved session. A spawner on another PC is in neither, so claude-pane open --pc also sets AT_TMUX_SPAWNER_NAME, its name, which the message carries when the list doesn't (AGT-65), and AT_TMUX_SPAWNER_MODE, its permission mode read from its saved session on its own PC: a message from another session stating no mode Claude Code holds for an approval the window can't give, so the session never saw its brief (ATC-220). A window running plain Claude Code instead gets the brief as yours.

What it does and doesn't do yet

  • Tools run under your Claude Code permission mode (bypass, from your settings). A tool the mode doesn't allow, which Claude Code asks the host about, is asked of you as a yes or no (ATC-166); there is no "always allow" choice, so the same call asks again next time. One ask never reaches you: Claude Code's built-in email check (cc-plugin-privacy) on a shell call, which the host answers yes itself, because on a home PC a shell call reaches only your own services, owner-guard refusing curl, ssh and the like. The same check on a web call (WebFetch, WebSearch) still asks you (SES-399).
  • Claude in Chrome is on (--chrome), so every session can use your Chrome; a window whose claude started before at-claude had it gets it from at-claude update -restart (ATC-69).
  • A subagent's own steps don't show; its Task call does.
  • Your Claude Code settings, hooks and MCP servers apply, as in any Claude session.

How it works

  • internal/claude runs claude -p --input-format stream-json --output-format stream-json --include-partial-messages --verbose --replay-user-messages, one process per session (the replay prints back every message claude takes, which is how one from another session shows), writes your messages and interrupts to its input and decodes its output. On Windows claude gets a console with no window, and a job object ends it, and everything its tools started, when the process holding it exits. With the Low integrity trial on (at-claude low-integrity on, a switch file in at-claude's data folder, which a Low process can't write; off ends it, and bare it says which), the host starts each claude under your own account at Low integrity, so Windows refuses it, and everything it starts, a write anywhere not labelled Low, with TEMP and TMP Windows' own %LOCALAPPDATA%\Temp\Low. It takes effect as a claude starts: a window already running keeps its claude until that restarts. A window started with -full-access, for a session that repairs the machine, starts claude at the window's own integrity whatever the switch says, and keeps that across a restart. Its Bash tool, and the git and MSYS programs on its PATH, are the agents' own copy of Git (C:\Program Files\at-home\git-agent\current, which home-sync installs; claude won't start at Low without it): every MSYS program of one Git shares a named object folder, made at the level of the first to run, and a Low bash can't open the installed Git's, which Medium programs hold. A host's socket is labelled Low, so a Low claude's tools reach it, but the host asks a connection's process for its integrity (SIO_AF_UNIX_GETPEERPID). One below Medium, or one it can't read, is answered only if it is in the job the host's claude runs in, which everything claude starts joins and can't leave, and started before the host took the connection, so another process given the id of one that ended can't pass for it: another session's tools are refused everything. From its own session's it takes only what those tools send: strip, hold, wake, check, reviewed, open-window, nas, and the status they find their host by. A window's requests (starting claude, sending a message, answering a permission ask), an update and a memory profile are refused. Those tools find their host by asking each one in the data folder, the one in their session answering, and log to low\at-claude.log, the one folder there labelled Low, which each host makes as it starts. The side panel's socket isn't labelled, and the panel refuses anything from below Medium that reaches it: a view's rows run tmux-strip actions and copy files at the panel's level when clicked, and every way tmux-strip draws a panel reads tmux first, which a Low process can't. A Low claude still can't reach tmux, so what goes through it (at-claude restart, update, the Stop hook's tmux options) is refused while the trial is on.
  • On a PC whose agents have an account of their own (SES-314: the machine variable AT_AGENT_ACCOUNT, ROMAINE\claude, which the PC's join to the domain sets), the host starts claude as that account, not yours, unless the window was started with -full-access or resumes a session your own claude saved (nothing copies a conversation between the two accounts' config folders, so a window moves to the agents with a new session). The agents' broker, at-claude agent-broker -person <your SID> -drive S:=\\NelsonNAS\files, does the starting: its task, at-claude-agent, which this app's manifest declares and at-update registers with the account's own password, runs it as the agents from boot, so it has a full logon with network credentials, and maps S: in that logon. It serves \\.\pipe\at-claude-agent to you alone (no instance of it can be made by you, so nothing of yours stands in for it), and the host checks the pipe's owner is the agents' account before it asks. The host makes claude's three pipes, which only the agents' account may open; the broker opens them as claude's input and output and starts claude suspended, with no window, in a process you may put in a job and end, having added you to its own default DACL so every process claude's tools start can be read from your side; the host puts it in the same kill-on-close job it keeps every claude in, checks the pipes were opened by the broker, and the broker lets it run, ending it if the host goes first. From there the host reads, writes, moves to a new build and ends it as one it started itself, and the peer checks above apply unchanged, now to the agents' processes too. Claude's environment is the agents' own (Windows' block for their logon, which home-sync writes), the session's own variables from the host's (AT_CLAUDE_*, AT_TMUX_*, TMUX, TMUX_PANE, the terminal's) and nothing else of yours, CLAUDE_CONFIG_DIR their %USERPROFILE%\.claude, DISABLE_UPDATES on, and AT_CLAUDE_HOST the host's socket, which grants the agents' account access: their tools can't reach tmux or your hosts folder, so at-claude open-window, check and the rest dial it. The program is the agents' copy of Claude Code, C:\Program Files\at-home\claude-agent\current\claude.exe, which home-sync keeps and the agents can't write. The broker refuses every start until the agents can't change their own settings (settings.json, which home-sync writes, read-only to them, and their .claude not deletable, renamable or re-permissionable), and claude gets --settings {"disableAllHooks":false}, which outranks every project's settings, so no file the agents can write turns the hooks off; it gets no --chrome, since the extension is in your Chrome. The window says, as claude starts, that it runs as the agents and what doesn't work there yet (the side panel, window states, Claude in Chrome), with anything the broker reported, such as a drive it couldn't map. No broker running, or one that isn't the agents', and claude doesn't start, the window saying why: nothing falls back to your account. The host reads sessions from both config folders (resume, background agents' spend, the running sessions); -full-access refuses to continue one the agents saved.
  • at-claude scratch-hook is Claude Code's SessionStart and SubagentStart hook, which home-sync registers (ATC-210): it makes the session's scratchpad, Temp\claudet-claude\<session id>\scratchpad, or under Temp\Low for a claude started at Low integrity, placed by the session_id the hook is handed (Claude Code 2.1.318 names no folder of the session's, SES-393), and tells Claude and each subagent its path, so throwaway files never go at D:'s top level and nobody has to delete them. A window you close, by exit or by closing it with tmux still up, lists its sessions in the data folder's scratch-closed as its host exits; the next window to start deletes their scratchpads, and any scratchpad nothing has changed in for a week. A window ended by tmux going away or a reboot keeps them, for restore to resume into, and a window resuming a session never deletes its own. at-claude scratch-dir, run by one of the session's tools, prints its scratchpad from CLAUDE_CODE_SESSION_ID, making it for a session started before the hook did, for a tool that puts throwaway work there (SES-393).
  • at-claude check -session <id> -id <check id> [-checker <session>] takes a checker's answer on stdin and hands it to the host running that session, which keeps it with the conversation and shows it to the window.
  • internal/host is that process: each window starts a windowless at-claude host, which holds claude and keeps everything that happened, and talks to the window over a Unix socket in %LOCALAPPDATA%\at-claude\hosts. Closing the window ends the host and claude. at-claude update replaces a window with a new build, mid-turn too: the new window attaches to the same host, is shown the whole conversation, drawn once when all of it is in (ATC-117), and gets the old one's draft, queued messages and scroll (ATC-12). On Windows the host moves to the build with it, claude running on (ATC-209): once the window has handed off, the host stops reading claude, starts the new build's host on its own socket and hands it claude's process, input and output, the job that ends claude with its host, what it had read of a line, and the whole conversation, and exits; the new window attaches to that host. claude never notices, so a turn running, or one waiting on your yes or no, goes on there, and a change to the host reaches the window without ending its turn. claude's output comes on overlapped named pipes so a pending read can be called off with nothing lost. A move that fails leaves claude with the old host, listening again. A host from before it is updated as before, its window alone.
  • at-claude restart [-then <text>] is a session restarting its own window, for a change claude only takes up when it starts (ATC-162). A restart waits for the window's turn to end, which a session's own turn, waiting on the command, never does, and run as Claude Code background work the command would die with the old claude and the restarted session be asked to pick it up again. So the command hands the wait to tmux (run-shell -b, outside claude's processes) and returns at once; when the turn ends the window restarts on the build that ran it, continuing the session, and -then's text reaches the session as at-claude's message, a turn of its own before anything queued, so it carries on. A restart that fails tells the session why the same way. at-claude update sends the window it runs in this way too, when that window needs a restart.
  • at-claude update -restart -pc all restarts every Claude window on every home PC, and -pc upstairspc (or several, comma-separated) those on the PCs named, from home-sync's machine list (ATC-247). Without -restart it moves them to the PC's installed build as update does. Each PC's own at tmux server runs the update (run-shell), in that PC's desktop session where its windows are, so it never runs inside a Claude window it restarts; another PC is asked over romaine-auth ssh, as claude-pane's open --pc asks one, and runs its own installed at-claude. Each PC's lines come back led by its name. With -restart, a window counts as restarted only once its host runs a claude started since the update began (the host's status names its claude and when it started), so its hooks are reloaded; a minute without that says what it runs instead. The window the command runs in restarts when its turn ends, as above. A PC not reached, one whose at-claude predates -pc, or a window that failed or wasn't confirmed is named on the last line, and the command fails.
  • at-claude handoff [-session <id>] < brief is a session's claude handing the session on to a fresh claude (ATC-244), which starts from the brief alone, like compacting but with what carries over written by the claude that knows what matters, so every call after it reads that much less. The window, its name, the session id and what hangs on it (title, scratchpad, work package, strip) stay; Remote Control comes on again for the fresh claude, on a page of its own, which the conversation gives. The session is the one the command runs in (AT_CLAUDE_SESSION). The command hands the brief to the window's host and returns; the host does it when the turn running ends, at once with none running. The turn's result line tells the window, which sends nothing queued until the new claude's first turn, the brief's, ends. The claude reports its usage to the strip and is ended (Remote Control turned off first, as for a new session) and, once it has exited, so nothing it writes lands in the new conversation, its saved conversation is renamed <id>.handoff-<n>.jsonl beside it: Claude Code refuses --session-id for an id it has saved, and starts empty once the file is gone. A fresh claude starts under the same id and Claude Code name and is sent, in at-claude's handoff tag, the brief (which you see as the system's message), the background work that stopped with the old claude, and, for Claude alone, where the earlier conversation is, then any wake that waited for the turn. Should the conversation not move, the session goes on resumed and its claude is told why. A handoff asked for again during the turn replaces the brief; one waiting goes with the host through an update.
  • internal/programs says which programs a Bash or PowerShell command runs, for its call's icons (ATC-184): Bash read with mvdan.cc/sh, the parser shfmt uses, and PowerShell, which no Go parser reads, only as far as where its commands start.
  • internal/transcript folds those lines into the conversation: finished items in order, and the tool calls Claude is still writing, by name. internal/ui/condense.go folds each answered message's work behind its row; the host reads the window's @claude-hold as each turn ends (after the Stop hook, which brings it up to date) and sends it with the turn's result line. at-claude hold -session <id>, with what the session waits on on stdin (empty for nothing), is how strip-owner tells the window each change (ATC-173): the host passes it on as a held-on event, kept with the conversation so a window attached after an update is told it too. With -approval-json - the last line of stdin, under the text, is the grant request strip-owner holds the session on until Nelson decides it (AGT-74), as romaine-auth <kind> request --no-wait prints it ({"kind","id","approveUrl", "requestExpiresAt","reason","minutes"}, kind break-glass, azure-access or continue (whose minutes are 0), the lapse in Unix seconds), and -approval-json <file> reads it from a file; without the flag, or with that line empty, none is pending. Every hold states the whole of what the session waits on, so one without an approval clears it. It rides on the held-on event, a field an older window drops. at-claude reviewed -session <id> -id <review id> is how tmux-strip review says a review it ran ended with a verdict (ATC-205): the host passes it on as a reviewed event, kept the same way, and the window shows "I've finished reviewing the design." beside the reviewer's own avatar, the service's reviewer avatar (the architect), with the system's standing in when the service has none. A window holding no reviewer avatar, one that kept its avatars from the window it replaced or was dealt them before the service had one, asks the service again on each review's end it sees live until it has one. Claude isn't told; tmux-strip review hands it the answer. at-claude delivered -session <id> < record is how strip-owner shows the window that opened a PR its release record once the PR lands and is delivered cleanly (SES-360), since a clean landing wakes nobody (AGT-83): the host passes it on as a delivered event, kept the same way, and the window shows it as the system's message, as it shows the record that wakes a session that continues. Claude isn't told. strip-owner runs at Medium, so a session's own tools can't send one. at-claude open-window -session <id> -C <folder> -prompt-file <brief> [-name <name>] [-env NAME=value]... is how spawn's Open (claude-pane open, tmux-strip spawn) opens a new Claude window when it runs below Medium, since tmux refuses a Low client a new window: it prints the window's id. The host checks the request and runs the installed claude-pane (its own repo's current release, which at-update installs) at its own level, claude-pane open --saved-brief with arguments it builds, never a program or flag the caller names: the folder must exist in D:\repos, the brief must be a file in ~\.claude-spawn, both as Windows resolves them, so a junction there leads nowhere else; the name, if any, is one claude-pane takes; the only settings are a follow-up's (AT_TMUX_FOLLOWUP, AT_TMUX_FOLLOWUP_FROM); a request carrying claude's options, full access among them, is refused. The new session is spawned by the host's own, and its window's at-claude starts its claude as every window does. at-claude nas [-session <id>] [--] sudo '<command>' | dsm <api> <version> <method> [key=value ...] is supervised NAS root (SES-314; Nelson, 2026-11-29, on taking NAS root out of everyday agent sessions: "do i want the ability to maybe give it to the agent sometimes, under supervision? yes"). The session's host, running as Nelson, runs the installed nas (its own repo's current release, which at-update installs) with those arguments, never a program the caller names, and only sudo with one command or one dsm call; setup-machine and anything else are refused. It does so only while its own session (the host's, never one the caller names; -session defaults to CLAUDE_CODE_SESSION_ID and only finds the host) holds a live break-glass grant, asked of the installed romaine-auth (break-glass status --session <id> --json) on every call: kind break-glass, not an Azure grant, that session's, unexpired. strip-owner files the request and the host reads it, both on Nelson's device. The grant gates a call's start: a root command already running on the NAS wouldn't stop with nas's ssh on this PC, so a call runs to its end, 10 minutes at most, after which the host stops waiting and says the command may still be running on the NAS. A host moving to a new build or closing answers the calls under way before its process exits. The command prints nas's output, at most 1 MiB of each stream, and exits with its code. Without a grant it is refused, saying to ask with strip-owner approval --kind break-glass --reason TEXT. Every call, run or refused, is in the host's log with the grant's id and the command masked by logline's credential list, never its output. Until agents run as their own Windows account their tools reach the host as Nelson and could run nas directly; a tool running as that account reaches it only once the host can open its process and the socket's folder, which the broker that starts claude as that account provides.
  • internal/avatar asks the avatars service for a session's two avatars (signed in with this machine's avatars home token, or with none when AT_CLAUDE_AVATARS names a service on this machine, as each work laptop runs its own with no OpenBao to sign in with, ATC-192; a laptop builds and runs that service from github.com/nelsong6/avatars, whose README's "Running it on a laptop" sets it up), keeps each picture under %LOCALAPPDATA%\at-claude\avatars by its id (an avatar's picture never changes), and draws one as tank-operator did: the circle scaled to the gutter's cells at the terminal's cell size with a smooth edge, the system avatar on a faint disc and ring, sent to tmux as RGBA pixels with the corners transparent, so the terminal's own background shows there however see-through its window is. A new session is given its id up front (--session-id), so its avatars come before its first message.
  • internal/ui/screen_cells.go draws the window's text. Bubble Tea is handed a blank view with the window's modes, so it takes the alternate screen, sets the mouse and keyboard modes and reads input but draws no cell; ui.Screen draws each view with ultraviolet's renderer, as Bubble Tea would, but marks changed only the rows whose cells changed. Bubble Tea marks every row changed every frame, and ultraviolet rewrites whole any changed row holding a wide character (an emoji), so a key that only moved the cursor rewrote every such row (ATC-200).
  • internal/ui/screen_images.go gives tmux the pictures. Bubble Tea knows nothing of images, so every frame passes through ui.Screen, which sends each avatar's picture once, as a kitty graphics virtual placement by ID (TMUX-215), before the first frame that shows it. Where an avatar shows is text: the view writes Unicode placeholders into its gutter cells (placeholder.go, U+10EEEE with the ID as its colour and two diacritics naming the picture's cell), and tmux draws the picture's cell over each and carries them through resizes, scrolls and redraws as it carries every character. The window keeps no list of where its avatars are, which is what fell out of step with the screen in TMUX-211, ATC-83 and ATC-84.
  • internal/ui/spare.go says where the screen's spare pixels go (ATT-37). at-terminal is always fullscreen and its rows are whole pixels, so less than a row is left over, and with nothing said it goes under the last row, leaving the window's bottom rows floating above the screen's edge. The window asks for it above the row a notice takes, over the composer ("Copied 5 lines."), so the notice gets room from the conversation and the last row meets the edge. The ask is at-protocol's spare-space message, ESC _ at; and base64 of kind 5 and the pane's row, written through ui.Screen in order with the frame; at-tmux turns the pane's row into the screen's and at-terminal draws the gap. It goes on the first frame and again only when the row moves (a resize, the composer growing), and the window gives the pixels back, with row 0xFFFFFFFF, when it leaves the alternate screen or exits, and while the repo picker, which has no such row, shows. The layout is the same either way.
  • internal/ui is a Bubble Tea program on the alternate screen with mouse reporting, styled with Lip Gloss, with Bubbles' textarea and Glamour for Markdown. It keeps the conversation's rendered lines and draws the part in view; screen.go is the selection.

Logs: %LOCALAPPDATA%\at-claude\at-claude.log (search logs --app at-claude), in the estate's one line from github.com/romaine-life/logline (AHT-204): a level, a fixed message, and what varies as key=value fields, such as info turn ended result=success error=false ms=114613 cost=4.9728. Never what was typed or said: an unreadable line from claude is logged by its length.

Memory: at-claude memory [-session <id>] [-profiles <folder>] asks each host what it holds, a line each: the Go heap in use and idle, what the runtime has from Windows, its goroutines and the conversation it keeps for replay. With -profiles, each host writes its heap and goroutine profiles there for go tool pprof (ATC-193). A host only answers from the build that started it, since updates move windows, not hosts.

Development

Read AGENTS.md and TESTING.md. The shared default, go and release CI suites (configured in pipeline-templates' fleet.json) test every pull request, and a merge to main publishes a signed release that home-sync installs on the home PCs.