• 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