# LocalPulse product flow

This is the current product contract for the 128×64 display. It replaces the
former configurable playlist and combined Hazard Monitoring page.

## Production sequence

The sequence is fixed and repeats in this order. The portal's global duration
is the default for every screen; an optional override can set a distinct
duration for any one screen without changing the others:

1. **World Time** — three equal columns: Local City, then the next two
   configured cities. Each column shows city-local time, temperature, and
   `DD MMM` date. Long city names make one 95%-column marquee pass, then hold
   their readable beginning within the column margin until the next entry.
2. **Local Weather** — current weather for the configured Local City only.
3. **Outdoors** — weather-based recommendation for the Local City only.
4. **Forecast** — the Local City's next 12 hours. It is always shown: an
   active/upcoming rain, snow, storm, or heat story appears when relevant;
   otherwise it states the clear-period outlook. Its optional duration always
   applies.
5. **Sky Events** — Local City Sun and Moon events calculated on-device from
   its latitude, longitude, local date, and time. Its header pairs the city
   with local `DDD   MM/DD`; the weekday and numeric date have a three-pixel
   gap. Sun shows rise, set, and daylight duration; Moon shows rise, set,
   illumination, and waxing/waning.
   Sun's `DAY`, `RISE`, and `SET` labels are white; Moon's `RISE` and `SET`
   labels use the Sun accent, so both columns remain easy to scan.
6. **Moon** — local Moon detail: standard phase, the nearest two or three
   locally eligible astronomy events, days until Full and New Moon, and a
   local-only cultural ticker. The left column changes event every three
   seconds, never shows the same event type twice in succession, and is
   bounded to ten characters per line so it cannot overlap the Full/New area.
   Planetary highlights use compact wording such as `SATURN` / `BEST xD`.
   The ticker scrolls up to four cultural events independently. No calendar
   API is used. The embedded catalog covers locally eligible eclipses, special
   Moon events, major meteor peaks, selected planet best-viewing periods,
   Venus maximum elongation, equinoxes, and solstices. Occultations require a
   catalogued locally visible event and are never inferred from a conjunction.
7. **Quake** — the only earthquake screen. It shows the current USGS Quake
   record with its Alert flag and Tsunami status. Its display query is not
   radius filtered; the separate local USGS query remains available to alert
   policy.

There is no production Hazard Monitoring, Volcano, AQI, Fire, NWS, city-scope,
or user-editable playlist page. Supporting providers remain background inputs
where the current Outdoors and alert-policy code consumes them; they are not
display routes.

## Weather refresh policy

With Local City scope active, weather is still refreshed for the Local City
and up to two companion cities required by World Time. This exception applies
to weather only. AQI, fire, NWS, and other background providers stay scoped to
the Local City.

## Portal and Development mode

The portal exposes the fixed sequence, a global screen duration, and optional
per-screen duration overrides. Select **Global default** to inherit the global
duration; for example, leave the global default at 8 seconds and set only
Quake to 10 seconds.
Development mode can preview only World Time, Local Weather, Outdoors,
Forecast, Sky Events, Moon, and Quake. Retired page toggles, hazard radius, page scopes, and the
production playlist are intentionally not exposed.
