ACC 0.1.14: Presence rebuilt, store reset required
ACC 0.1.14 retires sessions whose process is gone and needs one manual store deletion. Includes the macOS and Linux commands, checked in zsh and bash.
Released
Release contents
Release contents
ACC 0.1.14 stops dead sessions from staying on the roster. It also changes the store format without a migration, so you delete the store once when you upgrade. This is the only manual store reset ACC has asked users to do. The release belongs to the ACC 0.1 line and was released on 2026-08-30.
Who is affected#
Everyone who upgrades from 0.1.13 or earlier. ACC refuses a store written by an older version before it reads a single record. A fresh install is not affected.
What changed#
The problem. A hook opens a session record at session start and another hook closes it at session end. When a client never fires the second hook, because it has no such event or because its terminal was killed, the record stayed state: "open" forever. Presence decayed to stale and stopped there, because nothing could ask whether the process still existed. A long-lived workspace could accumulate hundreds of them. acc doctor reported the pile as "not answering", which reads as a fault but only restated what the roster already showed.
The rule. Presence now pairs the process with two age limits, the way the writer lock already reclaims a lock that is both dead and old:
offline state is closed
offline the recorded process is confirmed dead exact, immediate
offline no process id, and silent past thirty minutes
offline silent past twenty-four hours, whatever the process id says
online within the session's own cadence x 3
stale everything else
The 24-hour limit is not redundant, because the operating system recycles process ids. A dead session's number can come back attached to something unrelated and answer forever. An unknown process id means nobody knows, never "dead". It happens when the platform has no process table or the ancestry did not resolve, and the whole chain fails open.
What each client gets. The process id comes from walking the process ancestry until the adapter's declared binary appears in ps -o comm=. The operating system reports the interpreter's name for a script:
| Client | Process id resolves | Effect |
|---|---|---|
| Codex, Claude Code | Yes, native executables | A dead session leaves the roster at once |
| Gemini CLI | No, gemini.js runs through node |
Leaves after thirty minutes of silence |
| Kimi Code | Not measured, probably no, as a Node CLI | Leaves after thirty minutes of silence |
The age limit therefore fixes the pile-up for all four clients, from "never leaves" to "leaves after thirty minutes". The process id adds immediate removal for two of them.
Replacing a session id is held to a stricter test. Presence is a reading, not an edit, and acc status --all still lists everyone who was ever here. One consumer takes something away, and there a wrong answer costs more. A wrong presence verdict costs a roster row and corrects itself when that session next takes a turn. A wrong replacement takes a live session's generation, and the original session's heartbeats then fail with exit code 5. So only a process confirmed dead gives authority to replace an id. Silence, however long, does not. A claim is released only by lease expiry or an explicit force release.
A side effect fixes a second defect. A workstream coordinator and a task assignment are contestable once the holder reads offline, because taking either is reversible. Before, an open session could never classify as offline, so a coordinator whose process was killed left its workstream uncontestable.
The store version. SCHEMA_VERSION is now 2 for the session record's new field, and STORE_VERSION moves with it. A store from 0.1.13 or earlier is refused up front with one message, unknown store version. Without that refusal the failure had three shapes and none said what to do: acc status appeared to work, heartbeatSession threw deep inside on unknown schemaVersion: 1, and acc doctor filed every record under corrupt. There is no migration. Deleting the store is the upgrade path.
What to do#
Upgrade, delete the store, and reinstall:
npm install -g agents-can-communicate@0.1.14
Delete only the workspaces directory of ACC's data. On macOS:
rm -rf "$HOME/Library/Application Support/acc/workspaces"
On Linux:
rm -rf "${XDG_DATA_HOME:-$HOME/.local/share}/acc/workspaces"
Then run acc install. ACC creates a fresh store on first use. The store holds coordination records such as sessions, claims and messages. Your project files and the client configuration are not part of it.
Use $HOME, as written above. A tilde inside double quotes does not expand, so rm -rf "~/Library/Application Support/acc/workspaces" looks for a directory literally named ~ and removes nothing. The 0.1.14 release notes print that form. The command lines above were expanded with echo in zsh and in bash, and both give the same path.
If you set ACC_DATA_HOME, the store is the acc/workspaces directory inside it. On Linux, XDG_DATA_HOME moves the data directory. On macOS, ACC ignores XDG_DATA_HOME.
Run acc doctor afterwards. A fresh store reads healthy.
Later changes#
- No later release asked for this again. ACC migrates later store changes automatically: store contract 7 in 0.10.0 and store contract 8 in 0.13.0.
- Releases 0.1.15 to 0.1.18 left the store unchanged, so a 0.1.14 store is read as it is.
Sources#
- ACC 0.1.14 release notes
- agents-can-communicate 0.1.14 on npm
- CHANGELOG.md at v0.1.14
- Capabilities at v0.1.14, the per-client table of process-id resolution
- Runtime paths at v0.1.14, where the data directory is chosen