Skip to content

Friction tracker (moved to ~/.claude/friction-tracker/cua/) #177

Closed as not planned

Description

@SSFSKIM

Moved on 2026-10-27. This tracker now lives in ~/.claude/friction-tracker/cua/, one file per entry (browse); the rule is in ~/.claude/CLAUDE.md under "Friction tracker". Add and update entries there. This issue is closed and kept for the history below.

Friction met by agent sessions in this repo (environment, tools, harness, access, process). Search here before adding; update a matching row rather than add one.

Friction Cost Workaround Check Status
A local npm test on a Mac fails the real-engine tests while the screen is locked. test/native-engine.test.mjs (~7 cases) and the facade-through-engine cases in the service tests get screenLocked (-10020) instead of their expected answers, because the engine refuses every request on a locked Mac (M2a.1). One full-suite re-run (~4 min) and a misleading red; the cause is not in the failure text, only -10020 !== -10005. Reconfirmed 2026-10-23 in #188 diagnostics: the focused engine-client file hit the same locked refusal in its final real-engine case (96/97 combined checks, 4.8 s); rerunning the six offline harness files passed 82/82 (0.32 s), with no live test repeated. Reconfirmed 2026-10-22 on #182/#183: final full suite 80 s, 3962 pass / 12 locked-engine failures / one separate tmp-list race / 203 skipped; all locked failures in real-engine clients/facades, focused harness tests green. Run the suite with the console unlocked, or read the -10020 as environmental. ci-gate is unaffected, since the hosted jobs skip these files. ioreg -n Root -d1 -a | grep -A1 IOConsoleLocked reads <true/> while the failures appear. With it <false/>, npm test is clean (2026-10-21, m2a/live 635a412: 3580 pass, 0 fail). live
ci-gate's hosted test job can fail once in test/repl-host/orphan-lifecycle.test.mjs, in the case "(a) stdin EOF … the worker busy in synchronous code". The setup assertion in hostWith (line 36) fails because the process listing from host.track() showed kernel.mjs but not trusted-worker.mjs, 400 ms after the worker was set spinning. The test's own subject was never reached. Seen 2026-10-21 on run 39583550322 (m2a/paste 3535ca3), whose diff was Swift-only. One RED gate and one rerun of the failed job (~8 min). The failure reads like a lifecycle regression until the line number shows it is setup. gh run rerun <id> --failed -R SSFSKIM/cua. The rerun passed. The ✖ line in /tmp/ci-gate/SSFSKIM-cua/<run>/test.log points at orphan-lifecycle.test.mjs:36 (hostWith) and its listing lacks trusted-worker.mjs. A recurrence on an unrelated diff confirms the flake; a fix would poll the listing instead of reading it once. live
A system alert raised by something else on the mini blocks a hold's GUI rows. On 2026-10-21 at 12:34:35Z a SecurityAgent keychain prompt appeared on the mini's console during #117's M2a hold. Root cause: the MacBook's ClaudeUsage menubar app polls the mini every 300 s over ssh with claude auth status --json; on the mini its security find-generic-password prompts on the console (the login keychain needs an unlock in an ssh session), the ssh client times out and the remote process is orphaned on the prompt, so the requests queue (9 by 13:29Z) and killing SecurityAgent only raises the next one (SSFSKIM/claude-usage-menubar#3). The general cause is any Claude Code started over ssh on the mini: its keychain read prompts on the console (another one, from an unknown ssh login, at 16:37:51Z after ClaudeUsage had disabled the mini). The harness's alert watch rightly refuses to type or paste under a system alert. A codesign --verify over ssh also hung behind it. M2a's paste section and the Korean hidComposition probe did not run; both moved to M2b's first hold. About 50 min of the window were spent with the prompt up. Agents never click or kill a system alert without the owner. Ask the owner asynchronously at once, and order the hold so alert-sensitive rows (paste, typing) can run last. Before a hold, make sure nothing starts claude on the mini over ssh (ClaudeUsage's remote reader until #3 is fixed; any session's ssh mini claude …). Before booking a hold: ssh mini 'pgrep -x SecurityAgent' returns nothing; on the mini, pgrep -f 'claude auth status' is empty. conditional: live only when something starts claude over ssh on the mini; ClaudeUsage's reader fixed by claude-usage-menubar#3 (live on the MacBook 17:25Z 2026-10-21: locked keychain -> no claude start; 15 s bound; 1 h backoff)
On a Mac, a local npm test can fail in test/repl-host/native-pipe-long-path.test.mjs (line 141, "macOS: a 192-byte socket path connects…") with "nothing is left in /tmp". The test compares a listing of /tmp's cua-* entries taken before it runs with one taken after, so any cua-* temp entry that another process creates in the meantime (another worktree's suite running in parallel, as with M2b's parallel tasks on 2026-10-21) fails it. One RED full suite and a rerun to tell it from a real failure (~2 min). Reconfirmed2026-10-23 on0492867e: one unrelated cua-YQ1QlS temp entry disappeared during the test; full3988pass/1fail/203skip, isolated12pass/1skip. Reconfirmed2026-10-23 one7999797: unrelated cua-4j37ep disappeared during full-suite check(3997pass/1fail/203skip); isolated file12pass/1skip. Rerun the file alone: node --test test/repl-host/native-pipe-long-path.test.mjs. Reconfirmed 2026-10-22 on #182/#183: full suite saw an unrelated cua-f2FdEt entry; isolated rerun passed 12, skipped 1 (~1 s). The failure's diff lists an extra cua-XXXXXX entry no file of the test names, while another suite was running on the same machine. A fix would compare only the entries the test itself creates. conditional (live while another cua suite runs on the same Mac)
On a loaded Mac, test/sandbox-probe/tz-probe.test.mjs (line 80, "a probe runs fresh children under the launcher, kills a hung one…") fails with counts {completed: 0, hung: 2} instead of {completed: 1, hung: 1}. Its fake ok child must finish inside a 1500 ms bound, and under a load average around 13 (other repositories' suites running at the same time, 2026-10-21) it does not. One RED full npm test on a diff that does not touch the probe, and reruns to tell it from a real failure (~3 min). M4 on 2026-10-22 also handed real-package Swift verification to hosted CI rather than add a local compile: MacBook load 78.19/54.02/68.55 on 10 logical CPUs. Reconfirmed2026-10-23 on99b89cfd: load23.99/21.75/23.86, full suite also hit five Node-version child deadline failures in runtime-launch/runtime-node; all three affected files passed together91/91 in isolated rerun(~10s). Rerun the file alone when the machine is quieter: it passed 1 of 3 reruns under the same load. For native-engine work under that load, use hosted engine-swift; isolated fake-tree checks do not replace its real-package compile/tests. Check uptime against sysctl -n hw.logicalcpu: load well above core count remains the offload condition. For the timeout case, the counts above distinguish it; a fix would scale the bound or give the ok child a margin. conditional (live under heavy machine load; reconfirmed 2026-10-22 M4)
The hosted parity-browser gate failed once on the vendor host's api/browser-cuaapi/double-click cell (1 failed assertion of 1362 rows; the cua host passed it), a third racy cell beside the two #168 names (waitfor deadline, drag end). 2026-10-21, #117 M3.1 round 2: one RED gate run (39695858024) on a3d8813, a change that does not touch the browser service, and a ~6 min re-run that passed (39698246659). Re-run ci-gate <worktree> --gates parity-browser; a pass on the same sha settles it. The cell fails again on a sha whose browser code is unchanged; fold it into #168 when fixing the racy cells. live
During a GUI hold on the mini, a controller ssh connection to the mini can time out once (connect to host mac-mini.tail112c3f.ts.net port 22: Operation timed out) and recover on its own. The native matrix's alert watch runs over ssh, so a single timeout ends the lane INCOMPLETE. 2026-10-22 ~01:09Z, #117 M2b hold 2a: run 2's vendor lane stopped at 527 rows; about 14 min of hold time went to re-running it. Its put-back ran and was clean. Re-run the lane, keeping the incomplete result apart and uncounted. A bounded retry on the alert watch's ssh read (it reads only, so retrying is safe) would save the lane. A hold's lane ends on an ssh Operation timed out to the mini while tailscale status on both machines shows them online. conditional (Tailscale path between the MacBook and the mini; seen once)
The Linux parity device for --suite native is not ready from a cold boot. cua-gce is gone, so the Tart VM cua-linux on the MacBook serves. Its discovery home ~/.local/share/cua-h4 lacked managed Node (listingError: repl_host_node), no Chrome was running in its X session, and a second prepare in another worktree refused until cleanup-prepared cleared the first worktree's journal. 2026-10-22, #117 M3.5: part of the VM window went to preparing the device instead of running. Inside the VM: CUA_HOME=$HOME/.local/share/cua-h4 node bin/cua.mjs install --json (places Node and the sandbox helper), then google-chrome --profile-directory=Default --no-first-run on DISPLAY=:0, then prepare --profile me. Run cleanup-prepared in the previous worktree before preparing another. tart list shows cua-linux. On the booted VM, CUA_HOME=$HOME/.local/share/cua-h4 node bin/cua.mjs doctor --json has no repl_host_node problem. live
Under heavy host load, the native-matrix real-process test (test/native-matrix/live-device.test.mjs:554, "a leader that exits on SIGTERM while a descendant ignores it") can see only SIGTERM rather than its expected SIGTERM + SIGKILL. The fixture starts its descendant without a readiness handshake, then the put-back terminates the group after a 1 s bound. 2026-10-21, hold3-harness review: the requested suite was 330/331; an additional full-suite run to capture the initially truncated failure cost about 57 s. The test and put-back implementation are unchanged in the reviewed range. Host load was extreme (5/15 min averages 213/235 at inspection). Do not attribute this timing-sensitive failure to an unrelated diff; rerun the process test alone when the host is quieter (not yet verified in this review). The failure expects [SIGTERM, SIGKILL], receives [SIGTERM], and uptime shows severe load; a quiet-host isolated run distinguishes the setup timing from a persistent defect. conditional (severe host load; quiet-host check pending)
Importing harness modules from a stdin script (node --input-type=module - with import of scripts/native-matrix/*) crashes in electron-fixture.mjs, whose top-level realpathSync(process.argv[1]) (its is-main check) gets -. 2026-10-22, #184 runbook validation: one failed parser-check call (~1 min) before the cause was read. Use node --input-type=module -e '…' (argv[1] is then undefined, not -), or a script file. A fix would guard the is-main check against a non-path argv[1]. echo "import './scripts/native-matrix/electron-fixture.mjs'" | node --input-type=module - from the repo root throws ENOENT for -. conditional (stdin module scripts only)
cua has no activate primitive, so keys and clicks sent to an app that is not frontmost are silently dropped while the call returns success. Coordinate clicks, pressKey cmd+k and Radix menu triggers did nothing; lsappinfo front showed cmux, then Discord, then Chrome as frontmost while HID idle was 0 s, so the owner or another process kept moving the front app. performSecondaryAction(0, Raise) followed by a click lit the traffic lights but did not make the app frontmost. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 1. About ten calls and a quit/relaunch cycle before the cause was understood; roughly a third of the setup calls of a long acceptance run. Use the target app own single-instance hand-off: relaunch the same binary with the same profile so the running instance calls app.focus with steal true (MAWS did this via /tmp/maws-accept-front.sh), run it before each keyboard batch and re-check lsappinfo front. Wanted from cua: an app.activate() gated by policy that returns the previously frontmost app, and a frontmost bool in every observation. Bind an Electron app by getApp(path) while another app is frontmost (lsappinfo front), then pressKey cmd+k or a coordinate click: if the call succeeds with no effect and the app is not frontmost, it still holds. Once activate or a frontmost field exists, the same run should either act or report not-frontmost. live (2026-10-24)
A stale handle relaunches a bare Electron default app. After the bound app quit (cmd+Q), the next getAXStateAndScreenshot() on the old handle relaunched Electron.app with no arguments and opened the Electron welcome window. Also reported by lens-7 on 2026-10-23. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 4. A kill of the stray Electron, and care for the rest of the run: the app was never observed again after quitting it. Do not touch a handle after its app quits; rebind with getApp(full path plus launch arguments) and kill any stray bare Electron.app if it appears. Wanted from cua: bind handles to a pid and throw process exited, and never relaunch a path-bound target whose launch carried arguments. Bind an Electron app by path with launch arguments, quit it with cmd+Q, then call getAXStateAndScreenshot() on the old handle: if Electron.app opens with its welcome window, it still holds. live (2026-10-24; first reported 2026-10-23 by lens-7)
The native NSOpenPanel (Choose folder) is out of reach for cua. It shows in the app AX tree but runs in com.apple.appkit.xpc.openAndSavePanelService, so keys go to the Electron pid (shift-cmd-G and typing a slash did nothing); getApp() on the XPC service path returns -10010 No app matches; the search field accepts setValue but Spotlight does not index /private/tmp; AXPress on the search suggestion returns -10005 did not accept the AXPress action. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 3. Same panel as the MAWS-side entry on the folder dialog in SSFSKIM/MAWS#92. About eight calls, then a detour: quit the app, insert two origin=user project rows into the test profile own index.sqlite, relaunch. Seed the folder through the app own data (here the index.sqlite rows) or have the owner open it by hand. Wanted from cua: key routing to the remote view that hosts a sheet, or a documented go-to-path helper for system file panels. Open an Electron app Add project then Choose folder with cua and try shift-cmd-G plus a path; getApp() on the open and save panel service path. If the panel does not navigate and the bind still returns -10010, it still holds. live (2026-10-24)
There is no pointer-move (hover) primitive. cua has click, drag and scroll but nothing that moves the pointer, so hover cards, the row actions that appear on hover and hover lists cannot be opened; scroll([x, y]) neither opens nor dismisses hover UI. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 5. Hover UI (hover cards, the more button that appears on hover, the project filter hover list) was untestable without a workaround. Coordinate click on a harmless spot (or on the row itself) and leave the pointer there. Wanted from cua: hover([x, y]) or move([x, y]). Look for a pointer-move call in the cua_repl API (hover, move) and try to open a hover-only element: if none exists, it still holds. live (2026-10-24)
Notification Center banners are not observable. Binding com.apple.notificationcenterui returned only the calendar widget window; no banner ever appeared in the AX tree. Separately the app log showed UNErrorDomain 1 because an unsigned dev Electron is not allowed to notify (tracked on the MAWS side in SSFSKIM/MAWS#92). MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 8. The OS notification of the app under test could not be verified hands-on. Verify the notification path another way (the app log, or a signed build); do not rely on cua to see a banner. Wanted from cua: a supported way to read the current banner for a given app. Post a notification from a signed app, then bind com.apple.notificationcenterui and read its AX tree while the banner is on screen: if only the widget window shows, it still holds. live (2026-10-24)
AXPress (an element click) does not open Radix pointerdown triggers, yet the call returns success. Add project, More surfaces, Sort, the model and permission menus and the filmstrip controls ignored element clicks and needed coordinate clicks. This is a known web-content limitation, but nothing in the result says the click had no effect. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 6. Silent no-ops that looked like app bugs until the coordinate click worked; repeated on every Radix menu in a long acceptance run. Click by coordinate (using the per-image downscale hint) for Radix triggers, and re-read the AX tree after every element click to confirm it changed. Wanted from cua: report whether the AX tree changed after an element click. AX-click a Radix menu trigger in an Electron web app: if the call succeeds and the menu does not open (AX tree unchanged), it still holds. live (2026-10-24; web-content limitation, only the missing no-effect signal is actionable)
Element indexes churn between calls: after React re-renders the engine answers -10005 The element ID is no longer valid, or 418 is an invalid element ID. MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 7. Failed actions and re-queries mid-batch; no lasting loss because the workaround worked every time. Re-query with { disableDiffing: true } and match the element by label with a regex in the same cell before acting. Act on an element index from an earlier observation after the app re-renders: if -10005 or invalid element ID is returned, it still holds. live (2026-10-24; workaround reliable)

| The fixed native engine reports inputRoute but no click-plan tag; route 3 can mean either held AXPress/AXPick or synthesized mouse events. The facade also exposes focus only in a trailer hidden by selected text/rows, not the field’s AXFocused flag. | #188 offline diagnosis could not attribute hold-3 PREPARE clicks: their final observation overwrote per-call route metadata. | Split click and observation into cells; use acknowledged forced routes to discriminate plans. A screenshot-free, attested sidecar observation can expose the owned fixture’s AX flag/token, with preparation verified no-open, unchanged fixture counters, and one driving connection required before each arm. Never label inferred natural plans as engine-reported. | InputMeta/service metadata lack a click-plan key; render.mjs trailer gives selection precedence over focus; hold-3 failed rows contain only prepare observation metadata. | conditional (fixed M4 engine / current facade telemetry; #188 diagnostic cell records explicit unavailability) |
| The hosted unit gate can fail once in test/runtime-install.test.mjs, in the oversize-download refusal case: it expects archive_length_mismatch, but the staging cleanup throws ENOTEMPTY first. Seen 2026-10-23 on run 39876964305 (#117 M4 head bd08e6f); the same test passed on the previous full run 39874406930 (03e01d0), and the commits between them don't touch the installer. | One RED unit gate (a ~6.5 min test lane) and a test-only rerun. The failure reads like an installer regression until its cause, a cleanup race, is seen. | Rerun the unit gate (ci-gate <worktree> --gates test); a pass on the same sha points to the race. The root cause isn't proven. A fix would make the staging removal tolerate entries still being written (or wait for the writer) before removing it. | The failing case's log shows ENOTEMPTY from the staging directory's removal instead of archive_length_mismatch, on a diff whose installer code is unchanged. | live (seen once) |
| Copying a large file from the MacBook to the mini by scp over Tailscale is slow: about 0.74 MB/s on 2026-10-23 at 01:20Z. A hold step that ships the 687 MB runtime archive ahead of its work overruns its slot. | 2026-10-23, #117 M4 hold: the 8-min build/sign/approve pre-step used 10m35s on the archive copy alone (467,665,920 bytes) and stopped at its hard end before any build, so the pre-step moved into a later slot. | Fetch large pinned artifacts ON the mini from their official URL, resuming any partial (curl -fL -C -), and verify the manifest's size and SHA-256 before use. Ship only small files (scripts, the ~50 MB Node archive) by scp, or stage big archives on the mini before the hold. | Time a ~700 MB scp to the mini on the current route; well under ~5 MB/s means it still holds (tailscale ping mini showing a DERP relay rather than a direct path is a likely cause). | conditional (MacBook→mini transfers on the current Tailscale path) |
| An owner-attended acceptance run (accept-native item 14, fresh onboarding) can end on a compound check whose operands aren't saved. The "intervention off" check combines cell completion, the input's _meta['cua/intervention'] and doctor's Input Monitoring row, and none of the three is persisted, so a FAIL can't be attributed to a subsystem. | 2026-10-23 05:53Z, #117 M4 hold: one owner sitting (about 15 min of the owner's time) ended FAIL at that stage. The offline diagnosis could only show that either half reproduces the same record. The next stages didn't run, and another owner sitting is needed. | Before an owner-attended run, persist allowlisted operands for every compound check (post-relaunch status booleans, input completion and meta, doctor's permissions and engine row) and split the check into named parts. Check offline that each operand alone produces a distinct record. | Inject one operand change into the item 14 fixture: if two different operand failures yield the same saved record, it still holds. | live (until item 14 persists its operands and accept-native keeps its suites' failing assertions). Same class, 2026-10-23 06:43Z: accept-native item 1's runner saves test names and totals but not the TAP diagnostics, so the live checkout's 1 failure and the clean clone's 2 couldn't be classified from the record. |
| mini-rules.mjs gated defaults its sitting log to the tracked docs/evidence/2026-10-17-own-sandbox/m0/mini-rules/sitting-log.txt; its own first readings dirty a clean controller, so native-matrix then refuses before begin. Seen in hold4 at clean 3d3688b. | One controller-only refused attempt and re-gating: about 2 minutes (first gate 06:57:57–06:58:46Z; retry gate 06:59:42–07:00:31Z). No scene or measurement started in the refused attempt. | Set existing MINI_RULES_LOG_DIR to the outside-checkout evidence directory before gating. Preserve generated log evidence, then restore only that run’s appended tracked log; never hide unrelated dirtiness. | Gate without the variable; git status --porcelain shows only the tracked sitting log modified before matrix begin. | conditional (gated CLI used without external MINI_RULES_LOG_DIR) |
| Auto mode misclassified local date/git status/cat and sed/rg reads under the hold controller as Production Reads, and the own mini’s read-only posture SSH as Sensitive Remote Exec. | Hold4 setup: three appeals (b1–b3), approximately 2 minutes; exact per-appeal duration was not instrumented. | Appealed each exact blocked call; all three grants confirmed local reads or metadata-only posture reads. Re-ran identical granted calls, without changing permissions or using another session to bypass denial. | Under auto mode, the named local read or metadata-only posture command is blocked for those categories despite no production target, secrets or writes. | conditional (auto classifier misclassification; calls resolved individually by appeals) |
| Hosted parity-browser can fail before parity execution at hosted.sh’s SSH Node check: the device's node is not the job's (ssh hosted-macos 'node -v' differs from the job response). Seen on run39936531444/controller966ca2bd; the original run39932141471 on the prior controller passed. | One RED 1/6 gate result; the failed step ended after 43 s and required a failed-jobs-only rerun while all five other gates remained green. | gh run rerun 39936531444 --failed -R SSFSKIM/cua; the same tested tree passed on attempt2, yielding GREEN6/6. No source or validity rule changed. | Gate log fails at SSH Node preflight before any browser parity row; actual differing version strings were not printed, so the runner’s exact cause remains unproven. | conditional (hosted SSH/job Node response mismatch; same-tree rerun passed2026-10-23) |
| A hold's admission refuses when another app's OpenAI computer-use helper (SkyComputerUseService) is running on the mini. The M4 acceptance wrapper (and the native matrix's vendor lane) require no such helper; the owner's ChatGPT.app (Codex) starts one under itself whenever it is opened, and it stays up. | 2026-10-23, #117 M4 unattended: the 11:04Z timed hold refused at admission (exit 3) and CI-opt released it unused; M4 and the 126-min #184/#188 block were pushed to a later slot while the owner decided. | Check before booking and again at handover; if a helper is up, ask the owner whether its app (ChatGPT/Codex) may be quit, quit it the ordinary way, and only then send 'go'. Never kill the helper or add an exemption. | ssh mini 'pgrep -lx SkyComputerUseService; pgrep -lx ChatGPT' is empty before GO; ps -o ppid= -p <helper> shows the owning app. | conditional (live while ChatGPT/Codex is open on the mini) |
| A console or harness run over ssh -tt mini runs in launchd's Background session, not Aqua, even while the owner's desktop session is logged in and active (launchctl managername prints Background). A guard that requires Aqua refuses the intended owner-console transport before any prompt or evidence. | 2026-10-23, #117 M4 permission-only owner check: one aborted start (18:27Z), no engine or permission change; the owner sitting moved ~2 h later within the hold. | Admission should check the console user and the active GUI session (for example the console owner's uid matching the ssh user and an unlocked session), not the launchd session type of the ssh process. Keep the TTY, build and identity guards. | ssh -tt mini 'launchctl managername' prints Background while stat -f %Su /dev/console is the same user. | conditional (live for any Aqua-only guard run over ssh; M4's permission console being fixed) |
| Bare-name pgrep -x tart can flag CI-opt’s held VM-lane idle poll as if a guest started. The launcher runs read-only tart list --format json every15s, and its janitor runs tart list every30min. | Hold7 phase0 paused about1minute after transient PID42458 disappeared before its command could be read. No measurement or process stop occurred. | Coordinator/CI-opt confirmed the poll; use tart list state and match tart run/tart exec command subcommands as guest signals, not bare process name. A long-lived guest still stops the hold. | Hold marker present, tart list reports every VM stopped, and the observed command is list/status rather than run/exec. | conditional (CI-opt held launcher remains loaded and polls status) |
| Covered Electron windows may return unchanged/blank screenshots after actions; AX is a useful cross-check but L6 also observed lagging values. Native capture already uses ScreenCaptureKit; occlusion is not evidence that input was dropped. MAWS-under-test, MacBook, 2026-10-23; L3 §2, L6 §1, L9 §§1,6. | Three reports describe repeated actions, incorrect state conclusions and an unrelated session selection; reported per-lens losses overlap and must not be summed. Reconfirmed 2026-10-24 (MAWS acceptance UX1/UX2, 2026-10-24 (MAWS-under-test at origin/master 64cbab57b, unpackaged Electron 44.4.5 with its own profile, bound by full app path; report: plugin/cua/dogfood-feedback/acceptance-ux1-ux2.md in MAWS), item 2): while Chrome covered the window, Chromium stopped painting it and getScreenshot() returned an old frame (old project order, no menu) while getAXState() showed the new state; one run briefly concluded that clicks had failed when they had not. Wanted: an occluded flag or frame age on the capture, or a forced composite. Separately, keys and clicks to an app that is not frontmost are dropped, see the activate entry. | Cross-check fresh AX and pixels, inspect before retry, use app-supported element actions; do not raise/activate/hide owner apps. | On an authorized owned Electron fixture behind a sentinel, change a field and compare fresh AX/value evidence with the capture; classify capture time separately from repaint freshness. No live recheck in this triage. Live recheck 2026-10-24: with Chrome over MAWS, the screenshot lagged the AX tree, so the capture is stale while the target is occluded. | conditional: covered/non-repainting windows; tracked in #204, with input/acknowledgment separately on #188/#187 and non-interference on #200. Reconfirmed live 2026-10-24. |
| Read-only source triage can start from a local main older than the reported build: this checkout was 629647b while the MacBook native engine report pinned d95261f, whose native/engine source is absent at the older checkout. | One failed source-path lookup and extra revision verification; inspecting only the working tree would misclassify engine behavior. | Use git show/git grep at the report’s exact commit, without checkout/pull or repository edits. Browser service/host/extension paths had no diff between these two commits. | Compare git rev-parse HEAD with the report pin and git cat-file -e : before source inspection. | conditional: local checkout predates the reported build; resolved for this triage by pinned-object reads. |
| Under Korean input, typeText can take the native clipboard route and report clipboard timeout/conflict (MacBook 2026-10-23: L1 §7, L5 §5, L6 added §11). A newer clipboard value was observed; L6 explicitly says its own manual backup restoration briefly overwrote that newer copy. Engine-caused owner-content loss is not established. MAWS master acceptance (2026-10-23 23:28Z) also saw app.paste return -10005 waiting for clipboard consumption while the bound Electron window was not active; content stayed empty. After focusing the authorized window, AX setValue succeeded; a later empty document rejected setValue as not visible despite a visible caret, and app.paste then succeeded. Cause is not established. | Typing scenes stopped; one reported kernel reset; a manual attempted repair itself interfered with a newer copy. Do not reproduce or expose the copied text. Acceptance added two failed input calls and observation rounds; no engine or settings change. | Inspect target-field outcome before retry. Use app-supported AXValue when appropriate; do not read/snapshot the owner clipboard or restore a stale agent backup. The native engine already checks changeCount before write/restore and leaves a newer copy alone. | Test an owned fixture with synthetic clipboard sentinels and an injected competing writer; verify skipped restoration when changeCount moves, successful restoration when still owned, and value-free timeout phase metadata. No owner-clipboard probe in this triage. | conditional: clipboard-route typing with competing copy/timeout; #187 owns delivery/restore diagnostics, #189 source semantics, #207 guidance. Requested change-count protection already exists at d95261f; incident causation remains unproven. |

| cua_repl filesystem writes through imported node:fs/promises return EPERM for screenshot destinations outside its sandbox, including an authorized notes folder and /tmp. The ordinary getScreenshot result already persists an image under the caller tool-results directory. | MAWS master acceptance, 2026-10-23: two failed save calls and one replacement capture. | Call getScreenshot without a filesystem write, then copy the emitted source image path to the authorized evidence folder with the ordinary filesystem tool. Do not change sandbox permissions. | A direct fs.writeFile in cua_repl returns EPERM while getScreenshot emits a readable tool-results image path. | conditional (current sandboxed REPL; evidence export route verified) |
| An owner sitting for accept-native item 14 runs on one shared 15-minute budget for every manual step and observation question, so a slow answer near the end stops the run even after the engine stages have passed. Separately, a step 1 that only says "open a blank TextEdit document" was misread once, leaving no document open. | 2026-10-23/24, #117 M4: three owner sittings without a PASS. Two timed out unanswered. One stopped at the TextEdit check. The best attempt (09:31-09:46Z) passed every engine stage, then expired on the last observation answer. Each costs a fresh owner sitting and a mini hold. | Start the console only once the owner confirms they are at the mini. The coordinator can do the permission adds through cua-remote at the owner's request, so the owner only answers the observations. Pending: a reviewed 25-minute default with bounded per-observation waits, and an explicit "File > New, ONE blank document" step. | The item-14 report's startedAt/finishedAt span against the console's budget; a BLOCKED stage reading "not reached" after an expired owner deadline. | conditional (live until the 25-minute harness completes an owner sitting) |

Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

| CUA_FEEDBACK_DIR inherited from a dogfooding session changes the shim instructions in test/serve-lazy.test.mjs: the raw-answer replay test expects Replaced notes. at the end, but opt-in feedback notes follow it. | #221, 2026-10-26: a 90-second full suite had one unrelated failure (3990 passed, 172 skipped); diagnosis and an isolated rerun took about 10 seconds. | Run tests with env -u CUA_FEEDBACK_DIR; the affected file passes 29/29 with that setting removed. Test fixtures should isolate this opt-in when asserting exact instruction tails. | With CUA_FEEDBACK_DIR set, the replay test fails at line 187 with feedback instructions after Replaced notes.; env -u CUA_FEEDBACK_DIR node --test test/serve-lazy.test.mjs passes. | conditional (live when test children inherit the feedback opt-in) |

Activity

  1. SSFSKIM commented on Oct 22, 2026

    @SSFSKIM
    OwnerAuthor

    #117 M3 hold recurrence, 2026-10-22 10:26–11:23Z; evidence on origin/feat/117-m3 at c3088d33 (M3 not claimed merged). Two existing rows here account for two of accept-native's 11 environmental npm-test failures; no duplicate repair tickets were registered for them.

    Existing friction New evidence and cost Workaround / check Status
    test/repl-host/native-pipe-long-path.test.mjs: global /tmp comparison sees unrelated cua entries Failed in the direct Homebrew Node 26 run and again under accept-native with managed Node 24.22.0 first on PATH. Evidence classifies concurrent tests' cua-eng-* directories as the same global-listing problem. It contributes one failure to item 1 and therefore also to items 7/8's suite verdicts. The established workaround is the isolated file run. A fix should compare only this test's owned entries; check the failure's extra paths against its ownership, not the entire /tmp listing. The hold's recurrence does not establish a new isolated rerun. conditional: recurrence confirmed with concurrent temporary entries; existing repair remains open
    test/sandbox-probe/tz-probe.test.mjs: “a probe runs fresh children under the launcher, kills a hung one…” This same test failed under accept-native but passed in the direct run. It is classified as the known loaded-Mac row; the hold did not independently isolate load from all harness-environment differences. One of the 11 failures. Retain the quiet/isolated-run workaround and inspect completed/hung counts plus machine load. Do not assume the other three tz-probe failures have this cause. conditional: known row recurred; exact trigger in this hold still needs isolation

    The other nine failures are now #198 (env-issue, P2, explicit ready-for-implementer): three test/maws-live-probe.test.mjs cases, three test/repl-parity/topology.test.mjs cases, and three additional test/sandbox-probe/tz-probe.test.mjs CLI/HOME cases. Its repair path compares direct versus accept-native under the SAME Node 24 binary and controlled scratch HOME/load, then fixes the demonstrated launch/test isolation boundary. It does not duplicate these two rows. The hosted Node 24 gate remains the unit-suite authority; the mini's item 1 cannot read PASS until applicable failures are resolved.

    Related but separate: #195 records deterministic Node 26 operator-console portability; #197 fixes --items 7,8 consuming item 1 without running it. Items 7/8's named suites passed 141/141, which does not erase the full-suite failures.

    Sources:

    Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

  2. changed the title [-]Friction tracker[/-] [+]Friction tracker (moved to ~/.claude/friction-tracker/cua/)[/+] on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions