ACC 0.10.1: Update finishes past stale bindings

ACC 0.10.1 lets the update from 0.9.x finish when stale native bindings without process ids remain, instead of staying pending behind them.

Released

ACC 0.10.0 waits to activate until no client runs 0.9.x code, because only then can it move stores to contract 7. In practice, some updates never finished. A native binding that named no client process kept 0.10.0 pending after every session had closed. ACC 0.10.1 judges those bindings by their session record and removes the stale ones. This release belongs to the ACC 0.10 line and was released on 2026-10-06.

Who is affected#

Anyone who updates from 0.9.x or from 0.10.0, and whose acc update keeps printing that ACC is waiting for unknown client pid holds, although no client session runs. The bindings came from sessions that ended without naming their client process. Sessions of 0.5.10 to 0.9.0 left bindings of that shape.

What changed#

The function that lists native holds now judges a binding without a client process id by its session record. The binding is no hold when:

  • the session record is gone,
  • the record names a process that has exited, or
  • the record names no process and the session is offline by ACC's presence rule: closed, or 30 minutes without a heartbeat.

A live recorded process, an unreadable record or a missing store keeps the binding as a hold. A session that still heartbeats and names no process also keeps the update pending, by design.

The pending release's refresh removes the stale bindings under each session's lifecycle lock. It has to do this itself, because an older generation's updater imports the pending generation's refresh code before it lists blockers by its own rule. That is why the 0.9.1 updater can activate 0.10.1 even though 0.9.1 knew nothing about the new rule.

What to do#

acc update

From 0.9.x, a live client session that started under 0.9.x still holds the old store contract. Activation happens at the next ACC command after the last such session ends, and ACC then migrates the stores. From 0.10.0, the update activates without waiting, because both releases declare the same store contract.

A machine that is already pending on 0.10.0 may stay pending, because the 0.10.0 updater does not replace a pending release. Clear it once:

acc update --pin none
acc update

Do the same if the update keeps naming processes that are not your clients. ACC 0.10.2 makes this unnecessary for later updates.

Checks before release#

Three upgrade runs from the published 0.9.1 used an isolated home and a local registry:

  • A live 0.9.1 process. acc update waited for the process. After it exited, the next acc status activated 0.10.1, and the store was on contract 7 within 1.3 seconds. Only the identity file, a new indexes/ directory and eight stage markers differed from the copy taken before the update.
  • Stale bindings. Two bindings without a process id for sessions with no record. The 0.9.1 updater activated 0.10.1 after the refresh removed both. The published 0.10.0 stayed pending behind the same bindings.
  • A heartbeating session. Beside two stale bindings, a third binding for a session that still heartbeats. The stale two were removed, and the third kept 0.10.1 pending.

An upgrade from the published 0.10.0 with a running MCP server finished without waiting. The 0.10.0 and 0.10.1 code shared one store. The test suite gave 3,192 tests with 0 failing and 8 skipped.

Limits#

Linux and Windows were exercised only through CI.

Sources#