-
v0.31.0
Stablereleased this
2026-11-12 06:39:25 +00:00 | 35 commits to main since this releaseChanged
- Breaking: the adapter that
go install toolinstalls isclaudeacp, no longerclaude-acp:go.modpinssarak.sh/mikluko/claudeacpv0.5.0, whose program the fork renamed and moved tocmd/claudeacp, so a city's apply order installsclaudeacpbesiderexcity. A provider whoseacp_commandisrexcity acp -- claude-acphas to sayrexcity acp -- claudeacp, with the same options; aclaude-acpthat 0.29.0 left in a bin directory is no longer updated. The acp box itself is unchanged: it runs whatever adapter its command line names.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Breaking: the adapter that
-
v0.30.0
Stablereleased this
2026-11-12 06:19:07 +00:00 | 37 commits to main since this releaseChanged
- The image is built on kuberex 0.27.0.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.29.0
Stablereleased this
2026-11-12 01:53:57 +00:00 | 38 commits to main since this releaseAdded
rexcity acp -- ADAPTER [ARG...]is the acp box: the command of a provider'sacp_command, which passes the JSON-RPC lines between gc's ACP provider and an adapter such asclaude-acpuntouched, never rewritessession/newand never answers a permission request, which gc holds.- The acp box passes the adapter's stderr and exit status through, keeps the adapter in gc's process group so gc's signals reach it once, ends its input on SIGTERM, a hangup or the end of gc's input, and never exits before it.
- The acp box renders the session to
.rexcity/<city-key>/<name>.log, appended to with a header per adapter start: gc's prompts marked as from gc, agent text with thinking dimmed, one line per tool call with its final status, plan updates, permission requests with gc's answers, and each turn's end with its stop reason. - The acp box opens a read-only pane that follows the log, in the rig's tab or the city tab and placed as a tui agent's pane is (
REXCITY_PANE,REXCITY_SESSION, the longer-edge split, the pane label), and closes it when the adapter exits. An agent whose env setsREXCITY_BOX = "process"gets the log only. - A pane that cannot open is reported on stderr and tried again at the next start; the adapter runs and the log is written either way.
rexcity label LABELrelabels the pane of an acp agent.rexcity acp follow [--pid PID] [--from OFFSET] LOGshows a log as it grows, until the wrapper PID has exited.go install toolin a rexcity checkout installsclaude-acp, the pinnedsarak.sh/mikluko/claudeacpv0.4.0, besiderexcity.sarak.sh/mikluko/claudeacpis a fork ofgithub.com/afrase/claude-acp-gothat accepts the claude options gc appends to an ACP command (--dangerously-skip-permissions,--effort,--settings), so a provider of the claude family can userexcity acp -- claude-acp.- A start of the runtime closes the pane of an acp agent whose wrapper has exited.
Fixed
- The forgejo pack's
pr-sweeporder no longer reads every timestamp as 1970 on a host whosedateis BSD's, such as macOS, where it counted each pull request as idle for longer thanPR_SWEEP_STALL_SECSand mailed the Mayor about an approved one at once.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.28.1
Stablereleased this
2026-11-11 17:43:50 +00:00 | 41 commits to main since this releaseFixed
- The rex runtime finds an agent's message socket on macOS. Claude Code 2.1.319 binds it at
/tmp/cc-socks/<claude pid>.sockthere (/tmpis/private/tmp), not under/tmp/user/<uid>/cc-sockswhere the runtime looked, so in a city running on a Mac everynudgewas typed into the agent's tab as a<system-reminder>prompt, colliding with what the user was typing, instead of arriving as a message fromgc. The runtime now looks for<claude pid>.sockin each of$XDG_RUNTIME_DIR/cc-socksand$CLAUDE_CODE_TMPDIR/cc-socks(when set),/tmp/cc-socks,/tmp/cc-socks-<uid>,/run/user/<uid>/cc-socksand/tmp/user/<uid>/cc-socks(Claude Code 2.1.311 on Linux), and uses the first socket there that is its user's, so a Claude Code that moves its socket again is found while the new place is on that list; an agent with no socket on it (another provider, an older Claude Code) still gets the text typed. The wire format is unchanged: 2.1.319 takes the same message line.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- The rex runtime finds an agent's message socket on macOS. Claude Code 2.1.319 binds it at
-
v0.28.0
Stablereleased this
2026-11-11 16:52:03 +00:00 | 43 commits to main since this releaseAdded
- The runtime's handshake declares
observe.v1andreport-attachment, so gc admits it to reconciler v2, and implements theobserve,inventory,kill-objectandis-attachedoperations. - The handshake declares
fs.hostwith"locality": "local", so gc stages the work dir, runspre_startandsession_setupon the host and materializes skills and MCP configuration for agents on the runtime. is-attached,inventoryandkill-objectcount a tab as attached only while it is the active window of its Rex session and a client other than therexcommand line is attached to that session, not whenever any client is attached as gc's protocol states; a session that shows no window holds no attached tab.- The handshake declares
conformance-faultsandcity-scopedforgc runtime conformance. rexcity label LABELrelabels the Rex pane of the gc session it runs in, found fromGC_SESSION_NAMEandGC_CITY_PATH, so an agent can name its pane after its work.- A city that declares no panes for its city tab gets a
logpane in it, runninggc supervisor logs --follow(thegcofGC_BIN, restarted 5 s after it ends). It is no gc session, outlives the city's agents, keeps its tab from being pruned, and is put back whenever the city tab lacks it. rexcity.tomlin the city directory declares the panes of the city tab, each[[city_tab.pane]]with alabeland acommand, and a city that declares panes gets exactly those, with nologpane.- A declared pane runs its command with
/bin/shin the city directory, wheregcis thegcofGC_BIN, and runs it again 5 s after it ends. - The declared panes are a column to the right of the main pane, top to bottom in the order declared, whatever the shape of the window, when the city tab opens and when a pane is put back.
- A declared pane is no gc session, outlives the city's agents, keeps its tab from being pruned, and is put back whenever the city tab lacks it.
- A pane of the city tab that the city no longer declares is closed at the next start of an agent in that tab, the
logpane included. - A
rexcity.tomlthat is not valid TOML, or whose entries none can open, leaves an open city tab as it is, with a warning on the start's stderr. - An agent whose env sets
REXCITY_PANE = "main"takes the left of its tab at full height, and takes it again when it restarts, whatever the rest of the tab holds; no other agent's pane ever splits it while another pane is there. - An agent whose env sets
REXCITY_ATTACH = "never"never reads attached tois-attached,inventoryorkill-object, so gc stops a Worker that has drain-acked while a person watches it instead of retrying for up to 5 minutes.
Changed
- Each gc session is a pane of a shared tab instead of a tab of its own: every agent with
GC_RIGset, pooled or not, in its rig's tab, labelled with the rig's name, and every other agent in the city tab, labelled with the city's name (workspace_nameof.gc/site.toml, else the[workspace]nameofcity.toml, else the city directory's name). A pane is labelled by the agent alone (worker,witness). A new pane splits the tab's largest pane along its longer edge in pixels, right when it is wider than tall, else below. Stopping an agent closes only its pane, re-tiling nothing; a rig's tab closes with its last pane. A pane'sobserveobject is its block ID, and it reads attached only while it is the focused pane of its session's active tab. A process box still gets no pane; an agent in a tab of its own from an earlier version keeps it until it stops. - A pool session's pane label drops the
-<session ID>gc appends to its name:worker, notworker-gcg-session-0dfbd3e8531bf6e43920584e6b7c617a. - Breaking: a failing
pre_startcommand failsstart, and no tab is opened; it used to be a warning. - A
fresh_onlystart is refused while a process box whose program exited still holds the name. - The forgejo pack's Refinery is one-shot instead of sleeping when its queue is empty: a run takes one work bead assigned to it, hands it off and ends with
gc runtime drain-ack, pouring no successor patrol wisp (0.27.0 poured the next wisp after a handoff); theforgejo-refineryfragment overrides upstream's "always pour the next wisp" rule, including for thenext-iterationstep, and has the run close or reassign its bead before the drain-ack, which would hand back anin_progressbead, thelocalmerge-strategy branch ofmerge-pushincluded. An idle Refinery drain-acks at once instead of sleeping:find-workwith no work burns the patrol wisps and drain-acks. The invalid-existing_prpath ofmerge-pushburns its wisp instead of pouring a next. gc starts the next run for the next waiting bead.
Fixed
- The forgejo pack's Refinery no longer starts a review round for a branch that has already landed: when the rebase leaves no commit over the target, the branch is an ancestor of it or the patch of every commit is on it (
git cherry),merge-pushcloses the pull request unmerged with a comment naming the target's commits that carry the change, setsauto_merge=closed_unmergedon the work bead, closes it as a no-op and mails the Mayor one line, with no review bead. An empty branch whose change never landed still halts as a false completion.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- The runtime's handshake declares
-
v0.27.0
Stablereleased this
2026-11-11 06:19:13 +00:00 | 54 commits to main since this releaseAdded
rexcity acp clauderuns a real agent under gc'ssession = "acp":--model,--effortand--settingsgo intosession/newas claude-agent-acp's_meta.claudeCode.options,--bypasssendssession/set_modebypassPermissionsright after it and holds thesession/newreply until the agent accepts, so no permission request reaches gc (a refused mode becomes an error forsession/new), and--pre-start CMD(repeatable) runs the agent's pre_start commands, which gc's ACP runtime skips, before the agent starts. The image carries the pinned claude-agent-acp v0.104.1 standalone build as/usr/local/bin/claude-agent-acp, with its bundled Claude CLI in/usr/local/lib/claude-agent-acp/beside it, and the image's smoke test drivesrexcity acp claudethrough one prompt with a tool call against a stand-in for the Anthropic API (cmd/rexcity-mock-api). The image grows by the two binaries, about 450 MB.rexcity acp view LOGrenders an ACP proxy's log readably (prompt, streamed agent text, tool calls with a short result, plan, stop reason; long output truncated). The Rex tab ofrexcity acp clauderuns it with--followinstead oftail -Fon the raw JSON-RPC, and closes itself 5 minutes after the agent exits (REXCITY_ACP_GRACEstill overrides, was 5 s); the proxy no longer waits for the grace, so it returns when the agent exits.- A Claude session that has
CLAUDE_CODE_ENABLE_TELEMETRYset getscity(GC_CITY's base name),gc.agent(GC_ALIAS) andgc.rig(GC_RIG) appended toOTEL_RESOURCE_ATTRIBUTESby the rex runtime's start wrapper, percent-encoded, empty ones omitted and the attributes already there kept, soclaude_code.token.usagecan be split by city and agent. Without telemetry the env is untouched. - The release workflow calls each city's Flux Receiver (
saraksh-rexcity,uptime-rexcity) after the chart is published, so its OCIRepository reconciles at once. It reads the repository secretsFLUX_RECEIVER_SARAKSH_PATH,FLUX_RECEIVER_SARAKSH_TOKEN,FLUX_RECEIVER_UPTIME_PATHandFLUX_RECEIVER_UPTIME_TOKEN; a city with unset secrets is skipped, and a failed call only warns. rexcity acp claude, an ACP proxy: it runs an ACP agent such asclaude-agent-acpas its child, relays the JSON-RPC both ways unchanged, logs each message as a JSON line and shows the log in a Rex tab.rexcity-acp-clientis a stand-in for gc to run it end to end, andmake acp-agentfetches a pinnedclaude-agent-acp.packs/forgejoships the orderpr-sweep, a shell script every 15 minutes that finds the city's open pull requests with no bead in flight: it slings a rebase to the rig's fix pool for one that conflicts with its target, slings the next review round for one with no approval at its head, and mails the Mayor once per pull request and head about one that is stuck or escalated. Hold labels stop it, and--dry-runlists the action for each pull request.- A pull request that changes the
Dockerfile,rootfs/,cmd/,internal/or the Go module files builds the image on the Forgejo runners and runs the image's tools inside it (.forgejo/scripts/smoke-image.sh). The image itself is unchanged.
Changed
rexcityis the one entry point:rexcity runtimeis the session runtime thatgc-runtime-rexwas, with the same arguments, andrexcity acp claudeis the ACP proxy for Claude, which had acmd/rexcityof its own.rexcity,rexcity runtime -handrexcity acp -hprint usage, and an unknown command exits 2. The commandcmd/gc-runtime-rexis gone; installcmd/rexcityinstead. gc's exec session provider takes an executable name, not a command line, so the image carriesgc-runtime-rexas a link torexcity, which acts asrexcity runtimewhen started under that name, andpack.tomland a city's configuration need no change.- The forgejo pack's Refinery sleeps when its queue is empty. Its
mol-refinery-patrolfork endsfind-workwithout pouring a next wisp and burns every patrol wisp assigned to the Refinery, so none is left open andsleep_after_idleputs the session to sleep. A polecat's handoff wakes it, and the startup prompt pours a wisp. With work found the patrol still pours the next wisp. - The image is built on kuberex 0.26.0.
Fixed
- A nudge the rex runtime delivers through an agent's message socket is no longer byte-identical to the one before, which Claude Code dropped as a duplicate (a second "You have mail from human" never reached the Mayor). A mail notice now names each unread message not yet named to that session as
- [mail] <id> from <sender>: <subject>(fromgc mail inbox --json), and every delivery ends with a stamp of its own id and time. If the lookup fails the nudge goes out with the stamp only. go test ./packs/is green on main again: theTestReviewOfAMovedHeadcase for a work bead naming a round no review bead has expects the claim release (--assignee=) that a blocking stop now makes, which the test lacked after two pull requests merged on top of each other.- Every step of
mol-forgejo-pr-reviewcarriesgc.continuation_groupandgc.session_affinity = require, so with two reviewer sessions gc keeps a review workflow's steps on the session that claimed its first instead of splitting them across both. The drain closes only the drain step of the workflow root thatloadrecorded asWORKFLOW_ROOTin the state file, not that of another workflow whose step the session's hook claimed. - The forgejo reviewer reads
REVIEW.mdfrom the pull request's target branch, not its head, so a pull request that editsREVIEW.mdno longer steers its own review; the reviewer names aREVIEW.mdchange in its findings. mol-forgejo-pr-reviewofpacks/forgejoleaves a review bead routed to another rig untouched: a reviewer session of one rig that claims the step of another rig's review hands its step back (open, unassigned) instead of claiming the bead or blocking it asinvalid_beadbecause its own checkout is not the pull request's repository. The route is read fromgc.execution_routed_to, which gc writes on a slung bead, withgc.routed_toas the fallback; the handed-back step also drops its session pin.loadofmol-forgejo-pr-reviewreleases the assignee of the review bead once it holds the review, recordingreview_session, so the session's nextgc hook --claimreturns the review's next step and not the review bead.- A
mol-forgejo-pr-reviewstop ofpacks/forgejothat blocks the review bead also releases its claim, so the reviewer session closes on drain instead of sleeping and keeping gc from starting the rig's next reviewer. - The forgejo pack's Refinery handoff to an existing pull request slings a review round whenever the pull request's head differs from the commit of its latest review, and numbers the round after the pull request's earlier review beads. A handoff without
review_roundused to call every round 1. - A forgejo review round whose pull request moved while it ran finds a newer round among the pull request's review beads, found by
pr_number, not in the work bead'sreview_bead_round. A rebase bead's round N+1 no longer leaves the Mayor a false "moved, no newer round" mail.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.26.0
Stablereleased this
2026-11-10 19:28:49 +00:00 | 107 commits to main since this releaseAdded
- The image ships a
~/.zshrcwith fzf (Ctrl-R, Ctrl-T, Alt-C), a large shared history, completion and a plainuser@host cwdprompt, and installs it into an account's home the first time an interactive shell starts there without one. A restored Rex tab no longer stops at zsh'szsh-newuser-installprompt. An existing.zshrcis never replaced.
Changed
- A fresh Claude Code agent gets its startup prompt as its launch argument,
claude [flags] "<prompt>", which opens the normal pane with the prompt as the first user turn. The runtime no longer waits for the ready prompt or types the prompt and an Enter into the tab. The wrapper reads the prompt from a file beside it, so no quoting touches it. A resumed Claude Code (--resume,--continue), another provider, and a start without a prompt keep the typed path.
Fixed
- A tab whose program is not the root the last
startrecorded, as when Rex restores a tab after a restart of its server and resumes a bareclaudein it, no longer counts as the agent:is-runningandprocess-aliveanswer false, and the nextstartcloses the tab and runs the agent's wrapper again, with its stored command, hooks and MCP config. gc used to adopt the bareclaudeas the agent.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- The image ships a
-
v0.25.1
Stablereleased this
2026-11-10 18:13:38 +00:00 | 115 commits to main since this releaseFixed
- The startup prompt is typed into a Claude Code agent's tab again, not sent through its cross-session messaging socket;
nudgekeeps the socket. Claude Code shows a socket message as coming from another session, so agents on Sonnet refused their own startup prompt as a peer's request, and polecats stalled with work on their hook.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- The startup prompt is typed into a Claude Code agent's tab again, not sent through its cross-session messaging socket;
-
v0.25.0
Stablereleased this
2026-11-10 17:32:44 +00:00 | 116 commits to main since this releaseChanged
nudgeand the startup prompt reach a Claude Code agent through its cross-session messaging socket instead of being typed into its tab, as a message fromgc; a nudge gc queued arrives without its<system-reminder>frame. An agent with no socket, or one that refuses the message, gets the text typed as before.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.24.0
Stablereleased this
2026-11-10 17:16:22 +00:00 | 118 commits to main since this releaseAdded
- The image carries the
fwknopclient, for the knock before SSH to the cluster nodes.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- The image carries the