Kiroween 2026 · Resurrection

The dead listing rises only when the checksum agrees.

A magazine type-in, misread by OCR, comes back to life, and a checksum decides when.

A Kiro agent proposes the fix, a gate checks it against the printed :rem, and an emulated Commodore 64 runs it. One recorded run: 1 patch, 12 of 12 lines consistent, 27.1 s, 0.85 Kiro credits.

Recorded playback of a real Kiro run · no C64 ROM served · its patch re-judged here by the real gate · the raw run log

Program 1: The Last Seance

authored 2026 · typeset by us · read by real OCR · first 6 of its 12 lines

10PRINT"{CLR}{2 DOWN}":rem 231
20PRIMT™ ** THE LAST SEANCE **":rem 159
30PRINT"{DOWN} A TYPE-IN FROM 2026":rem 138
40PRINT"{2 DOWN} KNOCK ONCE: PRESS {RVS}RETURN{OFF}":rem 61
50GETK$:IFK$=""THEN50:rem 1
60IFK$<>CHR$(13)THEN50:rem 40

recorded screen · c64-ready@3.4.0

19:57:11 end · RESURRECTED · 1 iteration · 27.1 s wall · 0.85 Kiro credits

The run's own clock (kiro-cli 3.6.0, claude-sonnet-5.5): waits sped up, the last 3.5 s real time.

27.1s

one recorded Kiro run, start to finish: the error at +15.0 s, RESURRECTED at +23.5 s

run log · wallMs 27084

0.85

Kiro credits for that run, metered by kiro-cli

run log · credits total

12/ 12

model runs RESURRECTED (4 cases × 3), re-judged, 0 mismatches

README · Engineering Rigor · docs/EVALS.md

520

tests passing on 8d26d13, 45 files

npm test · evidence/tests

Experiment E0 · the real June 1984 page · N=2

Search fixed 3 of 18 failing lines. The agent made all 18 consistent.

The same 18 OCR-failed lines: a deterministic search with no model fixed 3; the gated Kiro agent made all 18 checksum-consistent (not proven identical). On the authored page, search alone fixes its one line.

For anyone typing a listing back in from a scan.

Today, in your tab
/scan checks each line of a 1984 Gazette page, or your own scan, against its printed :rem and flags the mismatches. No install, no ROM.
Proven on recorded runs
The gated repair: 12 of 12 model runs RESURRECTED, 0 mismatches on re-judge.
Not yet
The repair on live pages (README limit 4); any outside user's listing.

Recorded 2026-11-24 · 19:56 UTC

The page shows the run. The log proves it.

Above, the live site. Below, the run typed from its log; two hook rows are the recorder running hook scripts.

The live site after the recorded run (on phones, its own phone layout, lines 10 to 40): line 20 struck in red with the blue patch beneath it and every checksum ticked; on wide screens all twelve lines, and the C64 pane shows the recorded post-title screen: THE SPIRITS ANSWER, THE PAGE, THE CHECKSUM, THE MACHINE, THE AGENT, IT LIVES, READY TO RISE.
Captured from the live site, 2026-11-25; the wide view's C64 pane shows the recorded screen as text.
kiro-cli 3.6.0 · agent resurrectorclaude-sonnet-5.5 · 2026-11-24

hooklisting-context (runner-context) exit 0

hooklisting-context (kiro-session-start) exit 0

callLoad skill: petscii-notation

resultskill load failed (the permission request failed before it was answered)

call@c64/c64_run

c64NO-TITLE NOT RESURRECTED · 11/12 checksum-consistent · error: ?SYNTAX ERROR IN 20

call@c64/checksum_line line 20

resultline 20: computed 159 · printed 159 · status: verified · matches: true

hookchecksum-gate (kiro-pre-tool-use) exit 0 · accepted

call@c64/apply_patch

resultACCEPTED: 20: checksum 159 = printed 159

call@c64/c64_run

c64RESURRECTED · 12/12 checksum-consistent · error: none

hookuntil-title (kiro-stop) exit 0 · allow

credits+0.85 (total 0.85, metered)

hookuntil-title (runner-cycle) exit 0 · allow

endRESURRECTED · 1 iteration · 27.1 s wall

Line 20 · printed :rem 159

Try to fool the gate.

Type any line 20. This page runs the project's own gate (src/gate/checksum-gate.ts, bundled as gate.js, 7.3 KB), the code the Kiro Pre Tool Use hook runs. No model. p95 0.05 ms in node (N=2000).

:rem 159

computed 158 · printed 159

REFUSED

REFUSED (R4.15): line 20 contains "™", which no C64 key types. The magazine's checksum is the sum of what the typist typed, so this cannot be the printed line; write the character the page shows (Gazette notation for control keys).

The ™ trap. OCR read the opening quote as ™ (code 8482, 34 mod 256: a quote). Fix only the M and a raw sum matches (159 = 159), yet the gate refuses: no C64 key types ™.

The model chooses where to look. Code decides what is true.

Every stage from scan to verdict; the model never gets to say yes.

I · READ

The page is read

