ADR 0430: First-run answers are per-sign-in preferences, not site settings
- Status: Accepted
- Date: 2026-11-16
- Builds on: ADR 0429, ADR 0415
- Spec: Studio ONB1
Context#
The questions About your blog asks ("What will you mostly write?") and the areas they tuck away are
about what one person wants to see, not about what the site publishes. The old Admin kept per-account
Personalize preferences (version 1) in .openblog/private/admin-preferences/<sha256>.json; R15
retired its GET|PUT preferences route and tests that it answers 404.
Decision#
- Version 2 of the same private file, one per sign-in:
schemaVersion: 2,onboarding: { state: pending | done | skipped, version, at },kind,answers(question → choice),areas: { shown, hidden },showEverythingandstoryMarks. Every other key the file had is kept on a save, so R9's reading ofvoiceInvitationDismissedis unchanged. 0600, replaced atomically, never built, never inopenblog.json, feeds or exports. - A new route,
GET|PUT areas, not the retired one: same 16 KiB limit, a revision (etag) that a save must name, 409stalewith the newer preferences. Unknown questions, choices, areas and kinds are dropped, never stored. Owner sign-ins only. - No file is
pending, with nothing hidden. Getting started opens About your blog first while a sign-in is pending; nothing else asks, so a site with Getting started off sees no change. - A v1 file is a sign-in already set up (
done). Studio never honoured the old presets, so they aren't applied now:fullbecomes Show everything, theresearch/evidencepanes become Research andanalyticsReaders; nothing else carries over. It is read as v2 in memory and written as v2 only on a save. openblog init --kindrecords the kind in.openblog/onboarding.jsonas a hint Studio preselects; each sign-in still answers for itself.
Consequences#
- Grammi and Mikey on one site see different Studios.
- A rehearsal (Getting started's practice run) applies answers to that window only, so nothing of hers is decided by whoever rehearses.