Skip to content

Docs: #287's three stated limits where they stand, and the Firefox toolbar's clickUnconfirmed in the first-call document (#318) - #335

Merged
SSFSKIM merged 2 commits into
mainfrom
docs/318-287-stated-limits
Nov 9, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
docs/318-287-stated-limits

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Closes #318

What changed

The native engine spec's Decision Log gets a #318 entry. It says where each of #287's three stated limits stands on main f859ce6.

The first-call document (docs/cua-api/agent-cursor.md, the background-click paragraph) gets one sentence: "Unless this Mac is a dedicated desktop, a click on a background Firefox window outside its page, on the toolbar for instance, can fail with clickUnconfirmed even when it took effect, as Reload does."

Plugin 0.27.12. The document the server serves changed. #328 takes 0.27.11.

Validation Evidence

  • The sentence is true of the engine: Input.swift:310 (if consumedArm, pointer.view != .acceptsFirstMouse { throw clickUnconfirmed }), Routes.swift geckoChromeView = .unknown, and MenuSpan.swift's spent-hold sharing, which BackgroundPointerTests.testAPointerIntoAnUnknownViewSharesASpentHoldRatherThanReArming covers. The behaviour is measured in docs/evidence/2026-11-07-other-browsers/README.md ("toolbar Reload: reloads, answers clickUnconfirmed, 3 of 3") and docs/evidence/2026-11-08-gecko-routes/README.md ("Toolbar Reload | reloads, clickUnconfirmed | identical").
  • The focused tests pass: node --test test/cua-api/core-documentation.test.mjs test/repl-parity/docs-oracle.test.mjs gives # pass 18, # fail 0. test/cua-api/bootstrap-kernel.test.mjs skips here (it needs Node 24) and runs in CI.
  • Review: an independent reviewer-low found one P2. The first draft said "fails", and the engine answers otherwise on a spent hold or an element-ID click. It is fixed in the second commit; the sentence now says "can fail" and the spec names the three other paths.
  • CI: ci-gate --gates plugin,test on the head. The result is in the comment below.

Residue

  • Count Firefox's chrome as accepting first mouse (Gecko: shared-mode page clicks take #282's element route and #283's focus route, since Firefox refuses first mouse #315 item 4's one line, webAreaSeen ? .acceptsFirstMouse : .unknown). This would end item 1's clickUnconfirmed on toolbar clicks that took effect. It waits on a measurement of a XUL <tree> outside every web area, plus a hosted A/B.
  • Re-measure VS Code's Toggle Panel (shared mode, element-routed AXPress on its AXCheckBox). Use more than two reps, with a settle-aware read of the panel, before any claim.
  • Why VS Code keeps its full tree after release: read Chromium's mode (isAccessibilitySupportEnabled or its equivalent) beside the tree on VS Code after the release, to tell whether the mode stays on or the tree outlives it.

Sminos-Session: cursor235#b93055dd (cua on macbook)

…olbar's clickUnconfirmed in the first-call document (refs #318)

The native engine spec's #318 entry: Firefox's chrome answers clickUnconfirmed on every shared-mode click, whatever it
did (deterministic: the click's own down consumes the arm into geckoChromeView, unknown), and #315's A/B answered half
of what item 4's fix waits on; cua's release has no visible effect on VS Code, which M2b hold 1's Chromium-mode reading
does not contradict; VS Code's Toggle Panel is unresolved, no claim. agent-cursor.md's background-click paragraph gains
one sentence for Firefox's chrome; the docs test, repl-parity's docs oracle, PROVENANCE.md and the surface inventory's
Table 3 addition (2026-11-08, #318) carry it. Amendment notes under #287's item 3 and M2b hold 1's item 5. Plugin
0.27.12, since the served first-call document changed.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…spent hold or carried by its action answers otherwise (refs #318)

The review of the first commit (one P2): clickUnconfirmed is thrown only when the click's own down consumed the
activation's arm, so a click joining a held activation already spent (after ⌘L) and a click by element ID carried by
its action answer otherwise, besides dedicated mode. The first-call sentence and its copies say can fail; the spec's
item 1 names the three other paths.

Sminos-Session: cursor235#b93055dd (cua on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T02:36:01.456257Z 6dd9cfa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM

SSFSKIM commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

ci-gate --gates plugin,test on head 6dd9cfa: plugin PASS (0m44s), test PASS (7m34s). GREEN: https://github.com/SSFSKIM/cua/actions/runs/42551465163

Sminos-Session: cursor235#b93055dd (cua on macbook)

@SSFSKIM
SSFSKIM merged commit 6ec9140 into main Nov 9, 2026
4 checks passed
SSFSKIM added a commit that referenced this pull request Nov 9, 2026
…nfirm, plugin 0.27.13 (refs #328)

Conflicts resolved by keeping both sides: the plugin at 0.27.13 (the design session's ruling ccc119c9); PROVENANCE's
agent-cursor row names #318's amendment of the background-click paragraph and #328's paragraph; the surface inventory
keeps #318's Table 3 addition, then #328's; the Decision Log keeps #318's entry before #328's, since #318 merged first;
repl-parity's docs oracle names both additions, and its text equals the merged agent-cursor.md byte for byte.

Sminos-Session: cursor235#b93055dd (cua on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stated limits from #287: Firefox toolbar Reload unconfirmed, VS Code release no-op, VS Code Toggle Panel unresolved

1 participant