Repository navigation
Description
Problem & intent
When accept-native starts its TextEdit fixture for item 8 without selecting 5 or 6, its report omits fixture steps and why TextEdit remained running. The first M3 hold run launched TextEdit and left it when close could not establish windowlessness; cleanup found five off-screen layer-0 windows.
Treat ownership, cleanup outcome and reporting as one fixture lifecycle: safely quit what this run launched, or say exactly why it cannot. #166 covers reusable mini sitting/item-5 proof, not this item-8 lifecycle defect.
Seams: scripts/accept-native.mjs, scripts/accept/textedit.mjs, scripts/accept/textedit-cleanup-witness.mjs.
Constraints
- Preserve the Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117 contract in
docs/doperpowers/specs/2026-10-18-own-native-engine-design.md; no silent relaxation of safety, validity, or acceptance gates. - Live macOS proof needs an authorized mini hold under the load rule. Use harness-owned fixtures; never inspect or record owner app contents, secrets, or the signing identity.
- Follow-up spawned by Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117, not a decomposition child (parent N/A). Blocked-by N/A: no prerequisite ticket is required to begin this work.
Success criteria
- Every run starting the fixture reports setup, ownership, close/quit steps and cleanup verdict, including --items 7,8 and --items 1,7,8 with 5/6 absent.
- Safely stop the demonstrably run-owned process, including off-screen-only windows, or state the precise ownership/safety uncertainty preventing it.
- Never quit pre-existing/ambiguous TextEdit; app name alone is not ownership.
- Tests cover selection-independent reporting, off-screen retained windows, successful cleanup and unowned-process refusal. An authorized hold verifies no owned leftovers.
Open questions
What process-generation/window-ownership evidence safely permits quit when close cannot establish windowlessness? Prefer explicit ownership and precise refusal to global kill or silent leftovers.
Decision log
- 2026-10-22: Deferred M3 residue from origin/feat/117-m3 at c3088d3 (not claimed landed). Grouped the two TextEdit bullets under one lifecycle contract; related to Reusable accept-native sitting on the mini: parameterized commit and approved home, gated --watch, and the deferred live TextEdit item #166 but not its sitting-driver scope.
- Backlog only, not dispatch or permission to start a live hold.
Sources
docs/doperpowers/specs/2026-10-18-own-native-engine-m3-report.md— TextEdit residue bulletsdocs/doperpowers/research/2026-10-18-own-native-engine/m3/hold/README.md— first accept run cleanupdocs/doperpowers/research/2026-10-18-own-native-engine/m3/hold/accept/accept-items-7-8-first.json— first selection
Activity
SSFSKIM commentedon Oct 22, 2026
Plan from #117 M4 review (2026-10-23, cua_repl coordinator).
Two cleanup criteria were tried in M4 and disproved by review:
For the M4/#184 hold, the fixture therefore stays conservative. Any off-screen window blocks its quit, and cleanup is BLOCKED with window numbers and bounds (no titles). The coordinator decides per case on a left-over fixture TextEdit, and acceptance 8 gets an explicit disposition, not PASS.
The fix this ticket should carry:
-ApplePersistenceIgnoreState YES). The launch then opens no restored documents, and its launch-time windows are TextEdit's own.Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)
accept-native: item 14 in its owner form, selections that carry their…
Own macOS engine M4: pending install, approve, permission flow, hoste…
Sitting D puts its scratch document up before the fixture, so TextEdi…