Local Scout: live advisory sources (weather, state roads, buses, winter parking)
Back to our planProblem
In plain words: some things neighbors need are only useful right now: a weather warning, a snow emergency, a bus detour, a crash closing the interstate. The site has no live source for any of them.
Summary of the owner's direction (2026-11-10, Claude session, text): keep the site filled with what neighbors inside the Sprecher East boundary need, and improve Local Scout with the new sources this sweep found, including live feeds and APIs. He asked for APIs, RSS feeds and open data that give real-time advisories.
Today (checked 2026-11-10; found, not yet tested from the runner):
- Weather alerts: the National Weather Service's public API (https://www.weather.gov/documentation/services-web-api, opens in a new tab).
- State roads: 511 Wisconsin's events API (https://511wi.gov/developers/help, opens in a new tab).
- Buses: Metro Transit's developer feeds, including real-time alerts (https://www.cityofmadison.com/metro/business/information-for-developers, opens in a new tab).
- Winter parking: the City says it is building a notice of when alternate side parking is in effect (https://www.cityofmadison.com/live-work/winter/parking/alternate-side-parking-program-updates, opens in a new tab). No feed yet.
- Where it would show: #581, the "Happening now" strip, and #580, updates with "from" and "until" dates.
Proposed fix
- Check each source by hand: terms, key or no key, rate limits, how an alert ends.
- Decide per source whether it fits the daily run or needs its own short cadence, and say what that costs.
- Filter to the area: the county's alert zone, the boundary roads and interchange, the bus routes that serve the area.
- An advisory is a short update with an end time, never an article, and it expires by itself.
Native first, one line per step:
- Native: the existing JSON parser and Payload scheduled publishing for expiry.
- Official plugins: none needed.
- Open source: an established GTFS-realtime reader, if the bus feed is used.
- Our code: registry entries, filters, evals.
Acceptance criteria
- Not done: Each source has a recorded hand check with its terms and limits.
- Not done: A written recommendation on cadence, with the cost of each option.
- Not done: A dry run turns a sample alert for the area into a draft update with an end time.
- Not done: An alert for another county or route is rejected.
Files likely touched
intelligence/sources.yaml, intelligence/sources.md, intelligence/pipeline.yaml, intelligence/evals/, intelligence/runner/lib/
Must not touch
src/ (the strip and the update type are #581 and #580)
Open questions
- How fresh must an advisory be to be worth showing? A daily run cannot carry a tornado warning.
Area
tooling
Priority
medium
Generated by Claude Code, opens in a new tab