Skip to content

feat(browser): allow isolated dashboards for session writers - #156371

Merged
vincentkoc merged 11 commits into
mainfrom
feat/session-browser-access-20260923
Sep 23, 2026
Merged

vincentkoc merged 11 commits into
mainfrom
feat/session-browser-access-20260923

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Related: #156328

What Problem This Solves

Session collaborators cannot interact with Browser dashboard previews without global browser administration.

User Impact

Adds an isolated session browser for existing session writers. Broad writers retain existing sharing rules; operator.sessions.write applies only to the caller's own session. Effective browser tool policy still applies.

The new dashboard route and the agent's dashboard selector share an empty browser context. Administrator dashboards keep their managed profile. General browser-tool permissions and Team/Guest role defaults are unchanged.

The scoped mode excludes arbitrary profile/node selection, transfers, cookie administration, sandbox-required sessions, and locked model selection. Dashboard isolation is not a sandbox for the whole agent.

Why This Change Was Made

Core owns generic session-resource admission; the Browser plugin owns its isolated context and cleanup. Tool policy is a synchronous evaluation of the authority's prepared session facts, removing duplicate preparation and parallel retirement state.

The router composes current request lifetime and selected-profile authority once. Its invocation check also reads the canonical operator guard bound after profile hydration; the original request lifetime stays captured. Final admission denials release any already-prepared session authority. Browser preserves synchronous resident authority through its private navigation and interaction chain, checking after asynchronous preparation and immediately before Playwright dispatch. Truly asynchronous guards remain awaited; resize also rechecks after clearing prior device metrics. Startup checks include receipt expiry that has no abort signal. Revocation during context/page allocation also closes the newly allocated resource.

Actor and resource lifetimes stay separate: normal turn completion and viewer disconnection preserve shared page state; revoking one collaborator stops that person's work without destroying another collaborator's context. Session reset/deletion, widget replacement, profile retirement, or Gateway shutdown retires the resource. Configuration refresh temporarily fences operations while canonical membership is prepared.

Compatibility review of the complete 87-file diff: no configuration keys/defaults, database tables/schema versions, migrations, or persisted record formats change. Existing session and Board rows are read through their current owners; new isolated contexts and lifetime handles are process-local. The sessionAccess registration option is optional, and readGatewayToolOperatorScopes is an additive export; existing plugin registrations and administrator Browser routes retain their contracts. The review's unknown-truncated-pull-files data-model warning therefore does not require a migration or upgrade fixture.

No role/default changes, protocol-version bump, deployment, or DNS/Cloudflare change. Prepared ownership for locked/native-imported sessions remains a follow-up.

