# 0.4 changelog

> Every 0.4 release of bay, newest first, with its date and its GitHub release.

Source: https://getbay.io/docs/changelog-0-4 (HTML).

bay 0.4 had 6 releases from 24 to 25 October 2026. The [changelog](https://getbay.io/docs/changelog#v0-4) shows what each release line made true, newest first.

## 0.4.5

25 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.5)

- Large files go to the remote's own store: `[plugin.assets]` needs no command.
- An https remote keeps them in parts, through Git's own login for that remote.
- `bay host` keeps them beside the repository; an ssh remote reaches them over Git's ssh.

## 0.4.4

25 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.4)

- A push the remote refuses is named with the remote's reason, never as a moved change.
- A policy with `[assets] hold` needs an approval check over `.bay/`: only a person lifts a hold.
- One `bay approve` answers every approval check a change waits on; two no longer collide.

## 0.4.3

25 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.3)

- With a key registry, a lock is signed by the agent's key; an unsigned lock holds nothing.
- A failed check ends the run: later checks are named `not_run`, so a cheap lint spares slow tests.
- `[assets] hold` keeps a file's stored bytes from any purge; a store asks `bay assets held <id>`.
- On a pinned machine, `bay install` from another bay version is refused [`UPDATE_PINNED`](https://getbay.io/docs/update#UPDATE_PINNED) and changes nothing.
- A runner moves its own renamed config keys at start, so it no longer runs as `local`.
- Doctor names each hook a newer bay adds that the project's settings lack, under `behind`.
- The question hook gets a 120 s timeout, so a hung bay never holds an agent for ten minutes.

## 0.4.2

25 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.2)

- A push or fetch to a remote with many refs gets three minutes, not the local call's thirty seconds.
- `bay status --all` names why a session waits: a question, a permission prompt or its idle prompt.
- With a key registry, each question an agent asks becomes a talk; it closes when the session goes on.
- A person with an approver key answers an agent's question: `bay talk --answer <id> --value <answer>`.
- With `[agent] question_wait_s` set, a signed answer reaches the question tool as the person's answer.
- Update the host and runner to 0.4.2 before setting `question_wait_s`: an older bay refuses the key.

## 0.4.1

24 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.1)

- A plain `git clone` saves and merges; no clone needs `bay install` of its own.
- main is the remote's default branch; a clone follows when that default moves.
- The skill says to save research, plans and reviews a person should read as a short file.
- A runner with a version pin never moves to another version when its binary changes.
- `bay merge` names the files main changed since your change began, and main's commit.
- A file main's `.gitattributes` marks `merge=union` merges both sides' lines; a change cannot mark its own.
- Under any agent product, an agent's own `bay save` acts as its session, so its own lock never holds it.
- A change's refusal is told to the session that holds it while it is live, not every agent.
- `bay status --all` names each session's agent product, and lists the locks held now with their holders.
- A change that would put back what another merged change replaced is refused [`UNDOES_MERGED`](https://getbay.io/docs/results#UNDOES_MERGED), naming it.
- `[plugin.assets] offload = ["**/*.pdf"]` keeps a kind of file out of Git, whatever its size.

## 0.4.0

24 October 2026 · [GitHub release](https://github.com/gudjon/bay/releases/tag/v0.4.0)

The last renames before the first user; scripts and configs that use the old names need the new ones.

- The key class `executor` is `runner`: `bay enrol runner`, `bay doctor --role runner`.
- Git config `bay.executorKey`, `bay.executorName` and `bay.executorSandbox` are `bay.runnerKey`, `bay.runnerName` and `bay.runnerSandbox`.
- `bay install` moves the old config keys to the new names; `bay doctor` names any left.
- A registry signed with an `executor` file keeps working; the next `bay enrol runner` rewrites it.
- `bay status --fleet` is `bay status --all`; `bay status --heads` is `bay status --branches`.
- `bay host init <path>` is `bay host <path>`.
- `bay hook` is no longer listed in `bay --help`; `bay install` writes it for the agent.
- `WORKSPACE_INCOMPLETE` is [`VIEW_INCOMPLETE`](https://getbay.io/docs/results#VIEW_INCOMPLETE).
- `retry_when` takes one of seven values: `by_itself`, `after_wait`, `after_fix`, `after_person`, `after_setup`, `after_new_main`, `never`.
- `bay help --json` lists agent products in `detail.agents`, not `detail.adapters`.
- Every change record is written as `bay.change/1`; records stored as `/2` to `/4` are still read.
- Every result sentence says what happened first, then why, then one step.
- Lock and offline refusals print one clean line.
- A lock is granted only on the newest copy of its file; an older copy is refused [`INPUT_CHANGED`](https://getbay.io/docs/results#INPUT_CHANGED).
- A change to a lockable file merges only if it held the lock; otherwise [`LOCK_NOT_HELD`](https://getbay.io/docs/results#LOCK_NOT_HELD).
- `bay save` takes the locks of the lockable files it saves; a released lock keeps its history.
- With `[plugin.assets]` and `over_limit = "offload"`, a new file over `max_file_mib` never enters Git.
- The plugin stores its bytes; `.bay-assets` names them by SHA-256 and size, at save, merge and checkpoint.
- `bay plugin test assets -- <command>` checks a store plugin: put, put again, get, unknown.
- Saved large files come back by hash: in another clone at `bay install`, in views, and read-only in checks.
- `examples/assets/folder-store` keeps large files in any folder, such as a shared drive.
- A save refused after a large file was stored leaves the folder as it was.
- Two changes adding large files never conflict on `.bay-assets`: it merges line by line.
- Main's commit keeps the agent's own commit message from the view, with its `Open:` lines.
- `bay start --paths .` (or `/`) is a view of the whole tree; it takes new files anywhere.
- A large file merges only when its store holds it; otherwise [`ASSET_MISSING`](https://getbay.io/docs/results#ASSET_MISSING).
- A store may purge a file's bytes and keep its line; a clone names it and goes on.
- `[assets] keep` in the policy says how long a store keeps generated files.
- `bay plugin test assets` also checks `exists`, and optional range `get` and `purge`.
- A merge's lock guard counts only the lock's current holder, and only if it named the change.
- A command name in a sentence is said as typed (`bay merge`, never "bay combine").
- Grok, which runs a project's Claude Code hooks, has its shell and file writes judged as Claude Code's.
- A check runs without a file its store purged; one purge never blocks later merges.
