docs(website): theming phase 5 as built — brand assets and the cached HTML shell #106
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/theming-nav-phase-5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs pair for RunicGateway/website#123. Targets
edge.Marks Phase 5 of
website/THEMING_AND_NAV.mdlanded, adds the "Phase 5 as landed" section, documents the new route and the shell lifecycle inBACKEND_DESIGN.md, and regeneratesapi-route-inventory.jsonfrom the route manifest (a four-line diff — the one new route).The build differed from §8 in five places, each recorded with its reason:
POST /admin/uploads, thenPUTthe row. That endpoint isstaffOnly— editors reach it — while the row it would write isadminOnly, and a run that uploaded and then failed would leave a file in/uploadsthat nothing references.brand_assetsneeded a validator of its own, which the design did not anticipate: these are the only settings values written straight into HTML as URLs.SiteContext, gated on a successful fetch.Also recorded as observed-and-left-alone: the shell's
<title>and description still come fromBRAND_NAME/BRAND_DESCRIPTIONrather than the admin-setsite_titlethatgetPublic().brand.nameprefers, so an instance renamed through the admin panel still shows the env name in its tab and link previews. Fixing it would change the served shell for instances with nobrand_assetsrow, which is exactly what §9's byte-identical criterion forbids in this phase.Checklist
AI-assisted contributions (required)
Claude Code (Opus 5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.