# v390 — Notification Settings Relocation and Build-Rules Hardening

## Purpose

v390 corrects the notification surface drift found after v389. The user-facing `/notifications` page had become both an alert list and a settings page. That violates the core Dispatch Spot rule: working pages are for doing the work, and settings pages are for configuring the system.

## Decision

This build pauses new feature expansion and corrects placement first. Notification preferences, delivery readiness, phone-number capture, and urgent text opt-in/out now live inside Workspace Settings. The `/notifications` page is restored to an alert/action surface only.

This also confirms that the documentation set has become too spread out and partially contradictory across build periods. v390 fixes the immediate rule violation. v391 should begin a focused documentation review, cleanup, and upgrade cycle.

## What changed

- Removed notification preference controls from `/notifications`.
- Removed phone-number capture and urgent-text opt-in/out controls from `/notifications`.
- Removed delivery status, test email, and urgent-text preview/send controls from `/notifications`.
- Added a Notifications tab inside Workspace Settings at `/company`.
- Moved the existing Notification Delivery panel into Workspace Settings > Notifications.
- Moved the existing Notification Preference panel into Workspace Settings > Notifications.
- Kept provider setup in `/company/integrations`.
- Updated notification opt-in source labels from notification-page language to Workspace Settings language.
- Updated `DISPATCH_SPOT_BUILD_RULES.md` so `/notifications` is explicitly alert/action-only.

## User-facing behavior

At `/notifications`, users now see only the alert list experience:

- alert summary cards,
- unread count,
- urgent count,
- hidden count,
- Mark read,
- Mark unread,
- Mark all read,
- Hide,
- Show again,
- direct links to the work record that needs attention.

At `/company`, Workspace Admins now see a Notifications settings tab where alert preferences, email alert choices, delivery readiness, and urgent text opt-in controls belong.

At `/company/integrations`, provider setup remains separate. SMTP, Twilio, maps, accounting, payment, and other connected-account setup stay there.

## Safety rule

No operational page may become a settings page. Settings, preferences, integrations, opt-ins, provider setup, and configuration belong in Workspace Settings unless a future build explicitly approves a different location and the Rule Check calls out that exception.

## Technical notes

Updated files:

- `app/(dashboard)/notifications/page.tsx`
- `app/(dashboard)/company/page.tsx`
- `components/notifications/simple-notification-list.tsx`
- `src/modules/notifications/notification-preference.service.ts`
- `DISPATCH_SPOT_BUILD_RULES.md`
- `CHANGELOG.md`
- `PROJECT_HANDOFF.md`
- `PLATFORM_ARCHITECTURE_INDEX.md`

## Prisma schema impact

No Prisma schema changes.
