Skip to content

fix(apps): resolve direct Connect launches through the private host - #4864

Merged
reachjalil merged 3 commits into
fix/app-conversation-ownershipfrom
fix/direct-app-resources
Sep 10, 2026
Merged

reachjalil merged 3 commits into
fix/app-conversation-ownershipfrom
fix/direct-app-resources

Conversation

@reachjalil

@reachjalil reachjalil commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Dependency

Stacked on #4863 (fix/app-conversation-ownership). This delta uses its live launch/context contract; merge and revalidate bottom-up.

Summary

Resolve managed exposed-direct Connect App launches through their authorized private connection instead of attempting private UI resource reads with the ordinary bearer.

  • Require an unambiguous authoritative catalog descriptor and matching runtime projection; prefixes or caller-provided routing hints are not sufficient.
  • Revalidate the original native tool and UI binding, forward the conversation origin, and bind exactly once with the private configuration fingerprint.
  • Retain both the private and original direct policy namespaces inside the host-owned lease. Follow-up calls cannot lose a deny merely because the transport switched to the private host.
  • Reject duplicate connection identities, including descriptors with different names or URLs. Keep ordinary external-client resource denial and configured-MCP behavior unchanged.

Verification

Signed head: fe4e440cb398ec20d40df136051298c39164d61c.
Exact parent-PR base: b067e9a174725085dbcebcf3c3ff963f0b597157.

Passed on that exact head, exit 0:

  • pnpm --filter openwork-server exec bun --conditions=development test src/mcp-app-host.test.ts src/connect-mcp-server-catalog.test.ts — 77 passed, 0 failed/skipped.
  • pnpm --filter openwork-server typecheck.
  • Diff whitespace and signatures for both delta commits.

The regression reproduced resource_read_failed before the fix. Synthetic witnesses now cover a successful lease-bearing private read/callback, ordinary-bearer resource rejection, denied direct-name helpers with zero provider calls, and forged duplicate-identity rejection.

Verdict and remaining coverage

Incomplete. No full Desktop/Den journey was run. Focused tests cross synthetic HTTP boundaries but are not published head-matching product-journey evidence. No live providers or enterprise deployment were exercised.

The separate audience/helper PR #4865 builds on this policy-identity contract and replaces diagnostic-only policy collection with effective ordered allow/ask/deny decisions. This PR does not widen App tool audiences or connector grants. Hosted CI/review are pending. No merge or deployment is included.

@vercel

vercel Bot commented Sep 10, 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 10, 2026 11:08pm UTC
openwork-den Ready Ready Preview Sep 10, 2026 11:08pm UTC
openwork-diagnostics Ready Ready Preview Sep 10, 2026 11:08pm UTC
openwork-landing Ready Ready Preview, v0 Sep 10, 2026 11:08pm UTC

@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 10, 2026 22:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 10, 2026 22:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 10, 2026 22:42 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 10, 2026 22:42 Inactive
@reachjalil
reachjalil force-pushed the fix/app-conversation-ownership branch from 65295c3 to b067e9a Compare September 10, 2026 22:48
@reachjalil
reachjalil force-pushed the fix/direct-app-resources branch from efa344d to fe4e440 Compare September 10, 2026 22:52
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 10, 2026 22:52 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 10, 2026 22:52 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 10, 2026 22:52 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 10, 2026 22:52 Inactive
* fix(connect): enforce MCP tool audiences across App helpers

* fix(app): honor ordered permissions for MCP App calls

* fix(app): compose direct and private App permissions

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — 1fdc5095 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — 1fdc5095 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — 1fdc5095 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — 1fdc5095 Deployed Sep 10, 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.

1 participant