Skip to content
SprecherEast
Issue 994

Local Scout: road closure and traffic change sources

Back to our plan
Done
enhancementtoolingpriority: highready

Problem

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):

Proposed fix

  • Check each source by hand as sources.yaml requires (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.yaml rules, 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:

  1. Native: the existing JSON and HTML parsers.
  2. Official plugins: none needed.
  3. Open source: none needed.
  4. 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, restricted or pending) 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

See it on GitHub, opens in a new tab