Stage 10: admin console & dictionary ops (complaint review, hot-reload, broadcasts) #11
Reference in New Issue
Block a user
Delete Branch "feature/stage-10-admin-dictionary"
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?
Implements Stage 10 (Admin & dictionary ops).
Console: server-rendered Go templates in the backend at
/_gm(galaxy-game style), fronted on the gateway public listener by Basic-Auth + a verbatim reverse proxy (mounted on the edge mux below the h2c wrap). Same-origin CSRF guard on POSTs; no operator identity. Supersedes the Stage 6 gateway-fronts-/api/v1/adminmodel (dropsGATEWAY_ADMIN_ADDR+ the backend/api/v1/adminping; repurposesgateway/internal/admin).Complaints: migration
00008(+jetgen) adds disposition/resolution_note/resolved_at/applied_in_version + the deferred status CHECK; resolve → query-derived pending dictionary-change pipeline → mark applied.Dictionary: hot-reload from
BACKEND_DICT_DIR/<version>/(Registry.LoadAvailable);engine.OpenWithVersionsrestores resident versions on restart (partially addresses TODO-2).Broadcasts: backend Telegram-connector client (
BACKEND_CONNECTOR_ADDR) for SendToUser / SendToGameChannel (discharges the Stage 9 forward-note).Unit + full integration suite green locally; gofmt/vet clean. Docs updated (PLAN, ARCHITECTURE, FUNCTIONAL +_ru, TESTING, backend/gateway READMEs).