Skip to content

Add private Rivet setup and public OIDC PKCE support - #11

Merged
zrm625 merged 5 commits into
mainfrom
cleanup/rivet-integration-20261013
Oct 16, 2026
Merged

zrm625 merged 5 commits into
mainfrom
cleanup/rivet-integration-20261013

Conversation

@zrm625

@zrm625 zrm625 commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Adds owner-only Rivet setup to selfhost, an explicit read-only MCP health probe, and public OIDC clients with PKCE. Setup uses a server-held management credential, exact owner identity, and same-origin writes. Public OIDC preserves confidential clients, verified-domain admission, password login, and account linking.

The coordinated repair binds setup status and handoffs to an independent HTTPS management endpoint, supporting separate phone/MCP ports and private IPv6 while retaining TLS validation, DNS/family pinning, and redirect refusal. Upstream failures keep the owner retry UI usable. MCP candidates intersect compatible catalogs across connections, preserve JSON argument types, classify invocation auth walls, and extract identity from later JSON text blocks. The producer contract is in Rivet #7.

Validation on isolated current-main integration snapshots: format, lint, all 45 package typechecks, route/patch checks, production build, and 13 shard tests pass. The 39-package local run covers 4,208 tests with the public-OIDC file explicitly excluded; the final ordinary run failed five unchanged cloud database/timeout cases. All 510 cloud tests pass separately in a private network namespace, and an earlier complete serial run passed. This is bounded fixture-isolation evidence, not a claim that the ordinary full command was green. The separate hosted public-OIDC suite passes all 16 tests against a fresh Okta emulator instance with PKCE/ledger assertions and verified reset cleanup. Native split-TLS Rivet/browser integration and success/failure teardown checks pass.

Deploy/publish/release workflows remain disabled on this fork; Fork CI is active. Qualify the producer before enabling owner setup. Preserve producer state during rollback. Real phone/account acceptance and deployment remain outside this PR. Keep the PR open and unmerged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T04:29:51.560869Z 98f0a32 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98f0a328e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/host-selfhost/docs/rivet.md Outdated
Comment thread apps/host-selfhost/src/rivet-setup.ts Outdated
Comment thread packages/plugins/mcp/src/sdk/plugin.ts Outdated
Comment thread e2e/selfhost/rivet-setup-ui.test.ts
Comment thread packages/plugins/mcp/src/sdk/plugin.ts Outdated
Comment thread apps/host-selfhost/src/auth/sso-public.test.ts Outdated
Comment thread apps/host-selfhost/web/rivet-setup-state.ts Outdated
Comment thread packages/plugins/mcp/src/sdk/health-probe.ts Outdated
Comment thread packages/plugins/mcp/src/sdk/plugin.ts
Comment thread apps/host-selfhost/src/rivet-setup.ts
@zrm625
zrm625 merged commit ed399b5 into main Oct 16, 2026
1 check passed
@zrm625
zrm625 deleted the cleanup/rivet-integration-20261013 branch October 16, 2026 17:38
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