Build location
Work primarily in backend/src/maintenance. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.
Why this matters
Maintenance mode should allow disabling risky write paths while keeping safe read paths available.
What to build
- Extend maintenance-mode service/guard to support scopes such as all, writes, raffles, notifications, monitor.
- Add route metadata or decorators for scoped behavior.
- Return retry guidance to clients.
Acceptance criteria
- Tests cover each scope and skip-maintenance decorator behavior.
- Docs list supported maintenance scopes and example env/config.
Suggested verification
cd backend && npm run lint && npm run test && npm run build
Build location
Work primarily in
backend/src/maintenance. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.Why this matters
Maintenance mode should allow disabling risky write paths while keeping safe read paths available.
What to build
Acceptance criteria
Suggested verification
cd backend && npm run lint && npm run test && npm run build