Skip to content

Complete native MCP setup within the task - #4654

Draft
benjaminshafii wants to merge 1 commit into
devfrom
feat/native-connection-setup-0908
Draft

benjaminshafii wants to merge 1 commit into
devfrom
feat/native-connection-setup-0908

Conversation

@benjaminshafii

@benjaminshafii benjaminshafii commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

When a task needs a new remote MCP connection, the person can configure it in the task, authorize in the provider browser, verify usable tools, and continue the same task. Admins and delegated connection managers can create connections; other members see their available sign-in or access path.

This PR contains the native setup sheet, permission-aware discovery and readiness APIs, configuration/credential repair, and continuation that preserves composer drafts. Setup survives streamed message regrouping. It uses existing Den creation and OAuth routes; it defaults OAuth to individual accounts and access to the current person, and retains organization setup for older servers.

The OAuth diagnostics/recovery follow-up is stacked on this branch and owns exact sign-in attempt outcomes, causal failure details, and Den's registration-aware editing. This base PR contains no new attempt table or OAuth failure reporting changes. Both retain the callback reconciliation already merged in #4663.

Verification is temporarily Incomplete while the split revision is cold-booted. Fresh GPT-5.4 Electron evidence and the live Den/gateway journey will be published on this PR; earlier combined-branch results are historical.

@mintlify

mintlify Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Sep 8, 2026, 11:15 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 9, 2026 5:22am UTC
openwork-den Ready Ready Preview Sep 9, 2026 5:22am UTC
openwork-diagnostics Ready Ready Preview Sep 9, 2026 5:22am UTC
openwork-landing Ready Ready Preview, v0 Sep 9, 2026 5:22am UTC

@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Passed · 1/1 tests · 2/2 assertions · 0 images

Commit e28c9a3583e5fa31a0cf36ad93b7c45b1b8aff11 · selected evidence

Open review report

await openDesktopUrl(expected.toString())
} catch (cause) { setError(cause instanceof Error ? cause.message : "Could not open setup.") }
const setup = (entry: ConnectorCatalog["entries"][number]) => {
setReadyIds(ids => new Set([...ids].filter(id => id !== entry.id)))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

New catalog setup flow depends on Den routes introduced in the same change

The catalog now launches the native setup flow, but that flow calls newly added connection-setup, connection creation, readiness, and OAuth routes that older deployed Den instances do not serve.

Evidence
  • setup() invokes controller.load(), which is implemented by the newly added useConnectionSetup hook.
  • useConnectionSetup calls readConnectionSetup, createSetupConnection, checkConnectionReadiness, and startMcpConnectionConnect from apps/app/src/app/lib/den.ts.
  • Those client methods target /v1/mcp-connections/setup, /v1/mcp-connections, /readiness, and /connect/start, whose Den handlers are introduced in this same diff.
  • A newly published app can therefore call these routes before the continuously deployed Den instance has them, causing first-time setup to fail; deploy the Den routes first and ship this catalog/setup consumption only afterward.
Also found at 4 additional locations
  • apps/app/src/react-app/domains/connections/use-connection-setup.ts:64-64
  • apps/app/src/react-app/domains/connections/use-connection-setup.ts:92-92
  • apps/app/src/react-app/domains/connections/use-connection-setup.ts:165
  • ee/apps/den-api/src/capability-sources/connection-setup.ts:15-18

Identified by Warden · desktop-den-sync-review · VNH-RGS

@benjaminshafii

benjaminshafii commented Sep 9, 2026 •

Copy link
Copy Markdown
Member Author

Passed · 1/1 tests · 2/2 assertions · 0 images

Commit b7bcb9e53bc17f6f4c7fdbd9c0f7b5140d7e7ad5 · selected evidence

Open review report

@benjaminshafii

Copy link
Copy Markdown
Member Author

Passed — a real model guides native setup, resumes with usable tools, and respects member access

Commit 930768ea9aa7544f86b3696af51e772c103657a9 · 1 passed, 0 failed, 0 skipped · 9 assertions · 17 reference screenshots.

placement: daytona (daytona CLI authenticated). Real OpenAI gpt-5.4, two isolated Electron users, and actual authenticated calls to a controlled OAuth/MCP service. Browser consent is explicit in the task journey; the Den settings scenario uses the fixture’s automatic consent.

Journey spec

infisical run --silent --env dev -- env OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 OPENWORK_EVAL_MODEL=gpt-5.4 pnpm evals:e2e connector-catalog

PASS — Native setup is offered by a real model without creating or authorizing a connection

Model gpt-5.4; a visible native form defaults to each person signing in and Only me. Den inventory and OS browser requests are empty before Save.

PASS — The task displays token_rejected from the exact browser sign-in

The real-model task stayed open and showed MCP_OAUTH_CLIENT_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.

PASS — The task displays resource_rejected from the exact browser sign-in

The real-model task stayed open and showed MCP_OAUTH_RESOURCE_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.

PASS — Saving and provider sign-in resume the original task with a real service call

Exactly one Den row was saved before authorization, including after pausing and retrying sign-in; OAuth app repair fields were available. The app showed Ready only after sign-in. The real model called read_connection_status 1 time(s) with a member credential and rendered the service-only verification code; the prompt contained neither the code nor a connection ID, and an unrelated unsent composer draft was preserved.

PASS — A member sees an access explanation and cannot inherit the admin's account

A second real model found setup for the same endpoint. The member saw no save or sign-in action and their usable inventory remained empty; the admin still has exactly one connection.

PASS — Saved authorization and live tool readiness are separate, recoverable states

An injected tools/list outage produced the explicit failure state while Den retained one connected row. Checking after recovery returned Ready in the sheet and restored the chat card's Connected action without creating a second row or opening OAuth again.

PASS — Provider app configuration stays in the task and cannot save incomplete credentials

The real model's catalog opens Google's native OAuth app form, with the provider callback and client fields. The form remains open with its entered name when the model response finishes. Save is disabled with no client ID, and Den has no new connection. No real Google authorization was attempted.

PASS — An unsupported Den server keeps a usable setup path

A transport proxy returned the older-server 404 for native setup. The real model's catalog showed the compatibility explanation and opened only the configured Den organization's setup URL, with no new connection created. This simulates the missing endpoint; it does not boot a historical Den release.

PASS — Den and the task share OAuth outcomes while configuration stays separate

A real Den Add connection click saved a shared connection and started OAuth against the controlled provider's automatic consent fixture, showing MCP_OAUTH_INVALID_GRANT at AUTH_TOKEN_ACQUISITION within 45 seconds. The failed shared connection stayed disconnected while the original member connection stayed connected. Edit explained that a saved client ID is not proof of sign-in and exposed client authentication settings. Saving a name-only edit preserved the automatically registered client ID and registration method.

Reference — Real model discovers setup

Real model discovers setup

Reference — Native configuration, scopes and access

Native configuration, scopes and access

Reference — Waiting for provider consent

Waiting for provider consent

Reference — Pause and OAuth app repair

Pause and OAuth app repair

Reference — Token endpoint rejection in the task

Token endpoint rejection in the task

Reference — Token endpoint rejection in the browser

Token endpoint rejection in the browser

Reference — Issued token rejected by MCP in the task

Issued token rejected by MCP in the task

Reference — Issued token rejected by MCP in the browser

Issued token rejected by MCP in the browser

Reference — Connected and ready after retry

Connected and ready after retry

Reference — Real model executes the tool; unsent draft preserved

Real model executes the tool; unsent draft preserved

Reference — Member setup restriction

Member setup restriction

Reference — Tools unavailable with sign-in retained

Tools unavailable with sign-in retained

Reference — Tools recovered without another authorization

Tools recovered without another authorization

Reference — Native provider client configuration

Native provider client configuration

Reference — Older Den setup compatibility

Older Den setup compatibility

Reference — Den reports the terminal sign-in failure

Den reports the terminal sign-in failure

Reference — Den distinguishes client configuration from sign-in

Den distinguishes client configuration from sign-in

The complete original record is published in a separate comment linked from the main evidence summary.

@benjaminshafii

Copy link
Copy Markdown
Member Author

Passed — gateway discovery stays quiet until connection setup is explicitly requested

Commit 930768ea9aa7544f86b3696af51e772c103657a9 · 1 passed, 0 failed, 0 skipped · 10 assertions · 0 reference screenshots.

App-less PR lane explicitly cold-booted on Daytona with no Den reuse. All requests hit live Den/gateway and controlled OAuth/MCP endpoints.

Journey spec

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/connector-search-intent.test.ts

PASS — Blocked connection discovery stays informational until explicit connect intent

The same blocked Notes connection appeared in both real gateway searches. Default discovery returned neither action nor catalog nor UI metadata; intent connect returned that connection's action and no unrelated catalog.

PASS — Explicit named setup exposes the complete curated catalog without pretending a tool is connected

Ordinary Slack search returned no setup UI. Explicit connect selected Slack in a versioned 13-entry catalog, including both suites and Linear, with a matching quickAdd setup URL for every entry and no connection action.

PASS — Explicit catalog browsing returns all quick adds without selecting or authorizing an account

type connectors returned all 13 entries, no selected IDs, no executable capability matches, and no connection action.

PASS — A delegated manager can repair external and native OAuth app details on the saved connection

The existing external edit API and native provider client API accepted replacement client details for the same connection IDs. Responses omitted client secrets; native configuration used synthetic credentials without contacting Google.

PASS — Connection management permission is enforced server-side and revocation takes effect

An ordinary member's create request was rejected. A custom role granting only mcp_connections.manage allowed setup and one create. Resuming by key returned that exact row; a duplicate create returned 409. Changing custom roles revoked the old session. After fresh sign-in, revoking the role restored the 403 boundary.

PASS — An invalid API key can be replaced on the exact saved attempt without exposing credentials

Initial creation returned 502 but preserved one resumable row. Replacing the key through the existing conditional edit route made the same row ready. Neither setup facts nor the edit response contained the submitted keys.

PASS — Restarted OAuth completes with the provider's latest consent transaction

Two sign-in starts followed by an explicit provider approval completed the Den callback and made the same connection ready.

PASS — OAuth resource_rejected reports the causal stage without exposing credentials

The controlled callback failed with MCP_OAUTH_RESOURCE_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.

PASS — OAuth token_rejected reports the causal stage without exposing credentials

The controlled callback failed with MCP_OAUTH_CLIENT_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The rejected automatic client registration was cleared. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.

PASS — OAuth grant_rejected reports the causal stage without exposing credentials

The controlled callback failed with MCP_OAUTH_INVALID_GRANT; token issuance matched the injected failure and the connection stayed disconnected. The rejected grant preserved the registered client ID and registration method. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.

Original test-run.json — 2026-09-09T03-50-18-195Z-gateway-discovery-stays-quiet-until-connection-setup-is-explicitly-requested

Source SHA-256: e92bdad11a5864025e2a3619fd23cf10fb305eb0849a92aa499f8338aec7896a. Only the local checkout path in dir is replaced with the directory name; all recorded evidence values are preserved. Whitespace is compacted for GitHub's comment limit.

{"name":"gateway discovery stays quiet until connection setup is explicitly requested","dir":"2026-09-09T03-50-18-195Z-gateway-discovery-stays-quiet-until-connection-setup-is-explicitly-requested","createdAt":"2026-09-09T03:50:18.195Z","closedAt":"2026-09-09T03:52:34.967Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":true,"totalArtifacts":10,"passedArtifacts":10,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":10,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Blocked connection discovery stays informational until explicit connect intent","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:20.710Z","description":"The same blocked Notes connection appeared in both real gateway searches. Default discovery returned neither action nor catalog nor UI metadata; intent connect returned that connection's action and no unrelated catalog.","model":"","ok":true,"results":[{"expectation":"Blocked connection discovery stays informational until explicit connect intent","evidence":"The same blocked Notes connection appeared in both real gateway searches. Default discovery returned neither action nor catalog nor UI metadata; intent connect returned that connection's action and no unrelated catalog.","passed":true}],"judgments":[{"expectation":"Blocked connection discovery stays informational until explicit connect intent","state":"passed","reasoning":"The same blocked Notes connection appeared in both real gateway searches. Default discovery returned neither action nor catalog nor UI metadata; intent connect returned that connection's action and no unrelated catalog."}]},{"caption":"Explicit named setup exposes the complete curated catalog without pretending a tool is connected","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:21.023Z","description":"Ordinary Slack search returned no setup UI. Explicit connect selected Slack in a versioned 13-entry catalog, including both suites and Linear, with a matching quickAdd setup URL for every entry and no connection action.","model":"","ok":true,"results":[{"expectation":"Explicit named setup exposes the complete curated catalog without pretending a tool is connected","evidence":"Ordinary Slack search returned no setup UI. Explicit connect selected Slack in a versioned 13-entry catalog, including both suites and Linear, with a matching quickAdd setup URL for every entry and no connection action.","passed":true}],"judgments":[{"expectation":"Explicit named setup exposes the complete curated catalog without pretending a tool is connected","state":"passed","reasoning":"Ordinary Slack search returned no setup UI. Explicit connect selected Slack in a versioned 13-entry catalog, including both suites and Linear, with a matching quickAdd setup URL for every entry and no connection action."}]},{"caption":"Explicit catalog browsing returns all quick adds without selecting or authorizing an account","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:21.162Z","description":"type connectors returned all 13 entries, no selected IDs, no executable capability matches, and no connection action.","model":"","ok":true,"results":[{"expectation":"Explicit catalog browsing returns all quick adds without selecting or authorizing an account","evidence":"type connectors returned all 13 entries, no selected IDs, no executable capability matches, and no connection action.","passed":true}],"judgments":[{"expectation":"Explicit catalog browsing returns all quick adds without selecting or authorizing an account","state":"passed","reasoning":"type connectors returned all 13 entries, no selected IDs, no executable capability matches, and no connection action."}]},{"caption":"A delegated manager can repair external and native OAuth app details on the saved connection","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:22.782Z","description":"The existing external edit API and native provider client API accepted replacement client details for the same connection IDs. Responses omitted client secrets; native configuration used synthetic credentials without contacting Google.","model":"","ok":true,"results":[{"expectation":"A delegated manager can repair external and native OAuth app details on the saved connection","evidence":"The existing external edit API and native provider client API accepted replacement client details for the same connection IDs. Responses omitted client secrets; native configuration used synthetic credentials without contacting Google.","passed":true}],"judgments":[{"expectation":"A delegated manager can repair external and native OAuth app details on the saved connection","state":"passed","reasoning":"The existing external edit API and native provider client API accepted replacement client details for the same connection IDs. Responses omitted client secrets; native configuration used synthetic credentials without contacting Google."}]},{"caption":"Connection management permission is enforced server-side and revocation takes effect","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:23.407Z","description":"An ordinary member's create request was rejected. A custom role granting only mcp_connections.manage allowed setup and one create. Resuming by key returned that exact row; a duplicate create returned 409. Changing custom roles revoked the old session. After fresh sign-in, revoking the role restored the 403 boundary.","model":"","ok":true,"results":[{"expectation":"Connection management permission is enforced server-side and revocation takes effect","evidence":"An ordinary member's create request was rejected. A custom role granting only mcp_connections.manage allowed setup and one create. Resuming by key returned that exact row; a duplicate create returned 409. Changing custom roles revoked the old session. After fresh sign-in, revoking the role restored the 403 boundary.","passed":true}],"judgments":[{"expectation":"Connection management permission is enforced server-side and revocation takes effect","state":"passed","reasoning":"An ordinary member's create request was rejected. A custom role granting only mcp_connections.manage allowed setup and one create. Resuming by key returned that exact row; a duplicate create returned 409. Changing custom roles revoked the old session. After fresh sign-in, revoking the role restored the 403 boundary."}]},{"caption":"An invalid API key can be replaced on the exact saved attempt without exposing credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:24.575Z","description":"Initial creation returned 502 but preserved one resumable row. Replacing the key through the existing conditional edit route made the same row ready. Neither setup facts nor the edit response contained the submitted keys.","model":"","ok":true,"results":[{"expectation":"An invalid API key can be replaced on the exact saved attempt without exposing credentials","evidence":"Initial creation returned 502 but preserved one resumable row. Replacing the key through the existing conditional edit route made the same row ready. Neither setup facts nor the edit response contained the submitted keys.","passed":true}],"judgments":[{"expectation":"An invalid API key can be replaced on the exact saved attempt without exposing credentials","state":"passed","reasoning":"Initial creation returned 502 but preserved one resumable row. Replacing the key through the existing conditional edit route made the same row ready. Neither setup facts nor the edit response contained the submitted keys."}]},{"caption":"Restarted OAuth completes with the provider's latest consent transaction","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:25.838Z","description":"Two sign-in starts followed by an explicit provider approval completed the Den callback and made the same connection ready.","model":"","ok":true,"results":[{"expectation":"Restarted OAuth completes with the provider's latest consent transaction","evidence":"Two sign-in starts followed by an explicit provider approval completed the Den callback and made the same connection ready.","passed":true}],"judgments":[{"expectation":"Restarted OAuth completes with the provider's latest consent transaction","state":"passed","reasoning":"Two sign-in starts followed by an explicit provider approval completed the Den callback and made the same connection ready."}]},{"caption":"OAuth resource_rejected reports the causal stage without exposing credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:28.178Z","description":"The controlled callback failed with MCP_OAUTH_RESOURCE_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","model":"","ok":true,"results":[{"expectation":"OAuth resource_rejected reports the causal stage without exposing credentials","evidence":"The controlled callback failed with MCP_OAUTH_RESOURCE_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","passed":true}],"judgments":[{"expectation":"OAuth resource_rejected reports the causal stage without exposing credentials","state":"passed","reasoning":"The controlled callback failed with MCP_OAUTH_RESOURCE_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction."}]},{"caption":"OAuth token_rejected reports the causal stage without exposing credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:31.185Z","description":"The controlled callback failed with MCP_OAUTH_CLIENT_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The rejected automatic client registration was cleared. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","model":"","ok":true,"results":[{"expectation":"OAuth token_rejected reports the causal stage without exposing credentials","evidence":"The controlled callback failed with MCP_OAUTH_CLIENT_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The rejected automatic client registration was cleared. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","passed":true}],"judgments":[{"expectation":"OAuth token_rejected reports the causal stage without exposing credentials","state":"passed","reasoning":"The controlled callback failed with MCP_OAUTH_CLIENT_REJECTED; token issuance matched the injected failure and the connection stayed disconnected. The rejected automatic client registration was cleared. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction."}]},{"caption":"OAuth grant_rejected reports the causal stage without exposing credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:52:33.886Z","description":"The controlled callback failed with MCP_OAUTH_INVALID_GRANT; token issuance matched the injected failure and the connection stayed disconnected. The rejected grant preserved the registered client ID and registration method. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","model":"","ok":true,"results":[{"expectation":"OAuth grant_rejected reports the causal stage without exposing credentials","evidence":"The controlled callback failed with MCP_OAUTH_INVALID_GRANT; token issuance matched the injected failure and the connection stayed disconnected. The rejected grant preserved the registered client ID and registration method. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction.","passed":true}],"judgments":[{"expectation":"OAuth grant_rejected reports the causal stage without exposing credentials","state":"passed","reasoning":"The controlled callback failed with MCP_OAUTH_INVALID_GRANT; token issuance matched the injected failure and the connection stayed disconnected. The rejected grant preserved the registered client ID and registration method. The app status endpoint returned the same reference and causal stage, omitted secrets, and denied a different member. Replay did not mutate its terminal outcome; retry created an independent pending attempt. The callback did not misreport a missing authorization transaction."}]}],"trace":[],"steps":[],"outcome":"passed"}

