PLAY PAYDAY REPLAY

For the judges: why Payday Replay should win

Payday Replay is small on purpose: one real problem, an exact answer you can check in a minute, and a Kiro trail that shows its work, including where Kiro was wrong. It is entered for Resurrection, Best Demo and Best Kiro Crew App. Every claim below has a link. The demo video is on YouTube: https://youtu.be/8Mp_RxXG4GQ.

Judge this project in 60 seconds

  1. Open the preloaded demo. No PRESS START click is needed. (Or press SAMPLE, then pick THE DEMO MONTH.) It loads with GHOST MODE +2: payday two days late, SHORTFALL AHEAD.
  2. Read GHOST LOW −$130 vs ON-TIME LOW −$85. The −$130.00 is the lowest balance if the paycheck lands two days late; on time the low is −$85.00.
  3. Press REPLAY. It says REPLAY CLEAR and REPLAY LOW becomes $65.00.
  4. Read the two moves: Headphones day 3 to day 11 and Equipment day 5 to day 12. The ending balance is still $470.00.
  5. Press +3, then REPLAY. It says NO SAFE REPLAY and shows −$30.00, the closest option, still short.

Why Kiro mattered: its first spec review found five gaps between the requirements and the code. Its Bugfix Spec then fixed HTML injection through transaction descriptions and a bad save file wiping the register. An independent oracle checks the optimizer against every permitted schedule. The specs, 21 saved Kiro CLI sessions (19 in this repo, 2 in the Crew repo), regression tests and the Kiro Crew app are linked below.

The short version

The problem. Students, hourly workers and people with irregular income can finish a month with money left over and still be short before payday. Payday Replay shows that risk in advance, compares the date changes they already allow and helps them decide without connecting a bank account. The bundled scenarios show the calculation, not measured real-world savings.

The $195 improvement. In the sample month a paycheck two days late takes the balance to -$130.00. Press REPLAY and two date changes you already allowed (headphones, day 3 to 11, and equipment, day 5 to 12) lift the low to $65.00, a $195 improvement, with the same $470.00 ending balance.

The honest failure. With the paycheck three days late, no permitted schedule works. It says NO SAFE REPLAY and shows the closest option, -$30.00, still short. The payday stress test on the same screen says the maximum survivable delay is 2 days.

New in Builds 17 and 18. 1986 DEMO turns an old Quicken file into a replayed month in one press: it reads a 1986-style QIF register through the same importer, switches to the green-screen view, makes the paycheck 2 days late and presses REPLAY. EXTRA LIFE turns the dead end into a way out: at three days late it finds that paying groceries 3 days later, day 9 to day 12, keeps the month at $15.00 (try it). HAUNT ALL lets each paycheck be late on its own and counts every combination. EXPORT carries your own month in a link, a QIF file, a printout or a real floppy disk image. The engine also runs as an MCP server that a read-only Kiro auditor agent can call, and Kiro packaged that server with the money rules steering as a Kiro power in powers/payday-replay.

Three places to start:

Engineering proof in one table

Each row is a claim, the test or file that proves it, and how to check it yourself. All of it runs without a Kiro account.

Claim Proof Check it
Money is whole cents, never floats test_to_cents_exact and the steering rule in financial-correctness.md python -m pytest tests/test_model.py -q
REPLAY's answer is the true best, not a guess an independent oracle ranks every allowed schedule and must agree: test_optimizer_exact_winning_move_set python -m pytest tests/test_properties.py -q
The sample numbers never drift -$85.00, -$130.00, $65.00 and $470.00 are pinned python scripts/check_sample.py
HAUNT ALL counts exactly, with no sampling a brute-force loop over all 36 combinations must match: test_two_paychecks_match_a_brute_force_loop python -m pytest tests/test_odds.py -q
The floppy image is a real FAT12 disk an independent reader in the test recovers every file byte for byte: test_floppy_image.py python -m pytest tests/test_floppy_image.py -q
The MCP server answers with the same engine test_analyze_matches_the_engine_for_the_sample_and_every_scenario and a recorded exchange in mcp-session-18.txt python -m pytest tests/test_mcp_server.py -q
The Crew companion runs the same engine the four engine files must match by SHA-256 in the Crew repo: python scripts/verify_bundle.py
The app works in a real browser, at phone and desktop sizes, with no serious or critical axe violations on the WCAG A and AA rules seven browser scripts run on every push CI
Kiro's share is counted, not claimed lines added by each Kiro session commit, from git python scripts/kiro_share.py

Storyboard from this build

These five pictures were taken from the running Build 19 app by scripts/make_storyboard.py.

