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
Engine: a control relabelled in place (same handle, Save to Delete) passes the stale-point guard #298
#296's stale-point guard can't see one case: a surviving element relabelled in place. For example, an app keeps the same AXButton but changes its title from Save to Delete between the screenshot and the click. The handle is the same element, its frame still contains the point, and the hit is the same element, so the guard passes, and the click lands on what is now Delete.
The design session ruled it a stated limit of #296, with an A/B cell showing the pass (1ea561bc 0c0b70f0).
Intent
Find a signal that separates a relabel that changes the control's meaning (Save to Delete) from a label that changes as content (Like (12) to Like (13), a ticking timer), without refusing the latter. Candidates:
The design session clarified this on 2026-11-06 (1ea561bc 2db3ba75): the blind spot covers containers too. A truncated container checked by #296's guard counts as the observed one on its live handle while its re-read frame still holds the point, and its title is not compared. So a container relabelled in place while keeping its handle passes, just as any node does. Without that rule, a page title that gains a notification count would refuse every click into the budget-cut part of a large page. Any rule this ticket arrives at should cover both cases.
#298 measured: a word rule on the label separates a relabel from a content change. Structural attributes don't.
Measurement only. Nothing was built: the rule would live in StalePoint.swift, and its build is sequenced after #330.
Finding. In Chrome for Testing, Safari and AppKit, a control relabelled in place keeps its AX handle in every case measured: 82 cells (35 Chrome, 34 Safari, 13 AppKit), 12 to 18 repetitions each on 6 hosted runners. Nothing structural moves with the label unless the page moves it itself. AXDOMIdentifier, the DOM class list, AXIdentifier, the role, role description and action list, and AXHelp each have zero false positives. But each caught only the cell where the page deliberately changed that attribute, and none of them moved on the canonical Save -> Delete (a text change). So no structural signal exists. The signal is the label's words.
The rule that works: compare the recorded label's words with the label read now, after setting aside every number together with the words that follow it up to the next punctuation mark. It refuses all 33 meaning cells measured, including a dialog container and the text inside links and clickable divs, and every state flip that changes the label. It passes every content change measured: #296's ticking labels, counts, plurals, relative times, "Inbox (3)", "Notifications, 3 new", and tab, window, web-area and group titles gaining "(3)". Replayed over #296's own false-positive spike, it refuses 0 of the 132 cells that #296 passed on a kept handle. Its one live false positive is a same-meaning translation ("Save" -> "Guardar"). Its structural misses are labels that differ only by a number ("Order #1234" -> "Order #1235").
A second finding came out of measuring the deepest node. For a link or a clickable div, #296's guard records the AXStaticText inside the control, and that node's words are in AXValue, which neither the record nor the re-created match compares. So the blind spot is wider than this ticket says. A framework-style text update (nodeValue) keeps the text's handle with new words. A same-width replacement re-creates it, and #296 matches the new one anyway. Both pass Save -> Delete today. Separately, #296 already refuses a link whose text is replaced with a width change, even when only the content changed ("Inbox" -> "Inbox (3)"); see limit 6.
Runs
Branch probe/298-measure (kit scripts/probe-298/: measure.mjs, tool.swift, app.swift, analyze.mjs, replay-296.mjs; workflow .github/workflows/probe-298.yml). No engine and no click. A standalone AX tool holds each cell's handle and reads every candidate attribute in one batched request at three moments: the "observation"; 1 s later with nothing changed, to show the drift a ticking label makes on its own; and "click time", 5 s after the observation and 3 s after the page or app changed every cell at once. Each read also hit-tests the observed centre, and when the deepest node's handle is gone the tool runs #296's re-created search on it. macOS 26.7.2, Chrome for Testing 156.0.8078.80, Safari 27.2.
Each run used 2 runners x 3 repetitions per surface. Every cell was found and every change was applied on all 6 runners, and the repetitions agree cell by cell.
Cells x signals
C = Chrome for Testing, S = Safari, N = AppKit. "Same handle" counts the handle still alive at click time (and, on the page, still the element its locator finds). R = refuses, · = passes. digits: refuse when the label differs once digit runs are masked. kept: refuse when a word of the old label is gone from the new one (a word counts as kept if some new word starts with it). proposed: refuse when the words differ after setting aside each number and the words that follow it up to the next punctuation mark; window and web area exempt. structural: which of AXDOMIdentifier, class list, AXIdentifier, role/description/actions, AXValue, AXHelp changed.
the group has no label; its text "Save" -> "Delete"
none
see deepest node
R on the text
The deepest node at the point, which is what #296's record takes. Chrome and Safari flatten a button's text into the button, but a link's or a clickable div's text is its own AXStaticText, whose words are only in AXValue. Each row is 12/12 on 4 runners.
refused (nodeGone), a false positive of #296 today
unchanged
Each candidate's false positives and misses
Live counts are measured cells. The corpus is 50 label pairs beyond the live cells, judged by the strings alone; that is sound because every live cell showed the label delivered verbatim on the kept handle (the corpus table is in analyze.mjs's output).
Words kept (subtractive: additions never refuse): live false positive "Guardar"; live miss "Delete" -> "Delete all". It passes the stem-keeping flips (Follow -> Following, Save -> Saved). Corpus misses include "Allow" -> "Don't Allow" and "Continue" -> "Continue and pay $9.99"; corpus false positives "1 reply" -> "2 replies", "Starts in 1 minute" -> "Starts in 59 seconds", Russian plurals.
Words beside numbers set aside (proposed): live false positive "Guardar" only; live misses none; every label-changing flip refused. Corpus false positives (6): "just now" -> "1 minute ago"; "Today" -> "Yesterday"; "No notifications" -> "3 notifications"; two document-title flashes (the window and web-area exemption covers them, except on Chrome's tab button); "Guardar". Corpus misses (3): "Order #1234" -> "Order #1235", "Nov 8 standup" -> "Nov 9 standup", "Delete 1 file" -> "Delete 3 files".
Setting aside only the one word after a number: the same, plus a false positive on "1 new message" -> "2 new messages".
AXDOMIdentifier, class list, AXIdentifier, role/description/actions, AXHelp: zero false positives; each caught only the cell built to change it, so every Save -> Delete without that deliberate change is missed. The walk does not read AXDOMIdentifier at all (Fetch.swift's observedAttributes).
AXValue: catches a toggle's flip where the label stays (AppKit on/off; Safari aria-pressed). Chrome exposes no value for aria-pressed. It misses every relabel.
Proposal
Build one rule, relabelled (refuses), in StalePoint.swift, after #330.
The label. A node's label is its title if non-empty, else its description, else its value when the node is an AXStaticText. A label's words are its lowercased letter runs after taking out every number (a digit run with internal ., , or :) together with the letter words that follow it up to the next punctuation mark.
Same-handle check (new). When the recorded node is found by its own handle and its frame still holds the point, refuse relabelled when the recorded role is neither AXWindow nor AXWebArea, both labels are non-empty, and the recorded label's words differ from the words of the label read now.
Re-created path. Extend stalePointLabelsAgree: when neither side has a title or description and both have an AXStaticText value, the values must have the same words. Titles and descriptions keep exact equality, as amendment 0c0b70f0 set it.
Containers are covered by the same rule: a group, region or dialog gaining a count passes; a dialog changing meaning refuses. Document titles are exempt, because they flash and gain tab-state suffixes ("Ann messaged you", "- Audio playing"); #316's otherWebArea already guards the document's identity.
Reuse and cost.ScreenshotNode already keeps title and description; it gains the value for AXStaticText only, which the walk already reads (ElementData.value), so the cost is memory only. At click time, StalePointReads already has title and description closures (the re-created search's); it gains value, and the handle path makes those 2 to 3 reads on one element. In this spike a batched read of 17 attributes on one element took 0.18 ms median, 1.4 ms p99 and 5.2 ms max over 1,368 reads in the three apps. The rule is pure string logic over the closures, so it can be unit-tested on the fake tree.
Cells for the build's A/B (scripts/probe-298/measure.mjs's page and app carry them all). Must refuse: save, btnnv, linksavenv, divbtn, linkmono, savearia, deleteall, dialog (C, S); relabel (#296's limit ii, which flips from kept to refused), alabel, noid (N); follow and play (C, S, N). Must pass: #296's ticking label at 1, 5 and 20 s (C, S, N), counter/nextto, like, items, notif, linknv, divtick, linklike; Chrome's tab gaining "(3)", region, labelledby; window and web-area titles gaining "(3)". Plus #296's final A/B set unchanged.
Limits (to state in the Decision Log):
A label that differs only by a number passes: an index-keyed list recycling a row ("Order #1234" -> "Order #1235", "Item 9" -> "Item 10", "Nov 8" -> "Nov 9"), or a count of what the action applies to ("Delete 1 file" -> "Delete 3 files"). Any rule that passes counters passes these.
Content whose words roll without a number refuses: "just now" -> "1 minute ago", "Today" -> "Yesterday", "No items" -> "1 item". Such a label rolls at most once a minute, so this is rare within one screenshot-to-click gap.
A translation in place refuses ("Save" -> "Guardar").
Document titles are not compared. Chrome's tab button carries the document title and is a control, so a flashing title refuses a click on that tab; exempting the AXTabButton subrole is an option.
A toggle whose label stays the same passes: AppKit's alternateTitle isn't exposed, and Chrome's aria-pressed has no AXValue. Comparing a checkbox's AXValue would catch the AppKit and Safari cases; it is left out because a checkbox's value can legitimately be the thing that changed.
Activity
SSFSKIM commentedon Nov 6, 2026
The design session clarified this on 2026-11-06 (1ea561bc 2db3ba75): the blind spot covers containers too. A truncated container checked by #296's guard counts as the observed one on its live handle while its re-read frame still holds the point, and its title is not compared. So a container relabelled in place while keeping its handle passes, just as any node does. Without that rule, a page title that gains a notification count would refuse every click into the budget-cut part of a large page. Any rule this ticket arrives at should cover both cases.
Probe 298 measure wave 2: text changed in its own node against replac…
Probe 298 analysis: the deepest node's table, a corpus of label pairs…
SSFSKIM commentedon Nov 9, 2026
#298 measured: a word rule on the label separates a relabel from a content change. Structural attributes don't.
Measurement only. Nothing was built: the rule would live in
StalePoint.swift, and its build is sequenced after #330.Finding. In Chrome for Testing, Safari and AppKit, a control relabelled in place keeps its AX handle in every case measured: 82 cells (35 Chrome, 34 Safari, 13 AppKit), 12 to 18 repetitions each on 6 hosted runners. Nothing structural moves with the label unless the page moves it itself. AXDOMIdentifier, the DOM class list, AXIdentifier, the role, role description and action list, and AXHelp each have zero false positives. But each caught only the cell where the page deliberately changed that attribute, and none of them moved on the canonical Save -> Delete (a text change). So no structural signal exists. The signal is the label's words.
The rule that works: compare the recorded label's words with the label read now, after setting aside every number together with the words that follow it up to the next punctuation mark. It refuses all 33 meaning cells measured, including a dialog container and the text inside links and clickable divs, and every state flip that changes the label. It passes every content change measured: #296's ticking labels, counts, plurals, relative times, "Inbox (3)", "Notifications, 3 new", and tab, window, web-area and group titles gaining "(3)". Replayed over #296's own false-positive spike, it refuses 0 of the 132 cells that #296 passed on a kept handle. Its one live false positive is a same-meaning translation ("Save" -> "Guardar"). Its structural misses are labels that differ only by a number ("Order #1234" -> "Order #1235").
A second finding came out of measuring the deepest node. For a link or a clickable div, #296's guard records the
AXStaticTextinside the control, and that node's words are inAXValue, which neither the record nor the re-created match compares. So the blind spot is wider than this ticket says. A framework-style text update (nodeValue) keeps the text's handle with new words. A same-width replacement re-creates it, and #296 matches the new one anyway. Both pass Save -> Delete today. Separately, #296 already refuses a link whose text is replaced with a width change, even when only the content changed ("Inbox" -> "Inbox (3)"); see limit 6.Runs
Branch
probe/298-measure(kitscripts/probe-298/:measure.mjs,tool.swift,app.swift,analyze.mjs,replay-296.mjs; workflow.github/workflows/probe-298.yml). No engine and no click. A standalone AX tool holds each cell's handle and reads every candidate attribute in one batched request at three moments: the "observation"; 1 s later with nothing changed, to show the drift a ticking label makes on its own; and "click time", 5 s after the observation and 3 s after the page or app changed every cell at once. Each read also hit-tests the observed centre, and when the deepest node's handle is gone the tool runs #296's re-created search on it. macOS 26.7.2, Chrome for Testing 156.0.8078.80, Safari 27.2.nodeValue) or replaces it (textContent), and reads the deepest node at the point.Each run used 2 runners x 3 repetitions per surface. Every cell was found and every change was applied on all 6 runners, and the repetitions agree cell by cell.
Cells x signals
C = Chrome for Testing, S = Safari, N = AppKit. "Same handle" counts the handle still alive at click time (and, on the page, still the element its locator finds). R = refuses, · = passes. digits: refuse when the label differs once digit runs are masked. kept: refuse when a word of the old label is gone from the new one (a word counts as kept if some new word starts with it). proposed: refuse when the words differ after setting aside each number and the words that follow it up to the next punctuation mark; window and web area exempt. structural: which of AXDOMIdentifier, class list, AXIdentifier, role/description/actions, AXValue, AXHelp changed.
The deepest node at the point, which is what #296's record takes. Chrome and Safari flatten a button's text into the button, but a link's or a clickable div's text is its own
AXStaticText, whose words are only inAXValue. Each row is 12/12 on 4 runners.nodeValue)nodeValue)nodeValue)nodeValue, ticking)textContent, same width)textContent, same width)textContent)textContent)Each candidate's false positives and misses
Live counts are measured cells. The corpus is 50 label pairs beyond the live cells, judged by the strings alone; that is sound because every live cell showed the label delivered verbatim on the kept handle (the corpus table is in
analyze.mjs's output).Fetch.swift'sobservedAttributes).Proposal
Build one rule,
relabelled(refuses), inStalePoint.swift, after #330.The label. A node's label is its title if non-empty, else its description, else its value when the node is an
AXStaticText. A label's words are its lowercased letter runs after taking out every number (a digit run with internal.,,or:) together with the letter words that follow it up to the next punctuation mark.Same-handle check (new). When the recorded node is found by its own handle and its frame still holds the point, refuse
relabelledwhen the recorded role is neitherAXWindownorAXWebArea, both labels are non-empty, and the recorded label's words differ from the words of the label read now.Re-created path. Extend
stalePointLabelsAgree: when neither side has a title or description and both have anAXStaticTextvalue, the values must have the same words. Titles and descriptions keep exact equality, as amendment 0c0b70f0 set it.Containers are covered by the same rule: a group, region or dialog gaining a count passes; a dialog changing meaning refuses. Document titles are exempt, because they flash and gain tab-state suffixes ("Ann messaged you", "- Audio playing"); #316's
otherWebAreaalready guards the document's identity.Reuse and cost.
ScreenshotNodealready keeps title and description; it gains the value forAXStaticTextonly, which the walk already reads (ElementData.value), so the cost is memory only. At click time,StalePointReadsalready hastitleanddescriptionclosures (the re-created search's); it gainsvalue, and the handle path makes those 2 to 3 reads on one element. In this spike a batched read of 17 attributes on one element took 0.18 ms median, 1.4 ms p99 and 5.2 ms max over 1,368 reads in the three apps. The rule is pure string logic over the closures, so it can be unit-tested on the fake tree.Cells for the build's A/B (
scripts/probe-298/measure.mjs's page and app carry them all). Must refuse: save, btnnv, linksavenv, divbtn, linkmono, savearia, deleteall, dialog (C, S); relabel (#296's limit ii, which flips from kept to refused), alabel, noid (N); follow and play (C, S, N). Must pass: #296's ticking label at 1, 5 and 20 s (C, S, N), counter/nextto, like, items, notif, linknv, divtick, linklike; Chrome's tab gaining "(3)", region, labelledby; window and web-area titles gaining "(3)". Plus #296's final A/B set unchanged.Limits (to state in the Decision Log):
AXTabButtonsubrole is an option.textContent) with a width change is refused asnodeGone, even for content ("Inbox" -> "Inbox (3)", "1 minute ago" -> "2 minutes ago"; 12/12 on Chrome and Safari). Engine: refuse a coordinate click whose screenshot target has moved or been replaced (stale-point guard) #296's spike had no link whose label changed. This is worth its own ticket: the re-created search could accept a text frame that grows from the same origin when its words agree by this rule.Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM commentedon Nov 9, 2026
Ruling (design session 1ea561bc, 31a62775)
(a) Approved as scoped: the rule
relabelled, as proposed in the findings above. The Decision Log carries limits 1–5 as written.(b) Chrome's
AXTabButtonsubrole is exempt, like the window and the web area.(c) Sequencing: the build goes in lane 1 after Page-made suggestion lists take a coordinate click aimed at the control under them (wrong target, all browsers) #330 merges, since StalePoint.swift is lane 1's file. Engine: a link whose text grows with a count (Inbox to Inbox (3)) is refused nodeGone by the stale-point guard #340 follows right after it, in the same lane.
Merge gate, from Stale-point guard may refuse ordinary clicks on still pages (GitHub code view, Safari toolbar, Finder title bar): live check #305's lesson: a replay of Engine: refuse a coordinate click whose screenshot target has moved or been replaced (stale-point guard) #296's spike isn't enough on its own. The build's real engine must click live, with 0
relabelledrefusals, across unchanged real pages and apps. These include pages whose labels change on their own:Any refusal there is reported with its labels before any limit wording.
Sminos-Session: cursor235#b93055dd (cua on macbook)
Engine: text the model types into an editable region is not taken for…
Engine: rule relabelled never takes a failed label read for an absent…
Engine tests: a text re-created in its editable region with another d…
Engine: the edited-text exemption resolves to the region AXEditableAn…
Engine: an element between the text and its region whose role or acti…
Engine tests: a text answering its region alone keeps it in the recor…
10 remaining items
SSFSKIM commentedon Nov 10, 2026
[board] in-review: PR #355 open, gates accepted 1ea561bc:569
Engine: a control relabelled in place is refused as relabelled, its l…
SSFSKIM commentedon Nov 10, 2026
[board] done: Landed via PR #355 (0.27.24)
macOS engine: a label comparison that compared nothing is unread, and…
macOS engine: a CFNull label slot is recorded unknown, and labels com…
macOS engine: an unread label part never hides a known one, and never…
macOS engine: #519 narrowed to the decoder and the consumers that cho…
macOS engine: a non-text label slot is non-text, never known absent (#…
macOS engine: a live label value is read through #405's classificatio…
macOS engine: a refusal never quotes a value read now (refs #520)
macOS engine: a refusal never quotes a value read now, nor a withheld…