# Platform Roadmap

## Production Principle

NW AL Scanner News remains the live proving ground. New platform work is developed on `platform-v3` and does not replace the production broadcast until tested.

## Product Catalog

| ID | Product | Status |
|---|---|---|
| P-001 | Forecast Cards | Production, needs extraction |
| P-002 | Incident Cards | Production, needs extraction |
| P-003 | Full-Screen Weather Alert Cards | In progress |
| P-004 | Warning Map Product | Production, needs extraction |
| P-005 | Theme Engine | Planned |
| P-006 | Playlist Configuration Engine | Planned |
| P-007 | Social Graphic Outputs | Planned |
| P-008 | CAD Email Provider | Planned |
| P-009 | SPC Risk Summary Cards | Planned |
| P-010 | Power Outage Products | Production, needs extraction |

## Milestone 1: Alert Card Framework

### Goal

Display a full-screen branded alert card before the existing warning-map product.

### Initial alert families

- Tornado Warning
- Severe Thunderstorm Warning
- Flash Flood Warning
- Special Weather Statement
- Heat Advisory
- Extreme Heat Warning
- Dense Fog Advisory
- Winter Weather Advisory
- High Wind Warning
- Air Quality Alert

### Required behavior

- Normalize the current NWS alert object.
- Detect whether an alert affects the configured local coverage area.
- Render one generic card using alert-family configuration.
- Show alert title, affected area, expiration, key hazard, and safety instruction.
- Use tenant theme and coverage configuration.
- Preserve the existing map warning stop immediately afterward.
- Include manual preview fixtures for every supported family.
- Time out safely if rendering or data extraction fails.

### Completion criteria

- No duplicate card for the same alert update.
- No interruption loop.
- No impact on calls, forecast, outage, radar, SPC, or ticker products.
- Tested through at least three complete playlist rotations.
- Tested with simulated local and non-local alerts.
- Existing map-only flow remains available as fallback.

## Milestone 2: Theme Extraction

- Move reusable colors, typography, branding, and coverage labels to tenant configuration.
- Keep the current NW AL Scanner appearance unchanged.
- Remove hardcoded `Shoals Area` and brand strings from extracted products.

## Milestone 3: Product Registry

- Define product manifests.
- Register forecast, incident, alert, radar, SPC, outage, and ticker products.
- Allow products to fail without stopping the channel.

## Milestone 4: Configurable Playlist

- Move normal stop order and timing into configuration.
- Add conditional products.
- Add priority-based interrupt rules.
- Preserve critical-alert takeover behavior.

## Milestone 5: Multi-Output Rendering

- Broadcast 16:9
- Social square
- Social landscape
- Website card
- Post-text generation

## Backlog

- School closings
- River stages
- Shelter and evacuation cards
- Missing-person cards
- Traffic closures
- Air-quality cards
- Tropical products
- Winter-weather products
- Sponsor product rules
- Facebook publishing through a secure backend
