docs: name locuscompare as the read-only serving account#32
Merged
Conversation
Junbin provisioned a dedicated read-only account (`locuscompare`). Promote it to THE serving account in the connect how-to + .env.example; demote the public `locusview_test` demo login to exploration-only. - how-to §0: new `locuscompare` section (password via secret store / gitignored .env, never committed); verified read-only + PII-safe (990 SELECT/USAGE grants, `user` denied). Old §0 demo → §0b, marked superseded. - Access-model table + §2 note + §4 env block/URL updated to `locuscompare`. - .env.example: user=locuscompare, port=31987, host filled; password stays blank. No secret committed (verified: password only in gitignored .env). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gaojunbin
approved these changes
Jul 7, 2026
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
Junbin provisioned a dedicated read-only account,
locuscompare. This promotes it to the serving account in the connect how-to and.env.example, and demotes the publiclocusview_testdemo to exploration-only.locuscomparesection: password via the secret store / gitignored.env(never committed); the app reads it from.envautomatically. Verified read-only + PII-safe (SHOW GRANTS→ 990SELECT/USAGE, no writes;usertable denied,ERROR 1142). The old demo account moves to §0b, marked superseded.locuscompare..env.example:USER=locuscompare,PORT=31987, host filled; password stays blank.Why
The credential now lives in the secret layer, not in a doc — the difference between "works in dev" and "how production connects" (ADR-0008). The demo login stays only for quick public exploration.
Safety
git grepconfirms the real password is in no tracked file — it exists only in the gitignored.env. This PR changes only docs.