docs(website): record the PR 4 admin router split and the end of admin.routes.js #58
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/admin-router-split-4"
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?
What & why
Documents website PR 4 of the in-place admin router split — the last admin one, which moves the entire residual 33 routes into capability routers and deletes
admin.routes.js. Website PR: RunicGateway/website#105.website/API_V2_PLAN.md— new § PR 4 — as landed with the router/gate table (shard 16, uo-link 5, email 6, discord-bot 2, settings 2, dashboard+site-mode 2), and the two decisions a reviewer would otherwise have to reconstruct from the diff:dashboard.router.jsis mounted at the group root, the one relaxation of the mount-at-a-prefix rule — safe only because it declares no router-level middleware./shardkeeps two gate tiers in one router (self-service linking with no extra gate, in-game staff ops onmodAccess), because prefix ownership beats swagger-tag grouping.Also records that no gate moved to router level, that the
/:paramshadowing check came back clean (110 admin routes, 59 literal, 0 shadowed), and which danglingsee admin.routes.jspointers were repointed. Sequencing item 7 is marked ✅ landed; PR 5 (public/*+player/*+auth/*) is now the only split PR left.website/BACKEND_DESIGN.md— §2 gains the six new routers in the folder tree and drops the residual entry ("the admin group is fully split"); §4's/adminpreamble now describes the ops/config gates instead of pointing at a file that no longer exists.website/WIKI_UPGRADE.md— its two links intoadmin.routes.jsare repointed atwiki.router.jsandadmin/imageUpload.js.PROJECT_TREE.mdis deliberately untouched — it is auto-generated by thesync-project-treeworkflow, which opens its own PR after the website merge.Checklist
AI-assisted contributions (required)
This project requires disclosure of AI tool usage. Please pick one:
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.