Skip to content

LCU v0.4.1 — macOS turn cleanup and Pi retries

Choose a tag to compare

@0xpolarzero 0xpolarzero released this 27 Sep 01:38
· 349 commits to main since this release

LCU 0.4.1 connects macOS turn completion to the selected official app's native cleanup command and makes Pi retry failed cleanup. This addresses a missing lifecycle connection found while investigating a cursor overlay that remained after a task.

  • The shared macOS runtime forwards Stop and Interrupt identifiers through the original native bridge to the signed SkyComputerUseClient turn-ended command. It retains failed notifications and retries them before the next Sky request.
  • Pi retains failed cleanup identifiers, prevents calls on an ended turn, retries before another turn, and deduplicates overlapping completion and shutdown.
  • Archives remain thin: the official ChatGPT desktop app must already be installed locally. No OpenAI app binaries or copied runtime instructions are included.

The macOS connection is shared by Pi, Codex CLI, and Claude Code when they send turn-ended events. This does not guarantee cleanup for events a harness never sends; Claude API-failure cleanup remains unverified.

Verification

Archive Checks
macOS ARM64 Exact archive installed with acquisition network access disabled in an isolated HOME. Original MCP session, setup, bounded cold-path and recording-client lifecycle checks passed, including Stop, Interrupt and failed-callback retry. Zero desktop actions.
Linux ARM64 tests/run.sh passed: 185 unit tests plus offline installation and disposable X11/AT-SPI desktop integration. Adapter suite: 26 passed, 8 skipped. Native ARM64 container; no Raspberry Pi hardware claim.
Linux x64 tests/run.sh passed: 185 unit tests plus offline installation and disposable X11/AT-SPI desktop integration, under x64 emulation on an ARM64 host. Adapter suite initially passed 26 with 8 skipped; subsequent runs exposed an intermittent Codex progress-notification assertion failure. The isolated target passed (1/1).

The existing Codex relay does not await progress notification delivery before returning the tool result. This ordering issue is unchanged and remains unresolved in this patch.

Archive seals, first-party source bytes and modes, checksums, and payload exclusions passed for all three archives.

Evidence limits: Visible macOS cursor removal and native stale-turn/duplicate matching were not verified in a disposable desktop. The lifecycle test records native-command invocation; it does not prove the cursor disappears. Existing platform support and desktop verification limits remain unchanged; Windows is deferred from this release. See the investigation and source evidence.

Upgrade: Download your platform archive and its .sha256 file, follow the installation guide, reinstall using the same prefix, and restart the harness to load the new runtime and adapter.

Source: 69c9e583eed8c0055e8a2a6494a49309a704dbb5.

SHA-256 (also provided as SHA256SUMS and per-archive sidecars):

61165c9e8673d3d30e4e64a5e866d7cafff05bc6e7702e567698130dc8fd5d11  lcu-0.4.1-darwin-arm64.tar.gz
1534b461ea6bcf7f8f67bb62759d01abf42f961a360ea905d2137a62e93be1ad  lcu-0.4.1-linux-arm64.tar.gz
9339a4749221a2508331bafdebe6bade645604d4c969b8977807d5628b2597c1  lcu-0.4.1-linux-x64.tar.gz