@benjaminshafii

Copy link
Copy Markdown
Member Author

Additional OAuth regression records (1/1)

Passed: local OAuth (issuer support true) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Feature — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject mismatch callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject missing callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject empty callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports true issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Feature record — 2026-09-09T03-53-06-151Z-local-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credent

Source SHA-256: 91069c8f72897c3ddcd219f96a6f7b47e2a6f38821ce150ee9e9ed22501779e9. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support true) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-53-06-151Z-local-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credent","createdAt":"2026-09-09T03:53:06.151Z","closedAt":"2026-09-09T03:53:07.350Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":true,"totalArtifacts":6,"passedArtifacts":6,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":6,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject mismatch callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.156Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject mismatch callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject mismatch callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject missing callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.170Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject missing callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject missing callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject empty callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.181Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject empty callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject empty callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.192Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports true issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.225Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports true issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports true issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:53:07.237Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Clean dev control — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject mismatch callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject missing callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject empty callback before token exchange

HTTP 500; zero token requests; connection is not connected.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports true issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Clean dev control record — 2026-09-09T04-02-39-506Z-local-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credent

Source SHA-256: 5720b664927f58e9e682322f81b5f0ac2e4366e444ab522f11c75367fdd2b892. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support true) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-02-39-506Z-local-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credent","createdAt":"2026-09-09T04:02:39.507Z","closedAt":"2026-09-09T04:02:40.647Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":true,"totalArtifacts":6,"passedArtifacts":6,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":6,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject mismatch callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.457Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject mismatch callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject mismatch callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject missing callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.471Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject missing callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject missing callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject empty callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.484Z","description":"HTTP 500; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject empty callback before token exchange","evidence":"HTTP 500; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject empty callback before token exchange","state":"passed","reasoning":"HTTP 500; zero token requests; connection is not connected."}]},{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.494Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports true issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.527Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports true issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports true issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T04:02:40.539Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Failed — reproduced on clean dev: Den OAuth (issuer support true) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Both runs failed before callback assertions: expected undefined to be true // Object.is equality. The configured issuer-support flag was absent in the external Daytona mock's metadata. The same mock option is passed to a local child process, but is not applied to the already-hosted external fixture. This leaves the Den true/false metadata variants unverified in this placement.

Feature — failed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

Original Feature record — 2026-09-09T03-53-07-351Z-den-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credentia

Source SHA-256: f4c33669d1c3736492aadb56578148656f846c5c069e095b143a0a06f61a6fc4. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support true) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-53-07-351Z-den-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credentia","createdAt":"2026-09-09T03:53:07.351Z","closedAt":"2026-09-09T03:55:13.277Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":false,"totalArtifacts":0,"passedArtifacts":0,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":0,"failedExpectations":0,"pendingJudgments":0},"artifacts":[],"trace":[],"steps":[],"outcome":"failed","failure":"expected undefined to be true // Object.is equality"}

Clean dev control — failed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

Original Clean dev control record — 2026-09-09T04-02-40-648Z-den-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credentia

Source SHA-256: 7b08e95e1da62c8ea23a0a3fb8bc78f2ae450e47eb45512549c2e5e570ccba64. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support true) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-02-40-648Z-den-oauth-issuer-support-true-validates-callbacks-and-preserves-usable-credentia","createdAt":"2026-09-09T04:02:40.648Z","closedAt":"2026-09-09T04:04:44.134Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":false,"totalArtifacts":0,"passedArtifacts":0,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":0,"failedExpectations":0,"pendingJudgments":0},"artifacts":[],"trace":[],"steps":[],"outcome":"failed","failure":"expected undefined to be true // Object.is equality"}

Passed: local OAuth (issuer support false) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Feature — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports false issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Feature record — 2026-09-09T03-55-13-279Z-local-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-creden

Source SHA-256: 1bc6b32bb3d56edd1b7d829fd2825deee49435b2f298a8914fbdc554435f1837. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support false) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-55-13-279Z-local-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-creden","createdAt":"2026-09-09T03:55:13.279Z","closedAt":"2026-09-09T03:55:14.168Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":true,"totalArtifacts":3,"passedArtifacts":3,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":3,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:55:14.020Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports false issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T03:55:14.052Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports false issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports false issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:55:14.063Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Clean dev control — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports false issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Clean dev control record — 2026-09-09T04-04-44-136Z-local-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-creden

Source SHA-256: 87d7ddee58911369311a4d78817e24fc15ca6baaac82a6cf30569b9b29e29c32. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support false) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-04-44-136Z-local-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-creden","createdAt":"2026-09-09T04:04:44.136Z","closedAt":"2026-09-09T04:04:45.025Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":true,"totalArtifacts":3,"passedArtifacts":3,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":3,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:04:44.880Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports false issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T04:04:44.910Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports false issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports false issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T04:04:44.922Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Failed — reproduced on clean dev: Den OAuth (issuer support false) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Both runs failed before callback assertions: expected undefined to be false // Object.is equality. The configured issuer-support flag was absent in the external Daytona mock's metadata. The same mock option is passed to a local child process, but is not applied to the already-hosted external fixture. This leaves the Den true/false metadata variants unverified in this placement.

Feature — failed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

Original Feature record — 2026-09-09T03-55-14-169Z-den-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-credenti

Source SHA-256: efa6b7983812163723a287b80ba21758e57738b7c69ef6ddfe4d521945322ffa. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support false) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-55-14-169Z-den-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-credenti","createdAt":"2026-09-09T03:55:14.169Z","closedAt":"2026-09-09T03:57:20.885Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":false,"totalArtifacts":0,"passedArtifacts":0,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":0,"failedExpectations":0,"pendingJudgments":0},"artifacts":[],"trace":[],"steps":[],"outcome":"failed","failure":"expected undefined to be false // Object.is equality"}

Clean dev control — failed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

Original Clean dev control record — 2026-09-09T04-04-45-026Z-den-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-credenti

Source SHA-256: acf6b763a8ea5c0ed88bbd0dfdf572232bfcfa9c13ee9fb1c818255a65a519ae. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support false) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-04-45-026Z-den-oauth-issuer-support-false-validates-callbacks-and-preserves-usable-credenti","createdAt":"2026-09-09T04:04:45.026Z","closedAt":"2026-09-09T04:06:58.723Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":false,"totalArtifacts":0,"passedArtifacts":0,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":0,"failedExpectations":0,"pendingJudgments":0},"artifacts":[],"trace":[],"steps":[],"outcome":"failed","failure":"expected undefined to be false // Object.is equality"}

Passed: local OAuth (issuer support absent) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Feature — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports absent issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Feature record — 2026-09-09T03-57-20-886Z-local-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-crede

Source SHA-256: 68eeff2005532b495f54e130462c9838cce2f10ba115e49a3d8f88f2f7b4a394. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support absent) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-57-20-886Z-local-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-crede","createdAt":"2026-09-09T03:57:20.886Z","closedAt":"2026-09-09T03:57:21.788Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":true,"totalArtifacts":3,"passedArtifacts":3,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":3,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T03:57:21.638Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports absent issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T03:57:21.668Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports absent issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports absent issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:57:21.678Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Clean dev control — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Reject state callback before token exchange

HTTP 400; zero token requests; connection is not connected.

PASS — Sign-in supports absent issuer-support metadata with PKCE

Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.

PASS — Replay preserves usable credentials

Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.

Original Clean dev control record — 2026-09-09T04-06-58-724Z-local-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-crede

Source SHA-256: d354b1119a34e489d394979eb2dd15279574e33f884385d2d432fd82f270418f. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"local OAuth (issuer support absent) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-06-58-724Z-local-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-crede","createdAt":"2026-09-09T04:06:58.724Z","closedAt":"2026-09-09T04:06:59.625Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":true,"totalArtifacts":3,"passedArtifacts":3,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":3,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Reject state callback before token exchange","fileName":"","hash":"","route":"","at":"2026-09-09T04:06:59.472Z","description":"HTTP 400; zero token requests; connection is not connected.","model":"","ok":true,"results":[{"expectation":"Reject state callback before token exchange","evidence":"HTTP 400; zero token requests; connection is not connected.","passed":true}],"judgments":[{"expectation":"Reject state callback before token exchange","state":"passed","reasoning":"HTTP 400; zero token requests; connection is not connected."}]},{"caption":"Sign-in supports absent issuer-support metadata with PKCE","fileName":"","hash":"","route":"","at":"2026-09-09T04:06:59.505Z","description":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","model":"","ok":true,"results":[{"expectation":"Sign-in supports absent issuer-support metadata with PKCE","evidence":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected.","passed":true}],"judgments":[{"expectation":"Sign-in supports absent issuer-support metadata with PKCE","state":"passed","reasoning":"Verified advertised metadata and callback issuer presence; provider required S256 and accepted exactly one code exchange; callback and server report connected."}]},{"caption":"Replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T04:06:59.521Z","description":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","model":"","ok":true,"results":[{"expectation":"Replay preserves usable credentials","evidence":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth.","passed":true}],"judgments":[{"expectation":"Replay preserves usable credentials","state":"passed","reasoning":"Replay rejected without another token exchange; connecting again reused persisted credentials and passed authenticated tool discovery without OAuth."}]}],"trace":[],"steps":[],"outcome":"passed"}

Passed: Den OAuth (issuer support absent) validates callbacks and preserves usable credentials

Additional regression suite: 4 passed, 2 failed, 0 skipped on both feature 930768ea9aa7544f86b3696af51e772c103657a9 and clean merged dev bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a. This section is separate from the two passing primary connection journeys.

Unchanged regression spec

Feature — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=930768ea9aa7544f86b3696af51e772c103657a9 pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Den completes sign-in with absent issuer-support metadata

Callback returned HTTP 200; provider observed exactly one token requests.

PASS — Den replay preserves usable credentials

Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.

PASS — Den preserves renewed shared credentials after a late rejection

Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.

PASS — Den logs committed shared SDK credential invalidation

One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.

Original Feature record — 2026-09-09T03-57-21-789Z-den-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-credent

Source SHA-256: f6a4d17f10b3f11a92088205b5ad9a194cd3b19f7bb1e23b3d633986fed0f98a. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support absent) validates callbacks and preserves usable credentials","dir":"2026-09-09T03-57-21-789Z-den-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-credent","createdAt":"2026-09-09T03:57:21.789Z","closedAt":"2026-09-09T03:59:30.882Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":true,"totalArtifacts":4,"passedArtifacts":4,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":4,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Den completes sign-in with absent issuer-support metadata","fileName":"","hash":"","route":"","at":"2026-09-09T03:59:25.739Z","description":"Callback returned HTTP 200; provider observed exactly one token requests.","model":"","ok":true,"results":[{"expectation":"Den completes sign-in with absent issuer-support metadata","evidence":"Callback returned HTTP 200; provider observed exactly one token requests.","passed":true}],"judgments":[{"expectation":"Den completes sign-in with absent issuer-support metadata","state":"passed","reasoning":"Callback returned HTTP 200; provider observed exactly one token requests."}]},{"caption":"Den replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:59:26.412Z","description":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.","model":"","ok":true,"results":[{"expectation":"Den replay preserves usable credentials","evidence":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.","passed":true}],"judgments":[{"expectation":"Den replay preserves usable credentials","state":"passed","reasoning":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange."}]},{"caption":"Den preserves renewed shared credentials after a late rejection","fileName":"","hash":"","route":"","at":"2026-09-09T03:59:28.906Z","description":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.","model":"","ok":true,"results":[{"expectation":"Den preserves renewed shared credentials after a late rejection","evidence":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.","passed":true}],"judgments":[{"expectation":"Den preserves renewed shared credentials after a late rejection","state":"passed","reasoning":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions."}]},{"caption":"Den logs committed shared SDK credential invalidation","fileName":"","hash":"","route":"","at":"2026-09-09T03:59:30.012Z","description":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.","model":"","ok":true,"results":[{"expectation":"Den logs committed shared SDK credential invalidation","evidence":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.","passed":true}],"judgments":[{"expectation":"Den logs committed shared SDK credential invalidation","state":"passed","reasoning":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent."}]}],"trace":[],"steps":[],"outcome":"passed"}

Clean dev control — passed

infisical run --silent --env dev -- env OPENWORK_EVAL_DAYTONA=1 OPENWORK_EVAL_REF=bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a pnpm evals:pr specs/mcp-oauth-response-issuer.test.ts

Full-suite command exited 1; no tests were filtered or skipped. Den booted through Daytona without reuse; local callback cases ran the local OpenWork server against controlled endpoints.

PASS — Den completes sign-in with absent issuer-support metadata

Callback returned HTTP 200; provider observed exactly one token requests.

PASS — Den replay preserves usable credentials

Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.

PASS — Den preserves renewed shared credentials after a late rejection

Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.

PASS — Den logs committed shared SDK credential invalidation

One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.

Original Clean dev control record — 2026-09-09T04-06-59-626Z-den-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-credent

Source SHA-256: 14b7f88fcbab1c18f3dd2a19fe7f2ab64b4d1c3552b09788f631f87912536364. Only dir is reduced to its directory name; all evidence values are preserved.

{"name":"Den OAuth (issuer support absent) validates callbacks and preserves usable credentials","dir":"2026-09-09T04-06-59-626Z-den-oauth-issuer-support-absent-validates-callbacks-and-preserves-usable-credent","createdAt":"2026-09-09T04:06:59.626Z","closedAt":"2026-09-09T04:09:07.115Z","gitSha":"bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a","engine":"v1","branch":"HEAD","summary":{"ok":true,"totalArtifacts":4,"passedArtifacts":4,"failedArtifacts":0,"unvalidatedArtifacts":0,"pendingArtifacts":0,"passedExpectations":4,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Den completes sign-in with absent issuer-support metadata","fileName":"","hash":"","route":"","at":"2026-09-09T04:09:02.127Z","description":"Callback returned HTTP 200; provider observed exactly one token requests.","model":"","ok":true,"results":[{"expectation":"Den completes sign-in with absent issuer-support metadata","evidence":"Callback returned HTTP 200; provider observed exactly one token requests.","passed":true}],"judgments":[{"expectation":"Den completes sign-in with absent issuer-support metadata","state":"passed","reasoning":"Callback returned HTTP 200; provider observed exactly one token requests."}]},{"caption":"Den replay preserves usable credentials","fileName":"","hash":"","route":"","at":"2026-09-09T04:09:02.876Z","description":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.","model":"","ok":true,"results":[{"expectation":"Den replay preserves usable credentials","evidence":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange.","passed":true}],"judgments":[{"expectation":"Den replay preserves usable credentials","state":"passed","reasoning":"Replay rejected; a subsequent connection check reused saved credentials and remained connected without another token exchange."}]},{"caption":"Den preserves renewed shared credentials after a late rejection","fileName":"","hash":"","route":"","at":"2026-09-09T04:09:05.250Z","description":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.","model":"","ok":true,"results":[{"expectation":"Den preserves renewed shared credentials after a late rejection","evidence":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions.","passed":true}],"judgments":[{"expectation":"Den preserves renewed shared credentials after a late rejection","state":"passed","reasoning":"Two requests used the same refresh grant. The successful rotation completed before the held invalid_grant was released. A subsequent authenticated tools request succeeded, zero deletion events were logged, and one skipped invalidation named different loaded/current revisions."}]},{"caption":"Den logs committed shared SDK credential invalidation","fileName":"","hash":"","route":"","at":"2026-09-09T04:09:06.429Z","description":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.","model":"","ok":true,"results":[{"expectation":"Den logs committed shared SDK credential invalidation","evidence":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent.","passed":true}],"judgments":[{"expectation":"Den logs committed shared SDK credential invalidation","state":"passed","reasoning":"One rejected refresh cleared the connection and produced exactly one structured log with provider error, member scope, and matching loaded/current revisions. Healthy reuse produced no invalidation log; token values and OAuth secrets were absent."}]}],"trace":[],"steps":[],"outcome":"passed"}

@benjaminshafii

Copy link
Copy Markdown
Member Author

Repository-wide test lint — pre-existing failures

These additional lint checks are separate from the passing runtime journey counts. Both commands exited 1 on the feature branch and on a clean detached checkout of bd1b31caf8d8dfc63ef66d7259a016f31eaf1e3a (the merged origin/dev). Their full outputs were byte-identical (cmp exited 0). Neither reports a violation in the changed connector journey.

node evals/scripts/spec-channel-ratchet.mjs — exit 1 on branch and clean dev

Output SHA-256: 69100ec8b25ab2650eb302a4d433a4d62486f26f94c1e1546f3a487be22c8be4.

WARNING: unbaselined legacy spec: automation-registration-recovery.e2e.test.ts (3 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: bench-openwork-app-v1.e2e.test.ts (29 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: cross-server-handoff-atomic-commit.e2e.test.ts (13 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: engine-v2-preview-flag.e2e.test.ts (5 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: mcp-auth-rate-limit-recovery.e2e.test.ts (0 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: opencode-v2-chat-routing.e2e.test.ts (17 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: opencode-v2-mcp-hot-reload.e2e.test.ts (1 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: preview-world.e2e.test.ts (4 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: role-change-session-survival.e2e.test.ts (4 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: scim-okta-lifecycle.e2e.test.ts (18 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: sso-redirect-screen.e2e.test.ts (22 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: team-organization-admin-ui.e2e.test.ts (10 escapes) — add to baseline when migrating
WARNING: unbaselined legacy spec: todo-progress-persists-during-run.e2e.test.ts (8 escapes) — add to baseline when migrating
spec-channel-ratchet failed:
- active-session-workspace-storm.e2e.test.ts: baseline is stale 11 → 9; lower it
- attachment-upload-loading-state.e2e.test.ts: raw channel escapes increased 4 → 6
- cloud-provider-sync-contract.e2e.test.ts: raw channel escapes increased 6 → 27
- command-palette-search.e2e.test.ts: new-layer spec has 2 raw channel escapes; expected 0
- computer-use-window-scope.e2e.test.ts: new-layer spec has 18 raw channel escapes; expected 0
- connection-action-mcp-app.e2e.test.ts: new-layer spec has 4 raw channel escapes; expected 0
- cross-workspace-split-view.e2e.test.ts: baseline is stale 14 → 4; lower it
- library-add-connector-discovery.e2e.test.ts: raw channel escapes increased 13 → 15
- live-tool-visible-after-session-switch.e2e.test.ts: baseline is stale 8 → 7; lower it
- models-analytics-upgrade.e2e.test.ts: new-layer spec has 4 raw channel escapes; expected 0
- new-split-session.e2e.test.ts: new-layer spec has 8 raw channel escapes; expected 0
- org-model-analytics.e2e.test.ts: raw channel escapes increased 3 → 4
- reauth-popup.e2e.test.ts: new-layer spec has 10 raw channel escapes; expected 0
- responsive-session-layout.e2e.test.ts: raw channel escapes increased 10 → 11
- saved-app-creation.e2e.test.ts: new-layer spec has 3 raw channel escapes; expected 0
- saved-script-automations.e2e.test.ts: raw channel escapes increased 3 → 7
- welcome-one-field.e2e.test.ts: baseline is stale 1 → 0; lower it
- workflow-run-previews.e2e.test.ts: new-layer spec has 3 raw channel escapes; expected 0
- workspace-engine-upgrade.e2e.test.ts: new-layer spec has 1 raw channel escapes; expected 0
- workspace-new-task-hit-target.e2e.test.ts: raw channel escapes increased 3 → 7
Fix with: pnpm --dir evals exec node scripts/spec-channel-ratchet.mjs --print-baseline > evals/specs/channel-ratchet.baseline.json

node evals/scripts/spec-boundary-ratchet.mjs — exit 1 on branch and clean dev

Output SHA-256: 0044cd63a550553649df269a176f0b8df20c514ece3446d52f40d6b510a8281a.

spec-boundary-ratchet failed:
- bench-opencode-engines.test.ts: imports product source (../../apps/...) — unit tests belong next to the module they test, not in evals/specs
- bench-opencode-engines.test.ts: reads the filesystem (node:fs) — a spec observes the product, not the repository
- bench-opencode-engines.test.ts: spawns processes (node:child_process) — wrapping another test runner is not evidence
- bench-opencode-engines.test.ts: never crosses a product boundary (app()/chrome()/server()/spec.world()) — see write-a-spec
- bench-openwork-app-v1.e2e.test.ts: reads the filesystem (node:fs) — a spec observes the product, not the repository
- bench-openwork-app-v1.e2e.test.ts: spawns processes (node:child_process) — wrapping another test runner is not evidence
- bench-openwork-app-v1.e2e.test.ts: never crosses a product boundary (app()/chrome()/server()/spec.world()) — see write-a-spec
- engine-v2-preview-flag.e2e.test.ts: reads the filesystem (node:fs) — a spec observes the product, not the repository
- engine-v2-preview-flag.e2e.test.ts: never crosses a product boundary (app()/chrome()/server()/spec.world()) — see write-a-spec
- opencode-v2-chat-routing.e2e.test.ts: reads the filesystem (node:fs) — a spec observes the product, not the repository
- opencode-v2-chat-routing.e2e.test.ts: never crosses a product boundary (app()/chrome()/server()/spec.world()) — see write-a-spec
- opencode-v2-provider-hot-inject.test.ts: imports product source (../../apps/...) — unit tests belong next to the module they test, not in evals/specs
- opencode-v2-provider-hot-inject.test.ts: reads the filesystem (node:fs) — a spec observes the product, not the repository
- opencode-v2-provider-hot-inject.test.ts: never crosses a product boundary (app()/chrome()/server()/spec.world()) — see write-a-spec
Fix existing debt only by shrinking evals/specs/boundary-ratchet.baseline.json; new specs must cross a real product boundary.

@benjaminshafii

Copy link
Copy Markdown
Member Author

Original record — a real model guides native setup, resumes with usable tools, and respects member access

Commit 930768ea9aa7544f86b3696af51e772c103657a9. This is the complete source record for the passing test section linked from the main evidence comment.

Original test-run.json — 2026-09-09T03-37-26-146Z-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a

Source SHA-256: ba2bcd7226485f02d951534ee664fdbdc9aa92a8f6b4d553f598f05077d42a3d. Only the local checkout path in dir is replaced with the directory name; all recorded evidence values are preserved. Whitespace is compacted for GitHub's comment limit.

{"name":"a real model guides native setup, resumes with usable tools, and respects member access","dir":"2026-09-09T03-37-26-146Z-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a","createdAt":"2026-09-09T03:37:26.146Z","closedAt":"2026-09-09T03:49:53.872Z","gitSha":"930768ea9aa7544f86b3696af51e772c103657a9","engine":"v1","branch":"feat/native-connection-setup-0908","summary":{"ok":false,"totalArtifacts":26,"passedArtifacts":9,"failedArtifacts":0,"unvalidatedArtifacts":17,"pendingArtifacts":0,"passedExpectations":9,"failedExpectations":0,"pendingJudgments":0},"artifacts":[{"caption":"Native setup is offered by a real model without creating or authorizing a connection","fileName":"","hash":"","route":"","at":"2026-09-09T03:47:25.854Z","description":"Model gpt-5.4; a visible native form defaults to each person signing in and Only me. Den inventory and OS browser requests are empty before Save.","model":"","ok":true,"results":[{"expectation":"Native setup is offered by a real model without creating or authorizing a connection","evidence":"Model gpt-5.4; a visible native form defaults to each person signing in and Only me. Den inventory and OS browser requests are empty before Save.","passed":true}],"judgments":[{"expectation":"Native setup is offered by a real model without creating or authorizing a connection","state":"passed","reasoning":"Model gpt-5.4; a visible native form defaults to each person signing in and Only me. Den inventory and OS browser requests are empty before Save."}]},{"caption":"The task displays token_rejected from the exact browser sign-in","fileName":"","hash":"","route":"","at":"2026-09-09T03:47:42.963Z","description":"The real-model task stayed open and showed MCP_OAUTH_CLIENT_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.","model":"","ok":true,"results":[{"expectation":"The task displays token_rejected from the exact browser sign-in","evidence":"The real-model task stayed open and showed MCP_OAUTH_CLIENT_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.","passed":true}],"judgments":[{"expectation":"The task displays token_rejected from the exact browser sign-in","state":"passed","reasoning":"The real-model task stayed open and showed MCP_OAUTH_CLIENT_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout."}]},{"caption":"The task displays resource_rejected from the exact browser sign-in","fileName":"","hash":"","route":"","at":"2026-09-09T03:47:56.466Z","description":"The real-model task stayed open and showed MCP_OAUTH_RESOURCE_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.","model":"","ok":true,"results":[{"expectation":"The task displays resource_rejected from the exact browser sign-in","evidence":"The real-model task stayed open and showed MCP_OAUTH_RESOURCE_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout.","passed":true}],"judgments":[{"expectation":"The task displays resource_rejected from the exact browser sign-in","state":"passed","reasoning":"The real-model task stayed open and showed MCP_OAUTH_RESOURCE_REJECTED within 30 seconds of provider consent, with no Ready state, saved credential or business tool execution. Browser and app displayed the failure without waiting for the three-minute timeout."}]},{"caption":"Saving and provider sign-in resume the original task with a real service call","fileName":"","hash":"","route":"","at":"2026-09-09T03:48:18.738Z","description":"Exactly one Den row was saved before authorization, including after pausing and retrying sign-in; OAuth app repair fields were available. The app showed Ready only after sign-in. The real model called read_connection_status 1 time(s) with a member credential and rendered the service-only verification code; the prompt contained neither the code nor a connection ID, and an unrelated unsent composer draft was preserved.","model":"","ok":true,"results":[{"expectation":"Saving and provider sign-in resume the original task with a real service call","evidence":"Exactly one Den row was saved before authorization, including after pausing and retrying sign-in; OAuth app repair fields were available. The app showed Ready only after sign-in. The real model called read_connection_status 1 time(s) with a member credential and rendered the service-only verification code; the prompt contained neither the code nor a connection ID, and an unrelated unsent composer draft was preserved.","passed":true}],"judgments":[{"expectation":"Saving and provider sign-in resume the original task with a real service call","state":"passed","reasoning":"Exactly one Den row was saved before authorization, including after pausing and retrying sign-in; OAuth app repair fields were available. The app showed Ready only after sign-in. The real model called read_connection_status 1 time(s) with a member credential and rendered the service-only verification code; the prompt contained neither the code nor a connection ID, and an unrelated unsent composer draft was preserved."}]},{"caption":"A member sees an access explanation and cannot inherit the admin's account","fileName":"","hash":"","route":"","at":"2026-09-09T03:48:37.330Z","description":"A second real model found setup for the same endpoint. The member saw no save or sign-in action and their usable inventory remained empty; the admin still has exactly one connection.","model":"","ok":true,"results":[{"expectation":"A member sees an access explanation and cannot inherit the admin's account","evidence":"A second real model found setup for the same endpoint. The member saw no save or sign-in action and their usable inventory remained empty; the admin still has exactly one connection.","passed":true}],"judgments":[{"expectation":"A member sees an access explanation and cannot inherit the admin's account","state":"passed","reasoning":"A second real model found setup for the same endpoint. The member saw no save or sign-in action and their usable inventory remained empty; the admin still has exactly one connection."}]},{"caption":"Saved authorization and live tool readiness are separate, recoverable states","fileName":"","hash":"","route":"","at":"2026-09-09T03:48:48.174Z","description":"An injected tools/list outage produced the explicit failure state while Den retained one connected row. Checking after recovery returned Ready in the sheet and restored the chat card's Connected action without creating a second row or opening OAuth again.","model":"","ok":true,"results":[{"expectation":"Saved authorization and live tool readiness are separate, recoverable states","evidence":"An injected tools/list outage produced the explicit failure state while Den retained one connected row. Checking after recovery returned Ready in the sheet and restored the chat card's Connected action without creating a second row or opening OAuth again.","passed":true}],"judgments":[{"expectation":"Saved authorization and live tool readiness are separate, recoverable states","state":"passed","reasoning":"An injected tools/list outage produced the explicit failure state while Den retained one connected row. Checking after recovery returned Ready in the sheet and restored the chat card's Connected action without creating a second row or opening OAuth again."}]},{"caption":"Provider app configuration stays in the task and cannot save incomplete credentials","fileName":"","hash":"","route":"","at":"2026-09-09T03:49:04.042Z","description":"The real model's catalog opens Google's native OAuth app form, with the provider callback and client fields. The form remains open with its entered name when the model response finishes. Save is disabled with no client ID, and Den has no new connection. No real Google authorization was attempted.","model":"","ok":true,"results":[{"expectation":"Provider app configuration stays in the task and cannot save incomplete credentials","evidence":"The real model's catalog opens Google's native OAuth app form, with the provider callback and client fields. The form remains open with its entered name when the model response finishes. Save is disabled with no client ID, and Den has no new connection. No real Google authorization was attempted.","passed":true}],"judgments":[{"expectation":"Provider app configuration stays in the task and cannot save incomplete credentials","state":"passed","reasoning":"The real model's catalog opens Google's native OAuth app form, with the provider callback and client fields. The form remains open with its entered name when the model response finishes. Save is disabled with no client ID, and Den has no new connection. No real Google authorization was attempted."}]},{"caption":"An unsupported Den server keeps a usable setup path","fileName":"","hash":"","route":"","at":"2026-09-09T03:49:15.245Z","description":"A transport proxy returned the older-server 404 for native setup. The real model's catalog showed the compatibility explanation and opened only the configured Den organization's setup URL, with no new connection created. This simulates the missing endpoint; it does not boot a historical Den release.","model":"","ok":true,"results":[{"expectation":"An unsupported Den server keeps a usable setup path","evidence":"A transport proxy returned the older-server 404 for native setup. The real model's catalog showed the compatibility explanation and opened only the configured Den organization's setup URL, with no new connection created. This simulates the missing endpoint; it does not boot a historical Den release.","passed":true}],"judgments":[{"expectation":"An unsupported Den server keeps a usable setup path","state":"passed","reasoning":"A transport proxy returned the older-server 404 for native setup. The real model's catalog showed the compatibility explanation and opened only the configured Den organization's setup URL, with no new connection created. This simulates the missing endpoint; it does not boot a historical Den release."}]},{"caption":"Den and the task share OAuth outcomes while configuration stays separate","fileName":"","hash":"","route":"","at":"2026-09-09T03:49:38.034Z","description":"A real Den Add connection click saved a shared connection and started OAuth against the controlled provider's automatic consent fixture, showing MCP_OAUTH_INVALID_GRANT at AUTH_TOKEN_ACQUISITION within 45 seconds. The failed shared connection stayed disconnected while the original member connection stayed connected. Edit explained that a saved client ID is not proof of sign-in and exposed client authentication settings. Saving a name-only edit preserved the automatically registered client ID and registration method.","model":"","ok":true,"results":[{"expectation":"Den and the task share OAuth outcomes while configuration stays separate","evidence":"A real Den Add connection click saved a shared connection and started OAuth against the controlled provider's automatic consent fixture, showing MCP_OAUTH_INVALID_GRANT at AUTH_TOKEN_ACQUISITION within 45 seconds. The failed shared connection stayed disconnected while the original member connection stayed connected. Edit explained that a saved client ID is not proof of sign-in and exposed client authentication settings. Saving a name-only edit preserved the automatically registered client ID and registration method.","passed":true}],"judgments":[{"expectation":"Den and the task share OAuth outcomes while configuration stays separate","state":"passed","reasoning":"A real Den Add connection click saved a shared connection and started OAuth against the controlled provider's automatic consent fixture, showing MCP_OAUTH_INVALID_GRANT at AUTH_TOKEN_ACQUISITION within 45 seconds. The failed shared connection stayed disconnected while the original member connection stayed connected. Edit explained that a saved client ID is not proof of sign-in and exposed client authentication settings. Saving a name-only edit preserved the automatically registered client ID and registration method."}]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 1","fileName":"01-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"c898b8674378a7632698526b796c9f5c98736edc8e5bc18b7d485b608dc0f04d","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:19.123Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 2","fileName":"02-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"8520a99594e93c8cf9ce6d7c58bdef721a0c38bf84e4de3b997f475de4edd537","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:25.408Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 4","fileName":"04-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"4b142849aa915b2f563d6839c1a0379602c148bd3cd8d0f4569f0d2c8931d5a3","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:27.170Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 5","fileName":"05-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"ad996a280b332a01cc7fc7357ef3fbaf055cace71229a5ea148e05933ca7186e","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:28.844Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 6","fileName":"06-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"197cb046be7d833a50b6051b3462e7f55d0df2f2e138d0ee6c71ad8d3122e640","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:41.818Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 7","fileName":"07-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"ec8ac7695db8edc44660a2b2c19fc9539835a38c5a013b38b2ea19b3f5a9c8f5","route":"","at":"2026-09-09T03:47:42.370Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 9","fileName":"09-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"3f9c2867769b55d7f04dac5bd185609a028e7364702f72fe126570671b298ab8","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:47:55.920Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 10","fileName":"10-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"ed632f991c1b9d6244d37e88b7a90ca2a2e9de8bbb48230515e4ef99a3549cdb","route":"","at":"2026-09-09T03:47:56.259Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 12","fileName":"12-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"47ff6443a5eb6fd6fe09778b917e63db6b47c3d9b54eedff69491e52d06247cb","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:48:01.955Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 13","fileName":"13-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"c8f923419a6632cd361fbc17b1d06c7188cfb16f1aee9927a0e2a3b6e4c597e8","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:48:18.391Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 15","fileName":"15-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"611f7f48d9dc4f25528d2b67ba7c281955d444556e61208834cc3eae0850ca50","route":"#/workspace/ws_51fdf94c4f07/session/ses_f7bbad0d6ffep2TmnHJV6rm9uV","at":"2026-09-09T03:48:36.261Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 17","fileName":"17-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"eba98fab9e7b3979abf5bbe288014d2db1e03fdb8cda665aa90675073ecabb5c","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:48:42.680Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 18","fileName":"18-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"21118fa1034249e308de16f3f6aee4377428431c4caaccc36537bac3edc95349","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd","at":"2026-09-09T03:48:46.518Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 20","fileName":"20-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"003ca569a79597b2d4982e25b99460ef341507b2145c143acb49b5197e64cba2","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bb7a845ffeF3v94ISZo0wlLb","at":"2026-09-09T03:49:03.491Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 22","fileName":"22-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"28d8f8131a3e4341a69f87df2dd2aff58818714a28761ae9ede5eed767a1c680","route":"#/workspace/ws_a7f4cfaa55d6/session/ses_f7bb7a845ffeF3v94ISZo0wlLb","at":"2026-09-09T03:49:12.701Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 24","fileName":"24-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"9162247f9460eca643b46dfbfc4599eb5c4ef2c1287b1a94086dbde14c7487b4","route":"","at":"2026-09-09T03:49:28.794Z","description":"","model":"","ok":null,"results":[],"judgments":[]},{"caption":"a real model guides native setup, resumes with usable tools, and respects member access artifact 25","fileName":"25-a-real-model-guides-native-setup-resumes-with-usable-tools-and-respects-member-a.png","hash":"965bd3fb7dceb543929bca6bf6bf7467405c1fee179e7b246f9c46cddfd56f88","route":"","at":"2026-09-09T03:49:31.667Z","description":"","model":"","ok":null,"results":[],"judgments":[]}],"trace":[{"stage":"world","channel":"seed","verb":"mock","detail":"mock(mcp)","ok":true,"ms":1,"at":"2026-09-09T03:37:26.164Z","seq":1},{"stage":"world","channel":"seed","verb":"den","detail":"den(daytona)","ok":true,"ms":126826,"at":"2026-09-09T03:39:32.990Z","seq":2},{"stage":"world","channel":"seed","verb":"faultProxy","detail":"faultProxy(daytona)","ok":true,"ms":2076,"at":"2026-09-09T03:39:35.066Z","seq":3},{"stage":"world","channel":"seed","verb":"api","detail":"[seed] api GET /v1/me/orgs","ok":true,"ms":135,"at":"2026-09-09T03:39:35.758Z","seq":4},{"stage":"world","channel":"seed","verb":"api","detail":"[seed] api POST /v1/mcp/token","ok":true,"ms":132,"at":"2026-09-09T03:39:35.891Z","seq":5},{"stage":"world","channel":"seed","verb":"desktop","detail":"desktop(as admin)","ok":true,"ms":156026,"at":"2026-09-09T03:42:11.917Z","seq":6},{"stage":"world","channel":"seed","verb":"workspace","detail":"workspace(/tmp/openwork-native-setup-admin-1788925331918)","surface":"testkit-admin","ok":true,"ms":714,"at":"2026-09-09T03:42:12.633Z","seq":7},{"stage":"world","channel":"seed","verb":"session","detail":"session(\"New task\")","surface":"testkit-admin","ok":true,"ms":1212,"at":"2026-09-09T03:42:17.979Z","seq":8},{"stage":"world","channel":"seed","verb":"api","detail":"[seed] api POST /v1/mcp/token","ok":true,"ms":320,"at":"2026-09-09T03:42:19.230Z","seq":9},{"stage":"world","channel":"seed","verb":"desktop","detail":"desktop(as member)","ok":true,"ms":174417,"at":"2026-09-09T03:45:13.647Z","seq":10},{"stage":"world","channel":"seed","verb":"workspace","detail":"workspace(/tmp/openwork-native-setup-member-1788925513647)","surface":"testkit-member","ok":true,"ms":1102,"at":"2026-09-09T03:45:14.749Z","seq":11},{"stage":"world","channel":"seed","verb":"session","detail":"session(\"New task\")","surface":"testkit-member","ok":true,"ms":1728,"at":"2026-09-09T03:45:21.953Z","seq":12},{"stage":"world","channel":"seed","verb":"web","detail":"web(signed in)","ok":true,"ms":100038,"at":"2026-09-09T03:47:03.070Z","seq":13},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":499,"seq":14,"at":"2026-09-09T03:47:04.544Z"},{"stage":"body","channel":"agent","verb":"send","detail":"send(186 chars)","surface":"testkit-admin","ok":true,"ms":2813,"seq":15,"at":"2026-09-09T03:47:07.359Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net, timeoutMs=120000)","surface":"testkit-admin","ok":true,"ms":4891,"seq":16,"at":"2026-09-09T03:47:12.250Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":99,"seq":17,"at":"2026-09-09T03:47:12.349Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":90,"seq":18,"at":"2026-09-09T03:47:12.945Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":94,"seq":19,"at":"2026-09-09T03:47:13.540Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":92,"seq":20,"at":"2026-09-09T03:47:14.133Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":95,"seq":21,"at":"2026-09-09T03:47:14.728Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":95,"seq":22,"at":"2026-09-09T03:47:15.323Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":96,"seq":23,"at":"2026-09-09T03:47:15.921Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":160,"seq":24,"at":"2026-09-09T03:47:16.584Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":248,"seq":25,"at":"2026-09-09T03:47:17.335Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(initial setup reply finishes before selecting its card)","ok":true,"ms":5085,"seq":26,"at":"2026-09-09T03:47:17.335Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":429,"seq":27,"at":"2026-09-09T03:47:17.764Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":474,"seq":28,"at":"2026-09-09T03:47:19.597Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(composer, \"Keep this note in my composer for later.\")","surface":"testkit-admin","ok":true,"ms":1018,"seq":29,"at":"2026-09-09T03:47:20.615Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net","surface":"testkit-admin","ok":true,"target":{"x":628.5,"y":318.6875,"width":96,"height":28},"seq":30,"at":"2026-09-09T03:47:20.822Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net)","surface":"testkit-admin","ok":true,"ms":517,"seq":31,"at":"2026-09-09T03:47:21.132Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(testId=connection-setup-sheet)","surface":"testkit-admin","ok":true,"ms":219,"seq":32,"at":"2026-09-09T03:47:21.351Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Save and sign in, timeoutMs=45000)","surface":"testkit-admin","ok":true,"ms":244,"seq":33,"at":"2026-09-09T03:47:21.595Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(label=Connection name, \"Workspace Service\", replace)","surface":"testkit-admin","ok":true,"ms":1476,"seq":34,"at":"2026-09-09T03:47:23.071Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":178,"seq":35,"at":"2026-09-09T03:47:23.249Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":175,"seq":36,"at":"2026-09-09T03:47:23.425Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=OAuth app settings","surface":"testkit-admin","ok":true,"target":{"x":821,"y":422.125,"width":127.0625,"height":36},"seq":37,"at":"2026-09-09T03:47:24.616Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=OAuth app settings)","surface":"testkit-admin","ok":true,"ms":715,"seq":38,"at":"2026-09-09T03:47:25.031Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Requested scopes)","surface":"testkit-admin","ok":true,"ms":255,"seq":39,"at":"2026-09-09T03:47:25.286Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":122,"seq":40,"at":"2026-09-09T03:47:25.408Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":445,"seq":41,"at":"2026-09-09T03:47:25.853Z"},{"stage":"body","channel":"step","verb":"step","detail":"A real model discovers setup without creating a connection","ok":true,"ms":21809,"seq":42,"at":"2026-09-09T03:47:25.854Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Save and sign in","surface":"testkit-admin","ok":true,"target":{"x":821,"y":759.6875,"width":320,"height":36},"seq":43,"at":"2026-09-09T03:47:26.040Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Save and sign in)","surface":"testkit-admin","ok":true,"ms":471,"seq":44,"at":"2026-09-09T03:47:26.326Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Finish sign-in in your browser, timeoutMs=60000)","surface":"testkit-admin","ok":true,"ms":844,"seq":45,"at":"2026-09-09T03:47:27.170Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":360,"seq":46,"at":"2026-09-09T03:47:27.530Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Stop waiting","surface":"testkit-admin","ok":true,"target":{"x":821,"y":264.25,"width":107.109375,"height":36},"seq":47,"at":"2026-09-09T03:47:27.709Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Stop waiting)","surface":"testkit-admin","ok":true,"ms":472,"seq":48,"at":"2026-09-09T03:47:28.002Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Sign in)","surface":"testkit-admin","ok":true,"ms":183,"seq":49,"at":"2026-09-09T03:47:28.185Z"},{"stage":"body","channel":"user","verb":"target","detail":"text=Update OAuth app","surface":"testkit-admin","ok":true,"target":{"x":821,"y":207.125,"width":335,"height":18.5625},"seq":50,"at":"2026-09-09T03:47:28.375Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(text=Update OAuth app)","surface":"testkit-admin","ok":true,"ms":474,"seq":51,"at":"2026-09-09T03:47:28.659Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Client ID)","surface":"testkit-admin","ok":true,"ms":184,"seq":52,"at":"2026-09-09T03:47:28.844Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":306,"seq":53,"at":"2026-09-09T03:47:29.150Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":310,"seq":54,"at":"2026-09-09T03:47:29.460Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Sign in","surface":"testkit-admin","ok":true,"target":{"x":821,"y":151.125,"width":335,"height":36},"seq":55,"at":"2026-09-09T03:47:29.652Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Sign in)","surface":"testkit-admin","ok":true,"ms":473,"seq":56,"at":"2026-09-09T03:47:29.934Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(provider sign-in reopened)","ok":true,"ms":609,"seq":57,"at":"2026-09-09T03:47:30.543Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":121,"seq":58,"at":"2026-09-09T03:47:31.200Z"},{"stage":"body","channel":"user","verb":"navigate","detail":"navigate(/authorize)","surface":"spec-web","ok":true,"ms":149,"seq":59,"at":"2026-09-09T03:47:32.247Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Approve OpenWork","surface":"spec-web","ok":true,"target":{"x":360,"y":248.25,"width":186.921875,"height":43},"seq":60,"at":"2026-09-09T03:47:32.444Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Approve OpenWork)","surface":"spec-web","ok":true,"ms":455,"seq":61,"at":"2026-09-09T03:47:32.702Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Connection failed, timeoutMs=30000)","surface":"spec-web","ok":true,"ms":243,"seq":62,"at":"2026-09-09T03:47:32.945Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(testId=connection-diagnostic, timeoutMs=30000)","surface":"testkit-admin","ok":true,"ms":1345,"seq":63,"at":"2026-09-09T03:47:34.290Z"},{"stage":"body","channel":"user","verb":"target","detail":"text=Sign-in details","surface":"testkit-admin","ok":true,"target":{"x":834,"y":401.75,"width":309,"height":16},"seq":64,"at":"2026-09-09T03:47:34.488Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(text=Sign-in details)","surface":"testkit-admin","ok":true,"ms":482,"seq":65,"at":"2026-09-09T03:47:34.772Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=MCP_OAUTH_CLIENT_REJECTED)","surface":"testkit-admin","ok":true,"ms":220,"seq":66,"at":"2026-09-09T03:47:34.992Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Ready to use)","surface":"testkit-admin","ok":true,"ms":3058,"seq":67,"at":"2026-09-09T03:47:38.050Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Finish sign-in in your browser)","surface":"testkit-admin","ok":true,"ms":3114,"seq":68,"at":"2026-09-09T03:47:41.165Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":366,"seq":69,"at":"2026-09-09T03:47:41.531Z"},{"stage":"body","channel":"probe","verb":"toolCalls","detail":"toolCalls(read_connection_status)","ok":true,"ms":286,"seq":70,"at":"2026-09-09T03:47:41.817Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":552,"seq":71,"at":"2026-09-09T03:47:42.370Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"spec-web","ok":true,"ms":593,"seq":72,"at":"2026-09-09T03:47:42.963Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Sign in","surface":"testkit-admin","ok":true,"target":{"x":821,"y":483.75,"width":320,"height":36},"seq":73,"at":"2026-09-09T03:47:43.392Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Sign in)","surface":"testkit-admin","ok":true,"ms":718,"seq":74,"at":"2026-09-09T03:47:43.858Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(retry sign-in)","ok":true,"ms":889,"seq":75,"at":"2026-09-09T03:47:44.747Z"},{"stage":"body","channel":"user","verb":"navigate","detail":"navigate(/authorize)","surface":"spec-web","ok":true,"ms":125,"seq":76,"at":"2026-09-09T03:47:45.839Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Approve OpenWork","surface":"spec-web","ok":true,"target":{"x":360,"y":248.25,"width":186.921875,"height":43},"seq":77,"at":"2026-09-09T03:47:46.087Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Approve OpenWork)","surface":"spec-web","ok":true,"ms":602,"seq":78,"at":"2026-09-09T03:47:46.441Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Connection failed, timeoutMs=30000)","surface":"spec-web","ok":true,"ms":338,"seq":79,"at":"2026-09-09T03:47:46.780Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(testId=connection-diagnostic, timeoutMs=30000)","surface":"testkit-admin","ok":true,"ms":1647,"seq":80,"at":"2026-09-09T03:47:48.427Z"},{"stage":"body","channel":"user","verb":"target","detail":"text=Sign-in details","surface":"testkit-admin","ok":true,"target":{"x":834,"y":308.9375,"width":309,"height":16},"seq":81,"at":"2026-09-09T03:47:48.631Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(text=Sign-in details)","surface":"testkit-admin","ok":true,"ms":473,"seq":82,"at":"2026-09-09T03:47:48.900Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=MCP_OAUTH_RESOURCE_REJECTED)","surface":"testkit-admin","ok":true,"ms":177,"seq":83,"at":"2026-09-09T03:47:49.077Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Ready to use)","surface":"testkit-admin","ok":true,"ms":3178,"seq":84,"at":"2026-09-09T03:47:52.255Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Finish sign-in in your browser)","surface":"testkit-admin","ok":true,"ms":3001,"seq":85,"at":"2026-09-09T03:47:55.256Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":318,"seq":86,"at":"2026-09-09T03:47:55.574Z"},{"stage":"body","channel":"probe","verb":"toolCalls","detail":"toolCalls(read_connection_status)","ok":true,"ms":345,"seq":87,"at":"2026-09-09T03:47:55.919Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":339,"seq":88,"at":"2026-09-09T03:47:56.259Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"spec-web","ok":true,"ms":207,"seq":89,"at":"2026-09-09T03:47:56.466Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Sign in","surface":"testkit-admin","ok":true,"target":{"x":821,"y":482.9375,"width":320,"height":36},"seq":90,"at":"2026-09-09T03:47:56.820Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Sign in)","surface":"testkit-admin","ok":true,"ms":480,"seq":91,"at":"2026-09-09T03:47:57.110Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(retry sign-in)","ok":true,"ms":541,"seq":92,"at":"2026-09-09T03:47:57.651Z"},{"stage":"body","channel":"user","verb":"navigate","detail":"navigate(/authorize)","surface":"spec-web","ok":true,"ms":173,"seq":93,"at":"2026-09-09T03:47:58.653Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Approve OpenWork","surface":"spec-web","ok":true,"target":{"x":360,"y":248.25,"width":186.921875,"height":43},"seq":94,"at":"2026-09-09T03:47:59.007Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Approve OpenWork)","surface":"spec-web","ok":true,"ms":788,"seq":95,"at":"2026-09-09T03:47:59.441Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=You're connected, timeoutMs=30000)","surface":"spec-web","ok":true,"ms":465,"seq":96,"at":"2026-09-09T03:47:59.906Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Ready to use, timeoutMs=90000)","surface":"testkit-admin","ok":true,"ms":2049,"seq":97,"at":"2026-09-09T03:48:01.955Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":394,"seq":98,"at":"2026-09-09T03:48:02.349Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Back to task","surface":"testkit-admin","ok":true,"target":{"x":821,"y":213.6875,"width":335,"height":36},"seq":99,"at":"2026-09-09T03:48:02.576Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Back to task)","surface":"testkit-admin","ok":true,"ms":550,"seq":100,"at":"2026-09-09T03:48:02.899Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=violet-orbit-42, timeoutMs=120000)","surface":"testkit-admin","ok":true,"ms":14523,"seq":101,"at":"2026-09-09T03:48:17.422Z"},{"stage":"body","channel":"probe","verb":"toolCalls","detail":"toolCalls(read_connection_status)","ok":true,"ms":354,"seq":102,"at":"2026-09-09T03:48:17.776Z"},{"stage":"body","channel":"probe","verb":"desktopApi","detail":"desktopApi(GET /workspace/ws_a7f4cfaa55d6/opencode/session/ses_f7bbd9fc2ffe4Wnpq1uTRZxBnd/message)","surface":"testkit-admin","ok":true,"ms":225,"seq":103,"at":"2026-09-09T03:48:18.002Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":286,"seq":104,"at":"2026-09-09T03:48:18.289Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":101,"seq":105,"at":"2026-09-09T03:48:18.391Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":347,"seq":106,"at":"2026-09-09T03:48:18.738Z"},{"stage":"body","channel":"step","verb":"step","detail":"The admin saves once, signs in, and the original task uses the service","ok":true,"ms":52884,"seq":107,"at":"2026-09-09T03:48:18.738Z"},{"stage":"body","channel":"agent","verb":"send","detail":"send(87 chars)","surface":"testkit-member","ok":true,"ms":3222,"seq":108,"at":"2026-09-09T03:48:21.960Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net, timeoutMs=120000)","surface":"testkit-member","ok":true,"ms":2992,"seq":109,"at":"2026-09-09T03:48:24.952Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":180,"seq":110,"at":"2026-09-09T03:48:25.132Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":206,"seq":111,"at":"2026-09-09T03:48:25.839Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":207,"seq":112,"at":"2026-09-09T03:48:26.549Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":142,"seq":113,"at":"2026-09-09T03:48:27.193Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":140,"seq":114,"at":"2026-09-09T03:48:27.835Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":161,"seq":115,"at":"2026-09-09T03:48:28.496Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-member","ok":true,"ms":117,"seq":116,"at":"2026-09-09T03:48:29.114Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(member setup reply finishes before selecting its card)","ok":true,"ms":4162,"seq":117,"at":"2026-09-09T03:48:29.114Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net","surface":"testkit-member","ok":true,"target":{"x":628.5,"y":316.125,"width":96,"height":28},"seq":118,"at":"2026-09-09T03:48:29.327Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Set up 3979-qdzs6is04hws1ere.daytonaproxy01.net)","surface":"testkit-member","ok":true,"ms":573,"seq":119,"at":"2026-09-09T03:48:29.687Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(testId=connection-setup-sheet)","surface":"testkit-member","ok":true,"ms":216,"seq":120,"at":"2026-09-09T03:48:29.903Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=An organization admin or connection manager needs to set up this service and grant you access.)","surface":"testkit-member","ok":true,"ms":224,"seq":121,"at":"2026-09-09T03:48:30.127Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(label=Save and sign in)","surface":"testkit-member","ok":true,"ms":3134,"seq":122,"at":"2026-09-09T03:48:33.261Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(label=Sign in)","surface":"testkit-member","ok":true,"ms":3000,"seq":123,"at":"2026-09-09T03:48:36.261Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-member","ok":true,"ms":464,"seq":124,"at":"2026-09-09T03:48:36.725Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections)","ok":true,"ms":300,"seq":125,"at":"2026-09-09T03:48:37.025Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":305,"seq":126,"at":"2026-09-09T03:48:37.330Z"},{"stage":"body","channel":"step","verb":"step","detail":"An ordinary member cannot create or use the admin's private connection","ok":true,"ms":18592,"seq":127,"at":"2026-09-09T03:48:37.330Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Manage 3979-qdzs6is04hws1ere.daytonaproxy01.net","surface":"testkit-admin","ok":true,"target":{"x":628.5,"y":316.6875,"width":96,"height":32},"seq":128,"at":"2026-09-09T03:48:37.795Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Manage 3979-qdzs6is04hws1ere.daytonaproxy01.net)","surface":"testkit-admin","ok":true,"ms":490,"seq":129,"at":"2026-09-09T03:48:38.104Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Check connection)","surface":"testkit-admin","ok":true,"ms":188,"seq":130,"at":"2026-09-09T03:48:38.292Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Check connection","surface":"testkit-admin","ok":true,"target":{"x":821,"y":151.125,"width":335,"height":36},"seq":131,"at":"2026-09-09T03:48:38.472Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Check connection)","surface":"testkit-admin","ok":true,"ms":464,"seq":132,"at":"2026-09-09T03:48:38.756Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Sign-in is saved, but the service's tools could not be loaded. Try checking again., timeoutMs=90000)","surface":"testkit-admin","ok":true,"ms":528,"seq":133,"at":"2026-09-09T03:48:39.284Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Ready to use)","surface":"testkit-admin","ok":true,"ms":3396,"seq":134,"at":"2026-09-09T03:48:42.680Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":538,"seq":135,"at":"2026-09-09T03:48:43.218Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":377,"seq":136,"at":"2026-09-09T03:48:43.595Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Check connection","surface":"testkit-admin","ok":true,"target":{"x":821,"y":339.375,"width":335,"height":36},"seq":137,"at":"2026-09-09T03:48:44.190Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Check connection)","surface":"testkit-admin","ok":true,"ms":488,"seq":138,"at":"2026-09-09T03:48:44.491Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Ready to use, timeoutMs=90000)","surface":"testkit-admin","ok":true,"ms":661,"seq":139,"at":"2026-09-09T03:48:45.152Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":173,"seq":140,"at":"2026-09-09T03:48:46.518Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":466,"seq":141,"at":"2026-09-09T03:48:46.984Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Back to task","surface":"testkit-admin","ok":true,"target":{"x":821,"y":213.6875,"width":335,"height":36},"seq":142,"at":"2026-09-09T03:48:47.338Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Back to task)","surface":"testkit-admin","ok":true,"ms":968,"seq":143,"at":"2026-09-09T03:48:47.952Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Manage 3979-qdzs6is04hws1ere.daytonaproxy01.net)","surface":"testkit-admin","ok":true,"ms":222,"seq":144,"at":"2026-09-09T03:48:48.174Z"},{"stage":"body","channel":"step","verb":"step","detail":"A service outage preserves sign-in without claiming readiness","ok":true,"ms":10844,"seq":145,"at":"2026-09-09T03:48:48.174Z"},{"stage":"body","channel":"agent","verb":"createSession","detail":"createSession()","surface":"testkit-admin","ok":true,"ms":813,"seq":146,"at":"2026-09-09T03:48:48.987Z"},{"stage":"body","channel":"agent","verb":"send","detail":"send(163 chars)","surface":"testkit-admin","ok":true,"ms":2768,"seq":147,"at":"2026-09-09T03:48:51.755Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Set up Google Workspace, timeoutMs=120000)","surface":"testkit-admin","ok":true,"ms":5785,"seq":148,"at":"2026-09-09T03:48:57.540Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Set up Google Workspace","surface":"testkit-admin","ok":true,"target":{"x":613.5,"y":337.125,"width":96,"height":28},"seq":149,"at":"2026-09-09T03:48:57.727Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Set up Google Workspace)","surface":"testkit-admin","ok":true,"ms":509,"seq":150,"at":"2026-09-09T03:48:58.049Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Client ID)","surface":"testkit-admin","ok":true,"ms":181,"seq":151,"at":"2026-09-09T03:48:58.230Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Client secret)","surface":"testkit-admin","ok":true,"ms":327,"seq":152,"at":"2026-09-09T03:48:58.557Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Redirect URI)","surface":"testkit-admin","ok":true,"ms":276,"seq":153,"at":"2026-09-09T03:48:58.833Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(label=Connection name, \"Workspace OAuth setup\", replace)","surface":"testkit-admin","ok":true,"ms":734,"seq":154,"at":"2026-09-09T03:48:59.567Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":91,"seq":155,"at":"2026-09-09T03:48:59.658Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":103,"seq":156,"at":"2026-09-09T03:49:00.263Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":96,"seq":157,"at":"2026-09-09T03:49:00.860Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":167,"seq":158,"at":"2026-09-09T03:49:01.528Z"},{"stage":"body","channel":"probe","verb":"composer","detail":"composer","surface":"testkit-admin","ok":true,"ms":105,"seq":159,"at":"2026-09-09T03:49:02.134Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(real-model response finishes while setup stays open)","ok":true,"ms":2567,"seq":160,"at":"2026-09-09T03:49:02.134Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(label=Client ID)","surface":"testkit-admin","ok":true,"ms":356,"seq":161,"at":"2026-09-09T03:49:02.490Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":110,"seq":162,"at":"2026-09-09T03:49:02.600Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":178,"seq":163,"at":"2026-09-09T03:49:02.778Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"testkit-admin","ok":true,"ms":178,"seq":164,"at":"2026-09-09T03:49:02.956Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":535,"seq":165,"at":"2026-09-09T03:49:03.491Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":551,"seq":166,"at":"2026-09-09T03:49:04.042Z"},{"stage":"body","channel":"step","verb":"step","detail":"The same native sheet shows the required OAuth app fields","ok":true,"ms":15868,"seq":167,"at":"2026-09-09T03:49:04.042Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Close","surface":"testkit-admin","ok":true,"target":{"x":1117,"y":16,"width":32,"height":32},"seq":168,"at":"2026-09-09T03:49:04.339Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Close)","surface":"testkit-admin","ok":true,"ms":672,"seq":169,"at":"2026-09-09T03:49:04.714Z"},{"stage":"body","channel":"probe","verb":"dom","detail":"dom(\"[data-testid=\\\"connection-setup-sheet\\\"]\")","surface":"testkit-admin","ok":true,"ms":251,"seq":170,"at":"2026-09-09T03:49:04.965Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(native sheet finishes closing)","ok":true,"ms":251,"seq":171,"at":"2026-09-09T03:49:04.965Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(testId=connection-setup-sheet)","surface":"testkit-admin","ok":true,"ms":3037,"seq":172,"at":"2026-09-09T03:49:08.002Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Set up Google Workspace","surface":"testkit-admin","ok":true,"target":{"x":613.5,"y":317.5625,"width":96,"height":28},"seq":173,"at":"2026-09-09T03:49:09.070Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Set up Google Workspace)","surface":"testkit-admin","ok":true,"ms":730,"seq":174,"at":"2026-09-09T03:49:09.444Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=This OpenWork server doesn't support setup in the app yet.)","surface":"testkit-admin","ok":true,"ms":255,"seq":175,"at":"2026-09-09T03:49:09.699Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(label=Save and sign in)","surface":"testkit-admin","ok":true,"ms":3002,"seq":176,"at":"2026-09-09T03:49:12.701Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"testkit-admin","ok":true,"ms":305,"seq":177,"at":"2026-09-09T03:49:13.006Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Open organization setup","surface":"testkit-admin","ok":true,"target":{"x":821,"y":190.8125,"width":335,"height":36},"seq":178,"at":"2026-09-09T03:49:13.201Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Open organization setup)","surface":"testkit-admin","ok":true,"ms":469,"seq":179,"at":"2026-09-09T03:49:13.476Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(organization setup browser handoff)","ok":true,"ms":550,"seq":180,"at":"2026-09-09T03:49:14.026Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":300,"seq":181,"at":"2026-09-09T03:49:15.244Z"},{"stage":"body","channel":"step","verb":"step","detail":"An older server retains its organization setup path","ok":true,"ms":11203,"seq":182,"at":"2026-09-09T03:49:15.245Z"},{"stage":"body","channel":"user","verb":"navigate","detail":"navigate(/dashboard/mcp-connections)","surface":"spec-web","ok":true,"ms":170,"seq":183,"at":"2026-09-09T03:49:16.005Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Advanced setup","surface":"spec-web","ok":true,"target":{"x":1074.40625,"y":293.5,"width":93.59375,"height":18},"seq":184,"at":"2026-09-09T03:49:16.573Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Advanced setup)","surface":"spec-web","ok":true,"ms":947,"seq":185,"at":"2026-09-09T03:49:16.952Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(placeholder=notion, \"Den Diagnostic Service\", replace)","surface":"spec-web","ok":true,"ms":915,"seq":186,"at":"2026-09-09T03:49:17.867Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(placeholder=https://mcp.example.com/mcp, \"https://3979-qdzs6is04hws1ere.daytonaproxy01.net/mcp\", replace)","surface":"spec-web","ok":true,"ms":895,"seq":187,"at":"2026-09-09T03:49:18.762Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"spec-web","ok":true,"ms":102,"seq":188,"at":"2026-09-09T03:49:18.864Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"spec-web","ok":true,"ms":98,"seq":189,"at":"2026-09-09T03:49:19.464Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"spec-web","ok":true,"ms":99,"seq":190,"at":"2026-09-09T03:49:20.065Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(Den requirements allow creation)","ok":true,"ms":1303,"seq":191,"at":"2026-09-09T03:49:20.065Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=One org account","surface":"spec-web","ok":true,"target":{"x":634.5,"y":411,"width":184.5,"height":30},"seq":192,"at":"2026-09-09T03:49:20.267Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=One org account)","surface":"spec-web","ok":true,"ms":523,"seq":193,"at":"2026-09-09T03:49:20.588Z"},{"stage":"body","channel":"probe:raw","verb":"eval","detail":"[probe:raw] eval(<callback>)","surface":"spec-web","ok":true,"ms":105,"seq":194,"at":"2026-09-09T03:49:20.693Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(Den selects a shared account)","ok":true,"ms":105,"seq":195,"at":"2026-09-09T03:49:20.693Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Add connection","surface":"spec-web","ok":true,"target":{"x":685.828125,"y":672,"width":138.171875,"height":40},"seq":196,"at":"2026-09-09T03:49:20.988Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Add connection)","surface":"spec-web","ok":true,"ms":622,"seq":197,"at":"2026-09-09T03:49:21.315Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Den Diagnostic Service, timeoutMs=60000)","surface":"spec-web","ok":true,"ms":892,"seq":198,"at":"2026-09-09T03:49:22.207Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":494,"seq":199,"at":"2026-09-09T03:49:22.701Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=/MCP_OAUTH_INVALID_GRANT/, timeoutMs=45000)","surface":"spec-web","ok":true,"ms":2363,"seq":200,"at":"2026-09-09T03:49:25.064Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=/AUTH_TOKEN_ACQUISITION/)","surface":"spec-web","ok":true,"ms":251,"seq":201,"at":"2026-09-09T03:49:25.315Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(text=Waiting for authorization…)","surface":"spec-web","ok":true,"ms":3012,"seq":202,"at":"2026-09-09T03:49:28.327Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":467,"seq":203,"at":"2026-09-09T03:49:28.794Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"spec-web","ok":true,"ms":887,"seq":204,"at":"2026-09-09T03:49:29.681Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=More actions for Den Diagnostic Service","surface":"spec-web","ok":true,"target":{"x":1103.5,"y":617.75,"width":32,"height":32},"seq":205,"at":"2026-09-09T03:49:30.051Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=More actions for Den Diagnostic Service)","surface":"spec-web","ok":true,"ms":790,"seq":206,"at":"2026-09-09T03:49:30.471Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Edit Den Diagnostic Service","surface":"spec-web","ok":true,"target":{"x":966.5,"y":638.75,"width":162,"height":35.5},"seq":207,"at":"2026-09-09T03:49:30.763Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Edit Den Diagnostic Service)","surface":"spec-web","ok":true,"ms":724,"seq":208,"at":"2026-09-09T03:49:31.195Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=/A saved client ID does not confirm sign-in or tool access\\./)","surface":"spec-web","ok":true,"ms":269,"seq":209,"at":"2026-09-09T03:49:31.464Z"},{"stage":"body","channel":"user","verb":"see","detail":"see(text=Client authentication)","surface":"spec-web","ok":true,"ms":203,"seq":210,"at":"2026-09-09T03:49:31.667Z"},{"stage":"body","channel":"user","verb":"screenshot","detail":"screenshot","surface":"spec-web","ok":true,"ms":398,"seq":211,"at":"2026-09-09T03:49:32.065Z"},{"stage":"body","channel":"user","verb":"type","detail":"type(testId=edit-mcp-name, \"Renamed Diagnostic Service\", replace)","surface":"spec-web","ok":true,"ms":813,"seq":212,"at":"2026-09-09T03:49:32.879Z"},{"stage":"body","channel":"user","verb":"target","detail":"label=Save changes","surface":"spec-web","ok":true,"target":{"x":728.875,"y":664.9375,"width":127.125,"height":40},"seq":213,"at":"2026-09-09T03:49:33.160Z"},{"stage":"body","channel":"user","verb":"click","detail":"click(label=Save changes)","surface":"spec-web","ok":true,"ms":594,"seq":214,"at":"2026-09-09T03:49:33.473Z"},{"stage":"body","channel":"probe","verb":"dom","detail":"dom(\"[data-testid=\\\"edit-mcp-connection-dialog\\\"]\")","surface":"spec-web","ok":true,"ms":288,"seq":215,"at":"2026-09-09T03:49:33.761Z"},{"stage":"body","channel":"probe","verb":"dom","detail":"dom(\"[data-testid=\\\"edit-mcp-connection-dialog\\\"]\")","surface":"spec-web","ok":true,"ms":200,"seq":216,"at":"2026-09-09T03:49:34.464Z"},{"stage":"body","channel":"probe","verb":"eventually","detail":"eventually(Den saves and closes the edit dialog)","ok":true,"ms":991,"seq":217,"at":"2026-09-09T03:49:34.464Z"},{"stage":"body","channel":"user","verb":"notSee","detail":"notSee(testId=edit-mcp-connection-dialog)","surface":"spec-web","ok":true,"ms":3201,"seq":218,"at":"2026-09-09T03:49:37.665Z"},{"stage":"body","channel":"probe","verb":"api","detail":"api(GET /v1/mcp-connections?scope=manageable)","ok":true,"ms":369,"seq":219,"at":"2026-09-09T03:49:38.034Z"},{"stage":"body","channel":"step","verb":"step","detail":"Den settings display the same terminal OAuth failure","ok":true,"ms":23055,"seq":220,"at":"2026-09-09T03:49:38.300Z"}],"steps":[{"name":"A real model discovers setup without creating a connection","depth":0,"ok":true,"ms":21809,"seq":1},{"name":"The admin saves once, signs in, and the original task uses the service","depth":0,"ok":true,"ms":52884,"seq":2},{"name":"An ordinary member cannot create or use the admin's private connection","depth":0,"ok":true,"ms":18592,"seq":3},{"name":"A service outage preserves sign-in without claiming readiness","depth":0,"ok":true,"ms":10844,"seq":4},{"name":"The same native sheet shows the required OAuth app fields","depth":0,"ok":true,"ms":15868,"seq":5},{"name":"An older server retains its organization setup path","depth":0,"ok":true,"ms":11203,"seq":6},{"name":"Den settings display the same terminal OAuth failure","depth":0,"ok":true,"ms":23055,"seq":7}],"outcome":"passed"}

Comment on lines +133 to +135
if (!["https:", "http:"].includes(authorization.protocol)) throw new Error("The service returned an invalid sign-in link.")
setAuthorizeUrl(started.authorizeUrl)
await openDesktopUrl(started.authorizeUrl)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OAuth authorization URLs may be opened over plaintext HTTP

Reject non-HTTPS authorization URLs before passing them to the desktop shell, because an external MCP server or its discovered OAuth metadata can direct users to an HTTP endpoint where authorization data or credentials can be intercepted.

Evidence
  • startMcpConnectionConnect() returns an authorization URL produced from the external MCP connection's OAuth discovery/configuration.
  • The changed validation explicitly accepts both https: and http: URLs without checking the authorization server origin.
  • The accepted URL is passed directly to openDesktopUrl(), which invokes Electron's shell.openExternal and opens it in the user's browser.
  • A malicious or compromised MCP endpoint can therefore cause the task flow to open a plaintext OAuth page, exposing sign-in traffic or authorization data to network observers.

Identified by Warden · diff-security-review · 35Z-Q93

This branch was successfully deployed

5 active deployments
staging - packages/docs — b7bcb9e5 Deployed Sep 9, 2026 by mintlify[bot]
Preview – openwork-den — b7bcb9e5 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-landing — b7bcb9e5 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-app — b7bcb9e5 Deployed Sep 9, 2026 by vercel[bot]
Preview – openwork-diagnostics — b7bcb9e5 Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants