GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(server): let users withhold browser access from agents by juliusmarminge · Pull Request #7083 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Aug 15, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Stacked on #7082 — review that first; this PR's base is browser-viewport-defaults.

Adds Settings → Integrations → Browser → Agent browser access, on by default. Agents could always drive the preview browser with no way to say no.

How the gate works

Turning it off withholds the MCP credential in ProviderService.prepareMcpSession. That's the only place a credential is minted, and /mcp accepts nothing else, so one branch covers all five providers and any external MCP client — every adapter already treats a missing session as "no MCP server".

The Codex developer instructions describing preview_* drop out along with the tools. That's derived from the session's actual MCP configuration via the existing hasConfiguredMcpServer, not a second read of the setting, so the prompt cannot describe tools the turn doesn't have.

That coupling matters more than it looks: the block explicitly steers the model away from Playwright and agent-browser. Leaving it in with the tools gone would talk the agent out of the only browser automation it has left. There's a test asserting the anti-steering line disappears with the tool names.

Two decisions worth a look

Denying on an unreadable settings file. Reading settings introduced ServerSettingsError into ProviderServiceError, a union every caller handles. Rather than widen it, the error is contained at the boundary and treated as deny. An explicit "off" silently becoming "on" would violate the user's choice; the reverse costs an agent one toolset and is visible immediately.

Scope is new sessions. Credentials live up to 24h and can't be rotated into an already-spawned agent process, so a running agent keeps its tools. The UI states this rather than implying otherwise. Closing it would mean revoking live credentials on the settings change — revokeAllActiveMcpCredentials exists, but there's no settings-change subscriber on the server today, so it needs a small daemon. Happy to add it if wanted.

Why this one stays enabled on web

Unlike the client-local defaults in #7082, this is a ServerSetting. The agent runs server-side and its preview calls route to whichever desktop client is attached, so the realistic case is: desktop app running with an agent working, you're on a phone or web tab, and you want to revoke access. That's exactly when you'd reach for it and least want it greyed out.

Testing

Typecheck and lint clean; full suite passing, including new coverage for the prompt gating. Verified in a running dev instance: toggle defaults on, flips, persists to settings.json, survives reload.

Note

Add user-controlled toggle to withhold browser access from agents

  • Adds enableAgentBrowserAccess to ServerSettings (default true), with a toggle in the Integrations settings UI under the Browser section.
  • When disabled, makeProviderService revokes any active MCP credential, clears the MCP provider session, and returns undefined for new sessions instead of issuing credentials.
  • Browser tool instructions are omitted from agent prompts when MCP server tools are unavailable, via a new browserToolsAvailable parameter threaded through buildCodexDeveloperInstructions.
  • The setting is searchable, restorable to defaults, and patchable via the server settings API.
  • Behavioral Change: disabling the setting actively revokes existing credentials mid-session, not just on new sessions.

Macroscope summarized 0d31f11.


Note

Medium Risk
Changes MCP credential issuance and revocation at session prepare time and agent-facing Codex prompts; mistakes could leave stale tokens valid or mislead agents about available browser tools, though tests cover the gate and prompt omission.

Overview
Introduces agent browser access as a server-authoritative setting (enableAgentBrowserAccess, default on). When off, ProviderService.prepareMcpSession skips issuing the t3-code MCP credential, revokes any existing token for that thread, and clears the in-memory MCP session so agents never get preview_* tools. Unreadable settings are treated as deny rather than widening ProviderServiceError.

Codex developer instructions are now built via functions that take browserToolsAvailable; the T3 preview browser block (including anti–Playwright steering) is omitted entirely when MCP is not configured on the session. CodexSessionRuntime passes hasConfiguredMcpServer(appServerArgs) into turn start so prompts match the tools on that turn.

Settings → Integrations → Browser adds a toggle (searchable, included in restore-defaults), with copy that already-running agents keep tools they were given. Contracts gain enableAgentBrowserAccess on server settings and patch types.

Reviewed by Cursor Bugbot for commit 0d31f11. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@coderabbitai

coderabbitai Bot commented Aug 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d90ac31b-137a-4d9e-a4d6-b7356f604cb0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 15, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 15, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/ProviderService.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 15, 2026
View reviewed changes

@macroscopeapp macroscopeapp Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One finding: the new server-side gate on MCP credential issuance changes backend behavior but has no focused test. Everything else in the changed Effect code follows the conventions (namespace imports, yield* ServerSettings.ServerSettingsService for dependency acquisition, whole-channel Effect.catch).

Posted via Macroscope — Effect Service Conventions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/provider/Layers/ProviderService.ts
),
);
Effect.gen(function* () {
if (!(yield* agentBrowserAccessEnabled)) {

@macroscopeapp macroscopeapp Bot Aug 15, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a backend behavior change (a session may now start with no MCP credential, and a stale provider session is cleared), but the only new tests cover prompt text in CodexSessionRuntime.test.ts. Consider adding a focused test in ProviderService.test.ts using ServerSettings.ServerSettingsService.layerTest({ enableAgentBrowserAccess: false }) asserting that startSession issues no credential and clears the thread's MCP provider session, plus the enabled counterpart — the existing suite already wires a test settings layer, so it is a small addition.

Posted via Macroscope — Effect Service Conventions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions

github-actions Bot commented Aug 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 12.7 KiB 12.6 KiB −45 B (−0.3%) 15.1 KiB ✅
Codex Thread snapshot wire 6.3 KiB 6.3 KiB +2 B (+0.0%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.4 KiB 6.3 KiB −47 B (−0.7%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 51.9 KiB 51.8 KiB −44 B (−0.1%) 66.4 KiB ✅
Codex Live turn messages 17 16 −1 (−5.9%) 21 ✅
Claude Total thread wire 12.6 KiB 12.6 KiB +5 B (+0.0%) 15.1 KiB ✅
Claude Thread snapshot wire 6.3 KiB 6.3 KiB −4 B (−0.1%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.3 KiB 6.3 KiB +9 B (+0.1%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 52.7 KiB 52.7 KiB 0 B (0.0%) 66.4 KiB ✅
Claude Live turn messages 16 16 0 (0.0%) 21 ✅

Baseline: 949feb6 · PR result: 0d31f11 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 99.9 KiB
  • Claude decoded thread snapshot: 100.6 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the browser-agent-access branch 2 times, most recently from 7a82a04 to 3587069 Compare August 15, 2026 14:27
@juliusmarminge
juliusmarminge marked this pull request as ready for review August 15, 2026 14:29
cursor[bot]
cursor Bot reviewed Aug 15, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/ProviderService.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Aug 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

2 blocking correctness issues found. This PR introduces a new feature (agent browser access control) with schema additions, UI components, and credential management logic. Two Medium severity findings remain unresolved: a potential config source mismatch in CodexSessionRuntime.ts and a restore-defaults race condition. Human review warranted for new capability and blocking findings.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the browser-agent-access branch from 3587069 to 4d200ec Compare August 15, 2026 14:34
@juliusmarminge juliusmarminge mentioned this pull request Aug 16, 2026
feat(desktop): browser profiles for the preview browser #7254
Merged
juliusmarminge added a commit that referenced this pull request Aug 16, 2026
@juliusmarminge @claude
fix(server): revoke the MCP credential when agent browser access is w…
b4d14de
…ithheld

The deny path only cleared the in-memory provider-session map. Every other
prepare path reaches `issueActiveMcpCredential`, which revokes the thread
first, so skipping it left a previously issued bearer token valid against
`/mcp` for the rest of its liveness window — and `touchActiveMcpThread` on
later turns kept refreshing it.

Session restarts for runtime mode, cwd or model re-prepare without stopping,
so they relied on that revoke. An agent whose process outlived the toggle
could have kept driving the browser after the user withheld access, which is
the one outcome this feature exists to prevent.

Reported by the review bot on #7083.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Aug 16, 2026
@juliusmarminge
juliusmarminge force-pushed the browser-agent-access branch from b4d14de to dcccb55 Compare August 16, 2026 22:53
Base automatically changed from browser-viewport-defaults to main August 16, 2026 23:59
@juliusmarminge
juliusmarminge force-pushed the browser-agent-access branch from dcccb55 to 093a16d Compare August 16, 2026 23:59
@github-actions github-actions Bot removed the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Aug 17, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 17, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/CodexSessionRuntime.ts
// Derived from the session's own MCP configuration rather than the
// setting, so the prompt describes the tools this turn actually
// has even if the setting changed after the session started.
browserToolsAvailable: hasConfiguredMcpServer(options.appServerArgs),

@macroscopeapp macroscopeapp Bot Aug 17, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium Layers/CodexSessionRuntime.ts:1833

When MCP is configured through launchArgs, the spawned session has the preview_* tools but the generated developer instructions omit them because this check reads only options.appServerArgs. Use the resolved appServerArgs value here.

🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @apps/server/src/provider/Layers/CodexSessionRuntime.ts around line 1833:

When MCP is configured through `launchArgs`, the spawned session has the `preview_*` tools but the generated developer instructions omit them because this check reads only `options.appServerArgs`. Use the resolved `appServerArgs` value here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cursor[bot]
cursor Bot reviewed Aug 17, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but a cloud agent failed to start.

Reviewed by Cursor Bugbot for commit 093a16d. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/settings/IntegrationsSettings.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 17, 2026
View reviewed changes

@macroscopeapp macroscopeapp Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI consistency review of the settings changes. One finding: the new Agent browser access row advertises default semantics with a per-row reset button, but it is not wired into the page-level Restore defaults flow that the rest of this Browser section uses. Everything else (SettingsRow/SettingResetButton/Switch composition, search catalog entry, sidebar nav derivation, desktop-only framing) matches the existing settings primitives.

Posted via Macroscope — UI Consistency

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/web/src/components/settings/IntegrationsSettings.tsx
Comment on lines +371 to +382
resetAction={
settings.enableAgentBrowserAccess !== DEFAULT_UNIFIED_SETTINGS.enableAgentBrowserAccess ? (
<SettingResetButton
label="agent browser access"
onClick={() =>
updateSettings({
enableAgentBrowserAccess: DEFAULT_UNIFIED_SETTINGS.enableAgentBrowserAccess,
})
}
/>
) : null
}

@macroscopeapp macroscopeapp Bot Aug 17, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This row offers a per-setting reset, but enableAgentBrowserAccess isn't part of the page-level Restore defaults flow. getChangedBrowserSettingLabels (SettingsPanels.logic.ts) and the restoreDefaults patch (SettingsPanels.tsx) cover the four browser client defaults in this same section but not this toggle, so "Restore defaults" leaves agent access off and never mentions it in the confirmation dialog — inconsistent with every other reset-able row here.

Smallest fix: add enableAgentBrowserAccess to the changed-label list (e.g. "Agent browser access", plus the memo dependency) and to the updateSettings({ ... }) restore patch. If bulk restore should deliberately not re-grant agent access, a one-line comment stating that would keep the exception intentional.

Posted via Macroscope — UI Consistency

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
juliusmarminge added a commit that referenced this pull request Aug 17, 2026
@juliusmarminge @claude
fix(server): revoke the MCP credential when agent browser access is w…
dcccb55
…ithheld

The deny path only cleared the in-memory provider-session map. Every other
prepare path reaches `issueActiveMcpCredential`, which revokes the thread
first, so skipping it left a previously issued bearer token valid against
`/mcp` for the rest of its liveness window — and `touchActiveMcpThread` on
later turns kept refreshing it.

Session restarts for runtime mode, cwd or model re-prepare without stopping,
so they relied on that revoke. An agent whose process outlived the toggle
could have kept driving the browser after the user withheld access, which is
the one outcome this feature exists to prevent.

Reported by the review bot on #7083.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the browser-agent-access branch from 093a16d to 90cc93c Compare August 17, 2026 01:01
@github-actions github-actions Bot added size:XXL 1,000+ changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Aug 17, 2026
juliusmarminge and others added 2 commits August 17, 2026 03:02
@juliusmarminge @claude
feat(server): let users withhold browser access from agents
5e93541
Agents could always drive the preview browser, with no way to say no. Adds
Settings → Integrations → Browser → Agent browser access, on by default.

Turning it off withholds the MCP credential in `prepareMcpSession`. That is
the only place a credential is minted and the `/mcp` endpoint accepts nothing
else, so one branch covers all five providers and any external MCP client —
every adapter already treats a missing session as "no MCP server".

The Codex developer instructions describing `preview_*` drop out with the
tools. That is derived from the session's actual MCP configuration via the
existing `hasConfiguredMcpServer`, not from a second read of the setting, so
the prompt cannot describe tools the turn doesn't have. Leaving the text in
would be worse than saying nothing: it steers the model away from Playwright
and agent-browser, so it would talk the agent out of its only remaining
browser automation.

An unreadable settings file denies rather than propagating the error, which
would mean adding ServerSettingsError to a union every caller handles. Denying
is the safe direction: an explicit "off" silently becoming "on" would violate
the user's choice, while the reverse costs one toolset and is visible at once.

The toggle applies to sessions started from then on; a running agent keeps the
tools it was given, which the UI states rather than implying otherwise.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@juliusmarminge @claude
test(server): cover the agent browser access gate
9989fdf
The check flagged an untested backend behavior change, and it was right —
withholding the MCP credential is the whole feature, and nothing asserted it.

Credential issuance is the observable that matters: it is the only place a
credential is minted and `/mcp` accepts nothing else, so withholding it is
what actually denies every provider and any external MCP client.

Testing it needed a seam. The real issuer reads a module-global registry that
only a running MCP server installs, so from a unit test the enabled and
disabled paths look identical — both leave no session behind. Reading the
stored session back would have passed either way, which is worse than no test.
`ProviderServiceLiveOptions` already carries a test override for the canonical
event logger, so the issuer follows that existing pattern.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 1, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
addfb44
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 2, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
414db7c
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 2, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
71e34b0
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 2, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
2e42519
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 4, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
0e4c8cf
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 5, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
a4432cf
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 5, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
98558f6
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 8, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
e8087d0
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 8, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
ac62193
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 8, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
19587e3
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 9, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
c1c39dc
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 10, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
d75adb5
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 11, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
e9338a5
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 11, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
2260ef8
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 11, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
924a0f4
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 12, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
008c299
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 14, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
e2eac1c
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 15, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
489a812
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 15, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
163e731
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 15, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
9e0c575
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 15, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
40dce62
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 15, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
23f87cc
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 16, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
95c1785
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 16, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
9247490
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 16, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
4a86fd3
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 16, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
0d5aa12
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
juliusmarminge added a commit that referenced this pull request Sep 16, 2026
@juliusmarminge @claude
feat(server): honor withheld agent browser access in the v2 runtime
b484c51
Ports #7083 into the v2 session path, which replaced the v1
ProviderService where main's gate lives. Instead of withholding the whole
t3-code MCP credential — on this branch it also carries the thread
orchestration and worktree toolkits — the credential is minted without
the "preview" capability when enableAgentBrowserAccess is off, so every
preview tool call rejects while orchestration stays available.

ProviderSessionManager reads the setting at prepare time (deny on an
unreadable settings file, matching main), rotates a reused credential
whose capability set no longer reflects the setting, and the session
config now carries browserToolsAvailable so the Codex adapter keeps its
developer instructions truthful via main's parameterized instruction
builders instead of the removed constants.

Co-Authored-By: Claude Fable 5 <[email protected]>
@juliusmarminge juliusmarminge mentioned this pull request Oct 8, 2026
[Bug]: With agent browser/device access off, the agent still sees every preview_* and device_* tool #17202
Open
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.