
# Versioning, changelog and release notes

`agc version` prints the version you run; the latest release is **0.3.0** (6 October 2026). Agent Cloud has one version for the whole product: agc, the control service, the runner and observability move together, and each release is a git tag.

```bash
agc version
```

```json
{ "ok": true, "product": "agent.cloud", "command": "version", "data": { "version": "0.3.0", "built": "2026-10-19T22:04:11Z", "node": "v24.10.0" }, "next": [] }
```

Before 1.0, a release that breaks what personal users already do is treated as a bug, and agc keeps itself current. The engineering changelog with every rule ID is `CHANGELOG.md` in the repository; the release notes below are the short version.

## Versioning

```mermaid
flowchart LR
  T["git tag 0.3.0"] --> CL[agc]
  T --> CP[control plane]
  T --> RU[runner]
  T --> OB[observability]
  CP -- "serves /agc.json, /agc.tgz" --> CL
```

One tag covers every component, and the control plane serves the agc build that matches it.

**What the version promises.** Pre-1.0, minor versions can add and change things. The fixed line is the personal user: someone who never invites anyone, adds a target or names an organization keeps the same console, `agc`, addresses, sign-in, approvals and data across releases. Specs that add organization or enterprise features state this as their first rule, and their v0.1.0 tests must keep passing. New manifest keys are optional and an older agc ignores them.

**Builds between releases.** agc ships continuously between tagged versions, so many builds report the same `version`. `data.built` is the build timestamp that tells them apart (`null` when run from source). Quote both when you report a problem.

**Keeping current.** agc checks for a newer build at most once an hour, sooner when a response says one exists, verifies its sha256, and never installs an older build than its own. `AGC_NO_UPDATE=1` turns that off. Two guards stop an old agc from doing harm:

- When Agent Cloud publishes a `minimum` and this agc is older and can't update itself, commands answer `cli.outdated`.
- A ship whose `agentcloud.toml` sets a key this agc didn't send (`[auth] provider`, `[app] title`, `description` or `listed`) is refused with `ship.agc_outdated`, rather than releasing without it.

