Skip to content
open.blog documentation
open.blog

Retiring the old Admin (2026-11-13)

By studio-architect. The owner's decision: web/admin/ and everything it serves goes. Studio (web/studio/) does every job the old Admin did, redesigned around the job, not copied. This replaces the "keep the rarely used tools in the old Admin" decision in parity-audit.md.

Sources: web/admin/admin.js route dispatch (l.12350–12381), canonicalAdminHash (l.301), editor panes (l.22519), palette (l.12095), Advanced tools (l.11961), Personalize (l.12011); the route table in crates/openblog-cli/src/admin.rs (l.593–1140); web/studio/screens/index.js, tools.js.

Status after R15 (2026-11-15): every row is covered or drop.

Status: covered (Studio screen named) · partial (what's missing) · missing · drop (why).

1. Inventory: the definition of done#

A. Shell and whole-Admin behaviour (admin.js)#

Old AdminDoesAPIStudio
Sign-in formUsername/passwordlogincovered: screens/signin.js
Session endedSign in again, work keptsessioncovered: shell "Sign in again" dialog
Sign outlogoutcovered: account menu
#/overviewQuick create, publishing health, issues, inventory, recent postsstatus, documents, publishcovered: Home
Overview: recipe notesSite-wide recipe advicerecipe-notescovered: Home, recipe notes (R1)
Overview: ten-minute checklistTrade-site setup stepstrade-checklistcovered: Home, the ten-minute checklist (R1)
Overview: voice invitation"Write a voice sample" nudgevoice/statuscovered: Home, the voice invitation (R9)
Header publish boxSend out what's waitingpublish GET/POST, rebuildcovered: Home, parts/publish.js
Command palette (Ctrl K)Every route + "Show "—covered: Find (shell.js); panes come with R5–R8
Advanced tools dialogHidden tools of Simple preset—drop: Studio shows a screen when the site uses it; More tools disappears in R15
Personalize workspacePreset, density, default editor mode, module orderpreferences GET/PUTdrop (Decide 1): Studio has one layout; delete routes and admin_preferences.rs
Admin light/dark buttonAdmin's own schemelocalStorage ob-admin-schemedrop: Studio follows the system (studio.css)
Saved work may vanishfilesMayVanish noticestatus, publishcovered: parts/site-health.js
Kept panels across the research workspaceUnsaved panels kept while moving—covered: research keeps a form you leave within it until you come back (R11)
Installed appManifest, icons, service worker/admin/manifest.webmanifest, /admin/icons/*, /admin/sw.jscovered: web/studio/sw.js, icons and manifest (R3)

B. Lists and the post editor (#/posts|pages|series, #/new/<kind>, #/new/recipe, #/edit/<path>[?pane=])#

Old AdminDoesAPIStudio
Lists with ?status=Posts, pages, seriesdocuments?kind=covered: Posts, Pages, Collections
New post / recipe / page / seriesdocument POSTcovered: #/write/new/*, Pages, Collections
Write + Site preview panesWords, photos, previewdocument, upload, images, previewcovered: Write, page-edit
Delete and restoredocument DELETE, document/restorecovered (Undo)
Unreadable file"Fix its front matter in a text editor"document (raw)covered: Write says the server's reason (R0, R5)
Settings pane: coreTitle, date, tags, cover + alt, seriesdocumentcovered: Write details
Settings pane: the restSubtitle, slug, description, canonical, photo credit, pin title/description, comments, theme, part number, list order, abstract, authorship sourcedocumentcovered: About this post and its details (R5)
Content profile + its fieldsarticle, recipe, job, video, field-journal, researchmeta.profilescovered: About this post, one kind's own facts (R4, R5)
Job formjob.* fields, checksjob/checkcovered: About this job and the job check on Publish (R4)
CreditsOrdered contributor credits per postdocument (credits, creditEtag)covered: About this post › Who wrote it (R5)
Visual / Markdown modesWYSIWYG beside source—drop: Studio's Words box and recipe boxes replace both; blocks get forms in R6
Add somethingCallouts, tables, task lists, embeds, before/after, piecespiecescovered: Add something (R6)
Paste cleanup (paste.js)Clipboard HTML to Markdown—covered: every box (R6, parts/paste.js)
Plain-language checksSuggestions with "Fix it"—covered: Suggestions under the words (R6, parts/checks.js)
Portable outputGhost, Hashnode, Medium copy/downloadportability/acknowledgecovered: Copy it for another blog (R5)
Share this job link—covered: Sharing › Share this job (R1)
GPX track uploadtrack-upload POST/DELETEcovered: Your route (R7)
Pane: SocialOpenGraph card previewpreviewcovered: Before you publish (R7)
Pane: OptimizeSearch and sharing readinesspreviewcovered: Before you publish (R7)
Pane: AccessibilityFindings and repairspreviewcovered: Before you publish (R7)
Pane: Release kitVideo chapters, YouTube description— (client)covered: Words for YouTube (R7)
Pane: Field reviewRoute facts, location privacy— (client)covered: Your route (R7)
Publication reviewResearch review before publishresearch/review, research/review/acknowledgementscovered: Before you publish, research review (R7)
Pane: EvidenceClaims, links, anchors, references, bibliographyresearch/claims*, citations/library, citations/checkcovered: Claims and evidence (R12)
Pane: AssistantReview, autocomplete, knowledge check, runnable code, skills, context, references, URL context, providerassistant/*, quiz/generatecovered: Writing helper (R8)
Beside the draft: research insert, curationresearch/draft, research/curation*covered: Your research beside the words, For readers (R11, R12)

C. Site and look#

Old AdminDoesAPIStudio
#/landingSections, components, historylanding*covered: Front page
#/look, #/appearanceLook; light/dark buttonlook*, appearancecovered: Look
#/seasonsTheme by calendarseasons, seasons/previewcovered: Decorations
#/designDescribe a theme, preview, savetheme-draft*covered: Look › Describe a new look (R9)
#/businessBusiness factsbusinesscovered: Business
#/services[/new|/edit/…], #/reviews[…]documents?kind=, documentcovered: Services, Reviews
#/remindersSeasonal prompts; topics and datesseasonal*covered: Reminders, Change topics and dates (R1)
#/distribution "Where it went"Every post and where it wentdistribution, social/announcementscovered: Sharing, Where each post went (R1)
#/contributorsSite contributors, ORCID, rolescontributors GET/PUTcovered: People (R5)

D. Customers, family, sharing#

Old AdminDoesAPIStudio
#/quotesRequests, status, export, erasequote/*covered: Quote requests, export and clean up (R1)
#/greetingsCards, contacts, testgreetings/*covered: Cards
#/socialConnect, reconnect, choose destination, cancel, disconnectsocial/status, social/connections*, social/accounts/*covered: Sharing › Your accounts (R2)
#/announcementsCompose, queue, edit, reschedule, resolve, attempts, healthsocial/announcements*, social/preview, social/posts, social/destinationscovered: Sharing, each share's sheets and Delivery health (R1)
#/share/<path>One job to Google, Facebook, Nextdoorjob-share, job-share/by-handcovered: Sharing › Share this job (R1)
#/capturePhone capture: photos, voice note, offline queueupload, capture-audio, document, assistant/transcribe, assistant/job-draftcovered: New job (R4)
#/notificationsPush on this device, topics, test, devicespush/*covered: Notifications (R3)

E. Readers#

Old AdminDoesAPIStudio
#/analytics[/<days>]Reader numbersanalytics?days, engagement/analyticscovered: Readers › Visitors, 7 to 365 days (R10)
Hosted comments and analytics setupEndpoint, credential, captcha, switchesengagement/settingscovered: Readers › How readers reach you (R10)
#/moderation[/<state>][?kind=], #/feedbackTen kinds, incl. clarification and withdrawnengagement/moderation*, author-responsecovered: Readers, every kind and view (R10)
Inbox: published notesPublish/unpublish feedback, third perspectives, author responses; respond; revision notesengagement/feedback/*, third-perspectives/*, author-responses/*covered: Readers, a card's decisions (R10)
Inbox: suggestionsExport, link to a postengagement/suggestions/*covered: Readers, suggestions (R10)
Inbox: community featuresPreview, feature, note, unfeatureengagement/community/*covered: Readers, community features (R10)
Inbox: continuationsPreview, link, unlink, sweepengagement/continuations*covered: Readers, links to later posts (R10)
Inbox: retentionDry run, runengagement/retentioncovered: Readers › How readers reach you, clearing out (R10)

F. Research, comparisons, reading paths#

Old AdminDoesAPIStudio
#/research/overviewWorkflow from source to draft(aggregates below)covered: Research home (R11)
#/research/sources[/<id>] (old #/sources)Library, import, export, archivesources*covered: Research › Sources (R11)
#/research/notebook (old #/research)Passages, notes, search, backlinks, import/exportresearch/notebook, passages, notes, search, backlinks, archive, import, exportcovered: Research › Notebook (R11)
#/research/atlas[/<id>|/relationships/<id>] (old #/atlas)Entries, relationships, chronology, exploreresearch/atlas*covered: Research › Atlas (R12)
#/research/compare[/<id>] (old #/compare)Aligned passagesresearch/alignmentscovered: Research › Compare (R12)
#/research/publicWhat will be publicresearch/boundary GET/POST, research/readinesscovered: Research › What readers see (R12)
#/comparisons[/new|/edit/<slug>]Interpretation comparison pages, approve/revokecomparisons*covered: Research › Readings side by side (R13)
#/paths[/new|/edit/<slug>]Reading pathsreading-paths*covered: Reading paths (R13)

G. Collaboration and voice#

Old AdminDoesAPIStudio
#/shared, #/shared/newShared reflections; start one from a sourcecollaboration/publications*covered: Writing together (R14a)
Shared reflection workspaceInvitations, members, roles, own draft, reveal, approval policy, arrangement, preview, series, synthesis, momentscollaboration/*covered: Writing together (R14a, R14b)
#/shared/accept/<token>Accept or decline an invitationcollaboration/invitations/accept|declinecovered: Writing together › Join (R14a)
#/voice sessionDraw prompts, timed rough draft, polished copyvoice/status, draw, session*covered: Your writing voice (R9)
#/voice library, erase, move guidevoice/samples*, voice/erase, voice/guide/movecovered: Your writing voice (R9)

H. Routes with no caller anywhere#

document/rename, reading-paths/reorder, collaboration/approve, approve/withdraw, schedule, publish, engagement/feedback/publish-decision, decorations/preview, voice/catalog. Status: drop unless Decide 2 wires them (rename into R5, reorder into R13).

I. web/admin/ files#

FileFate
admin.js, admin.css, index.htmldelete in R15; each slice lifts the pure helpers it needs (e.g. MODERATION_KINDS, canonicalAdminHash research map)
look.js, landing.js, business.js, services.js, proof.js, seasonal.js, announcements.jsmove the pure half to web/studio/parts/<name>-rules.js (R0)
block-forms.jsel() replaced by parts/dom.js h() in R0; block forms' pure half to parts/block-forms.js (R6)
job-form.jsCOST_BAND_LABELS + pure half to parts/job-rules.js (R0 for services, rest R4)
checks.js, paste.jsmove whole (pure) to parts/ (R6); checks-panel.js redrawn with Zubra
capture-queue.js, capture-recorder.js, capture-assistant.js, job-capture.jspure halves to parts/capture-*.js (R4); keep DB name openblog-capture
distribution.js, job-share.js, trade-checklist.jspure halves to parts/ (R1)
social.jspure half (safeAuthorizeUrl, providers) to parts/social-rules.js (R2)
notifications.js, sw.js, icons/R3: web/studio/sw.js, web/studio/icons/
theme-designer.js, voice.js, voice-session.js, voice-polished.js, voice-library.jsR9; keep the ob-voice-* storage keys so local copies survive
greetings.js, quotes.js, seasons.js, landing-history.js, lasting.jsdrop: Studio has its own (card-words, quote-words, Decorations, landing-versions, site-health)

2. Runtime dependencies Studio has on /admin/*#

Imports (dynamic import(MODEL)): screens/look.js:12, landing.js:17, business.js:11, reminders.js:11, share-new.js:11, parts/record-kinds.js:34,51 (services, proof). Each pulls block-forms.js and job-form.js transitively. R0 moves them to web/studio/parts/*-rules.js as static imports and ports tests/web/admin-{look,landing,landing-components,landing-summary, business,services,proof,seasonal,announcements,input-scan}.test.mjs to studio-*-rules.test.mjs.

Links out (href/open to /admin/...), each removed by the slice that builds the job: tools.js (all of More tools; R15 deletes the screen), shell.js:97 "Open the old Admin" (R15), write.js:275,337 + write-page.js:82 (R0 wording, R5 detail), page-edit.js:169, record-edit.js:256, landing.js:234, business.js:150, cards.js:297 (R0: replace "trouble" fallbacks with Studio's own details), reminders.js:184,194, quotes.js:22,244, sharing.js:62,67,88,91,93,173,205, share-new.js:66 (R1/R2), comments.js:23,79,479, visitors.js:91 (R10).

Other callers of old addresses: invitation links admin.rs:13009; push notices netlify/functions/engagement.mjs:741,778,813,865,1354, quote.mjs:232, push.mjs:131, netlify/lib/push-store.mjs:100; bookmarks. R0 adds legacyRoute(hash) to router.js (pure, tested): #/overview→#/, #/edit/<path>→#/write|page|collection|service|review/<path> by folder, #/new/recipe→#/write/new/recipe, #/series→#/collections, #/landing→#/front-page, #/appearance|#/seasons→#/look|#/decorations, #/moderation|#/feedback→#/comments, #/analytics→#/visitors, #/social|#/announcements→#/sharing, #/greetings→#/cards; the rest map as their slices land, and an unbuilt one shows "Not in Studio yet" (never a blank Home).

Old-Admin tests: 74 tests/web/admin-*.test.mjs and 60 browser specs that open /admin/. Rule: a test of behaviour Studio keeps is ported in the slice that builds it; a test of old chrome is deleted in R15. Delete: admin-command-palette, admin-editor-status, admin-preferences, admin-workspace, admin-overview, admin-appearance, admin-lasting, admin-markdown-edit (visual editor), specs admin-route-race, simple-workspace. Port by setup only (they test the public site and use Admin to arrange it; switch to API calls): author-conversations, curated-context, reader-protection, comment-captcha-admin, public-boundary. Everything else is ported in the slice of its area (admin-behavior is the Assistant's: R8).

3. Serving, server and docs#

  • admin.rs:593–673 serves /admin, /admin/ and 34 named files via site::admin_file, which reads <paths.web>/admin/<file> first, then site.rs:313 EMBEDDED_ADMIN (include_str! of every web/admin file). Studio is studio_file() (admin.rs:694) from studio_files.rs.
  • Switch (R15): /admin and /admin/ answer 302 Location: /admin/studio/. Browsers keep the fragment across a redirect, so /admin/#/quotes lands on /admin/studio/#/quotes and legacyRoute does the rest. Studio stays at /admin/studio/ (cookie path, CSP, file list unchanged). Delete the file table, EMBEDDED_ADMIN, admin_file and the <paths.web>/admin/ override (Decide 3). Keep /admin/manifest.webmanifest, /admin/icons/* (from web/studio/icons, site override kept) and /admin/sw.js (from web/studio/sw.js, scope /admin/); manifest start_url becomes /admin/studio/, id stays /admin/ so installed apps keep working.
  • Sign-in/session/CSRF: the old Admin owns no separate page; login, session, logout and check_csrf are API routes Studio already uses. Nothing to move.
  • CSP (admin.rs:723): 'wasm-unsafe-eval' and frame-src https://codepen.io serve the old editor's code runner and embeds. Keep only if R8 keeps runnable code previews; otherwise drop in R15.
  • Engine tests to change: admin.rs:33388 (CSP on GET /admin: assert the redirect, and the policy on /admin/studio/), admin.rs:34980 (/admin 404 when off: keep), admin.rs:37173 (invitation link), admin/tests/push_routes.rs:313–318 (manifest). Add: redirect keeps working with a query; no /admin/admin.js.
  • Docs: rewrite docs/admin.md (1370 lines, old Admin's manual) as Studio's, per screen. Fix old addresses in configuration, jobs, deploy, quote-requests, webmention, README, reviews, job-sharing, social-publishing, research-profile, features, greeting-cards, notifications, services, seasonal-reminders, field-journal, cross-posting, video-production, content, themes, portability/capability-matrix (docs/*.md), root README.md, CONTEXT.md, CHANGELOG.md entry. Update .claude/skills/studio-architecture/SKILL.md ("keeps working beside it" goes; parts/*-rules.js).

4. Slices, in order#

Each ships alone, passes studio-ux, keeps the leave-guard, and ports its listed tests.

#SliceSizeRoutesRisky partsThe job, so it's redesigned
R0Cut the cord: models into Studio, old addresses workMnone newStatic imports change load order; model tests must stay byte-identical in behaviourNone for the owner; every old link she has still opens the right screen
R1Finish the trade site: reminder topics/dates, quote auto-erase + date-range export, change/check a share, Where it went, Share this job, checklist + recipe notes on HomeLPUT seasonal, quote/retention*, quote/export?from&to, social/announcements PATCH/reschedule/resolve/attempts/health, social/preview, distribution, job-share*, trade-checklist, recipe-notes; G7 server changeErase always dry-run first; strangers' text as textContent; CSV as Blob"Did my work get out, and what's next?" Where it went is a view of Sharing, not a report screen; the checklist lives on Home until done
R2Accounts in Studio (G6)Msocial/status, social/connections*, social/accounts/*; G6 server change: authorizeUrl returned while pending, provider return lands on /admin/studio/#/sharingOAuth: only safeAuthorizeUrl links, no open redirect, app password emptied before send, nothing connected until a destination is chosen"Make my posts go to my Facebook page": one sheet per provider, health says reconnect in words
R3Notifications and the installed appMpush/*; manifest, icons, sw.js moved; Netlify notice URLs to Studio hashesService worker scope and existing subscriptions; old notices still say /admin/#/… (legacyRoute)"Tell my phone when someone writes": a switch on this device, what to hear about, other devices
R4Jobs: capture on site, job posts in WriteLupload, capture-audio, document, assistant/transcribe, assistant/job-draft, job/checkUnsent captures in IndexedDB openblog-capture must be read, not lost; audio size limits; the Assistant only after she sees what's sent"I'm on a roof with a phone": photos, three taps, a voice note; the job becomes a draft she finishes later
R5Write: everything about a postLdocument (all fields, credits), meta.profiles, contributors, portability/acknowledge, (document/rename if Decide 2)Renaming breaks links unless the old address redirects; profile fields via field-form only"About this post" sheet grouped by question (where it lives, how it's shared, who wrote it); a profile shows only its own fields; Contributors is a People screen
R6Write: help while writingLpiecesPaste is untrusted HTML: pure converter, no DOM; block forms write today's Markdown byte for byteAn "Add" menu (table, note box, checklist, video, before/after) with forms; suggestions as a quiet list with Fix it
R7Write: ready to publish?Lpreview, track-upload, research/review*GPX location privacy; findings use the preview sandboxOne "Before you publish" checklist (social card, search, accessibility, plus release kit for video, route review for field journals, research review) instead of seven tabs
R8Writing helper (Assistant)Lassistant/*, quiz/generateProvider key write-only, never echoed; disclosure before anything is sent; replies are untrusted text; CSP decision"Help me with this draft": check it, suggest next words, make a quiz or example; setup (provider, skills, context) in one Settings page
R9Voice and Design a themeLvoice/*, assistant/voice-guide, theme-draft*Timer owned by the server; rough-draft box refuses assistants; local copies keep ob-voice-* keys; erase confirm"Write by talking/timed prompts" as its own place; "Describe a new look" inside Look, saved theme then worn from Decorations
R10Readers: every kind of note, setup, a year of visitorsLengagement/*, analytics?days=365Strangers' text; withdrawn notes immutable; retention dry run first; credential write-onlyComments becomes "Readers": one inbox, kinds as filters, each card shows only its decisions; setup behind "How comments work"
R11Research I: workspace, sources, notebook, cite while writingXLsources*, research/notebook, passages, notes, search, backlinks, archive, import, export, citations/*, research/draftImports are untrusted files; kept unsaved panels across screens; screen size (split into parts)"From a source to a cited draft": the workflow is the screen; cite from a side sheet in Write
R12Research II: atlas, compare, evidence, what will be public, curationXLresearch/atlas*, research/alignments, research/claims*, research/boundary, research/readiness, research/curation*Private research must never reach a public preview; BCE dates and precision"What am I claiming, and what will readers see?": claims in Write, a single public-boundary view
R13Comparisons and reading pathsLcomparisons*, reading-paths* (+reorder if Decide 2)Approval covers saved text onlyTwo more kinds in the Pages/Collections pattern (parts/document-list, reorder-list)
R14Writing togetherXLcollaboration/*Invitation tokens in the URL (strip after reading); roles; reveal before ready"Write a reflection with friends": invite, write your part, reveal together; accept page works for a new co-writer
R15Switch /admin/ to Studio and delete web/adminMredirect; removals in §3Orphaned old local data (ob-admin-* keys: harmless); docs; one release noteShe opens the same address and gets Studio; nothing to learn twice

Order rationale: R0 first so no later slice adds an /admin/ import; R1–R4 serve the people using the site now (Grammi, a trade owner); the editor slices (R5–R8) before research, which builds on Write.

Decide (owner)#

  1. Personalize workspace (presets, density, module order): drop with its routes? Recommended: drop.
  2. Routes with no caller (§1 H): wire document/rename (R5) and reading-paths/reorder (R13); delete the collaboration approve/schedule/publish set, publish-decision, decorations/preview, voice/catalog? Recommended: yes to both.
  3. Override files under <paths.web>/admin/ stop working (icons kept). Any site relying on it?
  4. Rarely used, expensive to rebuild: release kit, field journal (GPX), portable output to Ghost/Hashnode/Medium, runnable-code proposals, knowledge checks, continuations, community features, shared reflections. Each could be dropped instead of ported; say which have users.
  5. Research tier (R11–R14, three XLs): port all, or retire research authoring from Admin and keep the public pages buildable from files only.

Decided (owner, 2026-11-13)#

  1. Personalize workspace: dropped, with its routes.
  2. Routes with no caller: all 9 are deleted, document/rename and reading-paths/reorder included. There will be no rename feature, and R5 and R13 don't wire either route.
  3. Override files under <paths.web>/admin/: Grammi's House has none. Mention the change in the release note.
  4. Rarely used tools: all are ported: the release kit, the field journal (GPX), portable output to Ghost, Hashnode and Medium, and knowledge checks, runnable-code proposals, continuations, community features and shared reflections.
  5. Research tier: port all of it (R11–R14).

Decided (owner, 2026-11-14)#

  1. Routes kept after all (reverses part of 2): keep engagement/feedback/publish-decision (the old Admin calls it; R10 publishes a reader's note with it) and the four collaboration routes collaboration/approve, approve/withdraw, schedule, publish (R14 wires them; without them nothing written together can be published). Still deleted: document/rename (done in R6), reading-paths/reorder (R13), decorations/preview and voice/catalog (R9, after re-checking callers). Built in R14a: the four collaboration routes are wired by Writing together (G118).
  2. Limited sign-ins (R14): invited people get a server-enforced sign-in that reaches only Writing together; invite links let them set their own password; only owner accounts publish or schedule.
  3. Studio is a product: every owner-layer string is generic and goes through the words hook (docs/specs/studio/words/spec.md); per-site and per-deployment overrides live in config. Grammi is a test persona only.
  4. Getting started (R9b): first-run onboarding (helper key unless configured, then a few short stories for her voice), with the nudge in Write, controlled by OPENBLOG_STUDIO_ONBOARDING (docs/specs/studio/onboarding/ux.md).

Status (2026-11-15)#

Done. R0 to R14 shipped and R15 retired the old Admin: /admin/ redirects to Studio, web/admin/ and its routes are gone, and every old address opens its Studio screen (ADR 0415, r15/spec.md).

View this page's source