The live /scan page after reading the authored page in the tab (Playwright's bundled Chromium 147): 9 of 12 lines match their printed checksum, 3 are flagged as mismatches (Chrome 158 flags 2); on a phone, rows 10 to 30 with line 20 flagged.open /scan ↗

Tesseract reads the scan in your tab and checks each line's sum against its printed :rem.

tesseract.js 7 · p50 1199 ms in node

II · PROPOSE

The agent proposes

Kiro agent resurrector gets the flagged listing and 6 MCP tools: no files, shell or web.

c64_reloadc64_runc64_read_screenc64_presschecksum_lineapply_patch
.kiro/agents/resurrector.json

III · JUDGE

The gate decides

A Kiro Pre Tool Use hook runs the gate before apply_patch. A refusal exits 2; the agent reads the reason verbatim.

REFUSEDthe printed sum does not match (R4.15)
REFUSEDa character no C64 key types (R4.15)
REFUSEDan empty line: deletion (R4.4)
REFUSEDmore than 40% of the line rewritten (R4.7)
ACCEPTED20: checksum 159 = printed 159, the recorded patch

exit 2 · the hook's stderr for the OCR's line 20

REFUSED (R4.15): line 20 contains "™", which no C64 key types.

hook checksum-gate · Pre Tool Use · exit 2

IV · RUN

The machine confirms

The patched listing is re-RUN on a C64 emulator; RESURRECTED needs the title, the post-title text, every line checksum-consistent and memory equal to the listing.

c64-ready@3.4.0 · boot p50 807 ms in node

V · HOLD

The Stop hook holds it

It sends the agent back once per prompt (kiro-cli 3.5.0, measured); the recorder resumes until RESURRECTED, only unfixable lines remain, or a cap hits.

15fix attempts
8credits
600seconds

19:57:10 until-title (kiro-stop) exit 0 · allow · RESURRECTED · 12/12 checksum-consistent

hook until-title · Agent Stop

Every listing gets a headstone, and a cause of death.

1984

Random Number Test

COMPUTE!'s Gazette · June 1984cause withheld with the recording (rights)title path raised in 3 of 3 eval runs
2026

The Last Seance

authored 2026?SYNTAX  ERROR IN 20raised 2026-11-24 · recording public
?

Your own page

assisted · in your tabno cause of death: nothing has runOCR + checksum flags, 0 credits

Certificate of death, reversed

filled in from the run log · run 2026-11-24 19:56:44 UTC
Cause of death
?SYNTAX  ERROR IN 20the run's own first error, verbatim
Treatment
1 patch accepted · 0 refused · 0 forcedline 20: PRIMT™ → PRINT", checksum 159 = printed 159
Time of revival
2026-11-24 19:57:05 UTCthe last accepted patch (gate log)
Examined by
the checksum gatePre Tool Use hook, then apply_patch
Pronounced alive by
the C64 re-RUN at 19:57:08 UTCtitle seen, post-title pass, 12/12 checksum-consistent

Kiro is the engine

What Kiro did, file by file.

Claude-direct, labelled in commits and docs/DX-REPORT.md: src/gate and its contract, the recorder, REPLAY, the UI, the hook scripts, and tasks left after two spec lines hit or neared their caps (51.26 of 50, 68.71 of 70).

.kiro/specs/checksum-oracle/

7 properties, 12 tasks. Kiro built the tokenizer and checksum (tasks 1–6) and caught three spec errors against the real C64.

.kiro/specs/c64-mcp-server/

11 properties, 8 tasks. Kiro wrote the schemas, run-dir contract and tools (tasks 1–5).

.kiro/specs/resurrect-loop/

The agent loop; the profile and steering came from it (T1 done, T2–T6 open).

.kiro/agents/resurrector.json

Only @c64. Hooks: listing-context (Session Start), checksum-gate (Pre Tool Use), until-title (Stop).

.kiro/hooks/prop-tests-on-save.json

Saves under src/basic or src/gate run the property tests.

.kiro/steering/ (7 files)

BASIC V2, Gazette notation, the agent's rules; Kiro wrote resurrector.md.

.kiro/skills/petscii-notation

Control-code notation; its load failed in the recorded run.

The live /kiro page: the recorded run's rows from 19:56:44 to 19:57:10, including hook checksum-gate (kiro-pre-tool-use) exit 0 accepted, ACCEPTED: 20: checksum 159 = printed 159, and hook until-title (kiro-stop) exit 0 allow, RESURRECTED 12/12 checksum-consistent.
The same hooks on the live /kiro page, captured 2026-11-25.

stetWhat we will not claim.

Stet: the proofreader's "let it stand". Four of the README's six limits, verbatim.

The live site is recorded playback; no C64 ROM is hosted (rights), so "IT LIVES" there is captioned "as recorded".README · limit 1
The 1984 magazine page and its OCR output are not in this repository (rights); that run cannot be reproduced from a clone.README · limit 2
On the real 1984 page the title-path result is 19/28 lines source-exact against a vision-read reference; the other lines are checksum-consistent, not proven identical.README · limit 3
Evals and experiments use small N on one machine (N=3 per eval case, N=2–3 per experiment arm): directions, not rates.README · limit 5

Questions a judge would ask.

Is the C64 on this page real?

Recorded from c64-ready@3.4.0's screen memory. No C64 ROM is served (rights), so the stamp says "as recorded"; the gate panel is live.

Can the agent cheat its way to IT LIVES?

Not by the shortcuts we tested: an emptied line, an untypeable character and a rewrite are refused, and a forced patch is never certified (eval cases 4 and 9, unit tests). A wrong line whose sum matches and runs would pass: results say consistent, not identical.

Does it work on a real 1984 page?

On the June 1984 Gazette's Random Number Test: TITLE-PATH RESURRECTED in 3 of 3 eval runs. In two earlier spike runs, 19 of 28 lines matched a vision-read reference exactly. The recordings are withheld (rights).