First-run onboarding with multi-provider credentials - #5
Merged
Conversation
TheGreatAxios
force-pushed
the
cl-first-run-flow
branch
from
August 9, 2026 01:46
a386b70 to
202718f
Compare
Contributor
Author
Self-critique (orchestrator)Verdict: likely merge-ready after CI + greybeard/bruckheimer Looks good
Verify
|
TheGreatAxios
force-pushed
the
cl-first-run-flow
branch
2 times, most recently
from
August 9, 2026 02:05
27a1290 to
a60b169
Compare
Covers proving an Anthropic key with a real call before it's stored, seeding a personal bench once it checks out, and the route-level error envelopes for an anonymous request, a missing key, and a rejected one.
First-run no longer stops at "no credential configured": a signed-up user with no seed model lands on a guided step that asks for their own Anthropic key, proves it with a real call through Interchange's own Anthropic adapter before anything is stored, and — once it checks out — seeds their personal bench and confirms the default routines actually answer, all without leaving the page. A bad key is rejected with Anthropic's own reason, never a bare failure; a good key's owner lands on a screen showing exactly which routines are now live, with one click into their starter channel.
Explains that a signed-up user with no hub-owned seed key isn't left without routines — onboarding walks them through adding and proving their own key on the spot.
Covers testing a key against Anthropic, OpenAI, or Google through each provider's own adapter; a test-only endpoint that never stores anything; and seeding that skips the Anthropic-only catalog for other providers while still deploying and confirming routines with them.
The credential step no longer assumes Anthropic: a provider picker drives which of Interchange's own adapters proves the key, and the default routines deploy against whichever provider and key the user chose. The onboarding-owned /credential endpoint is gone. Testing a key is now a side-effect-free /credential/test that stores nothing, and finishing setup is a /complete call that plants the credential through the hub's own POST /api/tenants/:id/credentials route via the existing seeding path — never a second, onboarding-specific way to store one.
Notes the provider picker and that the browsable model catalog is still Anthropic-only, even though credentials and routines work for any of the three.
TheGreatAxios
force-pushed
the
cl-first-run-flow
branch
from
August 9, 2026 02:28
a60b169 to
a544df9
Compare
Contributor
Author
|
Greybeard: MERGE — prove-then-store credentials; multi-provider; non-Anthropic catalog skip intentional. |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Onboard a new user straight to a fired routine; credentials support Anthropic, OpenAI, and Google.
Test plan