What it does

Type a US address. A drawn house appears at dusk, with one window for each kind of public record: leaking fuel tanks, Superfund sites, old military land, orphaned oil and gas wells, high-radon geology and FEMA flood zones. When a record of that kind is near the address, a ghost rises into its window. A faint ghost means the agency has closed every case there. Night falls only for what is still live: one live kind brings the moon and a crack in the wall, three bring a bare tree, a boarded door and a crooked chimney, four or more a red moon, and the whole page goes dark with the house. If every case nearby is closed, the house only reaches dusk. A small guide ghost says which window to open first, and that window beckons. The yard sign's rider drops with the count. Sound (wind, one bell per ghost) is off until you turn it on. Tap a ghost and you get the record itself: name, distance, status, the agency's link, and what to ask the seller or landlord next.

Home listings show the kitchen, the yard and the schools. They leave out what sits down the street. All of this is public, but it lives in five agency databases that nobody checks before signing a lease or an offer.

Live: https://hk-kiroween.fly.dev

The number

We drew 2,000 random US street addresses from the US DOT National Address Database (99 million rows, seed 20261201) and ran each one through the same lookup the site uses.

  • 38% are near at least one leaking fuel tank, Superfund site, old military site or orphaned well record (95% interval 36.1 to 40.4).
  • 9% are within 1,500 ft of a leaking fuel tank case that is still open (8.6%, 95% interval 7.4 to 9.9).
  • A Superfund-only check with the same 1-mile rule finds 2.4%.
  • The big listing sites show no section for any of these.

Leaking tanks are most of it (33.8%), then old military land (6.9%). 6.7% of addresses have two or more kinds. data/numbers.json holds every number and the commit it was measured on, and the 2,000 sample coordinates are in the repo, so make check-live reruns the count against the live site in about two minutes.

How we built it

Kiro CLI (free tier) built it spec first. From a one-page brief it wrote the spec, and later changes were written into requirements.md as user stories with acceptance criteria: by Kiro while its free tier lasted, then by Claude. The spec now has 33 user stories, 94 acceptance criteria in EARS notation, a design with 7 correctness properties, and 73 done tasks. Kiro wrote US-1 to US-27; Claude wrote US-28 to US-33 after Kiro's free tier ran out.

  • Steering (4 files, always included): the honesty rules (proximity, never contamination; no alarm words; every number from numbers.json), product, structure and tech stack.
  • Hooks (4): an honesty gate that runs scripts/check_honesty.py when the agent stops and fails if a page hard-codes a statistic or uses an alarm word; spec sync, which has the agent update design.md and tasks.md whenever requirements.md changes; Hypothesis tests on save; and a numbers.json rebuild. Kiro's own session logs show 28 hook runs on this repo: spec sync 12 times, the honesty gate 10 times and the tests on save 6 times. Once the gate flagged a line and Kiro stopped to check it. The save hook only fired after Kiro fixed its own path matcher in the last run; the numbers hook never fired from the CLI.
  • Custom agents (2): plain-words, a copy editor bound to the honesty steering, ran once and made 11 copy edits. data-scout, which checks a dataset's licence, update date and source links, was written but never run.
  • MCP: a small stdio MCP server over the same SQLite database, with haunts_lookup and dataset_sources, so Kiro can ask the data while it works.
  • Property-based tests: 13 Hypothesis tests of the distance and polygon rules, 178 tests in total.

You can watch it: the site replays the terminal recordings of four Kiro runs, with the prompt each got. Run 12 takes eleven fixes from two AI judges, writes them into the spec, and the test hook fires on every save: https://hk-kiroween.fly.dev/static/kiro/replay.html?run=12 . Run 11 is an MCP lookup (?run=11). Kiro's own session files are in the repo unedited (.kiro/raw-sessions), so the hook runs, the plain-words run and the run that hit the monthly limit can be checked; the README says how.

Who did what: Kiro wrote the spec, steering, hooks, custom agents, MCP server, the first versions of the lookup, server, database builder, numbers script and tests, and most review fixes. Kiro's free tier ran out of its monthly limit partway through run 12; Claude (Claude Code) finished that run's tests and fixes. Claude also wrote the brief and every prompt for Kiro, the data fetch and address sampling, the front end and its design, the night-falls costume and the guide ghost (written into the spec as US-28 and US-32 after Kiro's limit ran out), the data fixes and the deployment. The site's How it was built page (https://hk-kiroween.fly.dev/built) is generated from the repo's .kiro folder.

The stack is small on purpose: a Python standard library server, a SQLite file with R*Tree indexes (bounding box first, then exact distance or point-in-polygon), vanilla JS and SVG, and one Fly.io machine that sleeps when idle.

Data

All real, all public: 481,923 leaking tank records (EPA UST Finder), 1,840 Superfund sites with 2,118 boundary features for 1,909 sites (EPA), 8,837 formerly used defense sites with 1,646 munitions response areas (US Army Corps of Engineers), 130,121 orphaned wells (USGS), USGS's geologic radon map, and FEMA's flood map asked live. Every ghost links to where its record comes from.

Challenges

  • FEMA's own flood server refuses our host, so flood zones come from Esri Living Atlas' copy of the same layer. A cold query there can take 35 seconds, so the page shows the other records first and keeps asking for up to 48 seconds.
  • The radon map's group codes run backwards from what you'd guess (group 1 is high). Checking them against the radon index values caught it before launch.
  • 43,598 tank records are located only to a town, ZIP code or street, and 4,902 sit on one shared default point. Drawing those would put ghosts next to homes that have nothing near them, so they are left out. An AI judge found the same in the military data (42 Seattle properties on one downtown point), so properties on a shared default point are left out too.
  • EPA's public Superfund boundary view had no boundary for Bunker Hill in Kellogg, Idaho. An AI judge found that, and the site switched to EPA's fuller boundary layer. A site with no published boundary uses its point and the 1-mile rule.
  • The Census geocoder misses some real addresses, so OpenStreetMap is tried once, and the page says when it was used.

What's next

Brownfields and state lists, a printable page for a home inspection, and a way for renters to check a whole street before a viewing.

Limits

Distance is not exposure. A record nearby does not mean a home is affected, and no record does not mean it is clear. Agency coordinates can be off by a block. The radon map is 1993 geology at state scale.

Entered in Costume Contest, and for Best Ghost of Kiroween Past (registered for Kiroween 2025).

Built by Touko Ursin with AI agents (Claude) and Kiro. MIT licensed.

Built With

Share this project:

Updates

Submission history