packages/cua-driver/docs/0.13.2-overnight-stabilization-plan.md
Status: Draft for review
Baseline: Cua Driver 0.13.1 is already released
Source baseline: origin/main at 1e77ab5536eb88ca4cb7d3b6cc1fb51eea03f0e4
Target: Merge validated post-0.13.1 work into main
Release boundary: Do not create, publish, promote, or merge a 0.13.2 release. Francesco owns the 0.13.2 release tomorrow.
Leave main ready for a 0.13.2 release by:
main SHA on macOS, Windows, and Linux;This is stabilization and correctness work. It is not a release operation.
The overnight work is complete only when:
main through a focused PR;main, reviewed, fully validated, and merged;main SHA passes the relevant deterministic Linux and Windows CI;ok: true;main SHA, merged PRs, exact test results, artifacts, limitations, and remaining owner.origin/main.packages/cua-driver/docs/0.13.2-overnight-execution-journal.md.Confirmed product requirements:
Implementation work:
Tracking:
Work:
origin/main into the PR branch without losing its existing evidence.test(cua-driver) title and no-release label remain accurate.Tracking:
Work:
cua-driver --version;Tracking:
Work:
Tracking:
Work:
kill_app reporting success while the process survives.launch_app.launch_path leaving a shell child hung without executing.kill_app verifies the target exited or returns a structured failure;launch_path drains or redirects child pipes safely;Tracking:
Work:
Tracking:
Work:
| Platform | Environment | Minimum proof |
|---|---|---|
| macOS | Logged-in Lume macOS VM with exact source SHA and TCC grants | Two consecutive full certification runs for #2660, installer smoke, affected product rows, screenshots, logs, and videos |
| Windows | GitHub Actions for deterministic coverage, interactive Azure VM when desktop behavior changes | Install or upgrade, daemon and MCP smoke, affected GUI rows, external oracles, and video |
| Linux X11 | GitHub Actions when representative, otherwise interactive Azure VM | Install or upgrade, daemon and MCP smoke, affected action rows, focus and input guards, and video |
| Linux Wayland | Representative GNOME or supported compositor session in Actions or Azure | Portal and accessibility preflight, affected action rows, external oracles, and video |
| Linux COSMIC | Representative session if available | No Orca launch, AT-SPI remains usable, one successful action |
| Linux gVisor | Existing authorized sandbox environment if available | Process exit and launch effects independently verified, with no silent success |
Hosted CI proves deterministic build and unit contracts. It does not substitute for a real interactive desktop when the claim depends on focus, z-order, TCC, compositor routing, or visible cursor behavior.
After the product PRs are stable:
Use one focused PR for each independent unit:
For every PR:
origin/main immediately before final validation;main contains the merge before starting dependent validation.Do not combine unrelated fixes merely to reduce PR count.
After all accepted PRs merge:
origin/main and record its exact SHA.main SHA;Continue autonomously through ordinary implementation choices, test failures, flaky infrastructure repair, documentation changes, and PR feedback.
Stop and ask only if:
An isolated failed run, a VM crash, a full disk, a CI timeout, or a different recoverable defect is not a reason to stop. Preserve evidence, repair the environment or implementation, and retry.
After all confirmed P0 and P1 work passes and merges: