You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Acceptance tooling: accept-native's fixture TextEdit, paused-cell restart notice, main's item 1 and item 10 on the mini #157
Running #115 M1's live acceptance on the Mac mini (PR #156) surfaced four defects in cua's acceptance and parity tooling. None belongs to #115. Each one makes a live run either wrong or harder to read.
What to change
accept-native leaves its fixture TextEdit frontmost. Quit the TextEdit document the run opened, identified by causal ownership: a pid that started inside the run, the same rule the vendor helper witness uses. Then hand the front back. Today an operator quits it by hand.
A harness pause longer than the runtime's 15-minute idle stop changes a cell's output. It adds a runtime-restart notice, not only a timing change (seen as cells/budget/suspend-resume in cfprefs at f8019bf). Choose one: keep the runtime warm during a DL 58 pause, or declare the restart notice as an allowed difference for a paused cell. Pin the choice with a test.
Main's accept-native item 1 (mini, env -i environment). Two unit tests fail only there: "unit proof must exist, run by npm test and actually pass its exact named test" and "selected-stage completeness reports later contracts as pending, never covered". The exact lines are in the Independence 2: cua's own sandbox for node_repl cells; drop the Codex binary and app-server #115 residue evidence on main (docs/evidence/2026-10-17-own-sandbox/, the accept-native records for 94366c1 and f8019bf).
Main's accept-native item 10 (leak scan). It flags token-like strings in scripts/accept/linux-chrome-features.mjs, test/secrets-project.test.mjs and tests/mods/secrets.test.ts (by file:line and rule in the same evidence; the values are made-up fixtures). Either make the fixtures not token-shaped, or give the scan a declared fixture allowlist. Never print the strings.
Success criteria
accept-native on the mini leaves no fixture TextEdit running and Terminal in front.
A paused parity cell is judged without a false difference.
Items 1 and 10 pass on main under accept-native's environment.
Constraints
Mini runs follow the mini rules and MAWS DL 58: GUI groups pause while CI is busy; headless groups need only an idle runner and load under 5.
No real secret values in fixtures, logs or evidence.
Addition from #115 M2 (2026-10-18): the harness's browser cleanup should never close a tab when its window is down to one tab, so a run can't close the profile's only window. The two window closures seen on the mini this weekend were not caused by our cleanup: every tab count showed the pre-existing tab kept. So this is a cheap guard against the case, not the fix for an observed fault.
The frontmost regex. scripts/mini-rules.mjs's frontmost reader matches only bundleID="…", while newer lsappinfo prints "CFBundleIdentifier"="…". M4's key guard already parses both; make the gate do the same, or it stops with 'no bundle id' when the mini's output changes.
watch.mjs's log path. It writes to a hardcoded M1 sitting log; the path should follow the run.
Parity's discarded stderr. The parity harness discards each connection's stderr. A Linux native/app/typetext connection closed once with code 1 and didn't reproduce; capture stderr so a recurrence can be diagnosed.
Activity
SSFSKIM commentedon Oct 18, 2026
Addition from #115 M2 (2026-10-18): the harness's browser cleanup should never close a tab when its window is down to one tab, so a run can't close the profile's only window. The two window closures seen on the mini this weekend were not caused by our cleanup: every tab count showed the pre-existing tab kept. So this is a cheap guard against the case, not the fix for an observed fault.
SSFSKIM commentedon Oct 18, 2026
More harness residue from #115 M4 (2026-10-18):
Acceptance 1 and 10 under accept-native's environment (#157): unit-pr…
accept-native --items: run only the named items (a headless re-check, #…
scripts/mini-watch.mjs: #115's during-run watch, landed from /tmp wit…
Parity connections keep a bounded stderr tail and write it to <out>/d…
Acceptance 10 on the mini (#157): three parity tests parse with the k…
Parity lanes keep their runtime warm (CUA_RUNTIME_IDLE_MS=0 on both h…
TextEdit witness: the running-before case first (the witness's own Te…
accept-native's suite verdict accepts declared skips (#157): exact re…
Declared skips: an npm-package-gated test in a checkout without that …
Evidence for #157: accept-native items 1 and 10 PASS on the mini at 8…
Keep-warm reaches the rebuilt connection settings (#157): cellsServeE…
DST-safe launch times for the fixture cleanup (#157): ps runs with TZ…
Causal launch identity for the fixture cleanup (#157): the run record…
The fixture cleanup quits the run's own TextEdit only when it is conf…
The fixture's launch capture is a bounded, timed poll right after ope…
Evidence for #157: the TextEdit witness re-run at c46afe6 (11/11; the…
awaitLaunch: a reading past the bound is a miss, never accepted (#157 …
Report for #157: the witness re-run and the two review rounds
Merge pull request #165 from SSFSKIM/fix/157-acceptance-tooling