You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configurable visible-DOM caps in cua's browser service (re-homed from #113's spec, not in #116) #147
The own browser service spec (docs/doperpowers/specs/2026-10-13-own-browser-service-design.md, #113) listed "configurable visible-DOM caps" as out of its scope and assigned them to #116. #116's approved design (own REPL host, ported facade, vendor wording verbatim) does not include them, so they are re-homed here.
What
The browser service projects page content for the model under fixed caps inherited from the vendor (visible DOM snapshot size and the serialised projection limits: depth 8, arrays 2,000, keys 200, strings 200,000). Make the visible-DOM caps configurable per call or per session, with the current values as defaults, so a task on a large page can raise them deliberately and a constrained context can lower them.
2026-10-20 browser comparison evidence: the owner-supplied cua_repl browser field report dated 2026-10-20, Frictions §4, asks for whole-frame observation instead of viewport-only controls. The comparison the owner-supplied Playwright extension-bridge field report dated 2026-10-20, Observation/What worked, found full frame body snapshots useful. No site/account/profile details are needed.
Confirmed: visible-dom.mjs intentionally clips to the viewport and caps 200 elements/20,000 characters, with bounded child-frame work. This is by design, not proof the DOM reader cached an old render. A configurable broader/bounded observation is a feature request adjacent to this ticket; raising count/character caps alone does not remove viewport clipping. Keep default output unchanged and choose the breadth contract explicitly. Missing eligible custom widgets and pointer interception are a separate actionable-observation investigation; the implementation already includes button/combobox roles and input.mjs already scrolls a known node into view. Recommended P2; do not infer Playwright speed superiority from these non-controlled runs.
Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)
Activity
SSFSKIM commentedon Oct 16, 2026
[board] deferred: Re-homed by the session on 2026-10-16: #113's spec assigned it to #116, whose approved design does not include it.
SSFSKIM commentedon Oct 23, 2026
2026-10-20 browser comparison evidence: the owner-supplied cua_repl browser field report dated 2026-10-20, Frictions §4, asks for whole-frame observation instead of viewport-only controls. The comparison the owner-supplied Playwright extension-bridge field report dated 2026-10-20, Observation/What worked, found full frame body snapshots useful. No site/account/profile details are needed.
Confirmed: visible-dom.mjs intentionally clips to the viewport and caps 200 elements/20,000 characters, with bounded child-frame work. This is by design, not proof the DOM reader cached an old render. A configurable broader/bounded observation is a feature request adjacent to this ticket; raising count/character caps alone does not remove viewport clipping. Keep default output unchanged and choose the breadth contract explicitly. Missing eligible custom widgets and pointer interception are a separate actionable-observation investigation; the implementation already includes button/combobox roles and input.mjs already scrolls a known node into view. Recommended P2; do not infer Playwright speed superiority from these non-controlled runs.
Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)