Evidence

  • Final mechanical rebase at 1e6ef16c9d3 onto frozen main 359a8a35: all ten feature commits are patch-identical, and all 40 Browser-owned implementation/fixture files retain their qualified bytes. Corrected one inherited lifecycle-test fixture to supply the required policyConfig field. 26 lifecycle/session-authority tests, targeted formatting, and the Gateway-root compiler pass on the exact candidate. Production delta for this correction is zero; tests +5/-1. Required hosted CI is evaluated on the pushed head.

  • Final composition at a2274bcf8a7 on frozen main b7eb012f: preserves main's opt-in global Lightpanda engine, single-page refusal, exact connection cleanup and no-reconnect behavior. Existing canonical managed-profile admission excludes Lightpanda from isolated dashboards. 106 focused Browser tests plus one real authenticated Gateway/Chromium fixture passed; the fixture proves allowed and revoked startup/existing-page navigation against the HTTP destination (14.305 seconds). Three new cases cover global Lightpanda cleanup, occupied-page preservation and scoped dashboard refusal. The final named-mock-only lint correction passed all 12 ownership tests again; these are a subset of the 107, not additional cases. Formatting, targeted type-aware lint and the native Browser package compiler pass. Scoped Codex autoreview and independent actual-composition review found no actionable P0–P2 findings. No added policy, configuration or SDK surface in this conflict resolution.

  • Test-only catalog correction at 9896dbb08d9: the expected Gateway fixture list now includes the registered authenticated Browser fixture. 104 catalog tests and targeted formatting pass on the exact candidate. Production and authenticated Browser proof bytes are unchanged. The earlier head's plugin shard was still in runner setup; it is not claimed as passing, and the replacement head requires its own hosted CI.

  • Final router composition at 2120c7fb78d on frozen main 282fc78e: 100 tests across four Gateway suites passed, covering profile hydration, identity/scope revocation, final-admission cleanup, and upstream narrow session reads/mutations. The repair and unchanged authorization-function extraction add 14 production lines (including ten import lines) and 100 test lines. The extraction keeps the router under its existing line budget without changing authorization logic. Formatting, targeted type-aware lint, and both Gateway-root/Gateway-server compiler graphs pass. Scoped Codex autoreview and independent owner review found no actionable P0–P2 issue. Browser implementation and authenticated Chromium fixture bytes are unchanged from a5d58857125, preserving the final-effect proof below.

  • Final effect-boundary repair at a5d58857125: eight ordered regressions fail on the predecessor and pass on the repair. 79 focused Browser tests plus one real authenticated Gateway/Chromium test pass. Coverage includes the dispatcher adapter, click/type/fill/executable wait/resize, focus, asynchronous authority rejection, and resize revocation after metrics clearing. The real fixture also proves allowed navigation on an existing dashboard reaches its HTTP destination, while membership removal during route preparation prevents the revoked request. Final fixture: 5.966 seconds. Fresh scoped Codex autoreview and independent private-chain review report no actionable P0–P2 findings. ClawSweeper review confirms the prior authority finding is resolved, finds no remaining code/security defect, and accepts the authenticated proof; its compatibility/data-model checklist is addressed above. Final targeted lint, formatting, Browser package compiler, root-test compiler, and plugin-test compiler all pass. The final 14 changed files match the tested runner bytes.

  • Owner-boundary rebase onto b6b45244 preserves its handshake-attested owner ingress checks alongside prepared profile authority. Exact head 104cc0e3: 61 tests passed across three suites, covering the upstream owner positive/negative cases, prepared model-policy refresh without profile-store reads, and session admission/lifetime behavior. Formatting and independent conflict-composition review passed. The subsequent mechanical rebase onto frozen main 5a15cf46 removes only the redundant UI scope-union edit: main now provides the canonical OperatorScope type and retains the Browser method's explicit session-write scope. Independent review and range-diff confirm no Browser behavior change; the remaining five feature commits are patch-identical. This is the parent of the final effect-boundary repair.

  • Pre-rebase combined Browser/Portal qualification at 5a101032: 124 unique runtime tests passed, including prepared operator model-policy refresh, session authority/tool policy, Browser route races, and authenticated Browser and Portal fixtures. Repeated fixture runs are excluded from this count.

  • Browser proof uses a real signed device handshake, trusted-proxy authentication, person-profile mapping, persisted session membership, public plugin registration, SQLite Board data, real Chromium, and an HTTP destination. An authorized writer succeeds; a nonmember is denied; revocation during context allocation prevents the destination request. Final fixture: 8.164 seconds.

  • Ordered tabs, snapshot, and screenshot tests prove that the final resident access check and response publication occur in the same turn. Startup tests also cover connection/context/page/target discovery, unsignalled receipt expiry, and selected-profile changes. Existing Chromium isolation coverage checks cookies/storage and popup/context cleanup.

  • Core production, root-test, Gateway-root, Gateway-server, and the native Browser package compiler passed. Targeted core/plugin type-aware lint and formatting passed. The prepared session-accessor source guard passed without changing its baseline.

  • Fresh full feature autoreview found one response-publication race; the fix and three regressions passed a focused follow-up review with no remaining actionable P0–P2 findings. Independent owner review also cleared the authenticated fixture and prepared model-policy boundary.

  • Earlier unchanged-surface qualification includes plugin test types, import boundaries, zero import cycles, unused-export/file scans, test catalog coverage, and the Browser build.

  • Whole PR versus frozen base 359a8a35: runtime production +1,851/-240 (net +1,611), tooling +4/-2, tests/support +3,056/-435, docs +82/-4. Production growth implements generic admission/lifetime ownership and the isolated Browser capability; added tests cover authenticated access and revocation ordering.

  • UI is unchanged by the landing repairs. Earlier UI qualification: 66 tests, desktop/mobile viewport and hit-testing checks, no browser errors or horizontal overflow. Startup JS 371,311 B gzip stays within the unchanged 371,332 B limit; CSS is 51,144 B.

  • Captures below use synthetic content and an operator.write connection against a mock Gateway; baseline is 4adc92dfd7740288840ee031eed032353a057075. Candidate UI calls the scoped Browser RPC.

