Repository navigation
Description
Problem
#431 (PR #434) made the stale-point guard refuse a re-created match when the observation's record holds a twin: another element of the node's role, in the same web area, whose label agrees. The twin search (recreatedRefused in native/engine/Sources/Engine/StalePoint.swift) reads only the record's framed nodes. A twin recorded without a frame is not seen.
If such a twin then slides into the removed control's place with a frame, the only thing still standing in its way is the coverage rule: the node's web area must have been recorded whole. On a fully recorded page, the click is kept and lands on the twin, as it does on main (where any same-role, same-frame, agreeing-label candidate passes).
Not measured live. On the browsers #431 measured (Chrome for Testing, Safari, Electron), links and buttons always read a frame, so no cell produced a frameless twin. It could arise from:
- an element that is hidden or collapsed at the observation and has no AXFrame;
- an app whose controls report no frame until laid out.
This was logged as tech debt on #431's branch; design ruling 891 makes any wrong click that main also makes a ticket.
What to do
- Include frameless record nodes in the twin search. Use the full screenshot handle map, which macOS engine: the stale-point guard lets a click land on a same-label link that slid into a removed link's place #431 already reads for membership, filtered by role, web area and label under the match's own rule.
- Check that this refuses no genuine re-creation that macOS engine: the stale-point guard lets a click land on a same-label link that slid into a removed link's place #431's keep cells hold (remount, retext, plain, like, btnremount, tables).
Check
- A Swift stub test: the twin is recorded frameless and gains a frame at the removed control's point. It must refuse
nodeGone. - If cheap, a hosted cell on probe/431-qual's kit: a twin that the browser lists without a frame at the observation, for example inside a collapsed
<details>if the browser lists it there, and that is shown as it slides up. It must answernodeGoneon CfT, Safari and Electron, and the keep cells must stay unchanged. Adisplay:nonetwin isn't in the tree at all, so it can't be told apart from a re-creation, and it's out of scope.
Found by #431's build (residue).
Activity
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: claimed by cursor235 (0.28.20); builder dispatched
macOS engine: the twin search takes the node's label words once per s…
Evidence: #435's hosted discovery and regression runs (refs #435)
Merge origin/main into fix/435-frameless-twin (refs #435)
SSFSKIM commentedon Nov 20, 2026
[board] in-review: PR open; ci-gate GREEN 44703056198; hosted discovery + regression
SSFSKIM commentedon Nov 20, 2026
[review-trail] reviewer-medium on 66ae2e8: one P2 (target re-tokenized per frameless peer, latency regression), fixed in 493c64c (equivalence + call-count tests; perf-only, no further round). Hosted: probe/435-qual README d7052b7: discovery found no frameless nodes on CfT/Safari/Electron (defence only); regression 0 verdict/reason diffs, 0 wrong targets. Head 2796927 (merged main 215a07a), ci-gate GREEN https://github.com/SSFSKIM/cua/actions/runs/44703056198.
macOS engine: #431's twin search also reads record nodes without a fr…
SSFSKIM commentedon Nov 20, 2026
[board] done: Landed via PR #440 (cua 0.28.20)