Canonical: https://getacc.dev/changelog/0-12-2/
Author: [Mykola Maksymenko](https://getacc.dev/about/mykola-maksymenko/)
Reviewed: 2026-11-02 · ACC 0.12.2

# ACC 0.12.2: Sandboxed clients get the real reason

When a client sandbox or host policy denies ACC's data home, ACC 0.12.2 now says that this is the reason. Before, every command answered that an update was unfinished, although the runtime was ready and nothing was pending. This release belongs to the [ACC 0.12 line](/changelog/0-12/) and was released on 2026-10-27.

## Who is affected

Anyone who runs ACC from a process that may not read or write ACC's data home. Two cases were seen: ChatGPT Work Mode, and a Codex chat that had no ACC rules file. Everyone else sees no change.

## What changed

**The old message was wrong.** Under a denied data home, each command answered `runtime unavailable; retry after the update or run acc update to recover`. `acc doctor` reported `unavailable_during_update`. Both pointed at an update although the real cause was access, not an update (#316, #334).

**Commands now name the refusal.** They exit 4 with `reasonCode: state_access_denied`. The message does four things:

- It names the refused operation.
- It says whether the operation was a read or a write.
- It states the real update state.
- It points to a process that can use the data home: one outside the client's sandbox, or the client's approved command path for ACC.

`acc update`, `acc doctor --repair` and `acc doctor --migrate-store` report the same refusal, because each of them has to write the data home.

**Doctor reports the scope.** `acc doctor` shows `scope: runtime` and `workspaceInspection: state_access_denied`, with the refusal. It answers even when the control record cannot be read.

**Edge cases stay careful.** Hooks still fail open, and their warning names only the refused code. A control record that points outside the runtime directory keeps the ordinary text. The launcher prints no path that contains control bytes. On Windows, `EPERM` from a rename or a removal counts as lock contention, not as a denial.

Store contract 7 and managed-update protocol 2 do not change. The release needs Node 24 or later. The launcher's closed module set gains `admission.mjs`, and an update writes the new launcher set.

## What to do

Run `acc update`, or let the automatic update run. If a command now exits 4 with `state_access_denied`, run ACC from a process that can use the data home. In Codex, that means the approved command path, with the rules file installed where the runtime honors it. ACC 0.13.0 later noted that the file guarantees neither sandbox access nor an exemption from auto-review. For general diagnosis, see [troubleshooting ACC](/guides/troubleshoot-acc/).

## Checks before release

After the update, the stable launchers carried the new module, and under a sandbox the stable CLI and hook named the refused write. With real Codex 0.164.0, a sandboxed chat without the rules file was told that its write was refused. With the rules file, the chat sent a message and took a claim in that check. The file does not guarantee this for every runtime. Real Claude Code 2.1.311 and Codex 0.164.0 passed against a model stub, and the full suite ran 3,491 tests with none failed.

## Later changes

- ACC 0.13.0 walked back the idea that the rules file always gives sandbox access. The file allows ACC's participant commands where the active runtime honors it, and it guarantees neither sandbox access nor an exemption from auto-review. `acc doctor` now distinguishes an installed participant rule from an unverified runtime approval. See [the 0.13 line](/changelog/0-13/).
- ACC 0.13.0 adds troubleshooting for ChatGPT Work Mode, which this release's refusal first described. See [the 0.13 line](/changelog/0-13/).

## Sources

- [ACC 0.12.2 release notes](https://github.com/automatis-tools/agents-can-communicate/releases/tag/v0.12.2)
- [agents-can-communicate 0.12.2 on npm](https://www.npmjs.com/package/agents-can-communicate/v/0.12.2)
- [CHANGELOG.md at v0.12.2](https://github.com/automatis-tools/agents-can-communicate/blob/v0.12.2/CHANGELOG.md)
- [Release evidence for v0.12.2](https://github.com/automatis-tools/agents-can-communicate/blob/v0.12.2/docs/release-evidence/v0.12.2.md)
