From 6e430434393032d4bb04cf701f1da795dca7831f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Sep 2026 06:18:06 +0000 Subject: [PATCH] docs(auth): restate bootstrap-status as the bootstrap-window question, not "any user yet" (#14357) --- content/docs/permissions/authentication.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/docs/permissions/authentication.mdx b/content/docs/permissions/authentication.mdx index d8495a3f01..e03713a796 100644 --- a/content/docs/permissions/authentication.mdx +++ b/content/docs/permissions/authentication.mdx @@ -247,8 +247,9 @@ console.log('Current user:', session.data.user); ### First-run bootstrap status -`GET /api/v1/auth/bootstrap-status` answers one question — does this environment -have any user yet? +`GET /api/v1/auth/bootstrap-status` answers 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 legacy `usr_system` row) do not count. ```typescript const res = await fetch('http://localhost:3000/api/v1/auth/bootstrap-status'); @@ -1072,7 +1073,7 @@ All endpoints are available under `/api/v1/auth/*`: #### Session - `GET /api/v1/auth/get-session` - Get current user session -- `GET /api/v1/auth/bootstrap-status` - Public, unauthenticated first-run probe: `{ "hasOwner": boolean }`, telling a client whether this environment has any user yet ([details](#first-run-bootstrap-status)) +- `GET /api/v1/auth/bootstrap-status` - Public, unauthenticated first-run probe: `{ "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 ([details](#first-run-bootstrap-status)) #### Password Management