Repository navigation
docs: correct the first-run setup instructions (#1791) - #1805
Merged
Merged
Conversation
Every step of the documented first-run flow was stale against v0.8.5, so a new user following it hits a rejected password, an unmentioned required field, and a Settings tab that does not exist. - Password minimum is 12, not 8 (utils/password_validation.py: MIN_LENGTH = 12), and complexity is enforced too — upper, lower, digit, special, not a common password. Docs now say so, since a 12-char all-lowercase password is still rejected. - The wizard requires an **admin email** as the sign-in identity (SetupPassword.vue, routers/setup.py). It was missing from the steps entirely. - Login: the admin email works, and so does the username `admin` (#82); both are now documented rather than just the latter. - "Settings → API Keys" is not a tab. The model key lives under **Settings → Integrations → API Keys**; the separate **MCP Keys** tab is where MCP keys live. Two references that meant MCP keys pointed at the wrong place and are corrected to MCP Keys. - docs/onboarding: the Web UI URL was http://localhost:3000 (a Vite dev port). The frontend serves on FRONTEND_PORT=80 → http://localhost. The remaining item from #1791 — naming SECRET_KEY as the required .env edit when ADMIN_PASSWORD is what actually blocks the install — is already fixed on the #1788 branch, which rewrote that block. Verified against the running 0.8.5 instance: email login and `admin` login both return a token, and the Anthropic key field sits in the integrations tab block (Settings.vue). Related to #1791 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
vybe
approved these changes
Jul 27, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
Validated via /validate-pr: every doc claim checked against code (MIN_LENGTH=12 + OWASP composition in utils/password_validation.py, admin-email setup step per #82, Settings→Integrations→API Keys / MCP Keys tabs). Docs-only, CI green. Approving as a release-day docs fix.
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.
What
Corrects the documented first-run flow, which was stale at every step against v0.8.5. Docs only.
Each claim, checked against the code
utils/password_validation.py—MIN_LENGTH = 12,PASSWORD_REQUIREMENTS_MESSAGESetupPassword.vue("Admin email *", "You'll sign in with this email"),routers/setup.py(400 on blank/invalid)admin"Settings.vue:587opens theintegrationsblock; the Anthropic field is inside it at :597http://localhost:3000(onboarding)http://localhost— 3000 is a Vite dev portFRONTEND_PORT=80in.env.exampleThe complexity requirement matters on its own: a user who reads "minimum 12 characters" and picks a 12-character all-lowercase password still gets rejected, so the docs now state the full rule.
The two "API Keys" are different things
Worth calling out for review — the old wording conflated them:
Two references that clearly meant MCP keys (
AGENTS.md:104,README.md:631) pointed at "Settings → API Keys" and now say MCP Keys.Files
README.md— first-time-setup steps; MCP-key pointerAGENTS.md— setup one-liner; MCP-key pointerdocs/onboarding/01-getting-started.md— Web UI URL, admin-account steps, login stepRelationship to #1788 / #1797
The fourth item in #1791 — the README naming
SECRET_KEYas the required.envedit whenADMIN_PASSWORDis what actually blocks the install — is already fixed on the #1788 branch (PR #1797), which rewrote that block. This PR deliberately leaves it alone.Both branches touch
README.mdandAGENTS.mdbut in different sections (install block vs first-run steps), so they should merge cleanly in either order. Worth a glance if they land far apart.Verification
POST /api/tokensucceeds with both the admin email andadmin.Fixes #1791
🤖 Generated with Claude Code