Skip to content

Provide useful service connectors with setup and Chat before connection - #4305

Merged
reachjalil merged 6 commits into
feature/connected-service-actionsfrom
feature/connector-catalog-popular-first
Sep 9, 2026
Merged

reachjalil merged 6 commits into
feature/connected-service-actionsfrom
feature/connector-catalog-popular-first

Conversation

@reachjalil

@reachjalil reachjalil commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Provide working service connectors with useful operations, reliable setup, and personal readiness. Native service management is implemented in companion #4693; narrowing descriptions is not the completion criterion. Chat remains available before connection for planning and setup help. It seeds an unsent draft and does not authorize account access or writes.

  • Popular-first catalog with complete inventory/filtering, configured list, and service-specific detail pages.
  • The earlier Google/Sheets/date-wide copy restrictions are superseded by the real service operations in Add working Gmail, Calendar, Drive, Sheets, and Microsoft 365 actions #4693. Reconcile the catalog copy with that implementation during integration; removing service claims is not a substitute for functionality.
  • Explain Slack app eligibility, GitHub OAuth/PAT choices, and anonymous-service limits.
  • Preserve Chat during setup loading/failure; provide retry instead of a named empty custom form.
  • Use personal readiness with setup, issuer-review, and reconnect precedence.
  • Include native Microsoft/Google configurations after reload, and edit the exact selected Microsoft connection.
  • Make OAuth startup outcomes explicit, retain recovery controls, and preserve selected authentication during discovery.
  • Preserve GitHub PAT compatibility; separate strict new-setup validation from stored-connection compatibility.
  • Roll back only the newly created record after failed initial API-key/anonymous validation.
  • Keep detail menus reachable; omit creator name/email from the new Information facts.
  • Regenerate the SDK for optional supported authentication metadata.

#4541's overlapping inventory/readiness work is incorporated here. Coordinate that PR rather than landing it independently. #4342 remains separate provided-Google-client work and needs reconciliation with this parent. No production provider accounts, credentials, merges, or releases are included.

Service functionality — companion #4693

#4693 implements 32 native operations: Gmail sending and mailbox/label/draft management; Calendar read/edit/cancel; Drive folders, moves, trash/restore and paginated/date-filtered search; Sheets creation and cell read/write/append; and core Outlook/OneDrive management. It preserves selected-account identity and administrator permission controls. Existing draft-only access does not automatically enable sending.

The exact-head gateway journey on 3a2df689122a085b98238387ef07b0a2f7d8e974 passes: 33 discoverable contracts, five actual provider-witness mutations, read-only and confirmation denials, alternate-account isolation, and administrator write revocation. Published eight-group evidence. This is executable backend functionality, not copy-only work; real-provider certification and the UI evidence gap below remain separate. Deliver the service implementation alongside this UI outcome.

Review comments addressed

At 7a7563c431e2cfa148f07a984056e4be2976ecd8:

  • Creator attribution: Added now contains only the date. Negative tests cover names and email fallbacks in the Information facts.
  • Legacy GitHub compatibility: previously accepted stored none bindings remain discoverable and retain their identity on reimport. New anonymous plugin configuration is rejected; explicit OAuth still blocks an incompatible connection. The existing boundary journey checks the persisted row and desktop MCP server index.
  • The subsequent visible-versus-runtime listing comment was checked against the merge base: the listing route and includeAuthMismatches behavior already existed and are unchanged. A reply documents the comparison and the boundary assertions; the thread is resolved.

All current review threads are resolved. This does not replace executable proof or authorize merging.

Verification — Incomplete

Head: 7a7563c431e2cfa148f07a984056e4be2976ecd8.
Rebased onto dev@9a8aeba852a91426e3142222d140f46c4a28ded8; four signed commits.

Passed on this head

Check Result
pnpm evals:pr specs/plugin-mcp-connector-parity.test.ts 2 passed, 0 failed, 0 skipped; real isolated local Den/MySQL/Redis. Includes legacy GitHub discovery, rejection of new anonymous setup, and explicit OAuth enforcement.
pnpm evals:e2e connector-catalog with the exact OPENWORK_EVAL_REF below 1 passed, 0 failed, 0 skipped; cold-boot Daytona, 388.74s. Full discovery/filtering, actual OS-to-Den setup handoff, new-task submission, and disconnected Chat producing an unsent draft without extra authorization/tool/model calls.
test/github-plugin-mcp-auth.test.ts 8 passed, 48 assertions.
test/external-mcp-readiness.test.ts 5 passed, 54 assertions.
tests/connector-detail.test.ts 15 passed, 77 assertions.
Selected marketplace-cloud-readiness.test.ts reimport regression 1 passed, 10 assertions, 33 unrelated tests filtered out; fresh isolated schema, mocked provider boundary.

Focused commands:

pnpm --filter @openwork-ee/den-api exec bun test --conditions development test/github-plugin-mcp-auth.test.ts
pnpm --filter @openwork-ee/den-api exec bun test --conditions development test/external-mcp-readiness.test.ts
pnpm --filter @openwork-ee/den-web exec bun test --conditions development tests/connector-detail.test.ts
DATABASE_URL=<fresh-isolated-test-database> pnpm --filter @openwork-ee/den-api exec bun test --conditions development --test-name-pattern 'GitHub reimport preserves stored none with either credential-mode default and rejects explicit OAuth' test/marketplace-cloud-readiness.test.ts

Remaining tooling/evidence gap

den-connector-catalog completed its functional assertions: inventory, disconnected Chat, filtering/service identity, Microsoft setup persistence, personal readiness, usable detail controls, creator-attribution exclusion, the injected /mcp 503 witness, recovery UI, and no false success notice. Its final Page.captureScreenshot timed out after 59,636ms. The runner therefore recorded 0 passed, 1 failed, 0 skipped, exit 1, in 448.96s. It is not counted as a passing journey.

Both E2E commands printed placement: daytona (daytona CLI authenticated):

env -u OPENWORK_EVAL_DEN_API_URL -u OPENWORK_EVAL_DEN_WEB_URL OPENWORK_EVAL_REF=7a7563c431e2cfa148f07a984056e4be2976ecd8 pnpm evals:e2e den-connector-catalog
env -u OPENWORK_EVAL_DEN_API_URL -u OPENWORK_EVAL_DEN_WEB_URL OPENWORK_EVAL_REF=7a7563c431e2cfa148f07a984056e4be2976ecd8 pnpm evals:e2e connector-catalog

The old functional failures are resolved: the fault fixture now uses its root URL rather than the Den API prefix; the new-task step types and clicks Run task instead of invoking a session-only control. No assertions were weakened.

The reimport test initially could not initialize against an old shared test schema. It subsequently passed on a fresh owned schema; the shared database was not migrated. All owned test databases/services and all six final E2E sandboxes were cleaned up.

Evidence

The verification summary records the full selection and remaining gap. Original exact-head run directories under evals/results/test-runs/:

  • 2026-09-09T18-58-47-684Z-a-plugin-s-mcp-server-is-configured-like-a-connector-and-leaves-the-connectors-l
  • 2026-09-09T18-59-13-682Z-persisted-github-no-auth-bindings-stay-discoverable-without-allowing-new-anonymo
  • 2026-09-09T18-58-25-545Z-den-catalog-shows-its-full-inventory-preserves-service-identity-and-keeps-accoun
  • 2026-09-09T19-06-06-348Z-chat-suggests-slack-setup-and-lets-an-admin-browse-every-quick-add-connector

Full composed-report upload remains unavailable in the local verification environment: the review publishing credential requires Infisical sign-in. The summary is not represented as a completed private report upload. Complete the screenshot run/report publication before claiming full merge-readiness proof.

Live sign-in/tool execution/refresh across all providers remains separate from hermetic PR verification and requires approved accounts/apps. This PR does not claim universal provider availability or full provider API parity.

@vercel

vercel Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Sep 9, 2026 8:27pm UTC
openwork-den Ignored Ignored Preview Sep 9, 2026 8:27pm UTC
openwork-diagnostics Ignored Ignored Preview Sep 9, 2026 8:27pm UTC
openwork-landing Ignored Ignored Preview Sep 9, 2026 8:27pm UTC

@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from f6b1be2 to 8305314 Compare September 2, 2026 18:09
@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from 8305314 to a1cf769 Compare September 3, 2026 00:18
@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from a1cf769 to 7caf2ce Compare September 3, 2026 22:12
@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from 7caf2ce to f829f34 Compare September 4, 2026 18:49
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 4, 2026 18:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 4, 2026 18:50 Inactive
@reachjalil reachjalil changed the title feat(den): popular-first connector catalog with a configured page and chat handoff feat(den): connectors UI — popular-first catalog, connector detail page, and flat header Sep 4, 2026
@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from f829f34 to 097bf68 Compare September 4, 2026 18:54
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 4, 2026 18:54 Inactive
@reachjalil reachjalil changed the title feat(den): connectors UI — popular-first catalog, connector detail page, and flat header Make connector discovery and setup accurate, with Chat before connection Sep 9, 2026
@reachjalil
reachjalil force-pushed the feature/connector-catalog-popular-first branch from 445e55b to 7a7563c Compare September 9, 2026 18:57
@reachjalil reachjalil changed the title Make connector discovery and setup accurate, with Chat before connection Provide useful service connectors with setup and Chat before connection Sep 9, 2026
function accessLabel(connection: ExternalMcpConnection, orgName: string): string | null {
const access = connection.access;
if (!access) return null;
if (access.orgWide) return `Everyone in ${orgName}`;

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.

Connector details disclose the customer organization name

This new access fact renders the customer organization's name on the connector detail page.

Evidence
  • mcp-connections-screen.tsx passes orgContext?.organization.name into connectorDetailFacts as orgName.
  • DenOrgSummary.name is the organization's customer-provided display name.
  • accessLabel interpolates that value when the connection is organization-wide, making it visible in the generated facts table.

Identified by Warden · confidentiality-review · 9NV-PQN

@reachjalil
reachjalil merged commit dab1027 into feature/connected-service-actions Sep 9, 2026
16 checks passed
reachjalil added a commit that referenced this pull request Sep 9, 2026
…on (#4305)

* feat(den): make connector discovery and setup readiness accurate

* test(den): distinguish native client setup from account authorization

* test(app): wait for an empty transcript before catalog discovery

* fix(connectors): preserve legacy discovery and limit detail attribution

* fix(connectors): describe the implemented service management

* fix(evals): foreground the selected page before screenshot capture
reachjalil added a commit that referenced this pull request Sep 9, 2026
…on (#4305)

* feat(den): make connector discovery and setup readiness accurate

* test(den): distinguish native client setup from account authorization

* test(app): wait for an empty transcript before catalog discovery

* fix(connectors): preserve legacy discovery and limit detail attribution

* fix(connectors): describe the implemented service management

* fix(evals): foreground the selected page before screenshot capture
reachjalil added a commit that referenced this pull request Sep 9, 2026
…#4693)

* feat(connectors): manage mail calendars files and spreadsheets

* Provide useful service connectors with setup and Chat before connection (#4305)

* feat(den): make connector discovery and setup readiness accurate

* test(den): distinguish native client setup from account authorization

* test(app): wait for an empty transcript before catalog discovery

* fix(connectors): preserve legacy discovery and limit detail attribution

* fix(connectors): describe the implemented service management

* fix(evals): foreground the selected page before screenshot capture

* fix(connectors): preserve legacy OAuth readiness for desktop clients

* fix(connectors): separate legacy readiness from execution requirements

* fix(connectors): preserve secure discovery and verify service actions

* fix(connectors): preserve query-specific desktop readiness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants