SYNTAX ERROR IN 20 icon

Kiroween 2026 · Resurrection

The dead listing rises only when the checksum agrees.

A Kiro agent proposes. A checksum gate decides. An emulated C64 runs it.

27.1 s0.85 Kiro credits1 patchone recorded run

build hash e650d81 · 2026-11-26

Program 1: The Last Seance

authored 2026, typeset by us, read by real OCR

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
70PRINT"{CLR}{RVS} THE SPIRITS ANSWER {OFF}{DOWN}":rem 95
80FORI=1TO5:READN$:PRINT" ";N$:NEXT:rem 215
90PRINT"{DOWN} READY TO RISE.":rem 196
100END:rem 104
110DATA "THE PAGE", "THE CHECKSUM", "THE MACHINE":rem 216
120DATA "THE AGENT","IT LIVES":rem 209

first 6 of 12 lines (numbered 10–120)

recorded screen · c64-ready@3.4.0

II · the death

One wrong character kills the program.

Scans survive; every character must return exactly, and checking it needs no ROM.

20PRIMT™ ** THE LAST SEANCE **"

printed :rem 159 · computed 158

Without a witness, a fix that runs can still be wrong.

As read

The C64 answers

The risk

III · the witness

Each printed line carries its own witness.

20PRINT" ** THE LAST SEANCE **":rem 159

Σ codes of number and body · mod 256

“A match is evidence, never proof.”

43/43

line checksums matched the printed :rem on a real June 1984 page (vision-read; page withheld, rights)

IV · the rite

The model is only one of the hands, and it cannot say yes.

can say yes
  1. OCR

    PRIMT™
    src/ocr

    tesseract.js

  2. MODEL

    Kiro agent

    PRINT"
    .kiro/agents/resurrector.json
  3. Gate

    REFUSEDACCEPTED
    scripts/hooks/checksum-gate.mjs

    PreToolUse · exit 2

  4. C64

    c64-ready@3.4.0
  5. Contract

    RESURRECTED
    src/gate/contract.ts
  6. Stop hook

    15fix attempts8credits600 swall
    scripts/hooks/until-title.mjs

V · the gate

Four ways to cheat. Four refusals.

REFUSED

R4.15sum ≠ printed
R4.15untypeable character
R4.4empty line
R4.7rewrite > 40%

The ™ trap

8482 mod 256 = 34

20 PRINT™ ** THE LAST SEANCE **"

Summed as written (159 = 159), then refused: no C64 key types ™, the loader would drop it.

gate output · line 20 as OCR read it

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).

VI · the run

One recorded run: 27.1 s, start to finish.

first error at +15.0 s · RESURRECTED at +23.5 s

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

Certificate of death, reversed

Cause of death
?SYNTAX  ERROR IN 20
Treatment
1 accepted · 0 refused · 0 forced
Revival
19:57:05 UTC
Alive
19:57:08 UTC · 0.85 credits

Two rows (runner-context, runner-cycle) are the recorder running the same hook scripts.

VII · Kiro

Kiro built the checksum engine and tool layer; hooks guard every patch.

3specs
4hooks
6MCP tools

claude-direct:src/gate, the recorder, REPLAY, UI, hook scripts.

Credit caps reached or neared: 51.26 of 50, 68.71 of 70.

Rows of the live /kiro page: 19:57:05 hook checksum-gate (kiro-pre-tool-use) exit 0 accepted, ACCEPTED: 20: checksum 159 = printed 159; one row omitted (the apply_patch call); 19:57:06 tool call @c64/c64_run; 19:57:10 hook until-title (kiro-stop) exit 0 allow, RESURRECTED 12/12 checksum-consistent; 19:57:10 credits +0.85.

VIII · receipts

Receipts, not adjectives.

520

tests passing on 8d26d13

12/ 12

model runs RESURRECTED (4 cases × 3)

0.05ms

gate p95, in node, N=2000

On the real 1984 page search fixed 3 of 18 failing lines; the agent made all 18 checksum-consistent (N=2)
README · Engineering Rigor · Experiment E0

evidence/bench/bench-2026-11-26-p7.json · in node

gate applyPatchp50 0.01 · p95 0.05 msN=2000

emulator bootp50 807 msN=10

OCR, tesseract.js 7p50 1199 msN=5

REPLAY of the recorded runp50 2.7 s

On the authored page, search alone fixes its one failing line.

IX · honest limits

stetWhat we will not claim.

Four of the README's six limits, word for word.

README.md · Honest limits 1, 2, 3, 5verbatim

The live site is recorded playback; no C64 ROM is hosted (rights), so "IT LIVES" there is captioned "as recorded".Honest limits 1
The 1984 magazine page and its OCR output are not in this repository (rights); that run cannot be reproduced from a clone.Honest limits 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.Honest limits 3
Evals and experiments use small N on one machine (N=3 per eval case, N=2–3 per experiment arm): directions, not rates.Honest limits 5

X · see it rise

See it rise yourself.

For anyone retyping a listing from a scan: /scan checks each line that has a printed checksum.

ready.edycu.devgithub.com/edycutjong/ready

build hash e650d81 · 2026-11-26

The live site after the recorded run, lines 10 to 90: line 20 struck in red and re-inked in blue, every line's checksum ticked, and the C64 pane showing THE SPIRITS ANSWER, IT LIVES, READY TO RISE.

1 / 10 · read along

↻ Turn the phone sideways for the full-size slide. Tap its right side for the next slide, its left side to go back.