Skip to content
SprecherEast
Issue 1009

Local Scout: test an item's place against the City's boundary for the area

Back to our plan
Done
enhancementtoolingpriority: mediumready

Problem

In plain words: Local Scout places an item by matching words (street and place names), which cannot tell whether an address is inside the neighborhood. The City publishes the neighborhood's boundary as map data, and the registry records where, marked unverified.

Found in the review of #1006 (2026-11-10): the written rule exists, the code behind it does not.

Proposed fix

  • Confirm the layer and the area's identifier by hand, and record the check.
  • Fetch the boundary once per run (or keep a dated copy) and test a geocoded or block-level address against it.
  • Fall back to the word match when an item has no usable address, and say which method placed it.

Acceptance criteria

  • Not done: The boundary record in area.yaml is marked verified with its date.
  • Not done: A test places one address inside, one just outside, and one with no address.
  • Not done: The verify output says which method placed the item.

Files likely touched

intelligence/area.yaml, intelligence/runner/lib/, intelligence/schemas/, intelligence/evals/

Must not touch

src/

Area

tooling

Priority

medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab