Local Scout: road closure and traffic change sources
Back to our planProblem
In plain words: road closures, detours and traffic changes near the neighborhood reach the site late or not at all, because Local Scout reads no closure source.
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. Road closures, traffic signals and intersections are on his list of what matters most.
Today (checked 2026-11-10):
- A closure on our detour route was missed. The City announced a County Highway T closure at Felland Road with a detour over Sprecher Road and Milwaukee Street (https://www.cityofmadison.com/news/2026-10-19/highway-t-closure-at-felland-road-begins-october-26, opens in a new tab). Nothing on the site covered it.
- Closure notices are a City news category. https://www.cityofmadison.com/traffic-engineering/news, opens in a new tab lists them with dated, stable links. No feed link was found on the page.
- Open data. The City publishes a "Road Closures" map layer with start date, end date, closure type and road (catalog entry: https://geo.btaa.org/catalog/912f842a975542978e4dc5ffa216ebc8_14, opens in a new tab). Its live service address was not confirmed in this sweep.
- State roads. WisDOT's 511 Wisconsin has a documented events API (https://511wi.gov/developers/help, opens in a new tab). Whether it needs a free key was not confirmed.
- Related: #583 covers how a closure is drafted (as an update with dates). #603 is one traffic signal. This issue is only about the sources.
Proposed fix
- Check each source by hand as
sources.yamlrequires (robots.txt, terms, format, a current item), then register the ones that pass. - Prefer the open-data layer or an API over page parsing where one works.
- Match on the area's boundary roads and the routes out, using the
area.yamlrules, and extend them where a closure names a cross street. - A closure is drafted as #583 says, with its dates and detour.
Native first, one line per step:
- Native: the existing JSON and HTML parsers.
- Official plugins: none needed.
- Open source: none needed.
- Our code: registry entries, a parser per source that needs one, area rules, evals.
Acceptance criteria
- Not done: Each candidate source has a recorded result (
valid,invalid,restrictedorpending) with the date checked. - Not done: A dry run surfaces a closure on a boundary road or detour route, with its start and end dates.
- Not done: A closure elsewhere in the city is rejected.
- Not done: Evals cover a closure whose detour runs through the area but whose closed road is outside it.
Files likely touched
intelligence/sources.yaml, intelligence/sources.md, intelligence/area.yaml, intelligence/evals/, intelligence/runner/lib/parsers.mjs
Must not touch
src/ (no site code changes)
Open questions
None
Area
tooling
Priority
high
Generated by Claude Code, opens in a new tab