Skip to content

feat(browser): authorise the entire selected tab #37

Closed

Description

@trmosala

What to build

One Agent Access toggle authorises tab observation, screenshots and diagnostics without additional frame, origin or capture approvals.

Acceptance criteria

  • The enabled grant is authoritative in main and applies to all documents owned by the selected tab, irrespective of document origin.
  • Once Agent Access is enabled, browser reads, page interactions, screenshots and diagnostics use that tab grant without additional per-tool, frame, receiving-origin or native capture approvals.
  • Cross-origin navigation within the same granted tab preserves tab-level authority while invalidating old document references.
  • Disabling access, global disable, tab closure and ownership replacement revoke pending work and suppress late disclosures.
  • Other tabs, reopened/recovered tabs, password vault access and unrelated OS capabilities do not inherit authorization.
  • Plugin, main, UI and documentation share one contract; production-default routing tests exercise it.

Blocked by

None - can start immediately.

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.

    Main now owns one whole-tab Agent Access grant across origins and embedded documents. Revocation, ownership replacement and late-disclosure protection remain enforced; unrelated tabs and OS/Vault capabilities remain separate. Native site-access qualification passed.

    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