Repository navigation
macOS engine: type_text's paste route gates every ⌘V and Return on the field's classification (#600) - #611
Merged
Conversation
…ith a note; a failed read is read again (refs #587) #587 (ruling 1219): a focused element that is not a text field (Finder's type-select in a list or outline) threw typeUnconfirmed (notTextField) after its keys landed; the vendor answers ok. Both routes now answer success with a note that the text could not be read back and the app should be observed before relying on it or typing it again; the record keeps confirmed: false and the reason. noFocusedElement takes the same contract: the vendor's targetForKeyboardEvent answers the app's pid when focusedUIElement is nil, with no error, and posts without reading the element (F §5.7, the pinned helper's 0x1006f645c). A text field's read-back, the password reasons and selectionChanged are unchanged. #590 (ruling 1225): a role, value or range read at the snapshot (settle and wait included), and a role or subrole read in a poll, that answers nothing is read again up to 2 times, 15 ms apart, while its phase has time (the request's time left less one messaging timeout; the poll's budget). Only a failed read is retried; a mismatch never becomes ok. On an unreadable reason the record carries readFailure {phase, read, axError, retries, msSinceLastKey, role, subrole}, never a value; concealed and password records drop the counts and time. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ilure rides as cua/typeReadback (refs #587) Sminos-Session: cursor235#b93055dd (cua on macbook)
…try, the record's readFailure, the unretried focus check (refs #590) Sminos-Session: cursor235#b93055dd (cua on macbook)
…failed reads are retried (refs #587) Sminos-Session: cursor235#b93055dd (cua on macbook)
…nished with no field; a retry never reads past its first try (refs #587) Ruling 1244 on the review of e54eab4..106d201, with ruling 1242's narrowing. - P1-1: a concealed request with no field stays typeUnconfirmed and its remedy never advises a screenshot or getAXState(), whatever the search found. - P1-2: the lookup has three outcomes: a field, .noField (the walk finished with none, and the marker route, when it ran, reached the web area), or nil, indeterminate, which throws as before. The walk answers ReadbackWalkOutcome; the app's own answer of no focus is never enough (background Safari answers so over a focused field). - P1-3: a value or range retry, in the snapshot and its settle, runs only after the role and subrole are read again and still classify the field. - P1-4: a poll's role read naming AXSecureTextField or another role ends the check whatever its subrole read answers. - P2-5: a field the lookup took for a password field is classified by one role read, never retried. - P2-6: no field under select_text's range is selectionChanged, nothing typed or pasted. - P2-7: the keyed route's retries and polls are bounded by the request's deadline. - P2-8: readFailure keeps the role and subrole last read successfully. Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
…the invariants and the record (refs #590) Sminos-Session: cursor235#b93055dd (cua on macbook)
… (refs #587) The plugin manifests take main's descriptions and 0.30.0; the next commit bumps to 0.30.1. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ailed reads are retried (refs #587) Sminos-Session: cursor235#b93055dd (cua on macbook)
…rows as before; a secret's answers never advise observing (refs #587) Ruling 1247 on the review of 106d201..d51ae68. - noFocusedElement throws typeUnconfirmed exactly as before #587 (a declared limit): .noField, the marker's .noField and ReadbackWalkOutcome are removed, the walk and marker route answer as before except as below. - c: a field the walk or marker found by a text-entry role (ReadbackFound.field's role) that the snapshot reads as another role answers fieldChanged, never notTextField. - b: a password field the marker classified but whose focus or place under the web area it cannot show closes as a password field's (fieldUnreadable, secure), whatever the walk finds. - d: a concealed request's typeUnconfirmed, every reason, ends with a remedy that names no observation (readbackConcealedRemedy, or readbackConcealedMayShowRemedy). - e: under select_text's range the nil lookup (and a closed password claim) answers selectionChanged before any key or ⌘V. - h: after a retry's re-classification, the retried read starts only while the bound allows. Sminos-Session: cursor235#b93055dd (cua on macbook)
…g the app (refs #587) Ruling 1247 (d). secretMayShow classifies 'passwordField' (as before) or 'unplaced' (notTextField, noFocusedElement, fieldChanged and every other reason posted without confirmation); every sky failure that may have entered part of the secret carries a warning of that kind, worded without a screenshot or getAXState; a userChanged intervention once entered asks the user to check where it went instead of re-querying. The test runs every branch after the first key. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ment a declared limit, the secret rule (refs #590) Sminos-Session: cursor235#b93055dd (cua on macbook)
…t's range comes before it (refs #587) Ruling 1249 on the review of ef383ad..75481fd. - (1) The role the walk or the marker route found a field by is compared with the snapshot's before anything else is read: a password field's role or subrole answers becameSecure, any other difference fieldChanged; no value, range or length is read. A field the lookup took for a password field keeps its own check (noLongerSecure); the application's focus is not compared. - (2) Under a pending select_text range, any outcome that cannot hold it (a changed role, a non-text or secure non-field element, the nil lookup, a closed claim) answers selectionChanged before any key or ⌘V. Sminos-Session: cursor235#b93055dd (cua on macbook)
…till advise get_app_state after a secret's first key (refs #587) Sminos-Session: cursor235#b93055dd (cua on macbook)
…ion gate (refs #587) Ruling 1250 on the review of 75481fd..c96a7cc, replacing the case-by-case guards. - R1: a field's classification is ReadbackIdentity (role, subrole if read, open|secure). The lookup's is the baseline when it classified the field (the walk's role, the marker's role and subrole), else the snapshot's first read. Every later classification (the snapshot's first read, #359's wait, the settle, poll and checkpoint, every retry's re-classification, each length batch) goes through readbackClassify alone; any difference ends the read-back: becameSecure, noLongerSecure, else fieldChanged. Only components the baseline read are compared; the walk's first subrole is adopted. - R2: under a pending select_text range, readbackSnapshot lets only a verified-range .expect through; every other answer is selectionChanged there, before any key or ⌘V. - Deleted: wave 3's already-classified skip and foundRole comparison, the per-path selection checks of waves 2 and 3, fieldClosed's own role branches, readbackFieldClosed, readbackLength's own classification checks, and ReadbackFound.field's password and role (now identity). - The proof: a table of 16 classification points x their transitions x selection pending (196 keyed runs; 49 on the paste route), asserting outcome, keys and ⌘V; round 4's three cases by name. Sminos-Session: cursor235#b93055dd (cua on macbook)
…R1; AXGroup's unread subrole is open at the final batch (refs #587) Ruling 1254 on the review of c96a7cc..4b07ce0. - P1-1: stillFocused now answers ReadbackRefocus, the focus and the role the walk read of the field it found again; that role goes through readbackClassify (a role-only reading), so a field that turned AXSecureTextField or another role between the last value read and the check ends the read-back, and a checkpointed Return is not posted. Two table rows. - P2-2: the concealed final batch's failed-subrole exception applies only where the role leaves security open: not AXSecureTextField, not neverSecureRoles (#525). AXGroup with an unread subrole answers noLongerSecure again; AXGroup still secure by a read subrole, fieldChanged. Sminos-Session: cursor235#b93055dd (cua on macbook)
…oes down the length path (refs #587) Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
…d (refs #602) The input meta gains `beforeInput: true`, sent only where the engine knows the request stopped before any key, ⌘V or Return, or value write went out: keyText before its first key (a stop there is userIntervened as one between keys is), the keyed read-back's selection gate, runPaste before its first post, pasteOperation before runPaste, setElementValue before the write, each of type_text, paste and set_value before its stretch begins, and the request's prologue. Ruling 1260: never inferred from a null startedAt. Sminos-Session: cursor235#b93055dd (cua on macbook)
…t record; plugin 0.30.3 (refs #602) secretUnentered replaces the startedAt === null inference for every error: the record, and no input or value effect in an interruption account when one is present. startedAt null alone, an unparsed meta and the vendor's or an older engine's reply answer "may have been entered", with no advice to observe the app (ruling 1247 (d), whose sweep gains the new cases). Sminos-Session: cursor235#b93055dd (cua on macbook)
…startedAt (refs #602) Sminos-Session: cursor235#b93055dd (cua on macbook)
…cord, a known phase and preparation-only effects (refs #602) Ruling 1268, the review of 0c39038..d87702f: still interacting (P1-1) and concealedInputUnavailable (P1-2) rest on the record like every other branch, an interruption account counts only with a recognized phase and effects from the engine's preparation-only list (P1-3), and the record is read only when CUA_SKY_SERVICE names cua's own engine service (P2-4). Everything else is "may have been entered", with no observe or retry advice. Sminos-Session: cursor235#b93055dd (cua on macbook)
…different targets (refs #602) Sminos-Session: cursor235#b93055dd (cua on macbook)
…(refs #600) On type_text's paste route every effect reading (a line's baseline, its effect wait, a Return's settle) hands the role and subrole its batch read to the read-back (focusedEffectReading's classified, PasteTyping.saw, TypeReadback.transportSaw). Where the snapshot found the field as the application's focus the reading is the field's and goes through readbackClassify against the baseline; where it was found by the walk or the marker route, a classified reading makes the next hold classify the field itself. runPaste holds (PasteTyping.holds, transportHolds) before every ⌘V and Return, whatever lastSeen says, and after the last line: a transition ends the read-back with R1's reason, no further ⌘V or Return. #602's beforeInput only when nothing was posted. Standalone paste never takes the classified reading; its effect rule is unchanged. Tests: a table of 98 runs (text area and single-line field x the reading a transition is first seen at x 7 transitions x focus or walk), asserting outcome, exact ⌘V and Return counts and beforeInput; standalone paste's effect rule kept. Sminos-Session: cursor235#b93055dd (cua on macbook)
… every reading, a stop after each (refs #600) Ruling 1272 on the review of 0a65832..5e199e8. - The hold: on type_text's paste route the effect watch reads only through TypeReadback.transportHold, which takes the transport's one classifying read (ReadbackReads.effect: effectSample, #187's reads plus the batch's role, subrole and the element it read) and classifies it at the reading: a sample of the field through readbackClassify, any other the field's own role and subrole there and then (P2-3). A notification reads nothing: the hold classifies the field before it is relied on (P1-2). - The stop: runPaste stops after every reading (a line's baseline, its wait, a Return's baseline (P1-1), its settle), before the line or Return counts, before a timeout's generic error (P2-4), the next Return withheld. Before anything was posted the answer says nothing was typed, R1's reason kept, beforeInput (P2-5). - Standalone paste keeps #187's effectReading (now effectSample's reading, the same reads). - Tests: a recording fake (ReadbackTrace) asserting every classifying read of the transport runs inside the hold and no post goes out unheld; a table generated from each scenario's holds x the R1 transitions (25 reading points, 6 scenarios), with exact ⌘V and Return counts. Sminos-Session: cursor235#b93055dd (cua on macbook)
…600-paste-transport (refs #600) #601 and #607 were squash-merged: in every conflicted engine file main's content is this branch's base (0a65832), so each resolves to this branch's side. The plugin manifests take main's 0.30.4; the next commit bumps to 0.30.5. Sminos-Session: cursor235#b93055dd (cua on macbook)
…of type_text's paste (refs #600) Ruling 1273 on the review of 5e199e8..ccaa4e7: the guard moves to the posts. - runPaste's one posting function runs transport.gate inside the delivery, immediately before the press's events (TypeReadback.transportGate): a classification-only read of the field the snapshot classified (role, subrole) held to the baseline by readbackClassify, and for an application-focus snapshot the application's focus, which must still be the field. Fails closed: any read it cannot complete is fieldUnreadable; any difference R1's reason; before the post; stoppedBeforeKey, the pre-input sentence and beforeInput kept. - Live samples and gate reads use the paste's prepared application element through the read-back's AX layer. The reading-point stops before a line's and a Return's post are deleted (the gate follows each); the stops after a wait and a settle stay for the answer, the settle's passing returnNext. - Tests: a recording fake over 48 generated shapes (8 texts x text area and single-line field x focus, walk, marker): every press immediately after a gate that compared (118 posts); a table of every gate position x 9 transitions (1062 runs) with counts from the gate position; the password field's unreadable subrole; the unmoved-count test fixed. Sminos-Session: cursor235#b93055dd (cua on macbook)
…#600) Sminos-Session: cursor235#b93055dd (cua on macbook)
…pearing stops the paste (refs #600) Ruling 1274. A request whose snapshot classified no field (no focused element found, an unreadable role, a closed claim) holds "no field" as its baseline: before each ⌘V and Return, through the same posting function, the gate reads the prepared application's focus once and classifies what it names; AXSecureTextField by role or by subrole stops the paste becameSecure (stoppedBeforeKey, or "Nothing was typed" and beforeInput). Any other answer posts as before, a failed read included: #597's declared exemption, with no baseline to fail closed against. Tests: the structural test over the no-field lookups too (96 shapes, 250 posts, each after a gate, the no-field gate's focus read inside it); a table of the no-field shapes x every gate position x 4 transitions (528 runs) with exact counts. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ocused, and the narrowed no-field exemption (refs #600) Ruling 1275 on round 3's review of 7976269..577dde1. - The latch (readbackSnapshot, beside R2's gate): once the lookup found an element, the snapshot's R1 refusal of it is terminal on both routes, nothing typed or pasted: fieldChanged, becameSecure, noLongerSecure, roleUnreadable, fieldUnreadable, and every closed marker claim. The answer is "Nothing was typed" with R1's reason or the failed read and beforeInput; a password field's keeps its remedy. On the keyed route every such outcome already answered typeUnconfirmed: no former success becomes a refusal. - The gate reads a walk- or marker-found field's own AXFocused (fieldFocused): a field still open but no longer focused is fieldChanged, unknown fieldUnreadable. The deadline is checked again inside the delivery after a gate that passed. - The effect hold checks identity before the role for a focus snapshot. - The no-field gate (1274) applies only where no element was found at all: #597's exemption. - Tests: the latch on both routes (a claim read as another role, a failed role re-read, the stable wait's change, a retry's change that reverted, closed claims); the focus moved off a still-open field in the R3 table (1180 runs) and the structural test; identity first; the deadline after a slow gate; the exact password-field sentence. Sminos-Session: cursor235#b93055dd (cua on macbook)
…y sample and gate read (refs #600) Ruling 1276 on round 4's review of 577dde1..241e7df. TypeReadback.transportObserve is the paste route's one rule: any explicit secure observation (AXSecureTextField by role or by subrole), of any element, from any sample (a line's effect baseline and wait, a Return's settle, the field hold) or the gate's own reads, latches becameSecure where the field held is not a password field or none is held, and transportStop posts nothing more. Role and subrole are read and checked independently everywhere: a failed role read never skips the subrole. An inconclusive reading latches nothing (#597 where no field is held). Tests: every effect sample point of every typing shape x a password field by role and by subrole, the application reporting no focus at the gate after (4408 runs, exact counts); gate rows with the role read failing and a secure subrole in the R3 and no-field tables. 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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 28, 2026
… post gate and secure latch) into feat/117-m5; engineVersion 0.3.3 over both sides (refs #506) Feat already carried main 96d71cf, #611's own base, so the new part is #611's 11 files. The merge has two merge bases, 96d71cf and 0c39038, and the virtual base git built from them made conflicts in files #611 does not change. They were resolved as follows: - src/services/secret-input.mjs, src/services/sky.mjs, test/services-sky.test.mjs: feat's side, byte for byte. #611 does not change them against 96d71cf. - .claude-plugin/plugin.json, marketplace.json: #611's side, plugin 0.30.5. - native/engine/Sources/Engine/Version.swift: 0.3.3, above feat's 0.3.2 and #611's 0.2.4. Paste.swift, TypeReadback.swift and #611's five test files are byte-identical to 7147de8. Methods.swift auto-merged: feat's 25 lines and #611's 5. Against feat, the tree differs only in #611's files. Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 28, 2026
… tree on Linux) into feat/117-m5 before the next full sitting C; feat's macOS engine side, 0.31.0's manifests (refs #506) Merge base 96d71cf. Main also carries a847150, the squash of #611, whose branch 7147de8 feat merged earlier. Against feat, the merged tree changes exactly #613's 164 files. 158 of them are byte-identical to bf594e1. The other six auto-merged with feat's own changes: README.md, src/services/sky.mjs (#613's part is Linux-gated), tech-debt-tracker.md, test/repl-parity/selection-oracle.test.mjs, test/runtime-launch.test.mjs and test/services-sky-linux-policy.test.mjs. Conflicts and how they were resolved: - native/engine/Sources/Engine/Version.swift: feat's 0.3.3, over main's 0.2.4 from #611's squash. It is a version line, not code. Methods.swift, Paste.swift and TypeReadback.swift are unchanged against feat. - .claude-plugin/plugin.json and marketplace.json: main's 0.31.0. The plugin's next version is left to the flip PR. 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 #600.
#601 and #607 have merged. This branch merges origin/main (96d71cf), bumps the plugin to 0.30.5 and the engine to 0.2.4 (7147de8). Review range:
0a65832de..edfac2f3b(the main merge is 7976269).What changes
On type_text's paste route (an input method, or a background app whose source is unknown), each line is pasted with ⌘V and each newline is a Return. Before this change, nothing held the field the read-back snapshotted between posts:
lastSeen) skipped the read-back's checkpoint.So a field that turned into a password field mid-paste received the Return and then the next line, and could even confirm.
R3: the post gate (ruling 1273)
Two review rounds showed that holding the transport at its reading points kept missing new text shapes. Safety now rests on the posts themselves.
runPaste's one posting function (posting, Paste.swift:589).transport.gateruns inside the delivery, immediately before the press's events, with nothing posted in between (:599). A gate that stops posts nothing, and its error is raised once the delivery returns.TypeReadback.transportGate, TypeReadback.swift:1049) makes a classification-only read of the field the snapshot classified, its role and subrole, and holds it to the baseline throughreadbackClassify, R1's function.fieldChanged.PasteTarget.application, its 1 s messaging timeout), and so do the live effect samples.fieldUnreadable: an AX error, a timeout, a destroyed element, a focus naming no element, or a subrole that cannot be read, even on a password field whose read-back would presume it secure. Any difference stops it with R1's reason (becameSecure,noLongerSecure,fieldChanged), before the post. A check is never skipped.stoppedBeforeKey.beforeInput(macOS engine and secret wrapper: "nothing was entered" must rest on the engine's positive record that nothing was posted, not on a missing startedAt #602).fieldFocused). A field still present and open but no longer focused (the focus moved to a password field) isfieldChanged; an unknown answer isfieldUnreadable(ruling 1275).noFocusedElement, with no walk or marker claim) holds "no field" as its baseline (rulings 1274 and 1275). The one change it can tell is a password field appearing.becameSecure.The secure latch, the paste route's one rule (ruling 1276)
Any explicit secure observation latches
becameSecure, and nothing more posts: AXSecureTextField by role, or by subrole, from any sample or from the gate's own reads.stoppedBeforeKey, or "Nothing was typed" plusbeforeInputwhen nothing was posted.TypeReadback.transportObserve(TypeReadback.swift:1031). Every sample and every gate read feeds it:transportStop(:1144) consults it at the gate before every ⌘V and Return, and after every wait and settle.The latch (ruling 1275)
Once the lookup found an element (the application's focus, a walk or a marker claim), the snapshot's R1 refusal of it is terminal, on both the keyed and the paste route:
fieldChanged,becameSecure,noLongerSecure);roleUnreadable,fieldUnreadable);It is decided in one place, the snapshot's exit (
readbackSnapshot, TypeReadback.swift:684 and :699), the same place as R2's selection gate. Nothing is typed or pasted, and the answer is "Nothing was typed" with R1's reason, or the failed read, plusbeforeInput. A password field's answer keeps its remedy, with no observation advised. Only a lookup that found no element at all types on (#597).The keyed route's contract change. A snapshot R1 refusal used to type and then answer
typeUnconfirmed; it now types nothing. Every such snapshot outcome was already an error (finishthrows for every refused plan), so no former success becomes a refusal. The outcomes that used to type and now don't:fieldChanged(a claim read as another role; a change the wait, the settle or a retry saw);becameSecure,noLongerSecure;roleUnreadable,fieldUnreadableafter an element was found;secure,roleUnreadable,fieldUnreadable).All of them were
typeUnconfirmedbefore.For the answer, not for safety: every reading of the effect watch is still classified at the reading (
transportHold, :1011), so a line or a Return the watch saw change is not counted.stopraises that change before the line counts (confirmed,entered) and beforepasteUnconfirmedorreturnUnconfirmed, withholding the next Return.Standalone paste is unchanged. The
pastemethod has no read-back and no gate. Its reading is #187'seffectReading(noweffectSample(…).reading, the same reads), and #187's and #405's effect rule, the secure-count rule included, stays as it was.Verification
The structure, by a recording fake:
testEveryPostOfThePasteRouteIsImmediatelyPrecededByAGateThatCompared.The table:
testThePostGateStopsEveryTransitionBeforeItsEvent, over the 48 shapes × every gate position (each shape's unchanged run lists its gates) × 9 transitions:Expected counts come from the gate position itself: the ⌘Vs and Returns posted before it. Each run also asserts R1's reason (or
fieldUnreadable), the pasteboard restored,stoppedBeforeKeyfor a withheld Return, andbeforeInputand "Nothing was typed" only when nothing was posted. For a walk or marker lookup, the two focus transitions go on unchanged. Size: 118 gate positions × 11 transitions = 1298 runs; the structural test checks 118 posts over the 48 shapes.No field (ruling 1274):
testTheNoFieldGateStopsOnlyAPasswordFieldAppearing. The same 16 shapes (8 texts × the two field kinds) are run with no focused element found, across every gate position: 44 positions × 5 transitions = 220 runs.The structural test also covers these lookups. Every press follows a no-field gate, whose focus read runs inside the gate. That makes 162 posts over 96 shapes.
The secure latch (ruling 1276):
testAnExplicitSecureSampleLatchesWhateverTheGateReadsAfter. Every effect sample point of every shape that types (the three field lookups and no focused element) is run × a password field by role, and by subrole, sampled there, with the application reporting no focus at the gate from then on: 4408 runs.becameSecure, exactly the ⌘Vs and Returns posted at the sample, andbeforeInputand "Nothing was typed" only when nothing was posted.becameSecure: the R3 table now has 11 transitions, and the no-field table 5.The latch (ruling 1275):
TypeReadbackTests.testTheLatchTypesNothingAfterASnapshotR1Refusal(keyed): a walk's claim read as another role, a claim whose role re-read fails, and the stable wait's change. Each gives 0 keys,beforeInputand the exact sentence. No focused element still types.testTheLatchHoldsAChangeThatRevertedBeforeTheFirstPaste(paste): a retry's re-classification sees secure, then it reverts. Nothing is pasted, and the pasteboard is untouched.testTheLatchPastesNothingAfterASnapshotR1Refusal: a closed claim; a claim whose role re-read fails.testEveryClassificationPointHoldsTheFieldToItsBaseline) asserts 0 keys and "Nothing was typed" for every snapshot-phase R1 refusal.Focus moved off a still-open field (P1-3): a transition in the R3 table (
fieldChangedfor all three lookups). In the structural test, a run per shape stops at its last gate with no press after it, through the gate's application-focus read (focus) or itsfieldFocusedread (walk, marker).testAnEffectSampleOfAnotherElementCountsWhateverItsRole: identity before the role.testAGateThatOutlastsTheDeadlinePostsNothing.testTheGateFailsClosedOnAPasswordFieldsUnreadableSubrolenow asserts the exact sentence: the failed read and the password field's remedy.testATransitionAReadingSawStopsBeforeTheNextPost: for the answer, a change any effect reading saw stops no later than the next post, with the counts at that reading.testTheGateFailsClosedOnAPasswordFieldsUnreadableSubrole.testAChangeTheSettleSawWithholdsTheNextReturn: "a\n\nb",stoppedBeforeKey.testAStopBeforeAnythingWasPostedSaysNothingWasTyped: the exact sentences.testATransitionWithAnUnmovedCountIsR1sReason: the field takes nothing from the first ⌘V on, and the wait's first reading sees it turn secure. The answer is R1's reason, notpasteUnconfirmed, nothing is entered, and the Return is withheld.testStandalonePasteKeepsItsEffectRule.Updated:
PasteReadbackTests.testAPasswordFieldIsConfirmedByItsLengthAndNeverRead. The live samples now go through the read-back's AX layer, so its stub password app finally exposes the effect channel it always had live. A paste one character short is thenpasteUnconfirmedby macOS engine: observation never reads a secure field's value, length or selection (protection is the AX provider's today) #405's count rule, as it is live, where the stub used to answerlengthMismatchfrom the read-back's poll for want of a channel.testAPasswordFieldsPasteReadingStaysInTheEngine,testAPasswordFieldsPasteIsJudgedByItsNumbersAlone,testAPasswordFieldsPasteNeedsANumberItRead;Reviews
fieldChangedbefore the Return.fieldUnreadable, and for every snapshot the field's own handle is read.returnNext, so a second Return the settle withheld isstoppedBeforeKey;fieldFocusedfor walk- and marker-found fields.Sminos-Session: cursor235#b93055dd (cua on macbook)