Skip to content

fix(browser): complete trusted tab delegation integration #44

Closed

Description

@trmosala

What to build

A child task can use explicitly assigned parent tabs with real production ownership metadata and reliable cleanup.

Acceptance criteria

  • Live tab creation supplies trusted project, directory, workspace and sidecar ownership needed for task-scope verification.
  • End-to-end tests use production-created tabs, not only fabricated registrations.
  • A child receives only explicitly assigned enabled tabs and the whole-tab contract; sibling, unrelated and onward grants are rejected.
  • Cancellation, completion, revocation and sidecar exit release reservations without premature release of unsettled native work.
  • Malformed acknowledgement behavior and the currently failing IPC acknowledgement test are reconciled; no false activation or silent timeout is represented as success.
  • WIP is reviewed and integrated without overwriting concurrent work.

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
    bugSomething isn't working
    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.

    Production-created tabs carry trusted scope metadata. Child tasks receive only explicitly assigned enabled tabs; sibling/onward grants fail. Cancellation, revocation and sidecar exit retain reservations until unsettled native work completes. Delegation, IPC acknowledgement and task-scope checks 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

    bugSomething isn't workingready-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