View Before After
Desktop Desktop before Desktop after
Mobile Mobile before Mobile after

Remaining evidence gap: authenticated Team-server verification has not been run. The new authenticated end-to-end proof runs against an isolated Gateway and Chromium on the remote test runner; UI captures use a mock Gateway. This is source qualification, separate from hosted CI on the pushed commit. No Team deployment or policy change was performed.

@vincentkoc vincentkoc self-assigned this Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts agents Agent runtime and tooling plugin: file-transfer extensions: browser size: XL labels Sep 23, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review September 23, 2026 09:15
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: 1e6ef16c9d3badf67934db7fa77bca44bb81b06f
  • Maintainer: @vincentkoc
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/requester-tool-policy.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/gateway/method-scopes.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/methods/descriptor.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/methods/registry.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/operator-run-authority.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/method-authorization.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/session-access-authority.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 23, 2026, 11:52 AM ET / 15:52 UTC (Revision 11).

ClawSweeper review

What this changes

Adds isolated Browser dashboards for session writers, shared Gateway session authorization, and Control UI routing while preserving administrator browser access.

Merge readiness

⛔ Blocked before merge - 2 items remain

This maintainer-sponsored capability remains useful and absent from main. The prior authority findings and compatibility follow-up are resolved; no actionable defect remains in the reviewed patch.

Priority: P2
Reviewed head: 1e6ef16c9d3badf67934db7fa77bca44bb81b06f

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Strong production-boundary proof, preserved review continuity, and explicit compatibility handling support an above-average rating.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The reported authenticated Gateway/Chromium execution exercises the registered route with allowed, unrelated, and revoked writers and observes destination HTTP requests. Inspected screenshots establish desktop/mobile rendering, and all 40 Browser implementation/fixture files retain their previously qualified bytes. No stored-data contract changes.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The reported authenticated Gateway/Chromium execution exercises the registered route with allowed, unrelated, and revoked writers and observes destination HTTP requests. Inspected screenshots establish desktop/mobile rendering, and all 40 Browser implementation/fixture files retain their previously qualified bytes. No stored-data contract changes.
Evidence reviewed 10 items Pinned introduction and clean checkout: The merge-base-to-head inventory contains all 87 introduced paths, including the seven omitted from the supplied file metadata. Inspection found no dependency, configuration-schema, migration, or persisted-format change. git diff --check passed and the checkout remained clean.
Still necessary on main: Fetched main still registers the dashboard with operator.admin and exposes the existing global Browser route. Searching the relevant Browser, Gateway, and UI trees found no browser.dashboard.request implementation.
Latest release retains global administration: The supplied latest release, v2026.9.5, also exposes browser.request with operator.admin; it does not supply the proposed session dashboard route.
Findings None None.
Security None None.

How this fits together

Browser dashboards turn saved conversation widgets into interactive browser previews. Gateway admission checks the caller’s session access and tool policy before the Browser plugin creates or controls an isolated Chromium context.

flowchart LR
  A[Session writer or agent] --> B[Gateway session admission]
  C[Membership and tool policy] --> B
  B --> D[Browser dashboard owner]
  D --> E[Isolated Chromium context]
  E --> F[Interactive dashboard preview]
  G[Revocation and session lifecycle] --> B
  G --> D
Loading

