# Provenance The record for the restarted repository (2026-11-19, from `b1e2dcf`). One row per tracked file: what it rests on, the licences involved, and the verdict. The first repository's records are archived with it and not read ([restart.md](restart.md)). ## Statement Nothing in this repository was written from a forbidden source. During the rewrite of 2026-11-19 none of the following was opened, searched or quoted: the archived repository (any file, document or commit message), Nuked-OPM's `.c` (it was compiled by `validation/build_referee.sh` and run; not even `opm.h` was needed beyond what `validation/opm_ref.c` already calls), jt51's HDL or README, MAME's GPL `ym2151.cpp` or any GPL MAME driver, fmgen, or any other family repository's YM/OPN core. The sources read were Yamaha's two documents, IKAOPM 08a5b40 (BSD-2: README, LICENSE, `src/IKAOPM.v` and the modules under `src/IKAOPM_modules/`), ymfm 81aec25 (BSD-3: `ymfm_opm.*`, `ymfm_fm.ipp`, LICENSE), MAME 0.285's census table derived from `-listxml`, this repository's carried files and closed-box outputs, and the family's own rule documents. ## Files | File | Sources | Licences | Verdict | | --- | --- | --- | --- | | `LICENSE` | - | MIT | clean | | `NOTICE` | IKAOPM's and ymfm's LICENSE files, copied verbatim | BSD-2, BSD-3 | clean | | `README.md` | this repository's documents | MIT | clean | | `.gitignore` | carried from `b1e2dcf` | MIT | clean | | `docs/restart.md`, `docs/decisions.md` | the restart (2026-11-19); the owner's decisions | MIT | clean (carried, rewritten at the restart) | | `docs/users.md`, `docs/mame-oracle.md` | MAME 0.285 runs and census; BSD-3 drivers for wiring | MIT text; facts from BSD-3 files | clean (carried; mame-oracle's BUSY row and "judge" wording updated 2026-11-19) | | `docs/registers.md` | AM, DS; IKAOPM_reg.v, IKAOPM_timer.v, IKAOPM_eg.v, IKAOPM_acc.v; referee probe/measure outputs | DOC; BSD-2; closed box | clean | | `docs/phase-generator.md` | AM Figs. 2.4-2.8; IKAOPM_pg.v, IKAOPM_lfo.v; ymfm_fm.ipp, ymfm_opm.cpp; `referee_freq.py` results | DOC; BSD-2; BSD-3; closed box | clean | | `docs/operators.md` | AM Figs. 2.9-2.10; IKAOPM_op.v; ymfm_fm.ipp (tables, cross-check); referee probe | DOC; BSD-2; BSD-3; closed box | clean | | `docs/envelope.md` | AM p.9-10, Figs. 2.12-2.15; IKAOPM_eg.v, IKAOPM_reg.v; referee measure | DOC; BSD-2; closed box | clean | | `docs/lfo-noise.md` | AM p.11-13, Fig. 2.16; IKAOPM_lfo.v, IKAOPM_noise.v, IKAOPM_timer.v; ymfm_opm.cpp; referee measure and survey | DOC; BSD-2; BSD-3; closed box | clean | | `docs/timers-and-bus.md` | AM, DS; IKAOPM_timer.v, IKAOPM_reg.v, IKAOPM_timinggen.v, README; referee probe and survey | DOC; BSD-2; closed box | clean | | `docs/output.md` | AM p.15, p.22 (Fig. 2.17); IKAOPM_acc.v, IKAOPM_timinggen.v; referee probe and survey | DOC; BSD-2; closed box | clean | | `docs/ym2164.md` | ymfm_opm.h comment; MAME census; referee in YM2164 mode | BSD-3; closed box | clean | | `docs/validation.md`, `docs/handoff-brief.md`, `docs/start-here.md`, `docs/README.md`, `docs/phase0-status.md`, `docs/provenance.md` | this repository's documents and runs | MIT | clean | | `scripts/fetch_references.py` | carried; Nuked-OPM's note reworded 2026-11-19 | MIT | clean | | `scripts/referee_probe.py`, `scripts/referee_measure.py`, `scripts/replay_tap.py` | carried; drive `opm_ref` | MIT | clean (replay_tap's wording updated) | | `scripts/mame_tap.sh`, `scripts/mame_ym2151_tap.lua`, `scripts/mame_census.py` | carried; run MAME 0.285 | MIT | clean | | `scripts/referee_freq.py` (new) | drives `opm_ref`; reads IKAOPM's frequency ROM and ymfm's tables at run time; IKAOPM's interpolation and DT1 rule as described in phase-generator.md (with file:line); the manual's Fig. 2.6 transcribed | MIT; BSD-2 and BSD-3 material used under NOTICE | clean | | `scripts/ikaopm_tables.py` (new) | reads IKAOPM's ROM rows and bit selections and ymfm's tables at run time; nothing copied | MIT; BSD-2, BSD-3 under NOTICE | clean | | `scripts/referee_survey.py` (new) | drives `opm_ref` | MIT | clean | | `validation/opm_ref.c` (until 2026-11-22; below) | carried; calls only `opm.h`'s public functions; output stride added 2026-11-19 | MIT (links LGPL-2.1 Nuked-OPM locally, never distributed) | clean | | `validation/build_referee.sh` | carried; compiled the pinned Nuked-OPM unopened; since 2026-11-24 it only checks the referee built in emu-tools-gpl | MIT | clean | ## Not tracked `reference/` (git-ignored) holds the fetched third-party material at its pins, the locally built referee, MAME runs and every closed-box output quoted in the documents. None of it is committed or distributed. ## History On 2026-11-22 (the family's history clean-up, wave G) `validation/opm_ref.c` left this repository and was removed from every commit with `git filter-repo`; every other change kept its commit. The harness is linked with Nuked-OPM (LGPL-2.1-or-later), so by the family's rule of 2026-11-19 it is a GPL tool. It is kept with the family's other GPL tools (emu-tools-gpl, `tools/ym2151-python`), and `validation/build_referee.sh` found it through `YM2151_GPL_TOOLS`. Commit hashes cited from before that date refer to the old history, which is kept privately. On 2026-11-24 (one variable per tool repository, Aubrey) this repository stopped compiling the harness: emu-tools-gpl regrouped it as nuked-harness's `opm-events` (the same command line and records), built there by `tools/nuked/build.sh` with its own fetch of Nuked-OPM at f209e6e. The scripts run it at `$EMU_TOOLS_GPL/tools/nuked/build/opm-events` (emu-tools/docs/contract.md, section 5) and `validation/build_referee.sh` only checks it is there. Gated before and after: `referee_probe.py` and `referee_measure.py` gave byte-identical output. On 2026-11-24 (Aubrey: MIT repositories hold no Nuked model's source) the Nuked-OPM pin left `scripts/fetch_references.py`; nothing here built from or ran from that tree after the harness moved. The clone fetched before was moved, unopened, out of `reference/src/`, aside and outside the repository, not deleted. Every OBSERVED tag keeps citing it as at `f209e6ed3712032b641d53ce8fb24824eae6adc3` (public header `opm.h`). Gated before and after: `fetch_references.py --verify`, `build_referee.sh`, `referee_probe.py`, `referee_measure.py` and `referee_freq.py` gave the same results. **jt51 too (2026-11-24, later the same day).** jt51 (https://github.com/jotego/jt51 @ `2ca6601e6e69e1a3a529920506ee0657ccd30513`, GPL-3.0) left `scripts/fetch_references.py`'s list by the same rule; its clone was moved aside unopened, out of the repository. Nothing built from it or read its HDL; the VGM logs inside it (docs/users.md) are gone with it. The MAME 0.285 files still fetched (`ymopm.*`, `ymfm_mame.h`, ymfm's OPM, the 25 drivers) all carry `license:BSD-3-Clause`. The machine path of the earlier backup is no longer written here.