01. Payday is late. A month ending with $470.00 can still have a $130.00 shortfall. Payday is late 02. Run Ghost Mode. The chart shows how a paycheck two days late changes the daily balance. Ghost Mode
03. Replay the month. Two authorized changes raise the low to $65.00. Replay 04. The honest failure. At +3 days, no permitted schedule works. NO SAFE REPLAY
05. The engineering evidence. Kiro's Bugfix Spec, hooks, oracle and Crew tests, plus sessions 7 to 13. How Kiro was used

Test it in 60 seconds

  1. Open the live app and press PRESS START. The sample month loads with the paycheck two days late: on time low -$85.00, ghost low -$130.00, ending $470.00, SHORTFALL AHEAD. REPLAY is on the first screen of a laptop or phone, and the payday stress test under Ghost Mode already shows SAFE for +0, +1 and +2 and SHORT for +3, +4 and +5, with a maximum survivable delay of 2 days. Or skip the clicks with a deep link: Ghost +2 replayed, Ghost +3, the dead end, +2 with a $100 cushion, bills bigger than the money, how Kiro was used.
  2. Press REPLAY: REPLAY CLEAR, the low becomes $65.00, headphones move from day 3 to day 11 and equipment from day 5 to day 12, the month still ends at $470.00, and the proof line reads "4 permitted schedules checked. 1 feasible. 2 authorized changes. Same ending balance."
  3. Press REWIND, then +3, then REPLAY. It says NO SAFE REPLAY and shows the closest option, a low of -$30.00 that is still short.
  4. Press SAMPLE for six more worked months, or IMPORT BILLS then TRY A SAMPLE STATEMENT. A made up statement is read in your browser; ADD TO SCENARIO loads a month with a low of -$564.02, and REPLAY lifts it to $40.98. IMPORT BILLS also reads your own CSV, statement PDF, picture or a QIF file from an old money program, all in the browser.
  5. COPY SHARE LINK copies a deep link for the current sample and settings. An optional "Month starts on" date labels each day with a calendar date.

The browser smoke test checks these numbers on screen, seven widths from 320 px plus 200% zoom, a keyboard only run, the import cases and an axe-core scan. A sample check pins the same numbers. IMPORT BILLS, sound and the small spec for them (requirement 7) were built outside Kiro and are labelled that way. QIF reading was added in Kiro session 12.

Not done yet, said plainly: no user testing, and the Crew chat has not been run.

Resurrection

Payday Replay brings back more than the look of a 1980s electronic check register. It keeps the register working: QIF import and export, a register screen with a green-screen 1986 view, and a real FAT12 floppy disk image export. Then it gives the register a job it never had: a forward-looking cash flow stress test. Press 1986 DEMO to go from an old-style register file to a replayed month in one press. The old technology is useful again, not just decoration.

The dead technology is not "budgeting software". It is one specific thing: the electronic check register that came on a floppy disk for the 1980s home computer. You typed in a check or a deposit, it kept a running balance, and it printed the past. That was all it could do, and for that era it was enough.

Feature The floppy era register Payday Replay
What it does with your entries Keeps a running balance of what already happened Plays the next 30 days forward before they happen
When it helps After the money is gone Before the day you run short
A late paycheck You find out when a payment bounces Ghost Mode replays the month with eligible paychecks 1 to 5 days late; paychecks not marked CAN BE LATE stay on schedule
A fix You work it out yourself Replay checks every schedule you allowed, up to 1,024, and returns the fewest changes that keep every timeline at or above zero
Honest limits None stated Says NO SAFE REPLAY and shows the closest option when nothing works

Forecasting a balance is not new, and this does not claim it is. Here is how it compares with two named tools, using only what their own public pages say (checked Dec 4 2026, quotes and sources in the full comparison):

Feature PocketSmith Cash Flow Calendar Payday Replay
Projected daily balance Yes, up to 60 years Yes Yes, 7 to 60 days
What if testing Yes, what-if scenarios Yes, what moving one bill would do Late paycheck plus every move you allowed
Bank connection Yes Optional None, files are read in the browser
Late paycheck stress test as a named feature Not described Not described Yes, Ghost Mode
Exact search of every date change you allowed Not described Not described Yes, up to 1,024 schedules
Account needed Yes Not described No

Both are full money apps with budgets and reports, and they are ahead of Payday Replay on all of that. "Not described" means their page does not mention it, not that they lack it.

Payday Replay resurrects the electronic check register as a playable cash flow simulation. The pixel art is only the costume. The new job is playing the next 30 days forward (README).

Potential impact

