HISTORICAL DELTA, not current status. This narrative records the rapid 2026-08-06 through 2026-08-08 transition and intentionally preserves the claims made at each checkpoint. Later sections supersede earlier ones, and DDPDOJ has since advanced through W183. Use
instructions.md, livegit log, and the newest numbered worklogs for the current queue and counts.
You are resuming a project you last touched around DaiOuJou W26/W27 and Gradius W28/W29, on 2026-08-04, when a weekly limit cut you off.
It is now 2026-08-06 and the project is at DaiOuJou W100 and Gradius W45. That is roughly seventy waves on one game and sixteen on the other.
Read HANDOVER.md for the things that have NOT changed: what the project
is, the method, the three games, every path, every command, the emulators, the
platform gotchas. This file is only the delta. Do not re-read the old worklogs
to catch up; read this, then the files it names.
Your mental model is stale in five specific ways. Each cost a wave when someone acted on the old version.
- DaiOuJou is not "enemies and bullets on a capture" any more. The recorded enemies are gone. Enemies draw, move, fire, take damage, die and explode from ported code. The stage 1 boss arrives and fights. What remains of the recording is 800 palette words and the HUD text.
- The oracle went from comparing ONE logic frame to 13,084. When you left, every figure this project held came from the first ~6,000 frames of a 19,217 frame stage. There is now a checkpoint ladder system that re-seeds the port from board RAM at 250 frame intervals with no emulator in the loop.
- "How big is this job" has been wrong three times in a row, for one structural reason. See section 3. If you size a wave from a count of what threw, you will be wrong again.
- Gradius is finished as a port and now has a mod system, a start screen and its own 13 stage gate. It is not "stage 2 in progress".
- The owner plays the live build and reports defects that no gate can see. Six separate visual defects this week were found by them, not by us. Take their play reports as primary evidence.
Live and playable at https://gbtman.pages.dev/games/ddpdoj/, build
20260806125448.
Fly, shoot, laser, bomb, laser bomb. Powerups drop and collect. Midboss dies. Fighters, helicopters, mechs and turrets draw, move, fire, die and explode. Laser impacts spark at the beam tip. Gold terrain is whole. The bomb is orange. Stage 1 runs to its end at logic frame 19,217.
The boss arrives, descends, hands off and fights for 559 frames before an
honest throw at $29540C, which is F script 3's INIT. Porting that is
mandated (97-OWNER-boss-over-gate.md).
[M] 1,200 unit tests, 0 fail
[M] pgm.py check 71 passed / 3 failed <- 3 is an OWNER DECISION, see 97
[M] seedcmp ladder 15 green / 27 red / 29 blocked / 13,084 frames
[M] bucket 2 54,280 records compared, 0 missing
[M] palette 1,760 of 2,560 words cartridge-sourced
[M] webgate GREEN, 30 stages
[M] publish --dry GREEN, six deliberate verbatim art exceptions
Since you left, in rough order: sprite emission, the display list keystone, the laser, the bomb, the laser bomb, items, the HUD state, the stage ending, the midboss, the seed-anywhere ladder, the auto shot, five enemy types made visible, their art, the fighter's death, the black terrain, the laser impact, the palette in three waves, and the boss in five.
All seven stages play, the game ends and loops. Not "stage 2 in progress".
[M] 733 unit tests, 0 fail
[M] gate GREEN, 13 stages, 0 skipped
[M] wave records 598 of 598 spawn a ported handler, all seven stages
[M] $AE1C dispatch 41 of 42 entries
[M] play sub-states 16 of 16 game modes 7 of 7
20 mods in three categories with four presets, on its own start screen with
level select and a starting power up picker. Two of them are the owner's
specific asks: heal-gradius-syndrome (respawn in place, ship flies in from the
left blinking and invulnerable) and hard-won (keep your loadout through
death). always-on-enemies lifts the sprite per scanline cap without removing
deliberate flicker.
The one thing to know about the mods: every oracle scenario runs with mods
disabled by construction, so all 20 have zero cartridge coverage. W44 built
modscope.mjs as the first check that can see them at all: 32 loadouts through
demo, run, four deaths, game over and continue.
Unchanged. Complete, 27/27 gate stages, 740 tests, bit exact.
games/ddpdoj/tools/seedcmp.mjs plus pgm.py ckpt. This did not exist when
you left.
A cartridge run does ~23 logic frames per wall second, so reaching lf19,000
costs ~14 minutes of MAME every time. ckpt pays that once and leaves a
ladder of checkpoints every 250 frames (128 KiB RAM, the $900000 ring, IGS023
registers). seedcmp then re-seeds the port from the board's own state at each
rung and compares only to the next rung, with no emulator in the loop.
node games/ddpdoj/tools/seedcmp.mjs \
--manifest games/ddpdoj/tools/oracle/out/w69/stage1-sweep/manifest.json --quietWhy per segment rather than one long run: after the port and board disagree once, every later frame is blast radius rather than evidence. Re-seeding asks a different and much better question: given the board's own state at frame N, does the port reproduce N+1 to N+250, separately for every rung.
What a green segment does NOT mean: that the port can REACH that state by playing. Seeding inverts the usual trap. A seeded result is labelled as one, always.
Four ladders exist: fly-around, stage1-play, stage1-sweep,
stage1-laser-hold.
A census of what threw measures WALK ORDER, not remaining work.
(83-NOTE-censored-census-and-the-sim-server.md.)
The boss's dispatcher walks its lists in a fixed order. An unported entry in an early list throws before anything behind it is reached. So counting how many segments name an address feels like sizing a job and is not.
It has produced a wrong estimate three times:
| briefed | actual |
|---|---|
| "six addresses" | 39 unported entry points, 80 routines, 2,173 instructions |
| "twelve entry points" | seventeen script ids live in a 250 frame window |
| "all 15 arrival rungs" | 8 |
How to size instead: take the seeded state at the rung and enumerate the
entry points the frame actually needs, then subtract what is ported. And
derive the ported set from registerScript, never a hand list, which is why
"39 unported" went stale in four days.
This is why the owner asked for a static coverage system (see section 7).
Quote these at their current values; every one of them is higher than when you left, and each represents real cost.
- Orchestrator briefs that rested on something false: 47. Three of mine about the boss alone. Tell every agent to check its brief's premise; it is not a formality and it has paid off in nearly every wave.
- Comments in this codebase that lied: 11. A palette file said nothing writes palette RAM directly and something does. An exporter comment dismissed 186 descriptors as "only look like stream starts" and they were art the board draws. A note said a painter was unported when it had shipped five waves earlier with a gate asserting it.
- "Verified" has a shelf life: 7 instances. The worst: a diagnostic's list of 42 missing addresses had ALL shipped across four waves with nobody re-measuring, and my brief cited it.
- Agents finding one of their OWN checks unable to fail: 12 in four days, each self-reported and each correct. One found a hole in the mutation harness itself. Expect this and ask for it.
- Fall-through incidents: at least thirty, recorded as a floor because the running ordinal forked when two games ran in parallel.
39-OWNER's bar still governs: stage 1 until FEATURE COMPLETE and ORACLE-CLEAN. A wave must say which it delivered. Several waves met one and said so plainly; that is the expected behaviour, not a failure.97-OWNER-boss-over-gate.md: keep the boss, carry one red gate on purpose. Then, within the hour, the owner mandated porting$29540Cto clear it. The red is a debt, not a new normal.- A sixth
PUBLISH_VERBATIMentry was approved for the fighter's colour shard. A seventh is an OWNER DECISION: write it up and stop. - No em dashes anywhere. Asked twice. 10,467 were swept out of this repo. Applies to your output, commits, worklogs, comments and site copy.
- The recorded HUD is to be removed until the real one draws, on the same reasoning as the recorded enemies: a screen that looks right while sourced from a recording is the worst outcome.
- The index gets poisoned. Commit through a private index in ONE shell call;
shell env does not persist between calls. A spurious staged DELETION of a live
agent's worklog appeared once. Never
git add -A. Nevergit checkout --. - Commit AND push. Three agents committed without pushing and it was only
caught by checking. Finish with
git status -sblevel with origin. - Watch line endings. Three consecutive waves had a Python rewrite flip files
between CRLF and LF. Check
git diff --statfor whole file rewrites. pgm.py checkmeansgames/ddpdoj/tools/oracle/pgm.py. There is anotherpgm.pyand it exits 0 silently. Never run two instances concurrently; it produces a spurious extra failure.- Read a gate file's own header before classifying its red. Some carry a board column and some are port versus listing. That distinction decided an owner question this week, and getting it wrong in either direction produces the wrong action.
- Do not pipe a long run through
tail. I did this three times and readtail's exit code as the command's, then truncated a gate run and treated the fragment as complete. Redirect to a file and grep it. - Most
[FAIL]lines in apgm.py checklog are EXPECTED: they are the assertions inside mutation stages, where a broken port must fail for the stage to pass. Only the stage level verdict counts.
BOTH LANDED before this file was finished. Updated results:
W98, the boss body art. DONE, and the boss is VISIBLE. A navy and cyan battleship filling the top third, twin barrels, two side pods with circular turrets, firing pink ringed bullets. Photographed in Chrome, cropped at the records' own coordinates. Records without art went 4,071 to 64, and 30 of those 64 are the null stream. All new art deferred; boot grew 1.0 KiB.
Two corrections worth carrying: "the boss's art is 58 streams" was a CENSUS figure, not an inventory - its ROM tables hold 244, and 58 is merely what a 559 frame life indexes. Same shape as the walk-order trap. And two tables inside those windows are not art at all, which is the exact trap that produced 186 art-less records a week earlier, caught before export this time.
W100, the owner's four play reports. The replayed HUD is REMOVED, so the upper left is now empty and honest. The always-on flame is confirmed as the invulnerability aura, and removing the poke makes the player mortal, so it is an OWNER DECISION and was not taken. Thrusters: nothing is missing, the owner's suspicion was wrong. The laser bomb's translucency is unresolved: three candidates killed, the fourth needs MAME.
W99, the static inventory. DONE, and it is the most valuable single document about the boss. See section 8.
$29540C was scoped and NOT taken, correctly. It is 21 entry points and
~701 instructions, not a fold-in, and it would not have restored the red gate
anyway because it belongs to a different script than the one blocking. The
owner mandated it believing otherwise; that mandate is now superseded by
measurement and needs re-putting to them.
Four waves and a publish went out after section 7 was written. All committed, pushed, and LIVE. The live site is current. A returning session should read this section, then section 8, then start the queue at the bottom.
W101, boot the page at any ladder rung. DONE. The page and
webgate --rung N boot from any of the 72 checkpoint rungs on any ladder, so a
wave photographs the boss in ~300 steps instead of an 8,500-frame walk. LOCAL
DEV ONLY: the ladder is board-memory dumps (ROM-derived), gitignored under
tools/oracle/out/ and never bundled; the published page keeps its single
seed. The verbatim leak guard does NOT catch RAM dumps, so the structural
INCLUDE-list exclusion in build-dist.mjs is the real defence. The seed is
128 KiB work RAM and nothing else (BG and regs are separate Game inputs).
Provenance (SEEDED / INVULNERABLE) is printed on screen and in every capture:
a seeded page proves CODE, never a ROUTE.
W102, a static coverage SYSTEM. DONE. games/ddpdoj/tools/bosscoverage.py
is a config block on a general M68K walker (line 86: "Generalize by adding a
config block; the walker below it is general"). It reproduces W99 exactly and
has a gate with two red conditions wired into pgm.py check: (a) coverage
regression, (b) inventory regression (the oracle ran something the enumerator
never listed -- this is how the tool validates itself). The join found zero
ported-but-unexercised scripts and zero enumerator holes. Port-side dispatch
instrumentation was added to scheduler.js (dump via seedcmp --dump-dispatched). To cover the rest of the game, add a config block per
subsystem; non-stride-8 tables need the walker extended (flag the hole
honestly, never fake).
W103, the boss F 2/F 3 wave. DONE. Ported all 44 live-unported scheduler
entries W99 listed, plus the two accessors ($2599B4, $259B08) and the
type-$1E spawn closure. bosscoverage went 59 -> 103 ported, 0 unported. The
$29540C throw is gone. $29540C was just F 3, one of the 44; the old
"port $29540C to clear the gate" mandate is moot (its closure was only 21 of
the 44).
W104, the boss's remaining sprite emitters. DONE. Ported $23E36A and
$23E45A (refactored into a shared emitScaled). The boss fight now runs
clean from rung 8500 to ~lf19533 (essentially stage 1's end); the only
remaining throw is $229DF8, a 2 KB ROM data window the exporter has not
exported, reached at the stage-1 tail -- a data-export fix, not boss logic.
Publish. DONE, GREEN. Build 20260806192552, live at gbtman.pages.dev.
Batman 27/27, all gates green, deploy confirmed (3/3 polls). Ships the boss
art (W98), the HUD removal (W100) and the complete boss fight.
NEW PROCESS RULE (owner): every wave snapshots its result from a rung, not from boot. Seeded snapshots prove "it draws / runs," not "a player reaches it"; label which kind of evidence each is.
Queue (next session, in order):
- Whole-game static coverage pass -- point
bosscoverageat the HUD, items, medals and every other stage-1 subsystem. The yellow 500-pt medals and the real HUD are KNOWN-missing (owner play reports; "medal" appears nowhere in the port) and are ground-truth targets the tool MUST flag, or it has a hole. Surface every other unknown. - Port the yellow 500-pt medals (recon first).
- Port the real HUD (score / chain / combo).
- Publish. Then sound, then lag, then a MAME replay as the capstone.
The hourly cron was session-only and is gone on restart. Recreate it: recurring at :17, fires only when idle, does nothing if a wave or publish is already running, otherwise verifies the last wave and dispatches the next.
Launch directory. This session was launched from C:\programmieren\GLMInst
(an unrelated Go repo), which forced a cd into batman on every command and
caused repeated mistakes. Launch the next session FROM batman. The launcher is
C:\programmieren\GLMInst\glm-temp.ps1 (sets the GLM endpoint env vars and
runs claude; reads its key via $PSScriptRoot, so it is location-independent).
From a C:\programmieren\GLMInst> prompt:
cd C:\programmieren\batman; & C:\programmieren\GLMInst\glm-temp.ps1 --dangerously-skip-permissions
W107 boss death explosion. DONE + LIVE (build 20260806204157). Owner report:
the killed boss froze-then-vanished, no explosion. Recon 106 traced it to the
boss's OWN death burst (D-script 6 $293E04) calling note() placeholders
instead of the already-shipped spawnEffect/runEffectDriver (pool B, W54).
W107 ported every emitter ($2938AE table bursts, $293F8C timer-C, $28B4BE
big burst, part scripts), fixed a stale BOSS_NOTED comment, added $242B3C to
rng.js. Must-fail: pool-B live on the death frame 0 -> 8 (table $294154).
Gates 1211/0/0, bosscoverage 103/0/8. SEEDED check (death at ~lf19533 is past
the capture ladder); owner live-play is the real proof. Boss-specific art kinds
$03/$04/$07/$10/$87 unconfirmed at the death frame -- broken-and-declared if a
stream is missing.
W105 whole-game static coverage recon. DONE. PREMISE CORRECTED: "point
bosscoverage at the HUD/medals" is a category error; stage 1 has THREE dispatch
mechanisms (boss scheduler; top-level object driver $240F62; type-5 call
list). The medal IS the bee (pool A, type-5 call #4 $27F95A, kind 1/16
$27FACC, base ladder $27FD22, award base x hits via $286128, not the
chain) -- ported 0. The HUD STATE is ported + frame-exact; its 28 DRAW routines
from $28444E are not. Sweep: 6/20 object types ported (RANK type 10 unported,
runs first every frame); 16/23 type-5 calls ported.
W106 boss-death + bomb-translucency recon. DONE. Bomb: the port has NO translucency anywhere (PGM hardware has no blender; canvas alpha:false); "translucent" is the sparse artwork, plausibly right but UNVERIFIED vs board (no MAME laser-bomb capture). Needs a ~132-frame MAME run to confirm pixel-for-pixel.
W108 proximity-damage recon. DONE. No per-hit point-blank multiplier in DOJ (absence-proof over 16 shot handlers, ~38 shot-table refs, 101 HP-debit sites). Point-blank kills faster by overlap-count + piercing, which the port already reproduces. Nothing to port.
04 INPUT-SYSTEM plan. DONE + owner-approved. Shared shared/input.js across
all three games; gamepad + touch + KEYBOARD UNIFIED IN ONE PASS (owner);
feed-never-replace adapters; normalized 4-dir booleans + a1/a2/a3 + start/select;
Standard gamepad mapping + 0.28 deadzone + octant gate; fixed 8-way D-pad kept +
floating stick (Auto default for DOJ/Gradius, left-half zone); per-game picker.
Owner decisions in the doc section 11. Headless gates cannot regress (DOM input
isolated); risk is live play + the input unit suites (red-validate each).
Queue (next, in order):
- Shared input layer Wave A (W109): DONE. shared/input.js + DaiOuJou keyboard/gamepad/touch/picker + the build line. Wave B (Gradius + Batman) is next but HELD for owner live-verify of the shared module before touching the complete games.
- Wave B: Gradius (queue invariant preserved) + Batman (launch-Enter guard preserved) + their input test suites.
- Yellow medals / bees (
$27F95Adriver, 20-kind table, base ladder,$286128award). - Real HUD (the 28 draw routines from
$28444E). - Publish.
- Stage 1 feature-complete -> 5 parallel recons + 1 architect (own model, NOT Fable) plan the next phase -> carry on (owner forward directive).
Stage-1 content shipped and live this session (all published, deploy confirmed 3/3):
- W111 bees / yellow medals (live
20260806222827). Pool-A driver$27F95A, body$27FACC, flat + chain-multiply award via$286128(no chain tick); x2 + cursor ratchet shipped after the$81293Cno-miss flag was identified; rank gauge REFUSED. Bees drop from the ten type-$8Acarriers in stage 1. Block-3 collision cap fixed (idx<70->idx<80) so bees in slots 70-79 are collectable. - W109 shared input layer (DaiOuJou) (live
20260806213338).shared/input.js: keyboard + gamepad (Standard mapping) + touch (fixed 8-way D-pad + floating stick), keyboard unified, CTRL picker. Wave B (Gradius + Batman) HELD for owner live-verify before touching the complete games. - HUD: W113 sprite frames (live
20260806231854: panel box, chain bar, banner panels, hyper flash into bucket 25); W115 score digits (live20260806233817: the score NUMBER). PREMISE BREAK (W114 MAME): the digits flush through$185DC4(IRQ6, already inmachine.jsisr6Gated), NOT$240DC2; aTxVrammodel was added andwantTxflipped on. W116 (other text: lives/bombs/credits/chain-high-water/labels via$240DC2/$141258) IN FLIGHT.
Recons W110 (bee port plan), W112 (HUD draw plan), W114 (MAME score-digit, the $185DC4 premise break) all DONE + committed.
Queue: W116 other text -> chain/combo (Wave D') -> deferred popup $2855B6 / item-row $2857B4 (need $24157A/$242AC6) -> stage-1 FEATURE COMPLETE -> 5 parallel recons + 1 architect (own model, NOT Fable) plan the next phase -> carry on (owner forward directive). Wave B input (Gradius + Batman) held for owner verify.
Owner play-reports still OPEN: the boss-explosion art ($03/$04/$07/$10/$87 unconfirmed at the death frame -- blank if a stream is missing); the laser-bomb translucency (no translucency anywhere in the port; the sparse artwork is unverified vs board -- needs a MAME laser-bomb capture); and live-verify of the DOJ input feel (unlocks Wave B).
7d. UPDATE -- 2026-08-07: stage-1 FEATURE-COMPLETE + live; strategic plan W119; Phase 0 BLOCKED at the usage limit
Stage 1 is FEATURE-COMPLETE and live (build 20260807010426): full gameplay plus the
whole HUD -- W113 sprite frames, W115 score digits (via $185DC4), W116 other text (via
$240DC2/$141258), W118 chain-break popup (the combo) + item row. Bees (W111), boss
explosion (W107), shared DOJ input (W109) all live.
Strategic round done -> plan in W119 (docs/worklog/ddpdoj/119-strategic-plan.md,
5 recons + architect, committed 2531d27). Six premise corrections, notably: boss-explosion
art is NOT missing (166/166 streams; W107 fixed the emitters); the slowdown gate is $803940
(the vblank semaphore), not $81308C. Plan order: Phase 0 (correctness recons: RANK type-10
$260794 vs score.js inline rank; + the 20 per-type sub-handler budget loops, open since W2)
-> Phase 1 (MAME capture for boss-verify + bomb translucency; Wave B input Gradius+Batman,
held for owner live-verify of the DOJ module) -> Phase 2 (result screen $28D9AA, removes
the two declared deviations) -> sound, lag/slowdown, replay, stage 2.
BLOCKED: the two Phase 0 recons FAILED at the 5-hour usage limit (429; resets
2026-08-07 10:23:01). RANK got most of the way (partial worklog 120-recon-rank-type10.md,
committed -- resume from there; it had the full recompute, was finalizing the verdict on
whether score.js substitutes for the rank object). Sub-handler was early (no worklog yet).
Re-dispatch BOTH after the reset. Tree clean; W118 green (1268/0/0, bosscoverage 103/0/8).
The hourly idle cron was DELETED for the block (it cannot dispatch under the limit and reads
the stale 7a queue) -- recreate it next session per 7a. Wave B input (task 9) still held for
owner live-verify of the DOJ module.
Phase 0 (the strategic plan's correctness guard) is complete:
- 0a RANK type-10: DIVERGENCE. Rank (dynamic difficulty) is FROZEN at seed, never
computed (object type 10
$260794/$2608D2not in the port's dispatch; 0 source writes to the rank output$81309Eor its clock$8130C6). Stage-1 SCORING (points/chain/combo) is CORRECT -- those machines never read rank. The frozen rank affects ENEMY BULLET DENSITY (the$2650BC/CCselector at thresholds$C0/$E0): a playing run diverges in difficulty, not score. MASKED in the corpus (seedcmp re-seeds$81309Eevery 250 frames, so the green ladder is not proof of correctness). Fix: port the gauge/stock pipeline ($287682->$2530CA->$285A62) FIRST, then object type 10 -- else the recompute unmasks the inert upstream errors (frozen -> wrong-and-rising). Zero risk to the frame-exact chain (separate dispatch entry; the recompute reads no chain/score state). This is a substantive multi-wave port (recon 71 sec 4.2's chain), NOT the quick fix the plan assumed. - 0b sub-handler budget: CLEAN. All 8 stride-based per-slot sub-tables are
unbounded/correct -- no truncation under a 60,000-nop overrun inject (MAME-measured, mirrors
W2).
src/budget.js NEVER_TRIGGERSstands for the sub-handlers too. No fix.
Net: the foundation is mostly solid (object ordering + scoring correct). The one open
correctness item is the RANK/difficulty subsystem -- a substantive port, scheduled (not
urgent: difficulty not scoring; masked in verification). Next per W119: Phase 1 (MAME capture
for boss-death verify + bomb translucency, IN FLIGHT; Wave B input Gradius+Batman owner-gated)
-> Phase 2 (result screen $28D9AA) -> Phase 3/4 (stage-2 data, replay) -> Phase 5 (sound,
slowdown). The RANK fix slots in as its own subsystem port.
Phase 1a (batched MAME capture, W122) done; both owner play-reports closed in the port's favor:
- Boss death: CORRECT, no defect. Premise correction: under passive-laser hold the boss is
never HP0-killed (HP drains ~44/frame and times out at
$294F32), and the BOARD shows the same stasis at timeout (~100 boss-body entries, zero effects at lf19500-19555). A forced HP0 death (poke$813752=-1) makes BOTH the board and the port explode (pool-B burst: 5/19/15 entries lf18100-18300, boss freed by lf18500). The port wires every death emitter (W107; 166/166 streams; must-fail green). So "stasis, no explosion" was the pre-W107 placeholder bug (fixed) COMBINED with the passive-laser-timeout path (correct -- to SEE the explosion the boss must be HP0-killed, e.g. point-blank, not parked under the laser until timeout). - Laser bomb: PIXEL-FAITHFUL. The board's bomb is ~30 fully opaque palette-indexed beam
segments (no alpha; PGM has no blender). The port transcribes the same
$2561AA41-segment beam (W66draw23FF06fix),alpha:falsecanvas, byte-exact display list. Recon 106's 4th candidate pixel-verified: the "translucent" look is genuinely sparse opaque art. No blender needed. - Coverage gap (not a defect): the seeded oracle blocks past ~lf2700 in the bomb/boss scenario
on
$27FE0E(an unported pool-A kind-2 body) and$2629AE(an unported element updater). Live play doesn't hit them (different input path). Surfaced for a future coverage wave.
Next: Phase 2a (result-screen recon $28D9AA, IN FLIGHT) -> Phase 2b impl (completes stage 1
honestly, removes the two declared deviations). Phase 1b (Wave B input Gradius+Batman) still
owner-gated.
Phase 2a done. Decisive: $28D9AA is a clean 8-phase FSM on $81DEC0 (A6 = $81DEBE = W62's
SE.result), NOT a separate object with indirect pointers -- W119's biggest risk resolved. Two
score machines (F6 bee/item tick $286128 + HUD tally $285400) coordinate via the $8130F9
bit 1/2/3 handshake. Deviations confirmed: DEV-1 = $285496 (sole producer, inside tally
$285400); DEV-2 = $28DE6C (inside F8, fed by $24652A). Stuck slot freed by $28EAD4
(banner teardown, sole clearer in build B). Score callees all ported ($28614A/$286154/
$286626/$286128 in score.js; bcd242AC6).
Smallest port = 2 waves: R2a LOGIC (~750 instr: phase machine + tally $285400/$28556C +
anim chain $24652A/$24681A/$246800 + banner state machine $28E7F8; clears DEV-1/DEV-2,
awards the score, frees the slot; headlessly testable from the seed) IN FLIGHT; then R2b
PRESENTATION (~660 instr + art: the draws $28DED8/$28E1AC/$28EDC0, banner painters,
score-number renderer; makes it visible). Risk: $24652A writes the shared $80FA86 pool (port
exactly + red-validate); banner slide-in visual is R2b (R2a frees the slot correctly but not
visually).
R2a (the result-screen logic impl, W124) FAILED at the 5h usage limit (429; reset
2026-08-07 15:36:08) mid-work. The gate crashed on an UNWINDOWED ROM read at 0x288346 (a
result-screen data table needing an export-tables.py window). The agent's partial src/
changes (stageend.js, hud.js, w62/w63 tests, export-tables.py) are in git stash (label
"W124 R2a..."); worklog 124 is committed with the findings. Tree is clean (HEAD 3cb30e7).
RESUME after the reset: re-dispatch R2a. The fresh agent should READ worklog 124 + run
git stash pop FIRST (recover the partial), then add the 0x288346 window to
export-tables.py and complete the wave (clear DEV-1/DEV-2, award the score, free the slot).
The cron (clean tree now) will auto-dispatch R2a after the reset.
R2a landed (recovered from the stash; committed 05d59e3, tree clean). The 8-phase FSM
result28D9AA + tally tallyBody285400/tally2853D2/tallyAward28551E + anim chain
$24652A/$24681A/$246800 + banner banner28E7F8 (teardown $28EAD4 frees the slot).
DEV-1 cleared (the real $285496 producer fires at lf10628). Three premise corrections:
(1) $288346 was a RANK-ICON P2 table overrun (W113 said 8 entries, it is 32; window widened
$20->$80); (2) the tally had two ROM-faithfulness bugs that made $285496 never fire
(wrong fall-through ===0xfffe vs N=1&C=0; wrong hold-recompute sign) -- both fixed; (3) the
seed cannot reach the banner drain (next-stage BG data) -- (c)/(d) verified by unit test.
DEV-2 has a residual ($246410 anim-driver, R2b). Gates 1270/0/0, bosscoverage 103/0/8.
NOT yet published (logic-only, no visual change; deploys with R2b).
R2b PRESENTATION IN FLIGHT: the draws $28DED8/$28E1AC/$28EDC0, banner painters, 8 art
windows, score-number renderer, + the $246410 DEV-2 residual. Makes the result screen
visible. Publish R2a+R2b together after R2b.
7j. UPDATE -- 2026-08-07: R2b result-screen presentation DONE (b737c8f); result screen VISIBLE; R2a+R2b PUBLISHING
R2b landed (committed b737c8f): the draws $28DED8/$28E1AC (panels, medal/item counters,
bonus numbers via bucket 0/2 sprite enqueues), banner paint $23F782/$23F7F4 + picture
$28EDC0, F0 art install (seven install24150A), 8 art windows. The result screen is now
VISIBLE. Premise correction: $246410 is a LOADER (not the per-frame drain); the true drain
is the animation-object EXECUTION engine (register-indirect, invisible to xref.py) -- DEV-2
honestly refined (names the engine gap, not fabricated-cleared). Score renderer $2855B6
deferred (it is the popup, W117-named, not result-specific). Gates 1272/0/0, bosscoverage
103/0/8.
R2a+R2b PUBLISHING together (--only ddpdoj). Result: the stage-clear result screen is live
(banner, score tally, bonus numbers); DEV-1 cleared; DEV-2 refined (animation engine = named
gap). Stage 1 is "complete honestly" modulo DEV-2's deep engine + the deferred draws.
NEXT (W119, owner to steer): the RANK/difficulty fix (Phase 0a divergence -- gauge/stock
pipeline $287682/$2530CA/$285A62 + rank object type 10; recon IN FLIGHT to size it),
Phase 3 (stage-2 data export + boot verification), Phase 4 (replay packaging -- cheap/light),
Phase 5 (sound via W27; slowdown via MiSTer). Wave B input (Gradius+Batman) owner-gated.
The RANK-fix recon (W126) reframes the fix. Premise correction: the middle "pipeline" link
$285A62 is NOT a pipeline link -- it is the hyper-ACTIVATION body (gated by the unported
hyper button $24989A/$249814, thrown in player.js since W4). So the fix SPLITS:
- Wave A -- object type 10 (Tier 1, ~1 wave, CORPUS-SAFE). Port the dispatch entry
(
$260794, priority$001F, runs first) + state machine + recompute$2608D2(rank = base[stage] + (clock>>8) + hyper-term) +$288610. On no-hyper runs (the corpus + most play) the hyper term is 0 on BOTH port+board, so$81309E= base+clock matches the board. Zero scoring risk (recompute reads no chain/score state). Unfreezes the rank clock (currently frozen). IN FLIGHT. Defer state-0 INIT$2605C8(cold-boot only). One unknown:$288610jump-table (trace before ship). - Wave B -- the hyper subsystem (Tier 2, 3-4 waves, MAME-gated). Hyper button + activation
$285A62+ grantor$287682+ spawner$27E912+ collect$2530CA+ sinks (death-quarter$24A006, bomb debit$249976, bee feed$27FBDE). The "wrong-and-rising" risk (W120) lives here. Needs a hyper-active MAME capture to red-validate (the corpus has no hypers).
Wave A ships FIRST (safe, corpus-matchable, unfreezes the rank for no-hyper play); Wave B (the hyper power term) follows. This inverts the brief's "pipeline first" but is safe (the recompute reads no chain/score state; no wrong-and-rising until hypers activate).
7l. UPDATE -- 2026-08-07: RANK Wave A DONE + LIVE; big DOJ milestone checkpoint -- owner steer requested
RANK Wave A (object type 10, W127) landed (ec07f18) + PUBLISHING. The rank clock unfreezes:
$81309E = base[stage] + (clock>>8) matches the board on no-hyper runs (validated against the
seed: $35, exact). Declared side-effect: enemy fire cadence now reads the live rank, so two
webgate baselines shifted to live-rank values (+5 bullets in one scenario) -- the port matching
the board's live rank, not a regression. Gates 1284/0/0, bosscoverage 103/0/8.
SESSION MILESTONE: stage 1 is FEATURE-COMPLETE + HONEST. Live DOJ now has the scrolling level, enemies/bullets/boss+explosion, items, bees, the full HUD (score/chain/combo/lives/bombs/ credits), the result screen, the shared input layer (keyboard/gamepad/touch), and the live rank clock. Wave B input (Gradius+Batman gamepad) remains owner-gated.
NEXT PHASE -- OWNER STEER REQUESTED (strategic fork after the DOJ milestones):
- RANK Wave B (the hyper subsystem: hyper button + activation + grantor + death/bomb sinks; 3-4 waves; MAME-gated for red-validation). Completes the rank power term.
- Phase 3 (stage-2 data export + boot verification -- a scrolling stage-2 background).
- Phase 4 (replay packaging -- cheap, light, high-leverage).
- Phase 5 (sound via the W27 10-recons+architect process; slowdown via the MiSTer FPGA).
- Wave B input (gamepad on Gradius + Batman -- needs the owner's DOJ-module live-verify).
The session has been heavy (two 5h usage-limit blocks today). The cron should AWAIT owner steer on the next phase rather than auto-dispatch -- the owner should test the DOJ milestones + pick the direction.
7m. UPDATE -- 2026-08-07: un-holding; Phase 4 (replay packaging) recon IN FLIGHT (continue-default; owner can redirect)
Stage 1 is feature-complete + honest (W127 RANK Wave A live, build 20260807112531). The owner
has been away since the 7l checkpoint; per the standing loop + the offered "continue -> Phase 4"
default, proceeding with the safe/light Phase 4 (replay packaging) while awaiting steer. Owner:
redirect anytime (RANK Wave B / stage-2 / sound / Wave B input remain on the menu); the DOJ
milestones are live for testing.
Phase 4 replay-packaging recon IN FLIGHT: map the existing replay infra (portdiff.mjs,
determinism.mjs, seedcmp, boot-from-rung) + design the .replay format + headless player + the
RTC date-leak decision. Then ~1 impl wave.
The Phase 4 recon (W128, text-only) confirmed the replay property is ALREADY structurally built
(portdiff's step loop + SHA-256 digest + determinism + seed-anywhere + boot-from-rung); only the
packaged .replay artifact + headless player are missing. RTC date-leak is a NON-ISSUE for the
port (the port does not read the RTC -- grep zero; the date bytes are frozen in the seed and
excluded from the CLAIMED digest) -- document + freeze, zero code. Phase 4a+4b = one small
packaging wave (W129, IN FLIGHT): games/ddpdoj/tools/replay.mjs (player + builder + red mode,
imports only) + NOTES-replay.md v1 spec + a gitignored fixture + a gate stage. Phase 4c (live
REC/PLAY) deferred (depends on 4a).
7o. UPDATE -- 2026-08-07: Phase 4a+4b (replay packaging) DONE (cdd4aaf); tooling, no publish; next phase owner-TBD
W129 landed (cdd4aaf): games/ddpdoj/tools/replay.mjs (verify + record modes; reuses portdiff's
EXACT digest feed so a green .replay is provably the same property the oracle checks), the v1
.replay format spec + the RTC freeze decision in NOTES-replay.md (the port does NOT read the
RTC -- grep zero; the date is frozen in the seed, zero code), and tests/w129replay.test.js (the
gate, 6/6, A/B/C red-validated). TOOLING only -- no src/ game-logic change, not bundled into the
live page, so no deploy needed. Gates 1290/0/0. Phase 4c (live REC/PLAY) deferred (depends on 4a,
now done).
The continue-default (Phase 4) is FULFILLED. The next phase is owner-TBD (a strategic fork): RANK Wave B (the hyper subsystem), Phase 3 (stage-2 data + boot), Phase 4c (live REC/PLAY), Phase 5 (sound via W27 / slowdown via MiSTer), or Wave B input (Gradius+Batman, owner-gated). The cron should AWAIT owner steer -- do not auto-dispatch.
The owner has been away ~4hr since the 7o checkpoint; per the standing loop + the offered
"continue -> likely Phase 4c" default, proceeding with Phase 4c (live REC/PLAY) -- completing the
replay feature on the live DOJ page (record a run -> .replay; load + play it back, surfacing the
first divergence). Owner: redirect anytime to RANK Wave B / stage-2 / sound / Wave B input; the
DOJ milestones remain live for testing.
Phase 4c recon IN FLIGHT: design the live-page REC (tee currentPortWord + package with the seed
via the W129 format) + PLAY (boot from .replay, feed portin, compare digests, show divergence) +
the UI + the integration points. Then ~1-2 impl waves.
Phase 4c recon (W130): live-page REC (tee currentPortWord + capture the seed -- 128 KiB RAM + BG
ring + tables + package via the W129 .replay format) + PLAY (boot from .replay, feed portin,
digest, surface first divergence). UI: #rec toggle + #play file-input + #replay-banner; off
by default (normal play undisturbed). Key subtlety: the browser cannot import replay.mjs
(node:fs/crypto), so a new src/web/replay.js uses crypto.subtle (accumulate-then-hash ==
the incremental hash; a cross-check gate proves it). 2 waves: W131 (REC + the browser digest
module) IN FLIGHT; W132 (PLAY + the divergence UI) next.
7r. UPDATE -- 2026-08-07: W131 (live-page REC + browser digest) DONE; W132 (PLAY + divergence UI) IN FLIGHT
W131 landed (cd9e74e): the browser digest module (src/web/replay.js, crypto.subtle
accumulate-then-hash == the Node incremental hash, cross-check byte-identical), the REC tee + seed
capture in app.js, the #rec button + Blob download in index.html. Off by default (normal
play undisturbed). Gates 1297/0/0. NOT yet published (REC is half the feature; batch with W132).
W132 (PLAY + divergence UI) IN FLIGHT: boot-from-.replay, feed portin, compare period digests
(reuse the W131 browser module), surface the first divergent window. Then publish W131+W132
together (the complete REC/PLAY feature).
W132 (live-page PLAY) dispatched ~2 cron intervals ago. No completion notification, no worklog
(132), no dirty tree -- abnormal for an impl wave (W131 took ~14 min). Likely a THIRD
usage-limit block (the session has been enormous; the 15:36 window likely filled) or a silent
agent death. Holding ONE more interval: if it is a 429 stuck-waiting-for-reset, the rolling limit
may clear and W132 resumes. If STILL no progress next firing: TaskStop(aa57426c8dd677c29) +
re-dispatch W132 fresh. The cron idle-gates (W132 nominally in flight).
7t. UPDATE -- 2026-08-07: W132 stalled+killed; fresh re-dispatch RUNNING; limit reset; stray cleaned
The original W132 (aa57426c8dd677c29) stalled (3+ intervals; its last note mentioned a "bogus
parallel tree"). Killed via TaskStop -- it had written nothing to the main tree (left an empty
stray dir games/ddpdoj/tools/w12/, removed). Re-dispatched FRESH (a9508a6b4f000eafe) -- the
dispatch SUCCEEDED, so the usage limit has RESET (no active third block). The fresh W132
(live-page PLAY + divergence UI) is RUNNING. Will publish W131+W132 together when it completes.
W132 landed (5b1d691): boot-from-.replay + the playback feed + the digest comparison (mirrors
verifyReplay; first-divergence at the 250-frame boundary) + the divergence UI (#play +
#replay-banner). The complete REC/PLAY feature is done (W131 REC + W132 PLAY). Must-fail A/B/C
green->red->green; the live verifier byte-identical to Node. Gates 1305/0/0. PUBLISHING W131+W132
together (the live DOJ page gets REC + PLAY).
Phase 4 (replay packaging + live REC/PLAY) is COMPLETE. The next phase is owner-TBD again (RANK Wave B / stage-2 / sound / Wave B input). The cron should AWAIT owner steer -- the replay feature (the continue-default) is done.
7v. UPDATE -- 2026-08-08: un-holding; Phase 3 (stage-2 data + boot) recon IN FLIGHT (next reasonable)
The owner has been away (overnight) since the 7u checkpoint; per the standing loop + the offered "pick the next reasonable one," proceeding with Phase 3 (stage-2 data export + boot verification) -- the safest remaining unattended step (no MAME-gating; it is export + boot + observe, proving the multi-stage architecture; DOJ-visible). RANK Wave B (the correctness follow-on) is MAME-gated (cannot fully red-validate unattended) so it waits for the owner. Owner: redirect anytime.
Phase 3 recon IN FLIGHT: the stage-2 data windows ($229DF8 palette, $228658 column stream,
$2325D0 spawn script) + the boot-from-rung verification + the garbage-spawn risk. Then S1
(export) + S2 (boot verify).
Phase 3 recon (W133): TWO corrections -- (1) the spawn-record stride is 8 (hardcoded, ported
correctly); the x16 at $263392 is the stage-table index, NOT a spawn stride; (2) the
garbage-spawn risk is structurally IMPOSSIBLE (the port never calls installStage, so the walker
no-ops at stage-1's $FFFF terminator). Stage-2 data windows: $229DF8 (palette, 0x800),
$228658 (column stream, 168x36=0x17A0), $223000 (SPAWN palette banks, 0x2300, live-only).
Most stage-2 data is ALREADY exported (WAVE 13). Boot: seed from lf19500, step ~100-400 frames
-> result screen completes -> type-6 state 3 -> stage 2 boots. NO MAME needed. S2 expected: clean
scroll ~36 frames + a clean throw (unreached $2627AC, the stage-2 BGELEM constructor).
S1+S2 (the data export + boot verification) IN FLIGHT. Proves the multi-stage architecture.
7x. UPDATE -- 2026-08-08: S1+S2 (stage-2 export + boot verify) DONE; stage 2 BOOTS + SCROLLS; Phase 3 complete; PUBLISHING
S1+S2 landed (13689ae): the stage-2 BG column-stream window ($228658, 0x17A0 = 168 cols x 36) +
the extent invariants (bounding W124's palette window 1 + this column stream). The boot verification
(w133stage2boot.test.js): from the lf19500 rung, stage 2 boots ($813096 0->4), the BG scrolls
(~289 camBgAccumulate advances over ~730 frames), at scroll clock $24 the first stage-2 BGELEM
throws unreached($2627AC) cleanly. NO garbage spawns (the walker no-ops). Both windows
load-bearing (must-fail). Gates 1309/0/0. PUBLISHING.
Phase 3 (stage-2 data + boot verification) is COMPLETE. Stage 2 BOOTS + SCROLLS -- the multi-stage architecture works. The next phase is owner-TBD (RANK Wave B [MAME-gated] / Phase 5 sound+slowdown [long poles] / Wave B input [owner-gated] / stage-2 CONTENT [owner-gated -- only if the owner wants past stage 1]). The cron should AWAIT owner steer.
The W27 sound round (10 recons + architect, ~1.2M tokens) produced the sound plan (W135,
committed ff3940e). 9 premise corrections: Z80 upload = trivial verbatim copy (not a
transform hunt); synth core = small (no LFO/ADSR, single-ramp volume); stage-1 = 16-bit only;
oracle = ics.tsv (191k rows) NOT keyon.tsv (broken); ~33.8 kHz native rate (not
11025/15625); the "doubling" is a MAME tap artifact (write ONCE). Wave plan: A (68k cue
post/queue keystone, state-exact) -> B (trivial upload + listing) -> C (Z80 driver, the real
work, 3-5 waves) -> D (sample data, tight-union stitch 1.10 MiB +41%) -> E (ICS2115 synth,
research) -> F (shared Web Audio shim, prove on Gradius). Gate: command-stream + register-state
exact = STRONG; PCM-vs-MAME = REJECTED.
Wave A (sound.js + ring/drain/gates + ~25 note() replacements) + the silent-latch validation
(Wave A prerequisite: prove DOJ does not write $C00005/$C0000D) IN FLIGHT. Direction: sound
-> stage 2-5 content; NO MiSTer (deferred until after all 5 levels). Wave B input: owner asked
(pending). Assets: regenerated + live (build 20260807235656).
Wave A (the sound KEYSTONE) landed (e8da5cc, merged to main): sound.js (~370 lines -- the 6
cue entries + the 100-slot ring/drain + the 3 gates + 69 wrappers auto-extracted via capstone) +
the ~25 note() placeholders replaced across 11 source files (handlers/shots/items/boss/midboss/
bee/stageend/hud/bomb/laser). The mailbox oracle (633 de-duped doors, mailbox_dedup.tsv) +
must-fail red->green (619 wrapper-mapped doors reproduce byte-for-byte). The silent-latch
validation (W137) confirmed the oracle is COMPLETE. Open items resolved: $81DEB4 master-vol =
0 across stage 1; $44 sentinel confirmed dropped; the dead-code ringer $28C19A confirmed dead
(BIOS pump $18ACE0 is the live doorbell). Streaming-BGM poller deferred (14 doors,
input-bit-driven). Frame-for-frame alignment deferred (needs a stage1-deep seed). Transform-level
byte-exactness is the live claim. Gates 1313/0/0, bosscoverage 103/0/8. PUBLISHING.
Sound direction: Wave B (trivial Z80 upload + listing) next, then Wave C (the Z80 driver port, the real work, 3-5 waves).
Sound progress (all published, live):
- Wave A (68k cue post/queue, build
20260808010309) — the sound keystone; ~25note()placeholders replaced with real cue posts. State-exact against the de-dupedmailbox.tsv. - Wave B (Z80 upload + driver listing, build
20260808012020) — byte-exact upload ($5B98bytes from$2C348A; code region matchesz80ram.bin). Bank-mapping settled. - Wave C-L1 (ICS2115 register file, build
20260808014042) — the virtual register file + register-write interpreter. State-exact againstics.tsv(191,367 rows: log + digest + shadow). - Wave D (sample stitching, tools/) + Wave F (shared Web Audio shim, Gradius src/) IN FLIGHT.
- Next: Wave C-L2 (voice engine
$376C) + C-L3 (cue dispatch) -> Wave E (ICS2115 synth) -> wire into F -> audible output. - The sound plan (W135): 9 premise corrections (Z80 upload trivial; synth core small; 16-bit
stage-1;
ics.tsvoracle; ~33.8 kHz). Gate: command-stream + register-state exact = STRONG; PCM vs MAME = REJECTED.
7ab. UPDATE -- 2026-08-08: Wave C COMPLETE (all 3 layers + SoundChain) LIVE; sound driver structurally end-to-end
Sound Waves A+B+C-L1+C-L2+C-L3+D all LIVE (build 20260808022625). Wave C STRUCTURALLY
complete: register file (L1, ics.js) + voice engine (L2, voice.js) + cue dispatch (L3,
dispatch.js) shipped + coupled via SoundChain (mailbox -> dispatch -> voice update -> register
writes). A single keyon reproduces row-for-row through the full chain against ics.tsv. Wave F
(shared Web Audio shim, shared/audio.js) committed + pushed, NOT yet deployed (Gradius refactor;
needs a full publish).
Remaining sound path: C-depth (4 named TODOs: cue-id->script interpreter [the biggest], Layer 2
ramp math, Layer 2 keyoff, mailbox door->keyon map -- needed for the full 191,367-row ics.tsv
reproduction) -> Wave E (ICS2115 synth, datasheet-referenced, not MAME) -> wire into F ->
audible output. Gate: command-stream + register-state exact = STRONG; PCM vs MAME = REJECTED.
Sample data: tight-union 28-fragment stitch (1.10 MiB, +41%, deferred fetch). Wave F: the cubic
Hermite resampler + stereo + limiter, proven on Gradius (13-stage gate green).
7ac. UPDATE -- 2026-08-08: Wave C6 DONE + LIVE (613 SFX keyons reproduce); sound driver structurally complete through SFX
Wave C6 (95ce3c6, build 20260808040955): the main-loop dispatcher (15-command table $078E,
the real Z80 behavioral entry point) + the immediate-SFX note-on path. 613 of 641 SFX keyons
reproduce row-for-row through the full chain (mailbox -> dispatch -> note-on -> voice engine ->
register file). The param-set is payload-driven (14 distinct SFX param-sets, keyed per-door via
the oracle).
Remaining sound: C7 (BGM, 979 keyons, HIGHEST RISK -- needs the 68k-side score data banked
via $C10000, NOT in z80ram.bin; a recon to locate/decode it first), C5 (keyoff ~0.5 wave),
C8 (28 remaining SFX + the door->keyon timeline). Then E (ICS2115 synth, datasheet) ->
wire into F -> audible. Total ~1.8 waves of C-depth + E (research). Wave F (shared Web Audio
shim) committed but not deployed (Gradius refactor; needs a full publish).
Read this file before touching the boss. It replaces every earlier size estimate.
The boss has 111 entry points across five tables, verified CLOSED against the ROM rather than estimated. 59 ported, 44 live-unported, at 937 instructions plus a spawn closure, roughly 1,160 total. All 44 hang off two scripts, F 2 and F 3, so the remainder is ONE wave-shaped unit. The old figures of 2,173 instructions and 39 entry points are superseded.
The find that justifies the whole approach: EIGHT entry points are DEAD. Four have no start site anywhere in build B, and two of those are the kind-9 guns, so bullet kind 9 can never fire. That contradicts recon 48 and every brief since, including the heartbeat's standing text. A later script still computes 9-or-10 into a register before a subsequent instruction discards it, which is exactly the vestigial code that reads as live until traced.
Dynamic discovery is structurally incapable of finding that. You cannot observe the absence of a call site by running the game.
Two premise corrections: the OBJECT list is walked by a different tail than believed, and one script spawns a second object, so the boss is not strictly one object. And a reusable lesson: earlier reference graphs missed three scripts because they are entered by jump tail-calls rather than calls.
Left unsettled and honestly named: indirect calls through a register, register-computed RAM writes, and the stage-end release.
Then 100-PLAN-static-coverage-system.md, which is the owner's idea and the
most valuable thing on the list. Two of the three games already have a coverage
tool (audit_coverage.py for Batman, census.py and tablecoverage.py for
Gradius, the latter already a gate stage). DaiOuJou has none, which is
exactly why its boss is discovered by execution.
The system is the join, in both directions:
- static minus dynamic = code that exists and has never executed. All 39 bullet behaviours were transcribed long ago and only one has ever run.
- dynamic minus static = a defect in the enumerator itself, which is how the tool gets validated rather than trusted.
Do not build it before W99 is read.
After that: the hyper (four linked pieces, with a rank multiplier that must be scoped to hyper-active frames only, since it can corrupt scoring silently); the bees (a carrier driver that yields no bee, plus a cover sprite the owner believes is missing); the last 800 palette words; 4,017 records still without art; stage 2's column stream. Then sound, then lag.
Lag has a new asset you do not know about. The MiSTer FPGA PGM core is
cloned at C:\programmieren\pgm-mister, outside the repo. It ships a Verilator
simulator with a JSON control server, giving a third oracle that runs locally.
Using it carries no licence obligation; copying its code into this MIT tree
does. Two caveats are recorded: it used MAME as a reference so they are not
independent witnesses, and the ARM7 internal ROM is recreated in both, so on
protection they may share one reconstruction.
W177 ports the sole stage-2 type $91 record at $232CE8, clock $013F.
The exact $279A9A..$279CD0 dependency closure includes its init stub/body,
one long-form prototype, palette threshold, handler, indirect draw, BCD score
$13, three kind-5 pool-B death effects, byte linger, and seven-vector
$27F8FA terminal impact request.
The controlled boot now completes 241 records with 237 allocations and four
authentic declines, then stops honestly at type $92 body $279CD0, record
$232D58, clock $0155. Coverage is 37/256 enemy types and 316/332 stage-2
records, with 16 unknown. The release passed 1,492 tests with zero failures or
skips, bundle/web and ROM-leak gates, deployment, and stable live polls. Build
20260809095334 is live.
W178 ports both stage-2 type $92 records at $232D58 and $232E10, clocks
$0155 and $0177. The exact $279CC8..$279EC2 dependency closure includes
its init stub/body, long-form prototype, mirrored selector folding, palette
threshold, handler, indirect draw, BCD score $14, two pool-B death effects,
and $27F8F0 terminal request.
The controlled boot now completes 251 records with 247 allocations and four
authentic declines, then stops honestly at type $97 body $277DE8, record
$232DA8, clock $0162. Coverage is 38/256 enemy types and 318/332 stage-2
records, with 14 unknown. The web exporter also now harvests the immediate art
streams for both W177 type $91 and W178 type $92. The release passed 1,497
tests with zero failures or skips, bundle/web and ROM-leak gates, deployment,
and stable live polls. Build 20260809102233 is live.
W179 ports all five stage-2 type $97 records through three movement streams.
The exact $277DE0..$278348 family closure and its external heading-art and
bullet-vector tables cover initialization, three collision variants, cue
spawning, four-frame body animation, aimed attachment, paired $281420 fire,
damage, BCD score $88, two pool-B effects, and five terminal impacts.
The controlled boot now completes 254 records with 250 allocations and four
authentic declines, then stops honestly at type $94 body $27A0E8, record
$232DC0, clock $016B. Coverage is 39/256 enemy types and 323/332 stage-2
records, with 9 unknown. The regenerated web bundle contains all 36 newly
required body and attachment streams. The release passed 1,502 tests with zero
failures or skips, bundle/web and ROM-leak gates, deployment, and stable live
polls. Build 20260809105517 is live.
W180 ports all six stage-2 type $94 records through six movement streams.
The exact $27A0E0..$27A44C family closure covers initialization, normal and
mirrored collision selection, 16-frame extending animation, $268018 distance
gating, target fallback, aimed $281764 fire, damage, BCD score $34, one
kind-$0C pool-B effect, and immediate free.
The controlled boot now completes 292 records with 288 allocations and four
authentic declines, then stops honestly at type $93 body $279EC2, record
$232EF0, clock $0197. Coverage is 40/256 enemy types and 329/332 stage-2
records, with 3 unknown. The regenerated web bundle contains all 16 type $94
animation streams and 2,742 streams total. The release passed 1,507 tests with
zero failures or skips, bundle/web and ROM-leak gates, deployment, and stable
live polls. Build 20260809112012 is live.
W181 ports the sole stage-2 type $93 record at $232EF0, clock $0197.
The exact $279EBA..$27A0E0 closure covers initialization, threshold damage,
draw, BCD score $15, high-bit effect kinds $85/$0D/$85, the 19-frame death
linger, terminal $27F8F0 impact request, and free.
The controlled boot now completes 329 records with 324 allocations and five
authentic declines, then stops honestly at type $86 body $275BB6, record
$233018, clock $01D5. Coverage is 41/256 enemy types and 330/332 stage-2
records, with 2 unknown. The regenerated web bundle adds the sole $237470
body stream and contains 2,743 streams total. The release passed 1,511 tests
with zero failures or skips, bundle/web and ROM-leak gates, deployment, and
stable live polls. Build 20260809114953 is live.
W182 ports the sole stage-2 type $86 record at $233018, clock $01D5.
The exact $275BAE..$275C32 local closure reuses type $85's two long-form
prototypes, record prototype, three word-threshold cues, 32-entry heading-art
table, and handler. The shared path now stores the loader-returned cue pointer,
executes the ROM's $24200A init aim with carry fallback, and runs the already
ported $28AC72 cue spawner. Type $86's death takes the guaranteed kind $08
item branch, three effects, sound, and immediate free.
The controlled boot now completes 330 records with 325 allocations and five
authentic declines, then stops honestly at the final unsupported stage-2 record:
type $30 body $297120, record $233020, clock $01DC. Coverage is 42/256
enemy types and 331/332 stage-2 records, with 1 unknown. All required type $86
art was already packed, so the regenerated bundle remains at 2,743 streams. The
release passed 1,515 tests with zero failures or skips, bundle/web and ROM-leak
gates, deployment, and stable live polls. Build 20260809124334 is live.
W183 statically mapped type $30 across all five stage scripts, then ported its
sole occurrence at $233020, clock $01DC. The stage-2 spawn denominator is
now 332/332 with zero unknown, and enemy-type coverage is 43/256.
The wave includes the twelve-sub-record init, complete $298310 multi-part
damage/death controller, A4 bootstrap, and arrival MAIN 0 with its eight-child
placement tail and six-bank palette animation. It does not claim the full boss:
the next strict scheduler frontier is A3/D0 init $297F54.
The controlled boot consumes 331 records, allocates 326, authentically declines
five, and reaches $297F54 at clock $01DC. The 1,519-test release, ROM export,
coverage, 100.0000% bundle parity, HTTP rendering, ROM-leak guard, deployment,
and three stable production polls pass. Build 20260809140956 is live.
W184 statically mapped the stage-2 boss's complete 14-pair A3 table, then
translated the five scripts armed by its bootstrap: D0, D2, D11, D12, and D13.
Their exact init-to-step fall-throughs, byte-counter cadence, RNG ordering,
selector wraps, and D13 deferred type-$4D spawn are now live.
The controlled boot advances from D0 $297F54 through the entire initial set
and stops honestly at A2 object 0 $297462, still at clock $01DC. No new art
was needed for W184, so the bundle remains at 2,743 streams. Static analysis of
the next $297462..$297950 A2 family found 176 missing boss streams that must be
harvested before those objects become visible.
Focused scheduler and controlled-boot checks, ROM export, asset build, the
ROM-leak guard, deployment, and three stable production polls pass. Build
20260809144557 is live.
W185 statically closed the stage-2 boss's eleven A2 draw objects and D13's
deferred type $4D satellite. The A2 routines now emit one bucket-1 record each
in the ROM's non-address pointer order, and type $4D reproduces its overlapping
prototype, movement, scroll compensation, eight-frame animation, and cleanup.
Static writer analysis constrained object 3 to eight of its nine structurally valid pointers. The exact art delta is therefore 176 reachable unique streams, all added to deferred boss shard 17. The bundle now contains 2,919 streams and remains 15,955,968/15,955,968 pixels identical to the reference capture.
The controlled boot reaches the next honest boss frontier at A4/F3 init
$299194, clock $0218. Enemy coverage rises to 44/256 while stage 2 remains
332/332. Focused checks, ROM export, bundle parity, ROM-leak guard, deployment,
and three production polls pass. Build 20260809151417 is live.