Before merge

  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Public capability surface 1 new RPC, 1 optional registration option, 1 additive SDK export The maintainer documents these compatibility-sensitive additions without changing configuration defaults or stored formats.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #156328
Summary: This PR implements the Browser portion of the shared preview request; the stacked Portal proposal covers a separate resource.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep session admission in Gateway and isolated context ownership in Browser, preserving existing administrator access and current authorization at every effect.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a bug reproduction: this adds a capability, and current main still requires global administration for Browser dashboards.

Is this the best way to solve the issue?

Yes. Generic Gateway admission and plugin-owned isolated contexts extend the existing owners without replacing administrator behavior or introducing a parallel preview service.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b28166ffb99c.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded collaboration improvement, with no demonstrated urgent regression.
  • merge-risk: 🚨 compatibility: The plugin API expands; the maintainer’s explicit compatibility assessment and inspected optional contracts resolve the prior concern.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The reported authenticated Gateway/Chromium execution exercises the registered route with allowed, unrelated, and revoked writers and observes destination HTTP requests. Inspected screenshots establish desktop/mobile rendering, and all 40 Browser implementation/fixture files retain their previously qualified bytes. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The reported authenticated Gateway/Chromium execution exercises the registered route with allowed, unrelated, and revoked writers and observes destination HTTP requests. Inspected screenshots establish desktop/mobile rendering, and all 40 Browser implementation/fixture files retain their previously qualified bytes. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduction and clean checkout: The merge-base-to-head inventory contains all 87 introduced paths, including the seven omitted from the supplied file metadata. Inspection found no dependency, configuration-schema, migration, or persisted-format change. git diff --check passed and the checkout remained clean. (1e6ef16c9d3b)
  • Still necessary on main: Fetched main still registers the dashboard with operator.admin and exposes the existing global Browser route. Searching the relevant Browser, Gateway, and UI trees found no browser.dashboard.request implementation. (extensions/browser/plugin-registration.ts:320, b28166ffb99c)
  • Latest release retains global administration: The supplied latest release, v2026.9.5, also exposes browser.request with operator.admin; it does not supply the proposed session dashboard route. (extensions/browser/src/browser-gateway-contract.ts:7, ec9c1a13db89)
  • Original authority and resource lifetime: Session admission captures the original actor and grants, checks current membership and effective tool policy, restricts narrow writers to their own sessions, and separates actor borrows from session-resource lifetime. Browser operations bind the target server-side and reject arbitrary profile, node, transfer, and cookie routes. (src/gateway/session-access-authority.ts:76, 1e6ef16c9d3b)
  • Prior final-effect findings resolved: Navigation preserves synchronous authority through the final page.goto dispatch. The interaction chain likewise avoids yielding after resident assertions, and resize rechecks after clearing device metrics. Ordered regression coverage exercises these previously reported races. (extensions/browser/src/browser/pw-session-navigation.ts:478, 1e6ef16c9d3b)
  • Authenticated production-boundary proof: The captured PR body reports a passing isolated Gateway/Chromium run with signed device admission, persisted membership, public plugin registration, and an HTTP destination. The inspected fixture asserts allowed startup and navigation requests, nonmember rejection, and zero additional destination requests after membership removal during allocation or navigation preparation. The supplied context identity is f117e04bdaf4eb22ee3a4af2480cd12f20811e158d55681c2635768aea6ba540. Tests were inspected, not executed in this read-only review; Team-server deployment was neither claimed nor required for this boundary. (test/plugins/browser-session-authority.gateway.test.ts:220, 1e6ef16c9d3b)