**Targets have their own manifest version.** A private target's Kubernetes objects are stamped with a manifests version, and a target behind Agent Cloud's shows an update line. The product version and the manifests version a release needs are listed in [the version matrix](/docs/targets/manifests-and-updates.md#the-version-matrix).

### `agc version` fields

| `agc version` field | Meaning |
|---|---|
| `data.version` | The product version this build belongs to |
| `data.built` | Build timestamp, or `null` from source |
| `data.node` | The Node.js runtime it's running on |

`agc --version` is the same command.

## Unreleased (in the verified source, deployment not verified)

Everything here is in the production build these docs were checked against; it gets a version number at the next tag.

**Releasing**
- An app's first release goes live with no person in between and a $25 budget; a `watch` app or one on a customer's own target still asks. An app an agent made before anyone signed up stops at a private preview (`ship.preview`, exit 10) until the person publishes it.
- A migration waits for a person only when a statement could drop or rewrite data (`DROP`, `TRUNCATE`, `DELETE`, `ALTER … TYPE`, an `UPDATE` without `WHERE`, a `DO` block, `EXECUTE`). Any other migration goes out after its rehearsal, as code does.
- `agc limits set --budget <n> --autonomy <routine|watch>` asks a person to approve new limits (`limits.approval_required`, exit 10).
- `agc delete` answers the console link where a person deletes the app (`delete.person_required`, exit 10); agc itself deletes nothing.
- Releases interrupted by a restart carry on by themselves.

**Building**
- Plain settings: `[service.web] env` and `[service.worker] env`. A value that looks like a secret is refused with `ship.env_secret`.
- Secrets: a person sets them in the console (`agc secret set NAME` answers the link); `--generate` makes a 64-byte value nobody sees.
- Analytics database: in organizations that turn it on, each app gets a DuckLake catalog through `AGC_ANALYTICS_*` (`agc help analytics`).
- `agc icon use icon.svg` sets the app's icon, favicons and link preview. `agc now "<text>"` tells people watching an item's Live screen what you're doing. `agc branch` manages build branches made from a step's checkpoint.
- Apps can be listed in the organization's launcher with `[app] title`, `description` and `listed`. An agc too old to send those keys gets `ship.agc_outdated`.

**Sign-in and the edge**
- New organizations start apps behind the edge gate: `agc init` writes `[auth] provider = "edge"`, and apps read `x-agc-user-email`, `x-agc-user-name` and, for organization members, `x-agc-user-role`. `[auth] public` opens webhook paths without sign-in.
- `agc audience` says who can open the app; an owner's agent changes it with `agc audience set org`, `people`, `group` or `anyone`.
- The edge answers 403 `cross_origin` to a change from another site, except on `[service.web] cross_origin` paths. A mirror's local proxy does the same.
- A live app's sign-in mode changes only when a release with the new mode goes live, and only with a person's OK.

**agc**
- Starters come from `summationai/agc-starters`; agc pins starters **v1.2.43**.
- `agc up` reports `mirror.db_unreachable` with the host and the socket error; no agc error has an empty message.
- The release review flags cookie sessions that don't check where a change came from (`cross-origin-writes`).

## 0.3.0 (6 October 2026)

- **Deleting an app.** An organization owner deletes an app in its settings, typing its name. Every agc command for it then answers `app.deleted` (exit 12), and `agc init --name` with that name answers `app.name_reserved`. For 30 days the owner can restore it with its address, last release, sign-in and grants; then it's purged, and its history and receipts stay readable.
- **Private targets say when they're behind.** A target whose installed objects are older than Agent Cloud's shows an update line with a reviewable five-step update (fetch, check the sha256, diff, apply, update the doctor).
- `agc status` relays Agent Cloud's error code and fix instead of reporting a network error.

## 0.2.1 (6 October 2026)

- **Large build inputs.** `[[asset]] path` names data or a model too big for the 25 MB snapshot. `agc ship` uploads it once by content, in resumable 8 MB chunks, and the build finds it at its path. A `.dockerignore` line that would hide it fails the ship with `ship.asset_ignored`.
- Python apps verify their database's certificate (`PGSSLROOTCERT` now names a CA file).

## 0.2.0 (6 October 2026)

Organizations and enterprise, with nothing changing for personal users.

- **Organizations** with owners and builders, invites, an activity log, and the console's organization settings. (0.2.0 called them teams; the product, the console and every code now say organization, e.g. `context.not_in_org`, `org.left`.)
- **Start an app** in the console gives a prompt with a single-use join code; `agc init --name <name> --join agcj_…` creates the app in that person's organization with no claim link.
- **Organization context**: `agc context`, `agc context show <slug>`, `agc context search <words>`.
- **Seed data**: `[data.db] seed` fills a mirror that starts empty; it never runs in production.
- **Connections**: owners add Snowflake once; `agc connections` and `agc connections request` give apps access through variables, never credentials.
- **Company sign-in**: one identity provider per organization, proven domains, and per-app audiences.
- **AWS deployment targets**: an app's compute can run in the organization's AWS account and VPC; its Postgres remains in Agent Cloud's account on one node.
- **Resources**: `cpu` and `memory` per service on a target; `ship.over_cap` and `ship.no_room` when a release doesn't fit.

## 0.1.0 (6 October 2026)

The first versioned release.

- `agc init` creates an app without an account; a person claims it later. An empty folder starts from a pinned, checksummed starter (TypeScript, or `--stack python`).
- `agc up` runs the app on localhost against a masked branch of production; `agc migrate`, `agc check`, `agc verify` and `agc db query` work on it.
- `agc ship` rehearses each release on a fresh branch of production; the first release and every database change wait for a person, and every live release gets a receipt.
- `agc status`, `agc capsule`, `agc replay`, `agc review` and `agc doctor` explain what's running.
- Sign-in for app users through Agent Cloud, idempotent email, one private GitHub repo per app with one commit per live release, and apps at `<name>.agent.cloud`.

## Errors

| `code` | exit | Cause | Fix |
|---|---|---|---|
| `cli.outdated` | 1 | This agc is older than Agent Cloud supports and couldn't update itself | Reinstall: `npm install -g https://agent.cloud/agc.tgz` |
| `ship.agc_outdated` | 1 | The manifest sets keys this agc didn't send | Reinstall agc, then ship again |

## Agent notes

- Report `data.version` and `data.built` from `agc version` in any `agc feedback bug`.
- agc builds from before self-update can't run `agc update`; the reinstall line is the fix.

## Related

- [Updates](/docs/getting-started/installing-agc.md#updates)
- [Installing agc](/docs/getting-started/installing-agc.md)
- [Version matrix](/docs/targets/manifests-and-updates.md#the-version-matrix)
- [CLI reference](/docs/reference/cli-reference.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "reference/changelog-and-release-notes: <what is wrong>" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
