Inspiration

Who: anyone who pastes a long AI answer into a note, post or report. The harm: a wrong number goes out under their name, because nobody can tell where each claim came from.

What it does

Paste text and press Extract. Every sentence with a number or a date becomes a ghost card: a red afterimage drifts behind the words, the card floats, and an UNSOURCED stamp sits on it. Type a source and the ghost is bound: the card settles, the afterimage collapses into the text and a dark BOUND stamp comes down. Clear the source and it turns back into a ghost.

The haunting is a readout, not decoration. One value, the share of claims still unsourced, drives the fog over the page, the red pulse at its edges and the speed of the candle flame. The status line says how many claims haunt the text. Export stays sealed ("Sealed: name 2 more sources") until the value reaches zero; then the fog clears, the candle goes out, the line reads "The hex is lifted" and Export prints every claim with its source. A source of only spaces does not count. The page never checks whether a claim is true. It only makes you say where it came from.

Card text keeps at least 4.5:1 contrast in every state: the words are never blurred or faded. With reduced motion on, every animation stops and the states stay visible by colour and stamp. The page is static: no network calls, no storage, no login, and it works at 375 px wide.

How we built it with Kiro

Kiro CLI, free plan. The code comes from five specs in /.kiro/specs:

  • claim-extract: sentence splitting and number/date detection, produced claims.js.
  • export-lock: Export stays locked until every card has a source, produced lock.js.
  • receipt-ui: cards, keyboard order, produced the first index.html.
  • haunt-ui: the fog, ghost and bound states, candle and status line, with EARS acceptance criteria for each effect.
  • split-and-scale-fix: a bugfix spec. A sentence ending in a year ("in 2023.") was not split, and "1.2 million" was cut to "1.2". Kiro wrote the bug condition and the unchanged behaviour first, then the fix and 16 regression tests, including a follow-up so "3 millionaires" is not read as "3 million".

/.kiro/steering holds the product rules (every effect must map to a state, contrast stays high) and the tech rules (static HTML, no framework, node --test). Kiro ran each spec's tasks in order and wrote the tests with them.

Tests

63 tests pass with npm test (Node test runner, no dependencies).

Prior work disclosure

Written for this hackathon. Kiro CLI generated the specs, code, tests and page. Claude Code wrote the two steering files (and revised the product steering for the haunted design), made small CSS edits to index.html on Nov 30 that the haunt-ui spec later reworked, and checked the result in a browser. It shares no code with my first entry, Charon.

Video note

The yellow outlines, the zoomed candle and the "Unsourced share" panel in the video are overlays added while recording; the panel reads the page's own --haunt value.

Share this project:

Updates

Submission history