Repository navigation
macOS engine: a null subrole is unread and a null role unknown (#501) - #518
Merged
Merged
Conversation
…presumed secure; a CFNull AXRole is unknown (refs #501) Ruling 1131 after 1083: valueClassification takes a null subrole slot (AttributeRead.null) as a failed read, so a text-entry role is closed, secure and failed (#405's presumption) and another role closed but not secure; every reader of the classification follows (the walk, the Markdown's re-check, classifiedRead, select_text, paste's effect reading, the read-back's class and length, whose concealed final batch answers fieldUnreadable). ElementData.roleRead is false for a null AXRole as for a failed one, so the stale-point record has roleUnknown, not a known inert node. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ead and a CFNull role unknown (refs #501) Sminos-Session: cursor235#b93055dd (cua on macbook)
…refs #501) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ale-point record, never known absent (refs #501) The review of cdb36ad..7574c05 (P2): an AXStaticText closed by a null (or failed) subrole kept its value as .text(nil), so #453's overlayLabelsAgree pressed a row whose label-bearing value vanished before the click. screenshotLabelsUnknown now marks the value unread whenever ElementData.valueUnread is set; overlayDuplicate, relabelledLabel and the twin search read it as a failed read through ScreenshotNode.label. Sminos-Session: cursor235#b93055dd (cua on macbook)
This was referenced Nov 23, 2026
SSFSKIM
marked this pull request as ready for review
November 23, 2026 15:35
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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 23, 2026
SSFSKIM
added a commit
that referenced
this pull request
Nov 23, 2026
origin/main at 0d19fdf (#518, #501: a null subrole is unread and a null role unknown; plugin 0.29.10) merged into feat/117-m5, no rebase. One conflict: - docs/doperpowers/specs/2026-10-18-own-native-engine-design.md Decision Log: both ends appended; M5's entries kept, main's #501 entry after them (233 + 231 - 229 base = 235 entries). Fetch.swift, StalePoint.swift, Walk.swift and the new NullClassifyingSlotTests merged clean. Versions: engineVersion stays 0.3.0 (main's is 0.2.0; #518 does not move it), macOS MIN_ENGINE_VERSION 0.1.0, Linux 0.4.4, plugin 0.29.10 (main's). Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 23, 2026
…feat/117-m5-flip (refs #506) [skip ci] feat/117-m5 at 28fd8d1 merged in, no rebase: origin/main's #518 (#501, plugin 0.29.10), 311d308 (the pending slot is authoritative) and 28fd8d1 (the vendor row names a pending build once). Conflicts: - .claude-plugin/plugin.json, marketplace.json: the flip's description (cua's engine the default on macOS), main's version 0.29.10. doctor-engine.mjs and engine-minimum.mjs merged clean: ruling 1148's notInUseRow/installState (its reason and remedy line, the pending-below-minimum remedy) stand beside vendorRow's single pending mention and the authoritative slot. Versions on the flip: engineVersion 0.3.0, macOS MIN_ENGINE_VERSION 0.2.0, Linux 0.4.4, plugin 0.29.10, darwin default 'cua'. Sminos-Session: cursor235#b93055dd (cua on macbook)
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 #501.
What changes
#500 left two null-slot cases in the macOS engine. Both now fail closed:
valueClassification(Fetch.swift) treats it as.failed, the same as a failed read. A text-entry role is then presumed secure (macOS engine: observation never reads a secure field's value, length or selection (protection is the AX provider's today) #405's presumption no longer fails open); any other role is closed and its node saysvalueUnread. Every reader of the classification follows with no change of its own (walk, Markdown,classifiedRead, select_text's guard, paste's effect reading, the read-back's class and length).ElementData.roleReadis false for a failed or null role, and both walk sites record it, so the stale-point record hasroleUnknowninstead of a known, inert "AXUnknown". 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 twin search and macOS engine: deliver a click on an app's overlay window (Chrome's omnibox popup) to that window instead of refusing it #453's row check then treat the node as a failed role.labelsUnread(neverlabelsNull, never kept as known-absent text). Without this, a closed AXStaticText row whose value vanished before the click would pass macOS engine: deliver a click on an app's overlay window (Chrome's omnibox popup) to that window instead of refusing it #453'soverlayLabelsAgree(nil == nil) and be pressed. It now refuseslabelChanged.The consumers left unchanged, and why each already reads null as unread or fails closed, are listed in the spec's Decision Log (two #501 entries).
Tests
native/engine/Tests/EngineTests/NullClassifyingSlotTests.swift(5 tests). Nulls are injected at decode time (AttributeRead.decode, the walk fake'snullAttributes).swift test: 1714 run, 1 skipped, 0 failures; release build passes on Xcode 27.2.Review trail
Plugin 0.29.10 (main took 0.29.9 with #516).
Sminos-Session: cursor235#b93055dd (cua on macbook)