• v0.31.0 7776036105

    v0.31.0
    All checks were successful
    release / plan (push) Successful in 5s
    release / image (push) Successful in 50s
    release / release (push) Successful in 0s
    Stable

    city-root released this 2026-11-12 06:39:25 +00:00 | 35 commits to main since this release

    Changed

    • Breaking: the adapter that go install tool installs is claudeacp, no longer claude-acp: go.mod pins sarak.sh/mikluko/claudeacp v0.5.0, whose program the fork renamed and moved to cmd/claudeacp, so a city's apply order installs claudeacp beside rexcity. A provider whose acp_command is rexcity acp -- claude-acp has to say rexcity acp -- claudeacp, with the same options; a claude-acp that 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
  • v0.30.0 1d8f007ab9

    v0.30.0
    All checks were successful
    test / changelog (push) Successful in 4s
    release / plan (push) Successful in 5s
    test / go (push) Successful in 1m35s
    release / image (push) Successful in 1m22s
    release / release (push) Successful in 1s
    Stable

    Ghost released this 2026-11-12 06:19:07 +00:00 | 37 commits to main since this release

    Changed

    • The image is built on kuberex 0.27.0.
    Downloads
  • v0.29.0 7005e38e4b

    v0.29.0
    All checks were successful
    release / plan (push) Successful in 4s
    release / image (push) Successful in 47s
    release / release (push) Successful in 1s
    Stable

    city-root released this 2026-11-12 01:53:57 +00:00 | 38 commits to main since this release

    Added

    • rexcity acp -- ADAPTER [ARG...] is the acp box: the command of a provider's acp_command, which passes the JSON-RPC lines between gc's ACP provider and an adapter such as claude-acp untouched, never rewrites session/new and 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 sets REXCITY_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 LABEL relabels the pane of an acp agent.
    • rexcity acp follow [--pid PID] [--from OFFSET] LOG shows a log as it grows, until the wrapper PID has exited.
    • go install tool in a rexcity checkout installs claude-acp, the pinned sarak.sh/mikluko/claudeacp v0.4.0, beside rexcity.
    • sarak.sh/mikluko/claudeacp is a fork of github.com/afrase/claude-acp-go that accepts the claude options gc appends to an ACP command (--dangerously-skip-permissions, --effort, --settings), so a provider of the claude family can use rexcity 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-sweep order no longer reads every timestamp as 1970 on a host whose date is BSD's, such as macOS, where it counted each pull request as idle for longer than PR_SWEEP_STALL_SECS and mailed the Mayor about an approved one at once.
    Downloads
  • v0.28.1 2ac7935d66

    v0.28.1
    All checks were successful
    release / plan (push) Successful in 5s
    test / changelog (push) Successful in 4s
    release / image (push) Successful in 43s
    release / release (push) Successful in 0s
    test / go (push) Successful in 1m44s
    Stable

    city-root released this 2026-11-11 17:43:50 +00:00 | 41 commits to main since this release

    Fixed

    • The rex runtime finds an agent's message socket on macOS. Claude Code 2.1.319 binds it at /tmp/cc-socks/<claude pid>.sock there (/tmp is /private/tmp), not under /tmp/user/<uid>/cc-socks where the runtime looked, so in a city running on a Mac every nudge was typed into the agent's tab as a <system-reminder> prompt, colliding with what the user was typing, instead of arriving as a message from gc. The runtime now looks for <claude pid>.sock in each of $XDG_RUNTIME_DIR/cc-socks and $CLAUDE_CODE_TMPDIR/cc-socks (when set), /tmp/cc-socks, /tmp/cc-socks-<uid>, /run/user/<uid>/cc-socks and /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
  • v0.28.0 3d5b5b8382

    v0.28.0
    All checks were successful
    test / changelog (push) Successful in 4s
    release / plan (push) Successful in 4s
    release / image (push) Successful in 51s
    release / release (push) Successful in 0s
    test / go (push) Successful in 1m46s
    Stable

    city-root released this 2026-11-11 16:52:03 +00:00 | 43 commits to main since this release

    Added

    • The runtime's handshake declares observe.v1 and report-attachment, so gc admits it to reconciler v2, and implements the observe, inventory, kill-object and is-attached operations.
    • The handshake declares fs.host with "locality": "local", so gc stages the work dir, runs pre_start and session_setup on the host and materializes skills and MCP configuration for agents on the runtime.
    • is-attached, inventory and kill-object count a tab as attached only while it is the active window of its Rex session and a client other than the rex command 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-faults and city-scoped for gc runtime conformance.
    • rexcity label LABEL relabels the Rex pane of the gc session it runs in, found from GC_SESSION_NAME and GC_CITY_PATH, so an agent can name its pane after its work.
    • A city that declares no panes for its city tab gets a log pane in it, running gc supervisor logs --follow (the gc of GC_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.toml in the city directory declares the panes of the city tab, each [[city_tab.pane]] with a label and a command, and a city that declares panes gets exactly those, with no log pane.
    • A declared pane runs its command with /bin/sh in the city directory, where gc is the gc of GC_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 log pane included.
    • A rexcity.toml that 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 to is-attached, inventory or kill-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_RIG set, 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_name of .gc/site.toml, else the [workspace] name of city.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's observe object 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, not worker-gcg-session-0dfbd3e8531bf6e43920584e6b7c617a.
    • Breaking: a failing pre_start command fails start, and no tab is opened; it used to be a warning.
    • A fresh_only start 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); the forgejo-refinery fragment overrides upstream's "always pour the next wisp" rule, including for the next-iteration step, and has the run close or reassign its bead before the drain-ack, which would hand back an in_progress bead, the local merge-strategy branch of merge-push included. An idle Refinery drain-acks at once instead of sleeping: find-work with no work burns the patrol wisps and drain-acks. The invalid-existing_pr path of merge-push burns 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-push closes the pull request unmerged with a comment naming the target's commits that carry the change, sets auto_merge=closed_unmerged on 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
  • v0.27.0 5ef4873a93

    v0.27.0
    All checks were successful
    release / plan (push) Successful in 4s
    test / changelog (push) Successful in 4s
    release / image (push) Successful in 1m27s
    test / go (push) Successful in 1m37s
    release / release (push) Successful in 0s
    Stable

    Ghost released this 2026-11-11 06:19:13 +00:00 | 54 commits to main since this release

    Added

    • rexcity acp claude runs a real agent under gc's session = "acp": --model, --effort and --settings go into session/new as claude-agent-acp's _meta.claudeCode.options, --bypass sends session/set_mode bypassPermissions right after it and holds the session/new reply until the agent accepts, so no permission request reaches gc (a refused mode becomes an error for session/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 drives rexcity acp claude through 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 LOG renders 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 of rexcity acp claude runs it with --follow instead of tail -F on the raw JSON-RPC, and closes itself 5 minutes after the agent exits (REXCITY_ACP_GRACE still 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_TELEMETRY set gets city (GC_CITY's base name), gc.agent (GC_ALIAS) and gc.rig (GC_RIG) appended to OTEL_RESOURCE_ATTRIBUTES by the rex runtime's start wrapper, percent-encoded, empty ones omitted and the attributes already there kept, so claude_code.token.usage can 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 secrets FLUX_RECEIVER_SARAKSH_PATH, FLUX_RECEIVER_SARAKSH_TOKEN, FLUX_RECEIVER_UPTIME_PATH and FLUX_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 as claude-agent-acp as 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-client is a stand-in for gc to run it end to end, and make acp-agent fetches a pinned claude-agent-acp.
    • packs/forgejo ships the order pr-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-run lists 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

    • rexcity is the one entry point: rexcity runtime is the session runtime that gc-runtime-rex was, with the same arguments, and rexcity acp claude is the ACP proxy for Claude, which had a cmd/rexcity of its own. rexcity, rexcity runtime -h and rexcity acp -h print usage, and an unknown command exits 2. The command cmd/gc-runtime-rex is gone; install cmd/rexcity instead. gc's exec session provider takes an executable name, not a command line, so the image carries gc-runtime-rex as a link to rexcity, which acts as rexcity runtime when started under that name, and pack.toml and a city's configuration need no change.
    • The forgejo pack's Refinery sleeps when its queue is empty. Its mol-refinery-patrol fork ends find-work without pouring a next wisp and burns every patrol wisp assigned to the Refinery, so none is left open and sleep_after_idle puts 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> (from gc 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: the TestReviewOfAMovedHead case 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-review carries gc.continuation_group and gc.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 that load recorded as WORKFLOW_ROOT in the state file, not that of another workflow whose step the session's hook claimed.
    • The forgejo reviewer reads REVIEW.md from the pull request's target branch, not its head, so a pull request that edits REVIEW.md no longer steers its own review; the reviewer names a REVIEW.md change in its findings.
    • mol-forgejo-pr-review of packs/forgejo leaves 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 as invalid_bead because its own checkout is not the pull request's repository. The route is read from gc.execution_routed_to, which gc writes on a slung bead, with gc.routed_to as the fallback; the handed-back step also drops its session pin.
    • load of mol-forgejo-pr-review releases the assignee of the review bead once it holds the review, recording review_session, so the session's next gc hook --claim returns the review's next step and not the review bead.
    • A mol-forgejo-pr-review stop of packs/forgejo that 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_round used 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's review_bead_round. A rebase bead's round N+1 no longer leaves the Mayor a false "moved, no newer round" mail.
    Downloads
  • v0.26.0 d966e49f7b

    v0.26.0
    All checks were successful
    release / plan (push) Successful in 5s
    release / image (push) Successful in 47s
    release / release (push) Successful in 0s
    Stable

    Ghost released this 2026-11-10 19:28:49 +00:00 | 107 commits to main since this release

    Added

    • The image ships a ~/.zshrc with fzf (Ctrl-R, Ctrl-T, Alt-C), a large shared history, completion and a plain user@host cwd prompt, 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's zsh-newuser-install prompt. An existing .zshrc is 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 start recorded, as when Rex restores a tab after a restart of its server and resumes a bare claude in it, no longer counts as the agent: is-running and process-alive answer false, and the next start closes the tab and runs the agent's wrapper again, with its stored command, hooks and MCP config. gc used to adopt the bare claude as the agent.
    Downloads
  • v0.25.1 e11a815a01

    v0.25.1
    All checks were successful
    release / plan (push) Successful in 5s
    test / changelog (push) Successful in 5s
    release / image (push) Successful in 35s
    release / release (push) Successful in 1s
    test / go (push) Successful in 1m27s
    Stable

    Ghost released this 2026-11-10 18:13:38 +00:00 | 115 commits to main since this release

    Fixed

    • The startup prompt is typed into a Claude Code agent's tab again, not sent through its cross-session messaging socket; nudge keeps 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
  • v0.25.0 83525cbde1

    v0.25.0
    All checks were successful
    release / plan (push) Successful in 5s
    test / changelog (push) Successful in 5s
    release / image (push) Successful in 29s
    release / release (push) Successful in 1s
    test / go (push) Successful in 1m19s
    Stable

    Ghost released this 2026-11-10 17:32:44 +00:00 | 116 commits to main since this release

    Changed

    • nudge and the startup prompt reach a Claude Code agent through its cross-session messaging socket instead of being typed into its tab, as a message from gc; 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
  • v0.24.0 506f41c3b2

    v0.24.0
    All checks were successful
    release / plan (push) Successful in 6s
    test / changelog (push) Successful in 6s
    test / go (push) Successful in 1m19s
    release / image (push) Successful in 1m7s
    release / release (push) Successful in 1s
    Stable

    Ghost released this 2026-11-10 17:16:22 +00:00 | 118 commits to main since this release

    Added

    • The image carries the fwknop client, for the knock before SSH to the cluster nodes.
    Downloads