You can have enough for the month and still be short before payday (the problem). It is aimed at students and young workers (product steering). It needs no account, bank link or server, and nothing you type leaves the browser (how it works). It only moves purchases you marked flexible, and only to the one day you allowed (requirement 3.1). The engine is four standard library Python files anyone can reuse (reuse).

Technological implementation: how Kiro was used

Kiro wrote part of this app, not all of it. Here is what it did, where it lives and the test that checks it. The same table is inside the app (footer, HOW KIRO WAS USED).

Kiro feature What it did Where it lives Test that checks it
Specs Spec review found five places where the spec and the code disagreed, for example deposits pushed past the last day were never shown requirements 2.5, 3.2 and 3.5 test_outside_window_labels_present_when_deposit_pushed_past_horizon, test_ghost_requires_both_timelines_safe, test_infeasible_closest_tie_break_by_fewest_changes
Bugfix Spec Fixed HTML typed into a description and a bad save file that wiped the register untrusted-save-files test_load_save_never_trusts_stored_replay, test_failed_import_returns_no_scenario, the browser test
Steering Whole cents everywhere, and Replay only uses the day you allowed financial-correctness.md test_to_cents_exact, test_replay_properties
Hooks The financial check ran by itself 82 times (18 on Dec 3, 64 in sessions 7 to 20), and its own script bug was found and fixed hooks, hook-check.sh hook-runs.log
Property tests An independent oracle that ranks every schedule test_properties.py test_optimizer_exact_winning_move_set
MCP Kiro looked at the phone and desktop layouts through Playwright style.css, session 6 smoke test at 390 and 1440 px
Custom agent Sessions 12 and 13 ran as payday-reviewer, a release-reviewer agent added in session 11 payday-reviewer.json session 12, session 13
Crew A companion app that runs the same engine payday-replay-crew its 58 tests and verification bundle

The full account, including the Bugfix Spec, the hook probe and the session list, is in KIRO.md. The session map is in the evidence matrix.

Design

One made up home finance cartridge from the 8 and 16 bit era, from the boot screen to Rewind and Replay (why it looks like this). Every sprite is original and drawn from a character grid (make_assets.py). Every colour in the code is named in the visual steering. It works at 320, 360, 375, 390, 768, 1024 and 1366 pixels wide, at 200% zoom, and from the keyboard alone (smoke test).

Innovation

Ghost Mode replays the month with eligible paychecks delayed by 1 to 5 days, and paychecks not marked CAN BE LATE stay on schedule (requirement 2). The payday stress test evaluates all six delays in one view and reports the maximum survivable delay (requirement 8). Replay checks every schedule you allowed, up to 1,024, and returns the fewest changes that keep every timeline at or above the cushion you chose (default $0, or $25, $50 or $100). If nothing works it says so and shows the closest option, the first shortfall day, the number of shortfall days and the extra cash that would have been needed at the start of the month (requirement 9, tests, stress tests, buffer tests). The Python runs in your browser on Pyodide 0.27.7.

Presentation and Best Demo

The demo follows one example, the sample month, from -$130.00 to $65.00 (boot, original balance, replay, no safe replay, import, phone, 1986 view, daily table, all taken by a script from this build, with the verdict and REPLAY LOW in frame). Those numbers are pinned by a unit test, the hook script and the browser test, so the story cannot drift from the app. The demo video follows the same month: https://youtu.be/8Mp_RxXG4GQ.

Best Kiro Crew App

Payday Replay Crew brings the same check into a Crew chat. Kiro wrote it spec first in its own repo (transcript): a payday coach agent, a replay skill and a Check a month command (app.json), running this repo's engine with a bundled sample. The tool prints the verdict, including NO SAFE REPLAY, and labels a dead end's move as the closest option that is still short. Its 58 tests pass next to this repo, and 57 pass with 1 skipped (the engine hash check) when it is cloned on its own (tests), and a verification bundle reruns five fixtures from a file and from standard input, checks the exact output and the engine hashes, and runs in CI. The coach now pipes the month to the tool on standard input, so no file sits in a shared temp folder. I also installed the standalone Crew command line in an isolated home folder with no sign in and no credits: kirocrew doctor ran, the app installed and enabled with Agents registered: 1 and Skills registered: 1, the installed skill printed the sample numbers, and its engine files have the same SHA-256 as this repo's docs/py (output). I did not open a chat (that needs a signed in account and credits), so chat is not verified (details).

MIT licensed. Made by John Khan in Toronto, Ontario. Source on GitHub. Build 19, Dec 4 2026, links pinned to kiroween-submission-2026-12-04-b19.