Repository navigation
macOS engine: #431's twin search also reads record nodes without a frame (#435) - #440
Merged
Merged
Conversation
…a frame (refs #435) The record keeps the walk's frameless elements beside its framed nodes (screenshotRecord), each with its role, labels, web area and control derived as a framed node's, a null frame and nothing shown, so it is never chosen at a point or matched in place. recreatedRefused's twin search reads them under the same filter on #296's path, #305's and the press verdict's. Plugin 0.28.20. Sminos-Session: cursor235#b93055dd (cua on macbook)
…earch (refs #435) The review of 66ae2e8 found recreatedRefused's twin search re-tokenized a re-created text's whole value for every peer compared, before delivery: 3,000 frameless peers cost about 160 ms for a 1,000-unit text and 1.56 s for a 10,000-unit one. recreatedTwinFound now takes the node's words once, on first use; the per-peer rule and its verdicts are unchanged. Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #435
What changes
#431's stale-point guard refuses a re-created match when the observation's record holds a twin: an element of the node's role, in its web area, whose label agrees under the match's own rule. The twin search read only the record's framed nodes. It now reads the framed and frameless lists alike (
screenshotRecordinnative/engine/Sources/Engine/StalePoint.swift).frameis nil.Plugin bumped to 0.28.20. #431's tech-debt entry about framed-only nodes is removed.
Evidence
docs/evidence/2026-11-20-frameless-twin/README.md(kitprobe/435-qual, workflow 424694563, READMEd7052b79).f8f34652against fix493c64ca, interleaved, 10 per head per unit, every row valid): the keep cells, the twin cells, 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 big-page cells, Engine: a link whose text grows with a count (Inbox to Inbox (3)) is refused nodeGone by the stale-point guard #340's cells andwideoverlaygave the same verdict and reason on every pair. There were 0 wrong targets on either head.stalePoint.msp50 / p95 is within 0.8 ms of main on every lane.swift testinnative/engine: 1475 tests, 0 failures, 1 skipped.nodeGoneat the text and at the link, on its own handles and on new ones.pressedOther.Limits
<details>,hidden="until-found", andcontent-visibilityon Safari. That was measured in discovery and is registered as Stale-point guard clicks a same-label twin that was hidden from the accessibility tree and is revealed into a removed control's place #438 (P2, needs design: the record keeps no identity that tells a revealed twin from a re-render).Skyshot.swift,Screenshot.swift,stalePointGuardandstalePointRecheckcompiles and is exercised by the hosted regression run's verdicts, but no offline test covers it.tech-debt-tracker.md. That file is a dated record of the macOS engine: the stale-point guard lets a click land on a same-label link that slid into a removed link's place #431 run and is left as written.Review
66ae2e8d: one P2, the target re-tokenized for every frameless peer, a latency regression. Fixed in493c64cawith an equivalence test and a call-count test.Sminos-Session: cursor235#b93055dd (cua on macbook)