Repository navigation
Description
Problem
#296's stale-point guard refuses a click as nodeGone when a link's text is replaced (textContent) and the text's width changes, even when only the content changed. For example, "Inbox" becomes "Inbox (3)", or "1 minute ago" becomes "2 minutes ago". This happened 12 of 12 times on Chrome for Testing and Safari in #298's measurement.
For a link, the record takes the inner AXStaticText. Replacing the text re-creates that node. #296's re-created search then looks for a node with the old frame. The grown text sits 6–20 pt away from it, so the search finds nothing and the click is refused. #296's false-positive spike had no link whose label changed, so this never showed up there.
Measured in #298: the findings are at #298 (comment), limit 6. The runs are https://github.com/SSFSKIM/cua/actions/runs/42558915827 and https://github.com/SSFSKIM/cua/actions/runs/42559900886. The kit is probe/298-measure, with the cells inbox and reltime.
Intent
A link that gains a count or a ticking time keeps taking clicks. A link whose words change meaning is still refused.
One way: the re-created search accepts a text frame that grows from the same origin when its words agree under #298's word rule, which sets numbers aside together with the words that follow them up to the next punctuation mark. Measure before building, against #296's and #298's cells.
Constraints
nodeGone's true refusals stay refusals: a link replaced with different words, likelinksave.- Engine: refuse a coordinate click whose screenshot target has moved or been replaced (stale-point guard) #296's final A/B set is unchanged.
- The rule lives in StalePoint.swift, so it is sequenced after Page-made suggestion lists take a coordinate click aimed at the control under them (wrong target, all browsers) #330 and Engine: a control relabelled in place (same handle, Save to Delete) passes the stale-point guard #298's build.
- Spawned by Engine: a control relabelled in place (same handle, Save to Delete) passes the stale-point guard #298. No parent and no blocker (consciously N/A).
Success criteria
inboxandreltimepass on Chrome and Safari.linksaveis still refused.- Engine: refuse a coordinate click whose screenshot target has moved or been replaced (stale-point guard) #296's and Engine: a control relabelled in place (same handle, Save to Delete) passes the stale-point guard #298's cells are unchanged otherwise.
Activity
SSFSKIM commentedon Nov 9, 2026
Reproduced live in #330's gate
Run https://github.com/SSFSKIM/cua/actions/runs/42585577476 (kit
probe/330-measurec0d0644, main e31bb1f against #330's branch 7f6eb3d), in the "replaced link text" cells:textContentreplaced, the width unchanged): kept 6 of 6, both where the record holds the AXLink and where it holds the AXStaticText inside it.nodeGone, on both heads. This is Engine: refuse a coordinate click whose screenshot target has moved or been replaced (stale-point guard) #296's re-created search, before Page-made suggestion lists take a coordinate click aimed at the control under them (wrong target, all browsers) #330's rule. It's the false refusal this ticket describes.The tables are in
~/.local/share/probe-330/run-42585577476/tables.txton the MacBook. The cell lives inscripts/probe-330/gate.mjsand can be reused for this ticket's A/B.Sminos-Session: cursor235#b93055dd (cua on macbook)
macOS engine: #340's resized-text tests pin a title on one side, a te…
macOS engine: a resized text must lie in its recorded control, read e…
macOS engine: a resized text is anchored on the control the record he…
SSFSKIM commentedon Nov 19, 2026
Parked as deferred under design ruling 1ea561bc:880.
What was built. Branch
fix/340-growing-link-text, kept for the record at59bc2bce. A resized AXStaticText could match its record when the recorded interactive control was alive on its own handle, its live frame still held the point, the new text sat inside it through inert elements, and the labels agreed. Phase 1 of the hosted kitprobe/340-qual(run 44507959686, README77a00f78) reproduced the bug on main. With the record at the text,inbox,reltimeand the shrink cell were refusednodeGone10/10 on CfT, Safari and Electron.Why it stopped. Three review rounds each found new wrong-target or wrong-content matches:
700c80cd): text from a different control could match: a same-label link sliding into the removed one's place. So could symbol-only labels ("♡" → "🗑") and a double label read.7f9fd90a): the owner walk stopped at a framed wrapper. It also skipped AXPress groups and passed an owner role it hadn't read. Frameless recorded texts slipped through, and number positions in wordless labels were lost.59bc2bce):[]for an error as well as for no actions.The narrowed rule proposed next (identical labels, with each digit run a wildcard, plus or minus one count group, plus a toggled plural "s") still has a wrong-target class built in: pagination. "2" → "3", "Page 2" → "Page 3" and "Step 1 of 4" → "Step 2 of 4" are different controls at the same place in a resized pager.
Conclusion. A label-similarity rule can't tell a grown count from a different numbered control without the app's own identity for the element. The failure mode today is a safe refusal: the agent re-observes and clicks again. A wrong click is not safe, so the trade isn't worth it for a P3.
If this is reopened, it needs evidence of identity that doesn't come from the label: an app-provided element identity (a DOM id or AXDOMIdentifier, and a stable AXURL that only rewrites the label), or a before-and-after structural check. #431, a wrong click on main that a same-label link sliding into place causes, asks the same question for #296's same-width search.
SSFSKIM commentedon Nov 19, 2026
[board] deferred: parked under ruling 880: label-similarity cannot separate a grown count from a different numbered control; branch fix/340-growing-link-text kept at 59bc2bc
macOS engine: the stale-point guard refuses a same-label control that…