# Provenance ## Licence provenance (audit 2026-11-13) Method: the repository's comments, docs, build scripts, `Cargo.lock` licences (`cargo metadata`) and git history; `provenance_check.py` (pcengine-python) against a scratch copy of MAME's BSD-3-Clause Galaxian and Galaga files: no hits. No GPL source was opened. | Piece | Came from | Licence | Verdict | | --- | --- | --- | --- | | `src/galaxian/{board,video,sound,roms,trace}.rs` | transcribed from galemu (`board.py`, `devices.py`, `video.py`, `synth.py`, `roms.py`), as each module header says | MIT (galemu) | inherits galemu's verdicts: palette, star palette, input ports and sound model need the MAME BSD-3-Clause notice (see galemu `docs/provenance.md`) → cite | | `src/runner.rs`, `src/check.rs`, `src/bindings.rs`, `src/lib.rs` | own work (z80-bench loop made resumable, trace comparison, wasm bindings) | MIT | clean | | CPU | `z80-rust-fast` v0.1.0 by tag | MIT | clean (audited there) | | `conformance/rung1`, `conformance/rung5` | copied byte for byte from z80-python `cab1598` (MIT), as `conformance/README.md` says | MIT | clean | | `oracle/` (galemu driver scripts, reference JSON and `.s16` audio) | galemu's own output | MIT | clean | | `web/*` (page, worker, `unzip.js`, audio worklet) | own work, no third-party JS | MIT | clean | | Rust crates (`Cargo.lock`) | wasm-bindgen, serde/serde_json, sha1, crc32fast, zmij and their deps | MIT / Apache-2.0 / Unlicense | clean | | `zexall.com`, fetched into `external/` (git-ignored), served as `dist/zex/zexall.com` | Frank Cringle's ZEXALL via agn453/ZEXALL | GPL-2.0-or-later | cite: GPL compliance owed (below) | **ZEXALL.** `README.md` and `scripts/fetch_zexall.sh` said `zexall.com` was not committed, but `external/zexall.com` was committed in "Milestone 3" (`7f17854` on `main`; `cfdb7f6` before the history rewrite) and stayed tracked until 2026-11-26. The live site serves it at `/zex/zexall.com` with no licence text and no pointer to its source. Running it never touches our code's licence, but serving the binary is distribution under GPL-2.0: the page (or `dist/zex/`) needs the GPL-2.0 notice, Cringle's copyright, and a link to the corresponding source (`zexall.src` in agn453/ZEXALL); and either untrack the file (and fix the history if the repository goes public) or correct the README. **2026-11-26: untracked.** Following the family rule for ZEXALL ("fetched as evidence, never vendored", emulator-lineage `docs/sources.md`), `external/zexall.com` was removed from the tree and `external/` added to `.gitignore`. `scripts/fetch_zexall.sh` now fetches it from a fixed commit (`agn453/ZEXALL` `8f71d418`, the same bytes as the file's only revision `ee6ab9a`) and discards anything whose SHA-256 is not `6e2da551…8537e8`, the hash z80-python and z80-rust-fast pin. `tests/runner.rs`, `web/zex.mjs`, CI and `scripts/build-dist.sh` all read the fetched copy (`build-dist.sh` runs the fetch first), and the fetched bytes are identical to the old tracked file and to `dist/zex/zexall.com`, so the site is unchanged. Still owed: the file remains in history from `7f17854` (also on `origin/main`); it must be rewritten out before the repository goes public. The served copy's GPL notice and source link are also still owed. Verdicts: clean 6, cite 2, rewrite 0, unclear 0. ### Sites galaxian.supertux.com serves `dist/`: the page, the wasm build, the conformance traces, `zexall.com` and its manifest. No ROM, PROM, artwork or sound sample is served: the visitor's own `galaxian.zip` is verified in the browser, from a file or a URL the visitor gives (the README notes archive.org's `/cors/` path but names no item). ### Sources | Source | Licence or terms | Family use | | --- | --- | --- | | galemu | MIT (with MAME BSD-3 notices owed) | code OK | | z80-python conformance traces | MIT | code OK | | ZEXALL (Frank Cringle; agn453/ZEXALL) | GPL-2.0-or-later | run as a program; serving it needs notice + source | | MAME Galaxian files | BSD-3-Clause | code OK (with notice) | | Namco Galaxian ROMs | Namco copyright | never shipped; player supplies |