--- id: TASK-51.5 title: 'Phase 5: Remove standalone domain dead code and infrastructure' status: To Do assignee: [] created_date: '2026-02-25 07:48' updated_date: '2026-02-25 07:48' labels: - infrastructure - domains - migration - cleanup dependencies: - TASK-51.4 parent_task_id: TASK-51 priority: low --- ## Description After 301 redirects have been live 3-6 months, strip all standalone domain machinery. Delete domainToModule map, keepStandalone set, rewrite/redirect block in server/index.ts. Remove standaloneDomain from RSpaceModule interface and all 22 mod.ts files. Delete all 20 standalone.ts entry points. Remove Traefik labels. Delete docker-compose.standalone.yml. ## Acceptance Criteria - [ ] #1 No references to standaloneDomain remain in codebase - [ ] #2 No standalone.ts files exist - [ ] #3 docker-compose.standalone.yml deleted - [ ] #4 Traefik config only has rspace.online and *.rspace.online routers - [ ] #5 All modules work via path-based routing