Repository navigation
macOS engine: a refusal never quotes a value read now, nor a withheld one (#520) - #532
Merged
Merged
Conversation
…ssified it open (refs #520) Ruling 1163. The stale-point refusals named an element by its AXValue when it had no title or description, and quoted the label #298 reads now, which can be the value read raw. The record now keeps whether #405's classification at the observation found the element open (ScreenshotNode.valueOpen), and every sentence quotes a value, recorded or read now, only then; otherwise it says "value withheld". relabelledLabel answers the part its label came from (StalePointLabelNow). No read, comparison or verdict changes. Tests: one per output site with a password-field fixture holding a secret (SecureValueQuoteTests), the control beneath against a frozen copy of 82ac93f's underlyingRefusal, and whole verdicts over the oracle's label worlds against a digest of the same enumeration on 82ac93f. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ory (refs #520) Sminos-Session: cursor235#b93055dd (cua on macbook)
…lassified it open (refs #520) Sminos-Session: cursor235#b93055dd (cua on macbook)
Ruling 1165. A value read now is unclassified, whatever the record says of the element at the observation, so no sentence quotes it: #298's and #433's relabelled refusals say the control "now reads another label", and #442's control on top with no title or description is named by its role. A value is quoted only as the record kept it, classified open. Its read is kept in main's order; no read, comparison or verdict changes, and the differential digest of 82ac93f's verdicts still matches. SecureValueQuoteTests gains an element recorded open as "Open" that is a password field holding the secret now, at every site. Sminos-Session: cursor235#b93055dd (cua on macbook)
…uoted) (refs #520) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ithheld (refs #520) The review's P2: the site-5 test's former control was a titled link, so inertOutlivedControl's control argument never reached the value fallback. The new case records an untitled password field acting by AXPress as the control, and the replacement slides 5 pt off its frame, so controlGone names it "AXStaticText (value withheld)" and never the secret. 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 #520. #524 is closed by hand after the merge (ruling 1163): this change adds no refusals.
What
A stale-point refusal sentence could quote an element's AXValue raw. If the element was, or had become, a secure field, a password could reach the model's context. This fix works only on the output side (rulings 1163 and 1165). No AX read, no read order and no verdict changes; only sentence wording does.
ScreenshotNode.valueOpenrecords that. Anything else is written as "(value withheld)".Inventory: every route by which a stale-point value reaches output
The only route is a quote in a refusal sentence (
stalePointOutcome). No value is carried raw in a structured field, in_meta, in a log or stderr, or in the tree render.relabelled(label read now)was, #433over/control, #443node/control, #442shown)Proof
SecureValueQuoteTestshas 10 tests, using an AXSecureTextField fixture holding a secret string: one per site (including Stale-point guard keeps a click on an inert decoration that moved from a replaced link into its replacement #443's outlived control), one for the recorded field, and one for an element recorded open that is now secure, across all seven scenes. Seven are red on 82ac93f, and the recorded-open-now-secure test is red on the first cut.LabelMonotonicityTests): each of 74,802 verdict lines is written out with its sentence stripped (the meta wire, whether it refused, the target, and the label read now). The SHA-256 of those lines,3b936e38…, was frozen from 82ac93f and the head matches it.underlyingRefusalwas also checked against a frozen copy of main over every label-slot combination.swift test: 1737 tests, 1 skipped, 0 failures at d72e346; at the head, the test-only commit adds one (StalePointTests 187/0). The Xcode 27.2 release build passes.History
Two read-side attempts (branch
fix/520-classified-value) were abandoned after their reviews found introduced P1s: presses main refused. Their scenes are on #481 for its design note on three-valued reads (ruling 1163).Plugin 0.29.12.
Sminos-Session: cursor235#b93055dd (cua on macbook)