Skip to content

Reconcile Chrome selectText.notText refusal wording with its expected contract #190

Open

Description

@SSFSKIM

Problem & intent

Chrome selectText.notText is judged worse because cua's refusal differs from the expected “Could not find the requested text to select in the element”. M2b calls this an expected-file question, not proof of a failed selection action. Trace the actual sentence and expectation to the intended contract and correct the wrong side narrowly.

Seams: native/engine/Sources/Engine/TextSelection.swift, scripts/native-matrix/plan.mjs.

Constraints

Success criteria

  • Record actual/expected fixture sentences and identify the stable model-facing not-found contract.
  • Align implementation or oracle as justified and test the exact refusal.
  • Timeouts, focus failures and unrelated refusals must not be normalized into a match.
  • If the contract intentionally changes, record that decision with the expected-file change.

Open questions

Stale expectation or wrong cua sentence? Read the implementation/reference before choosing.

Decision log

Sources

Spawned by: #117

Related: #188 #194 #214

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Oct 22, 2026
  2. SSFSKIM commented on Oct 23, 2026

    @SSFSKIM
    OwnerAuthor

    2026-10-23 seam-consolidation note: new dogfood evidence in MAWS plugin/cua/dogfood-feedback/l6-artifacts.md, added item 13, reports an offset ProseMirror selection. #214 registers that distinct plausible mapping failure and owns a unified select_text contract review with #190 and #194, rather than a third independent rewrite of TextSelection.swift. This does not reclassify this ticket’s existing evidence or close it as a duplicate. Coordinate source/range semantics, successful-write versus read-back, and refusal tests through #214 before choosing incompatible repairs. No GUI or live reproduction performed.

    Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

  3. added
    expected
    ready-to-work
    and removed
    status:ready-for-implementer
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugexpectedpriority:P2ready-to-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions