Skip to content

docs: correct the first-run setup instructions (#1791) - #1805

Merged
vybe merged 1 commit into
devfrom
docs/1791-first-run-setup-accuracy
Jul 27, 2026
Merged

vybe merged 1 commit into
devfrom
docs/1791-first-run-setup-accuracy

Conversation

@dolho

@dolho dolho commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

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

Doc said Reality Source
password "minimum 8 characters" 12, plus complexity (upper, lower, digit, special, not a common password) utils/password_validation.py — MIN_LENGTH = 12, PASSWORD_REQUIREMENTS_MESSAGE
no mention of an admin email required — it is the sign-in identity SetupPassword.vue ("Admin email *", "You'll sign in with this email"), routers/setup.py (400 on blank/invalid)
"Log in with username admin" the admin email works too (#82) verified live: both return a token
"Settings → API Keys" no such tab. Model key is under Settings → Integrations → API Keys Settings.vue:587 opens the integrations block; the Anthropic field is inside it at :597
http://localhost:3000 (onboarding) http://localhost — 3000 is a Vite dev port FRONTEND_PORT=80 in .env.example

The 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:

  • Model API key (Anthropic/Google) → Settings → Integrations → API Keys
  • MCP API key → the separate MCP Keys tab

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 pointer
  • AGENTS.md — setup one-liner; MCP-key pointer
  • docs/onboarding/01-getting-started.md — Web UI URL, admin-account steps, login step

Relationship to #1788 / #1797

The fourth item in #1791 — the README naming SECRET_KEY as the required .env edit when ADMIN_PASSWORD is 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.md and AGENTS.md but 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

Fixes #1791

🤖 Generated with Claude Code

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 vybe left a comment

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.

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.

@vybe
vybe merged commit 8fe172b into dev Jul 27, 2026
21 checks passed
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.

2 participants