Likely related people:

  • Peter Steinberger: Raw commit 49c3d46 adds extensions/browser/src/browser-dashboard-definition.ts:64 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 49c3d463e19f; files: extensions/browser/src/browser-dashboard-definition.ts)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-23T11:14:53.649Z sha bbb6bb3 :: needs changes before merge. :: none
  • reviewed 2026-09-23T13:04:50.243Z sha 5a10103 :: needs real behavior proof before merge. :: [P1] [P1] Preserve synchronous authority through scoped navigation
  • reviewed 2026-09-23T13:24:29.998Z sha 35dbc0e6563d2d88eb4b6d6da0225a8214cce597 :: needs real behavior proof before merge. :: [P1] [P1] Preserve synchronous authority through scoped navigation
  • reviewed 2026-09-23T13:51:01.307Z sha a5d58857125ed227fb3616b67028564a3a008920 :: blocked before merge. :: none
  • reviewed 2026-09-23T14:03:10.477Z sha a5d58857125ed227fb3616b67028564a3a008920 :: blocked before merge. :: none
  • reviewed 2026-09-23T14:27:40.241Z sha 2120c7f :: blocked before merge. :: none
  • reviewed 2026-09-23T15:01:07.700Z sha 9896dbb08d986fa082596ab11b5ca42cd9911920 :: blocked before merge. :: none
  • reviewed 2026-09-23T15:21:48.363Z sha a2274bcf8a72fdc4026ac81a12f72dae11e70868 :: blocked before merge. :: none

@vincentkoc
vincentkoc force-pushed the feat/session-browser-access-20260923 branch from bbb6bb3 to 5a10103 Compare September 23, 2026 12:54
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Sep 23, 2026
@vincentkoc
vincentkoc force-pushed the feat/session-browser-access-20260923 branch 2 times, most recently from 104cc0e to 35dbc0e Compare September 23, 2026 13:15
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 23, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head a5d58857125ed227fb3616b67028564a3a008920. The final-effect race in the prior review is repaired through the private navigation and interaction chain. Eight ordered regressions fail on the predecessor and pass on the fix; 79 focused tests and the real authenticated Gateway/Chromium existing-page navigation test pass. Membership removal during route preparation prevents the destination request. Final compiler/lint proof and review evidence are in the updated PR body.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the feat/session-browser-access-20260923 branch from 9896dbb to a2274bc Compare September 23, 2026 15:15
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head a2274bcf8a72fdc4026ac81a12f72dae11e70868 resolves the actual conflict with main's Lightpanda support. It preserves global engine/connection ownership and excludes Lightpanda from scoped dashboards through the existing canonical managed-profile predicate. The second-page refusal precedes allocation and compensation; isolated Chromium keeps synchronous authority and context cleanup. 106 focused Browser tests plus the real authenticated Gateway/Chromium fixture passed; the final named-mock-only correction passed its 12-test subset again. Formatting, targeted lint and Browser compiler pass; tested tree exactly matches the committed tree. Scoped Codex and independent composition reviews are clean. Full proof, compatibility disposition and limitations are in the updated PR body.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the feat/session-browser-access-20260923 branch from a2274bc to 1e6ef16 Compare September 23, 2026 15:39
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head 1e6ef16c9d3: mechanical rebase onto frozen main 359a8a35; all ten prior feature commits remain patch-identical and all 40 Browser-owned implementation/fixture files retain their qualified bytes. The only repair supplies required policyConfig in an inherited lifecycle-test fixture. All 26 lifecycle/session-authority tests, targeted formatting and the Gateway-root compiler pass on the exact tree. No production or permission-policy change. Prior authenticated Chromium and final-effect proof remain byte-identical; current evidence is in the PR body.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc merged commit 0599647 into main Sep 23, 2026
233 of 234 checks passed
@vincentkoc
vincentkoc deleted the feat/session-browser-access-20260923 branch September 23, 2026 16:04
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 24, 2026
…w#156371)

* feat(browser): allow isolated dashboards for session writers

* test(browser): complete scoped dashboard validation

* fix(browser): extract dashboard resource type contracts

* fix(browser): preserve scoped authority through preview startup

* test(gateway): prove authenticated session browser access

* fix(browser): publish scoped replies without yielding authority

* fix(browser): preserve session authority through final dispatch

* fix(gateway): preserve operator authority through session admission

* test(gateway): align browser fixture catalog expectation

* test(browser): preserve scoped ownership with Lightpanda profiles

* test(gateway): provide placement fixture policy config
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation extensions: browser gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. plugin: file-transfer proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts security-sensitive-changed size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant