Skip to content

feat(browser): add targeted inspection and condition-based waits #46

Closed

Description

@trmosala

What to build

Agents can locate omitted controls and wait for meaningful page readiness in embedded documents without relying on fixed sleeps.

Acceptance criteria

  • A bounded targeted read can recover controls omitted by aggregate node, text or element caps.
  • Waits support explicit document/frame targets and meaningful visible or readiness conditions, with clear supported selector rules.
  • Timeouts are configurable within documented bounds; changing pages, revocation and cancellation settle promptly.
  • A successful wait reports its observed condition rather than promising full clickability or a fresh reload without evidence.
  • Fixtures cover dense documents, delayed controls, nested content and stale document transitions.

Blocked by

Context

Source: revised CM_Browser review and whole-tab Agent Access requirement, 2 October 2026. This is follow-up work to the previously completed bounded browser implementation; existing issues remain closed.

Preserve main-process ownership, explicit revocation, stale-target protection and isolation from unrelated tabs. Coordinate with ongoing browser changes and the separate Microsoft sign-in fix. Native validation must distinguish fixture results from actual authenticated-site evidence. Do not restart the installed app or server, modify real calendar events, or enter/change/submit timesheets.

Activity

  1. added
    enhancementNew feature or request
    ready-for-agentScoped work with acceptance criteria and recorded blockers
    on Oct 2, 2026
  2. trmosala commented on Oct 2, 2026

    @trmosala
    OwnerAuthor

    Completed work saved; closing at the user's request.

    Targeted compound-selector reads recover omitted controls, and bounded top/frame waits report visible, attached or ready conditions. Dense documents, delayed controls, nested waits, cancellation and replacement fixtures passed. The separate authenticated Teams parity acceptance remains tracked under #39/#40.

    Local commit: 7f746e8fcb7d2ad819b107aac2c0d7d9462d1361 on branch browser-gaps. This commit has not been pushed, merged or released.

    Fresh checkpoint validation: 410 tests / 6,620 assertions pass; all five affected package typechecks and the browser plugin build pass; native navigation and leave-confirmation reruns pass; scoped lint has 0 errors and 356 style warnings; formatting and whitespace checks pass. Earlier native fixture results are documented in the committed cm-browser README. These checks do not qualify authenticated Teams, macOS or a packaged app.

    Native UI screenshot and validation archive. No installed app/server was restarted and no real account data was modified.

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

    enhancementNew feature or requestready-for-agentScoped work with acceptance criteria and recorded blockers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions