Uh oh!
There was an error while loading. Please reload this page.
docs(auth): restate bootstrap-status as the bootstrap-window question, not "any user yet" (#14357) - #14429
Merged
Conversation
…, not "any user yet" (#14357)
baozhoutao
marked this pull request as ready for review
September 2, 2026 06:59
baozhoutao
enabled auto-merge
September 2, 2026 07:00
Uh oh!
There was an error while loading. Please reload this page.
baozhoutao
deleted the
claude/issue-14357-bootstrap-status-docs-window
branch
September 2, 2026 07:26
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 freeto 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.
Fixes#14357
What changed
Two sentences in
content/docs/permissions/authentication.mdxdescribedbootstrap-statusas answering "does this environment have any user yet?" — the pre-#14157 question. The handler doesn't answer that; it answers whether the admission gate's bootstrap window is open (no human user yet — service rows such as the legacyusr_systemrow don't count). This restates both sentences to match the handler, without touching anything else in the section.Handler as the source of truth (
packages/plugins/plugin-auth/src/auth-plugin.ts:2025):hasBootstrapWindow()(auth-manager.ts:4148) resolves toisBootstrapCreation(), keyed onisHumanUserRow— a service row doesn't count as "has a user."Before / after
### First-run bootstrap status(line 251)GET /api/v1/auth/bootstrap-statusanswers one question — does this environment have any user yet?"GET /api/v1/auth/bootstrap-statusanswers one question — is the admission gate's bootstrap window open, i.e. does this environment have no human user yet? Service rows (such as the legacyusr_systemrow) do not count."Endpoint index (line 1075)
{ "hasOwner": boolean }, telling a client whether this environment has any user yet"{ "hasOwner": boolean }, telling a client whether the admission gate's bootstrap window is still open — i.e. whether this environment has no human user yet"Everything else in the section — public/unauthenticated by design, boolean-only response, the Console's
/loginvs/setuprouting, and the fails-open behavior — is unchanged; it was already accurate.Scope
Docs-only, no code touched. No changeset — this doesn't change any package's shipped behavior (
skip-changesetlabel applied).Gates
Derived via
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands content/docs/permissions/authentication.mdx— 30 families. Reconciled via--ran: 29 RAN-PASS, 1 NOT-MEASURED.check-ci-filter-parity,check-cross-package-test-inputs(node + pnpm),check-doc-frontmatter,check-doc-route-spelling,check-docs-section-name,check-section-landing-index,check-shard-attestation,check:doc-formula-expressions,check:doc-security-posture,@objectstack/spec check:docs,check:empty-state,check:liveness,check:skill-examples,check:strictness-ledger,check:variant-docs,check:yaml-examples,check:corpus-claim-drift,check:doc-anchors,check:doc-authoring,check:docs-audit-scope,check:docs-redirects,check:docs-single-h1,check:merge-driver,check:published-readme-links,check:react-page-adapter-contract,check:role-word,check:skill-identifier-liveness,check:vendor-version-stampsnode scripts/check-test-completeness.mjs— needs a savedturbo run testlog; CI tees it, local run with no argument exits 3 (PREREQUISITE NOT MET) by the gate's own design.Head sha at gate time:
6e4304343.Generated by Claude Code