Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.4.1] - 2026-12-01
Fixed
- GitHub Pages Clean-Root Paths & Artifact Propagation (
.github/workflows/pages.yml): Updatedoverview_srcs,extra_manuals,NAV_LABELS,TOP_NAV_ITEMS, andout_rel()to readDev/docs/{FEATURES,ROADMAP}.mdand emit.github/{CONTRIBUTING,SECURITY}.mdat site root (CONTRIBUTING.html/SECURITY.html) soupload-pages-artifactdoes not exclude.github/, excluded internal governance files (CHARTER.md,DESIGN.md) from the public Pages build, and added a 5-second metadata propagation pause beforedeploy-pages@v4. - Broken Repo-Relative Documentation Links & Test Counts (
Dev/AGENTS.md,Dev/docs/{CHARTER,DESIGN,FEATURES,OPERATIONS}.md,.github/CONTRIBUTING.md,README.md): Repaired relative links shifted during outer-root slimming and aligned offlineunittestdocumentation counts (27/27). - Dynamic
reCartDiscovery & Clean-Root Release Packager (Dev/scripts/d4b_oracle_bridges.py,Dev/scripts/package_release.py): Updatedresolve_recart_dir()to probeBuilds/Latest/app, highestBuilds/v*/app, and_SharedLibs/reCart, slimmed_ROOT_WHITELISTand resolvedDev/docs/FEATURES.mdinpackage_release.py, and added a tracked Markdown link-integrity regression test (Dev/scripts/tests/test_scripts_cli_and_schemas.py). - Refreshed
v0.4.1.decompBundle & Clean-Room Hardening (IronFrame-OuterFortress-Cart-01.decomp,Dev/schemas/,Dev/docs/): Scrubbed remaining uncoded character/location names fromDev/schemas/types/mg_world.h,Dev/schemas/call_graph.json,Dev/schemas/d4_rewrites/*.json,Dev/docs/{CHARTER,DESIGN}.md,Dev/AGENTS.md, andCHANGELOG.md, tightenedcraftsmanship_d4_helpers.py/craftsmanship_d4_normalizer.py/export_decomp_bundle.pyclean-room guards, re-exported the strict55-entryv0.4.1.decompbundle, and refreshed version lockstep acrossactive.state,Dev/research.manifest.json, andDev/schemas/decomp_recipe.json.
[0.4.0] - 2026-11-23
Added
- Clean-Room C11
NesBusRuntime & Lockstep Scene Driver (Dev/scripts/d4_harness/): Added modular<= 250-line C11 files (nes_bus.h,nes_bus.c,nes_ppu_apu.c,nes_cpu_ops.c,nes_cpu_exec.c,d4b_lockstep_scenes.c) implementing the RP2A03 6502 (56mnemonics /151opcodes), RP2C02 PPU registers/VRAM/OAM DMA, RP2A03 APU/DMC latches and stalls, iNES Mapper 2 UNROM bus-conflict bank latching,--lockstepCLI dispatch inparity_runner_main.c,5-scene /650-frame execution, and8live linked clean C11 subsystem checkpoints. - Mesen 2.1.1 &
reCartOracle Bridges (Dev/scripts/d4b_oracle_bridges.py,Dev/scripts/run_d4b_lockstep.py,Dev/schemas/d4b_lockstep_report.json): Added headless Mesen 2.1.1--testRunnerLua tracing and an ephemeral.NET 8read-onlyreCart.Core.dllInterpreterOracledifferential witness, achievingmismatchedFrames: 0across650frames ($0100-$01FFhardware stack masked),8/8linked C checkpoints, and650-frame witness verification (649transitions, boot WRAM CRC32f1e8ba9e) in digest-only v2Dev/schemas/d4b_lockstep_report.jsonalongside--offline-syntheticandrc=2MISSING_CORPUS_MEDIAgates. - Bank
1..4&BANK_06Clean-Room Table Decoders (Dev/scripts/decode_*.py): Added four<= 250-SLOC scripts (decode_rooms_and_metatiles.py,decode_guards_and_weapons.py,decode_codec_and_audio.py, and orchestratordecode_all_bank_tables.py) extracting256rooms (165unique),6metatile tilesets,256room neighbor vectors (235unique),51CHR headers,123patrol pointers (96unique),160dialog pointer offsets (144unique, metadata only with zero retail text),217room actor spawns (85unique),7weapon tables,4password layout tables,7codec frequencies,255room call tables (116entries,72unique message IDs),5volume envelopes,12note periods,132sound/BGM descriptors (64SFX /68BGM), anddmc[0]strictly into gitignored--out-dir(Corpus/work/decoded_tables/) withunresolvedFieldCount: 0. - Clean-Room Specification Spokes (
Dev/docs/specifications/): Added three tracked structural format chapters (rooms-metatiles-and-chr-format.md,guards-weapons-and-password-format.md,codec-and-bank06-audio-format.md) linked fromDev/docs/SPECIFICATIONS.md. - Lockstep & Decoder Validators + Offline Unit Tests (
Dev/scripts/d4b_validation_helpers.py,Dev/scripts/tests/test_d4b_and_decoders.py): Added clean-room v2 lockstep/digest/spoke validators and expanded the offlineunittestsuite from20to25passing tests (-W error) validating--offline-synthetic,rc=2missing-media gates, digest-only anti-dump checks, andv0.4.0strict.decomppackaging (test_decomp_cleanroom_and_release.py,test_scripts_cli_and_schemas.py).
Changed
- Unified Verifier &
spec_coverage.jsonv2 Schema (Dev/scripts/verify_track_d5.py,Dev/schemas/spec_coverage.json): Updatedverify_track_d5.pyto enforce multi-scene execution lockstep and4/4specification spokes (17/17full checks,11/11offline synthetic) while staying within the250-SLOC budget, and refreshedDev/schemas/spec_coverage.jsonviadecode_all_bank_tables.py --write-spec-coverage(unresolvedFieldCount: 0,5/5checks). v0.4.0.decompBundle, Manifests & Documentation (Dev/schemas/decomp_recipe.json,Dev/research.manifest.json,IronFrame-OuterFortress-Cart-01.decomp,Dev/docs/): AdvancedDev/research.manifest.json(version: "0.4.0", execution lockstep verified),Dev/schemas/decomp_recipe.json(packageVersion: "0.4.0"), and the deterministic clean-roomIronFrame-OuterFortress-Cart-01.decompbundle (55entries,347,247bytes,0strict clean-room violations), and synchronized root documentation,AGENTS.md,active.state, and technical manuals while archiving0.1.0notes to keep the three-minor window (0.4.0,0.3.0,0.2.0).
[0.3.0] - 2026-11-22
Added
- Zero-Tell AST C11 Normalizer, Helpers & Synthetic Fixtures (
Dev/scripts/craftsmanship_d4_helpers.py,Dev/scripts/craftsmanship_d4_ast_cleaner.py,Dev/scripts/craftsmanship_d4_normalizer.py,Dev/scripts/tests/synthetic_d4_fixtures.py): Added<= 250-SLOC tools normalizing all26cohesive domain C modules and8headers (34C/header files,507symbols =499catalog functions +8synthesized adapters) into clean idiomatic C11 (0decompiler tells across all 6 tell classes, clean fixed-widths8..u64ghidra_compat.h, zero-suppression.clangdandcompile_commands.jsontargetingmsp430-unknown-none-elf), supporting--offline-syntheticand exit-code2MISSING_CORPUS_MEDIAcontainment. - Zero-Body Rewrite Shards (
Dev/schemas/d4_rewrites/*.json): Added5dependency-grouped v2 JSON shards (core_runtime.json,core_gameplay.json,overlays_b00_b02.json,overlays_b03_b04.json,overlays_b05_b06.json) recording signatures, local variable renames, applied transforms, and docstring summaries across all26files and507symbols with0embedded C bodies and0trademark or PII leaks. - Craftsmanship & Strict
.decompRegression Coverage (Dev/scripts/tests/test_tiers_and_coalesce.py,test_decomp_cleanroom_and_release.py,test_scripts_cli_and_schemas.py): Expanded the offlineunittestsuite from18to20tests (-W error) validating all 6 decompiler tell classes, comma-operatorifunrolling, zero-bodyd4_rewrites/*.jsonshards, isolated--offline-syntheticnormalizer runs, missing-mediarc=2gates, and47-entryv0.3.0.decomppackaging.
Changed
- Strict Zero-Warning C11 Build, Tier Materializer & Verifier (
Dev/scripts/build_and_verify_d4.py,Dev/scripts/materialize_decomp_tiers.py,Dev/scripts/verify_track_d5.py): Enforced-std=gnu11 -fsigned-char -O1 -ffreestanding -fno-builtin -Wall -Wextra -Wno-unused-parameter(removing-Wno-int-to-pointer-castand-Wno-pointer-to-int-cast) across both freestanding and host parity passes (26/26compiled,0errors,0warnings,0tells,10/10host subsystem parity assertions), added clean idiomatic C11 tier output (36synced files inCorpus/readable/) tomaterialize_decomp_tiers.py, and expandedverify_track_d5.pyto15/15full checks (9/9offline synthetic) alongside8/86502 ROM match (CRC32=25ba3d04). v0.3.0.decompBundle, Manifests, Docs & Snapshot Hygiene (Dev/schemas/decomp_recipe.json,Dev/research.manifest.json,IronFrame-OuterFortress-Cart-01.decomp,Dev/docs/): Updated the.decompbundle tov0.3.0(47entries includingd4_build_report.jsonand the5d4_rewrites/*.jsonshards), advancedDev/research.manifest.json(36readable C11 files, zero-warning build gate passed), synchronized root documentation,AGENTS.md,active.state, and technical manuals, and folded the2026-11-20workspace hygiene snapshot (v0.2.0clean-room archive).
Fixed
- Header, Override & Pointer-Width Diagnostics (
Dev/schemas/types/mg_player.h,Dev/schemas/types/nes_hardware.h,Dev/schemas/d3_symbol_overrides.json): Renamed placeholder struct fields (player_status_mask,*_zp72..76,unused_reg_4009_pad,unused_reg_400d_pad) andarg0sub-entry parameters (factor,table_index), added non-collidingg_actor_soa_ram[128](0x0300) andg_apu_mmio_regs[24](0x4000) overrides (2,344header externs), unrolled69comma-operatorif (...)conditions, eliminated dead stack variables (284warnings) and uninitialized register locals (228warnings), parenthesized55bitwise&expressions, and lowered(short)(&g_* + idx)/(&g_*)[idx]/ int-to-pointer expressions cleanly without warning suppressions. - Clean-Room CI Recipe & Normalizer Containment (
.github/workflows/ci.yml,Dev/scripts/craftsmanship_d4_normalizer.py,Dev/scripts/materialize_decomp_tiers.py): AllowedexcludedFiles: []atD4in.github/workflows/ci.yml, relocated synthetic raw C test fixtures out of production scripts intoDev/scripts/tests/synthetic_d4_fixtures.py(with header-only fallback whentests/is absent), and isolatedcraftsmanship_d4_normalizer.py(--log-diropt-inNone, isolated temp--out-dirfor--offline-synthetic).
[0.2.0] - 2026-11-20
Added
- Cohesive Domain Module Map & Symbol Override Schemas (
Dev/schemas/d3_module_map.json,Dev/schemas/d3_symbol_overrides.json): Added clean-room schemas partitioning all499indexed functions across26domain-grouped C modules (10fixed-banksrc/core/modules and16switchable-bankoverlays/modules), mapping1local label (lbl_demo_input_loop),20synthetic/bank-scoped symbol entries (18deduplicated externs),44raw function call overrides,8declarative bank/signature adapters, and9sub-entry prototypes with zero trademark tokens or C function bodies. - Cohesive C Coalescer & Multi-Tier Snapshot Materializer (
Dev/scripts/coalesce_d4_modules.py,Dev/scripts/materialize_decomp_tiers.py): Built deterministic tools reusingnes_cli_common.pyto merge68line-split fragments into26domain C modules, resolve all299raw symbol aliases and44raw cross-bank declarations (0remaining raw tokens across.cand headers), synthesize8clean-room adapters intosrc/core/core_unrom_and_math.c, preserve raw, sliced, and mapped local snapshot tiers, and refreshSYMBOL_MAP.md,ARCHITECTURE_WALKTHROUGH.md,.clangd, andcompile_commands.json. - Coalescing & Tier Offline Tests (
Dev/scripts/tests/test_tiers_and_coalesce.py): Expanded the offlineunittestsuite from14to18passing tests covering raw symbol rewrite precedence, bank-scopedBANK_03/BANK_01table overrides, header regeneration, adapter synthesis,--offline-synthetictier generation, idempotent sliced-tier preservation, and fail-closed exit code2missing-media handling.
Changed
- Mapped C Parity Harness & Freestanding Build (
Dev/scripts/d4_harness/,Dev/scripts/build_and_verify_d4.py): Updatedparity_rom_and_mapper_tests.c,parity_gameplay_and_audio_tests.c, and synthetic extern generators to mappedg_*scalar and array globals (g_fixed_tbl_ff99,g_vram_transfer_queue,g_snd_pause_backup), verifying26/26freestanding C11 module compilations (0errors,0warnings) and10/10host parity assertions. - Integrity Verifier,
v0.2.0.decompBundle & Documentation (Dev/scripts/verify_track_d5.py,Dev/schemas/decomp_recipe.json,Dev/docs/): Expandedverify_track_d5.pyto14/14full checks (8/8offline synthetic), updatedIronFrame-OuterFortress-Cart-01.decompandDev/research.manifest.jsontov0.2.0(reCart0.1.xclean-room verified), confirmed8/8ROM bank1:16502 assembly parity (CRC32=25ba3d04), and synchronized root documentation,AGENTS.md,active.state, and technical manuals.
Fixed
- Bank-Scoped Table Collisions, Indexed Array Rewrites & Bitwise
&Safety (Dev/scripts/coalesce_d4_modules.py,Dev/schemas/d3_symbol_overrides.json): PinnedBYTE_ARRAY_bf00explicitly toBANK_03.prg(g_b03_rom_tbl_bf00) andFUN_b622toBANK_01.prg(g_b01_rom_tbl_b622), distinguished indexed(&DAT_0740)[i]accesses (g_vram_transfer_queue[i]) from scalarDAT_0740reads (g_vram_transfer_queue[0]), and preserved bitwise&expressions without misclassifying them as address-of array operations.
(Earlier 0.1.0 release notes are preserved under git tag v0.1.0 and local Dev/docs/archive/.)