The implementation agent updates this file after every task (AGENTS.md section 4). Manual verification stays pending until the user confirms it. Only the user can confirm.
Values: automated = passed (<date>, <command>), failed (...), not run - <reason>;
manual = pending, confirmed by user (<date>), problem reported (<date>): <note>.
| Item | Automated check | Manual verification by user |
|---|---|---|
| M0.1 Run tools/check-prereqs.ps1, then tools/smoke.ps1 for every target. | passed (2026-12-03, pwsh -File tools/check-prereqs.ps1; pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1) |
confirmed by user (2026-12-03) |
| M1.1 Tile set: 8-byte multicolour patterns for land, grass, trees, stone, water and roads, including edge and corner patterns, with per-tile screen-RAM colour pairs. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1) |
confirmed by user (2026-12-03) |
| M1.2 Seeded generator: 80x50 tile world with water, stone, grass with trees, and connected roads; enforce the at-most-two-colours-per-cell rule. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1) |
confirmed by user (2026-12-03) |
| M1.3 Render the top-left screen of the world into the visible buffer; SPACE regenerates. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; VICE monitor buffered SPACE and compared all 1,000 visible cells before and after) |
confirmed by user (2026-12-03) |
| M2.1 People table (world x, y, direction) and movement rules; water and stone block. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,106 frames logged, every person stepped 263-264 times, none on water or stone) |
confirmed by user (2026-12-03) |
| M2.2 Per-buffer saved-byte lists: restore the bytes under people from two frames ago, draw people in view, flip in vertical blank. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,117 frames, 0 missed flips, update done by raster line 26 at the latest, both final bitmaps byte-exact against clean map plus dots) |
confirmed by user (2026-12-03) |
| M3.1 Keyboard matrix reading for the cursor keys with SHIFT, held-key repeat. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1; pwsh -File tools/check-keys.ps1: 8 of 8 scenarios, SPACE held = 1 regeneration) |
confirmed by user (2026-12-03) |
| M3.2 Split screen: raster interrupts switch to text below a 20-row map and back at the top of the frame; status text screen and ROM font copy in both banks; status lines with the people-in-view count. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1 incl. status text in both banks; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1; pwsh -File tools/check-keys.ps1; pwsh -File tools/check-split.ps1: 955 splits in 955 frames, writes start at 210:55-61, digits right in every frame) |
confirmed by user (2026-12-03) |
| M3.3 Fine scroll via $D016/$D011 in the 38-column, 20-row map area; rebuild the hidden buffer from tiles over 8 frames and flip on wrap; stop at world edges; show the view position in the status area; draw people relative to the view (in the shown buffer during vertical blank while a rebuild runs). | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,127 frames, 0 missed, update done by line 36; pwsh -File tools/check-keys.ps1: 8 of 8; pwsh -File tools/check-split.ps1: 964 splits in 964 frames, all y-scroll values 0-7, starts 210:55-64, digits right after 240 of 240 status updates; pwsh -File tools/check-scroll.ps1: 3 of 3 scenarios, edges reached and held, 1-5 stall frames per scenario, both buffers byte-exact at the end) |
confirmed by user (2026-12-03), after the fix for the reported tear (“the top of the screen tears a little when I go left or right”) |
| M3.4 Check that people stay aligned with the terrain over long scrolling runs; measure the frame budget with a border-colour timing bar. | passed (2026-12-03, pwsh -File tools/build.ps1; pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1; pwsh -File tools/check-people.ps1: 2,130 frames, update done by line 21; pwsh -File tools/check-keys.ps1: 8 of 8; pwsh -File tools/check-split.ps1: 962 splits, digits 241/241; pwsh -File tools/check-scroll.ps1 -Long: 4 of 4, tour 23,195 frames (about 6.4 minutes NTSC) with 21 stops byte-exact, people update done by line 45 at the latest; timing build --asm-define TIMING_BAR built and screenshot in VICE) |
confirmed by user (2026-12-03), with the light brown background (colour 8, pepto-pal palette); dots visible |
| M4.1 Region generator: each world rolls its own terrain mix; jittered seeds on a grid give every class areas all over the world, shaped by noisy distances, smoothing and removal of thin water; shores from the neighbours; trees on grass. Roads stay a grid of two rows and two columns and become bridges over water. The scroll rebuild skips cells whose tile is already drawn, to keep the 8-frame rebuild with textured terrain everywhere. | passed (2026-12-03, pwsh -File tools/build.ps1 (4,647 bytes); pwsh -File tools/smoke.ps1; pwsh -File tools/check-world.ps1 -Runs 10: 10 of 10 worlds, every 40x20 view with 3+ terrain kinds, map ready 7.1-7.3 s after power-on (generation 4.0-4.1 s), mix spread land 14 / grass-trees 8 / water 13 / stone 16 percentage points; pwsh -File tools/check-people.ps1: 1,919 frames, 0 missed, update done by line 20; pwsh -File tools/check-keys.ps1: 8 of 8; pwsh -File tools/check-split.ps1: 734 splits, digits right after 183 of 183 updates; pwsh -File tools/check-scroll.ps1 -Long: 4 of 4, tour 22,966 frames with 21 stops byte-exact, 116 stall frames in 15,216 moving frames) |
pending |
2026-12-03 (M4.1, spec change approved by the user: terrain all over the world, random mix per world, roads as a grid with bridges):
2026-12-03 (colour change, approved by the user): During M3.4 manual testing the user found the background orange (“should be light brown”). The C64 has no light brown; from rendered VICE comparisons the user chose C64 colour 8 shown with VICE's pepto-pal palette (light brown). src/main.s COL_BACKGROUND = 8 (background, border, status area); tree trunks stay colour 9; project.json emulator args select the palette for tools/run.ps1 and tools/smoke.ps1. Checks after the change: pwsh -File tools/build.ps1, tools/smoke.ps1, tools/check-world.ps1, tools/check-people.ps1, tools/check-keys.ps1, tools/check-split.ps1, tools/check-scroll.ps1 all exit 0 (2026-12-03); the smoke screenshot shows the light brown background. Observation: the light red dots have less contrast on light brown than on brown. The M3.4 manual tests (MT3.2, MT3.3, MT3.4) stay pending with the new colour.
2026-12-03 (M3.4): Frame budget measured with tools/check-scroll.ps1 (CPU clock at frame_start, people_moved, frame_done, interrupt entry/exit, start_rebuild, rebuild_ready), all in VICE x64sc NTSC:
pwsh -File tools/run.ps1 -Target c64 -TimingBar assembles with --asm-define TIMING_BAR into build/land-map-64-timing.prg (cl65 -D does not reach ca65; tools/lib.ps1 now passes asmDefines). Headless screenshot while scrolling: cyan border through the map and status area, red stripe at the split, brown at the bottom. The normal build has no timing-bar code.2026-12-03 (M3.3 fix): The user reported a small tear at the top of the screen when scrolling left or right. Cause: when a scroll started from rest, choose_rebuild_target restarted the rebuild of the hidden buffer in the same frame that people had been drawn into it with a flip pending; the next vertical blank showed that half-rebuilt buffer (top rows already one cell on) for up to 8 frames, until the next cell crossing. It happened for every direction, not only left and right. Fix (src/scroll.inc): no rebuild restart while people_flip_pending is set; the other buffer is rebuilt from the next frame. tools/check-scroll.ps1 now checks in every frame that the shown buffer is complete and built for the view's cell: on the old code it failed in all three scenarios (frames 30-37, ready 0, origin one cell on); it also checks that nothing is stored into the shown buffer's map while the map is displayed (no such store was found, before or after the fix).
2026-12-03 (M3.3, resumed and finished): tools/check-scroll.ps1 now drives each scenario as phases (phase byte at $CFF0, VICE conditional checkpoints on people_moved; frame counts with “ignore” did not work). VICE 3.10 needs parentheses around each comparison joined with && (without them the condition never fired), and runs checkpoints at one address in definition order in the same hit, so phase changes are defined latest first. A rejected checkpoint shifts the numbers of the later ones, so both new checks fail on any monitor “ERROR”. The check found a mistake in itself, not in the program: while the view is still, people are drawn into the hidden buffer and shown at the next flip, so the shown buffer holds the previous frame's dots; the final comparison now checks both buffers byte for byte (dots included).
2026-12-03: Spec change approved by the user: R3 reworded for scrolling (people drawn in the shown buffer during vertical blank while a scroll rebuild runs), and drawing people relative to the view moved from M3.4 to M3.3. Acceptance criteria unchanged.
2026-12-03 (M3.2): A7 partly checked in VICE: with the map at y-scroll 3, the split's mode writes land in the measured border window every frame (tools/check-split.ps1). Under vertical fine scroll it is not checked yet (M3.3). Fixed while doing M3.2: the temporary M3.1 border indicator wrote $D020 every frame, which showed a single light grey pixel in the bottom border (consistent with the VIC-II grey-dot effect of a colour-register write mid-line); it now writes only when the colour changes, and the pixel is gone from the smoke and split-check screenshots. tools/check-people.ps1 now compares only the 20 map rows of each bitmap.
2026-12-03: Spec change approved by the user: 5-line status area below a 20-row map (new R6, R1 and R5 updated, assumption A7 added). Old M3.2 is now M3.3 and old M3.3 is now M3.4; the new M3.2 is the split screen. M0-M3.1 results are unaffected.
2026-12-03 (M2.2): VICE x64sc NTSC runs 263 lines x 65 cycles = 17,095 cycles per frame (measured with tools/check-people.ps1). The spec's budget said 17,030 (the 262-line 6567R56A figure). The difference does not affect any acceptance criterion. With the user's approval (2026-12-03), docs/spec.md and project.json now say 17,095.
2026-12-03 (M3.1): The KERNAL timer interrupt is now switched off at start-up (keys are read from the matrix directly). RUN/STOP alone no longer breaks out (nothing scans for it); use a VICE reset to leave. RUN/STOP + RESTORE has not been tested. Fixed a parsing bug in tools/check-people.ps1: it could read the monitor's ASCII column as extra bytes when people's coordinates were printable characters. The bug could only cause false failures, so the earlier M2 passes stand.
2026-12-03 (M2.2): A3 checked in VICE only: flipping the two buffers with the $DD00 bank bits in vertical blank shows the same map in both banks and passes the byte-exact buffer check. The user's MT2.2 visual check is still pending.
Generated 2026-12-03. Starter verification at generation time is reported by the Foundry; re-run pwsh -File tools/smoke.ps1 on your machine and record the result in row M0.1.
Powered by TurnKey Linux.