Repository navigation
Description
Problem
The macOS engine's stale-point checks read a control's live AXValue through raw reads (liveLabel, reads.value, readLabel(.value)), not through #405's same-batch role/subrole classification. A value that was read raw can reach model-visible text: the otherControlOnTop refusal (#442) quotes a live label when the element has no title or description, and other sentences may as well. If the element is a secure field, or could be one, a password can leak into the model's context. This predates #519; #519's review found it (ruling 1151).
Scope (ruling 1163): close the leak at output, change no reads
Three review rounds on #519 and #520 produced introduced P1s (presses main refused), and every one came from changing the read path. The two attempts at a read-side fix are on branch fix/520-classified-value (fe59314), kept for reference only. This ticket now fixes the leak where values are output:
- Inventory. List every place a live or recorded AXValue from the stale-point path, or from the read sites the earlier attempt touched, can reach output: verdict sentences (Stale-point guard under an inert overlay can't see stacking: a control slid over the target, or an overlapping sibling, gets the click #442 and any others),
_meta, error text, and logs the model can see. The PR lists them. - Gate at each site. Quote a value only if the recorded node's macOS engine: observation never reads a secure field's value, length or selection (protection is the AX provider's today) #405 classification, taken at observation, says it isn't secure. Otherwise say "value withheld". Where there is no recorded classification, don't quote. No new AX calls, and no change to any read or verdict.
- Stop condition. If a value reaches the model by some path other than being quoted, so that output gating alone can't close the leak, take that path to design before building anything.
Acceptance
- One test per output site: a secure-subrole fixture whose value is a secret string; assert the string is absent from the output.
- A differential test: across the existing oracle worlds, every verdict (kind and target) equals main at 82ac93f. Only the wording of sentences may differ.
- swift test is green; the release build passes.
- One scoped re-review. An introduced P1 parks macOS engine: a live AXValue is compared and quoted without #405's classification (possible secure-value leak) #520 and goes to design.
Three-valued handling of AX errors (unread → refuse) moved to #481's design note (ruling 1163), with this round's three P1 scenes as test cases. When #520 merges, #524 closes citing the head (there are no new refusals).
Activity
Native engine spec: #519 rewritten to its narrowed scope (ruling 1151…
macOS engine: #519 drops the classified live value read (refs #519)
macOS engine: a non-text label slot is non-text, never known absent (#…
SSFSKIM commentedon Nov 23, 2026
[board] in-progress: Building after #519 (main 82ac93f): classified live label reads, never quote unclassified, batch-CFNull trap
macOS engine: a live label value is read through #405's classificatio…
Native engine spec: #520's classified live value read, its consumer t…
Plugin 0.29.12: a live label value is read through #405's classificat…
macOS engine: #520 narrowed to one classified sample where main read …
Native engine spec: #520's entry rewritten to the narrowed design (ru…
SSFSKIM commentedon Nov 23, 2026
[ruling 1163] Re-scoped to an output-side gate (body rewritten). Read-side attempt fe59314 abandoned after its scoped re-review found 3 introduced P1s (recorded on #481). New branch fix/520-output-quote from 82ac93f.
macOS engine: a refusal never quotes a value read now (refs #520)
Native engine spec: #520's entry, ruling 1165 (no value read now is q…
macOS engine tests: #443's outlived control is named with its value w…
SSFSKIM commentedon Nov 23, 2026
[board] in-review: PR #532 (output-side gate, rulings 1163/1165)
SSFSKIM commentedon Nov 23, 2026
[review-trail] reviewer-high (fresh) 82ac93f..d72e346: production clean (no read/order/verdict change, no ungated value path); 1 P2 test gap fixed test-only at 2423d42 (red with control arg reverted). Earlier: a827ef5a on read-side fe59314 found 3 P1 -> abandoned per 1163.
macOS engine: a refusal never quotes a value read now, nor a withheld…
SSFSKIM commentedon Nov 23, 2026
[board] done: Landed via PR #532 (cua 0.29.12)
SSFSKIM commentedon Nov 23, 2026
[board] done: merged #532 main 893e19d (0.29.12)
Own native engine M5: main (f2e179b, 0.29.13; #520, #525) merged in b…