# Changelog Each entry is a version. It says whether the version is breaking, gives the steps to upgrade a box to it, and lists what changed. What each digit means, and how an entry is written, is in [Contributing](docs/CONTRIBUTING.md#versions). The commands every upgrade runs are in [Maintain](docs/operations/maintain.md#update). ## Unreleased **Breaking for a subscription agent that keeps scripts.** A subscription agent has no scripting: its harness runs commands and code with its own tools. Its runs offer no script tool, its prompt says nothing of scripts, Settings shows it no **Scripting** button, and its State has no **Scripts** view. The platform no longer writes to or clears the `scripts` folder of its home. A migration turns `scripting` off on every subscription agent, and a config that sets it on for one is stored with it off. The scripts a subscription agent kept stay in the database, unused, and run again if the agent moves to a key with scripting on. **Changed.** The coding harnesses are at their latest releases: Codex 0.170.0, Claude Code 2.1.327, the Cursor CLI 2026.11.17, and the Antigravity CLI 1.5.11. A machine runs them once `./setup.sh` has rebuilt the agent image and its container is recreated. **Changed.** Settings lists each harness's current models. Codex: GPT-6.2-Sol, GPT-6.2-Astra, GPT-6.1-Terra, and GPT-6-Luna. Cursor gains Claude Fable 5.2 and Claude Sonnet 5.5. Antigravity lists models for the first time: Gemini 4 Hydrogen, Gemini 4 Argon, Gemini 3.8 Flash, Claude Opus 5.5, and Claude Sonnet 5.5. GPT-5.6-Terra and GPT-5.6-Luna on Codex are no longer listed and keep running as custom names. **Breaking for a Cursor agent on Claude Fable 5.1 or Claude Fable 5.1 Thinking:** neither is listed, so the agent's model is read as a custom name, which Cursor refuses without its effort; pick Claude Fable 5.2 in the agent's Settings. **Changed.** A subscription agent is told that every process its turn starts ends with the turn, so it waits for a background command it needs and does not hand over a server that is no longer running. **Changed.** A guild holds any number of open issues: `report_issue` no longer refuses a report in a guild that holds 100 of them. **Fixed.** A turn of a subscription agent that moves a repository's head or branch without changing a file, such as one that amends, squashes, splits, or rebases commits to the same files and force-pushes, or switches branches, is listed in the **Changes** panel, as "no file changes" with the branch and head commit it moved. The start head and branch come from the agent image's `guilds-code`, which `./setup.sh` rebuilds: a machine whose container started before the update records no change for its turns until its container is recreated. **Fixed.** A subscription agent's turn that is cancelled, timed out, stopped at its tool calls' asking, or cut by an orchestrator restart records on its reply the tokens its CLI reported for its model calls while it ran (Claude Code and Antigravity report them), read **at least** in the run view, or says **tokens not reported** when its CLI reported none (Codex and Cursor report tokens only at a turn's end). **Fixed.** A call a subscription agent's harness makes of its own tools and that its CLI says failed, such as a command that exited otherwise than 0 or a read of a file that is not there, reads as a failed call: the run view colours it and opens it on the reason it failed, every count of tool errors includes it, and a command's exit code is in its Metadata. Cursor's failed commands, failed reads, reads of large files, and waited-for background commands show what they returned rather than raw JSON. **Fixed.** Counting the input tokens of a model call no longer stalls the server. A long prompt or tool result, such as one with a long run of one repeated character, took seconds to count and held every other request and run until it finished. The count runs on a worker thread; a count it has not finished within 60 seconds, or one past 32 waiting counts, fails the model call it was for with an error. **Changed.** An agent is told to call `report_issue` only when its run cannot get past a problem and an operator must act on it: a tool, a login, an API, or the platform that keeps blocking the work, or content the work needs that was cut off and that no other way reaches. A failure or a cut-off result the run gets past, by a corrected call, a narrower read, or a retry, is not reported. The system prompt, the tool's description, and the guild Issues tab's empty state say so. **Changed.** The system prompt of a subscription agent with scripting on no longer says a script is the only way to run code. It says to run commands and one-off code with the harness's own tools, to keep a script for work the agent repeats, and to change a script with the script tools, since its copy in `$HOME/scripts` is rewritten before each turn. An agent on a key reads that a script is its only way to run code, as before. **Added.** Every agent's Settings has **Repositories**, on a key as on a subscription, and **Create an agent** ends on it as an optional fourth step. Each ticked repository has a **Read-only** switch. While the guild has no repository to pick, the section says how to give it one, with the GitHub login and the add form below it. **Added.** An agent on a model key picks repositories as a subscription agent does, in `config.repositories`, some of them read-only. Before each of its generations the platform clones or fetches them into its home, under `repos/`, with the same tokens, replaced before a command one of its tools runs once they near expiry, and empties its tokens file when the generation ends. It has no shell: its system prompt says where the repositories are, which it only reads, and that a script runs git in them, reads their files, and runs their code. Its generations record no turn changes. A create or a settings change no longer answers 422 `repositories are only for subscription agents`. A recipe role on a key keeps its `config.repositories`, and the `repositories.key` finding is gone (SEC-74). **Added.** An agent reads some of its repositories without pushing to them: `config.read_only_repositories` lists them, each one of its `repositories`, and is empty when left out. Such a repository is cloned and fetched like the others. On GitHub its token holds contents read alone; on every host its clone's push URL refuses every push, and on a host other than GitHub that push URL is all that stops a push (SEC-73). The agent's State marks the repository `read_only`, and its system prompt says git refuses to push it. Removing a repository from the guild takes it out of each agent's read-only repositories too. The boot migration gives every stored agent config an empty `read_only_repositories`. **Breaking for extensions.** `AgentConfig` holds `read_only_repositories`, and `RunConfigSnapshot` leaves it out, as it leaves out `repositories`. An extension that builds an agent config in code adds it, `[]` for none; the boot migration adds it to every stored config. **Changed.** Each generation that works in repositories fetches every clone already in the agent's home whose `origin` is the repository's URL, besides cloning the missing ones. A fetch that fails leaves the clone as it was and is logged as `repository.fetch`; the generation goes on. **Added.** The Drive card's **Folder** shows the picked folder's name, its full path as the login can read it, and **Open in Google Drive**. The saved folder is read again on reload, and search results show their paths. A path the login cannot read in full, a parent with a blank name, a parent Drive cannot be reached for, cycles, and paths past 32 folders read **Full path unavailable**. The name and the link still show, and the saved setting stays. While a save is pending, no search result can be picked. **Remove folder** asks first, says nothing in Drive is deleted or trashed and the login stays connected, and clears only the unsaved pick. The saved folder stays until another is picked and saved. An inherited login's folder has no removal. Every login's **Save settings** stays off while a required setting is missing or empty. **Changed.** A guild's and an agent's **State › Notes** group the listed notes by who their access lists reach: **Organisation**, each guild, and **Individual agents**, in place of **Guild notes** and **Shared with this guild**. A note with no read or write row in sight is under **Access not fully known**; a read in progress or failed is listed apart, with **Retry**. Which notes are listed, and who reaches them, is unchanged. **Added.** While a table's **Access** tab is open, the Tables list groups the tables by who their access lists reach: **Organisation**, each guild, and **Individual agents**. A table with no read or write row in sight is under **Access not fully known**; a read in progress or failed is listed apart, with **Retry**. **Added.** A table's **Columns** view says below **Save columns** why it is off: no column changes to save, the columns being saved, or each column's rule break by its position and name. **Fixed.** A subscription agent on Cursor keeps the calls of Cursor's own tools, its shell commands, file reads, searches, and edits, as rows of its run with their results. A Cursor tool call event carries fields of its own beside the tool, and each such event was dropped. **Fixed.** Claude Code does not update itself when it is run from an agent's CLI tab, so the CLI the runtime image pins stays in place for the agent's turns and **Check login**. **Fixed.** A commit a subscription agent's turn makes carries the `Guild-Run` and `Guild-Agent` trailers in a repository that sets its own `core.hooksPath` too, and that repository's own hooks still run. A turn's git runs the image's hooks at `/usr/local/share/guilds/git-hooks`, which run the repository's hook of each name; the image no longer sets `init.templateDir`. A box takes it once its runtime image is rebuilt. **Fixed.** An open CLI tab stops reconnecting once the agent's machine has stopped. The terminal shows **Connection Closed** and waits: **Restart the terminal** wakes the machine and opens a fresh session. A dropped connection while the machine runs still reconnects on its own. ttyd retried at once, without end, when the orchestrator refused its socket on a stopped machine. **Changed.** The runtime image carries Codex 0.169.0, Claude Code 2.1.326, the Cursor CLI 2026.11.13, and the Antigravity CLI 1.5.10. `node scripts/update-harnesses.mjs` moves them to each vendor's latest release. A box runs them once its runtime image is rebuilt. **Changed.** A subscription agent's `max_tool_calls` counts only the calls of the guild's tools, the ones its harness makes on the orchestrator's MCP server; the calls of the harness's own tools, its shell, file reads, and edits, do not count. Each result's `remaining_tool_calls` is what the guild's tools have left, and the system prompt no longer says the harness's own calls count. **Fixed.** The run error of a subscription agent's turn that was lost, stopped answering, or ran past `max_turn_minutes` says the run's next turn resumes its session only on a run that stays open for a next turn; a group or schedule run's error no longer promises one. **Added.** A subscription agent's turn that was offered the guild's tools, and whose harness never listed or called them on the orchestrator's MCP server, records the run error `harness.mcp_unconnected`: the harness never connected to the guild's tools, so its turn ran without them, and its log is where to look. It comes before the error of how the turn ended, if any. Such a run no longer ends as completed with no error. ## 0.2.0 **Breaking.** An agent can run on the operator's own Claude Code, Codex, Cursor, or Antigravity subscription: each of its turns is one run of that vendor's CLI, a harness, in place of a model on a key. Such an agent is a subscription agent, and it is the only agent that works in repositories. The coding agent, its lead model, and the code tools are removed. A repository can live on any HTTPS git host. ### Upgrade Back up first ([Maintain](docs/operations/maintain.md#back-up)): the migrations of this version remove data and cannot be undone. 1. Update the checkout, write the new settings, and rebuild the orchestrator, the runtime image, and the operator app together: ```text git pull ./setup.sh docker compose up --detach --wait --build ``` `./setup.sh` adds `HARNESS_MCP_PUBLISH` and `HARNESS_MCP_SANDBOX_HOST` to `.env` for the Docker engine it finds. Migrations `0028` to `0033` apply at boot. 2. Let agent sandboxes reach the new MCP listener, port `HARNESS_MCP_PORT` (8090 by default) at the address in `HARNESS_MCP_PUBLISH`. On a Linux engine that is the default bridge's gateway: a host firewall must accept the port from the bridge. Nothing else needs to reach it. 3. Open each former coding agent's Settings. It is a subscription agent on the harness it had, with its repositories and its harness credential. Its lead model is gone. One on Cursor or Antigravity that picks no repository does not run until it picks one. 4. Give each agent that opens pull requests the GitHub connector's `create_pull_request` tool, which starts Off. A harness pushes its branch with git and holds no `GH_TOKEN`. 5. Pick a model for each agent on a `kimi/` model, and a default model for an organisation whose default was one. Kimi Code keys are deleted. 6. Update what calls the API, recipe files kept outside the box, and extensions, from the lists below. ### Breaking changes - **Coding agents.** `config.coding` is an unknown key: a create or an update that carries it is 422 `unknown keys: coding`. An agent with a `harness` has no `model`; one with both is 422. `repositories` on an agent with a model is 422. The migration turns each coding agent that had a harness into a subscription agent: it keeps its harness, harness model and effort, repositories, `max_steps`, and `max_tool_calls`, loses its model, and its `temperature`, `thinking_level`, `max_tokens`, `max_input_tokens`, and `keep_tool_result_generations` take their defaults. A coding agent that had no harness keeps its model and loses its repositories. A new agent's limits do not start at 200 steps and 200 tool calls. - **Tools.** `code_task`, `shell`, `shell_status`, `file_read`, and `code_search` are removed, with their bindings. A harness uses its own shell, file, and search tools. - **Repositories.** An agent works on the repositories it picks in `config.repositories`, not on every repository of its guild; the migration gives each coding agent the repositories it had cloned. A client that saves a config without `repositories` unpicks them all. A repository's `github_id` is `remote_id`. A harness's GitHub token pushes branches and does nothing else, and no run sets `GH_TOKEN`. - **Runs.** A run has no chain: no continuation run, no `run.continued` event, and no `chain`, `continued_by_run_id`, `repos`, or `harness_task` in its metadata. A message's `source` is `system`, `ui`, `schedule`, `group_chat`, or `wake`, with no `previous_run_id`. The routes of a `code_task` call's diff and log, and of a run's whole changes, are removed; a turn's diff is at `GET /api/runs/:id/turns/:call_id/changes/:repository/diff`. A stubbed tool result carries no `path` or `range`. Old runs open with every message; the migration removes their chain links, their run-level changes, and the removed tools' metadata fields. - **Models.** Kimi Code is not a provider. The organisation models payload has no provider `kind` and no model `coding_only`. The migration deletes each organisation's Kimi Code key and clears a Kimi default model. - **API.** The agent list and the machine list's agents carry `model_source` (`key` or `subscription`) and no `coding`. `GET /api/harnesses` returns `{ harnesses }`, each with `needs_repository`. The Builder capabilities payload has `subscription` in place of `coding`. An apply preview's `creates.agents` have no `coding`. Organisation limits name `max_subscription_agents`, and its refusal reads "limit reached: subscription agents". - **Recipes.** `config.coding` on a role is the `config.unknown` error. A role with a harness and no model is a subscription role, the only role that lists repositories, in `config.repositories`. A recipe that lists repositories asks for no GitHub connection of its own. The findings are `harness.model`, `repositories.key`, `repositories.unknown`, `repositories.invalid`, `repositories.unused`, `subscription.repository`, and `subscription.setting`; `coding.flag`, `model.coding`, `harness.coding`, and `repositories.coding` are removed. The migration rewrites the recipes the box stores. - **Configuration.** The orchestrator listens on a second port (`HARNESS_MCP_HOST`, `HARNESS_MCP_PORT`, `HARNESS_MCP_URL`), which the Compose file publishes. The runtime image changes with the orchestrator: an image of 0.1.0 runs no turn. - **Extensions.** `OrgLimits.maxSubscriptionAgents`, `countsAsSubscriptionAgent`, `assertCanAddSubscriptionAgent`, `AddedAgents.subscriptionAgents`, `AGENT_MINIMUMS.harness`, and `SUBSCRIPTION_CAPABILITY` replace their coding names, and the cap counts every agent with a harness. `countOrgSubscriptionAgents` is in `db/orgs.ts`. `AgentNeeds` is `{ browser, harness }`. `AgentConfig.model` is `string | null`, and `AgentConfig` has no `coding`. `Server` gains `harnessMcp`, a second app to listen on. `GitProvider.mint` takes the repositories alone. `ProviderKind`, `isCodingOnlyModel`, `isMarketplaceModel`, `GitTokenScope`, and the `CODING_*` exports are removed. `CostSource` gains `subscription`. - **Database.** `repositories.github_id` is `remote_id`, and `repositories` gains `provider`, `secret_id`, and `username`. `run_wakes` has no `root_run_id`. Agent configs and run snapshots gain `repositories` and `max_turn_minutes` and lose `coding`. ### Added - **Subscription agents.** An agent's **Model source** is a model on a key or a subscription on a harness. Claude Code and Codex run under the run's system prompt in place of their own. Cursor and Antigravity keep their vendor's prompt and read the run's as rules, so they run only an agent with a repository. A subscription agent runs every way a run starts: a direct message, a group delivery, a routine, a wake-up. It takes attached images as files in its home. The Guild Builder and Prompt Studio write and publish to one. `HARNESSES_OFF` turns a harness off for the box. - **Guilds tools in a harness.** A harness calls the tools its agent is offered, connectors included, on the orchestrator's MCP listener, under a token that lasts one generation. The run keeps each call as it keeps a model's. - **Run limits and usage.** `max_turn_minutes`, 30 by default, stops a turn. `max_tool_calls` counts the harness's own calls with the Guilds ones. `max_steps` bounds a Claude Code turn. A turn's tokens are recorded at no cost, with `cost_source: "subscription"`. - **Repositories on any HTTPS host.** A guild repository takes a GitHub login or an access token kept as a secret of the organisation, with the username git sends. Removing a repository from a guild unpicks it from its agents. - **Turn changes.** A run records what each turn changed in each repository, in `turn_changes`, shown under **Turn ``** in its **Changes** panel with the diff. ### Security New register entries: [SEC-61](docs/architecture/security-register.md#sec-61--a-repositorys-access-token-is-long-lived-and-written-to-its-agents-machine), [SEC-62](docs/architecture/security-register.md#sec-62--a-subscription-agents-harness-holds-its-whole-prompt-beside-its-secrets-and-the-network), [SEC-63](docs/architecture/security-register.md#sec-63--on-docker-desktop-every-sandbox-reaches-the-operator-app), [SEC-64](docs/architecture/security-register.md#sec-64--a-subscription-agents-mcp-token-lets-any-process-on-its-machine-call-its-guilds-tools), [SEC-65](docs/architecture/security-register.md#sec-65--an-image-attached-to-a-subscription-agents-message-is-a-file-every-process-on-its-machine-reads), [SEC-66](docs/architecture/security-register.md#sec-66--a-subscription-agents-harness-pushes-to-its-repositories-and-what-it-reads-can-steer-the-push), [SEC-67](docs/architecture/security-register.md#sec-67--cursor-and-antigravity-run-a-subscription-agents-turn-under-their-vendors-own-system-prompt). On Docker Desktop every sandbox reaches the operator app's port (SEC-63): such a box is a development box. ## 0.1.0 The baseline: the first version.