• 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