# Provenance (licence audit, 2026-11-13) This repository is at Phase 0: documents, pinned references, fetch and census scripts, and a MAME trace runner. **There is no emulator code yet**, so there is nothing to rewrite. This file records which sources the documents were learned from, their licences, and what the board may take from each when it is written, under the family charter's "Licences and provenance" (nothing copied or transcribed from GPL, LGPL, non-commercial or unlicensed code; facts are not code; permissive sources used with their notice). **How this audit was done.** From the repository's own records: `docs/`, `scripts/`, commit messages, `scripts/pinned_repos.json` and `scripts/pinned_files.json`. The only reference files opened were the licence header lines of the pinned MAME files (every one is `license:BSD-3-Clause`). No GPL or non-commercial source was opened for this audit. No code blocks quoting C, C++ or HDL from any source were found in `docs/` (only our own MAME debugger commands and module sketches). **The practice the documents were written under.** The Phase 0 rules of 2026-11-11 allowed GPL and non-commercial emulators to be "read and cite only; never copy". The charter now says a GPL project's source is not opened while writing the code it would inform. So: a fact these documents cite to a GPL or non-commercial **source file** (by file and line) is emulator-tier and was read from that code; the board may not be written from such a passage. It may be written from the passages that rest on hardware, manufacturer documents, MAME (BSD-3-Clause, with notice) or other permissive sources, and from closed-box runs of any emulator. Each document's tables name their source per row, so the split is mechanical when the board starts. ## Sources and what the board may take | Source | Licence as recorded | Use | | --- | --- | --- | | Vectrex service manual, troubleshooting guide (GCE/MB) | circulation condoned not-for-profit; not committed | facts | | Logic board drawing `LogicBoard-3GE-BW.pdf` | CC BY-SA 4.0 | facts; credit if reproduced | | R6522/MCS6522/SY6522/W65C22 data sheets | manufacturer | facts | | Bruce Tomlin / Fred Taft BIOS listing, Graham Toal disassemblies | no licence; the code is GCE's | facts about the ROM; never copied | | Chris Salomon's tutorial, Peer Johannsen's lab pages | no licence | facts, cite | | MAME 0.285 (`vectrex*.cpp`, `6522via.cpp`, AY) | BSD-3-Clause | code OK with notice; detector | | vecx, libretro-vecx, VecXGL | GPL-3.0 | closed box only | | Vide | no licence stated; its emulation derives from vecx (GPL) | closed box only | | Vectrexy | MIT | code OK with notice | | Vectrex_MiSTer, vectrexia, scopetrex | "see the repository": unrecorded | treat as closed box until recorded | | VICE (`via_*` tests in VICE-testprogs) | VICE GPL-2.0+; testprogs: per-program headers, many none | reference values that their test says were captured on a real machine are facts (check each); the test programs themselves are run, not copied | ## Points the board must watch - `docs/analog.md` (l. 85-150) tabulates analog delay presets from MAME, **Vide**, Vectrexy, vecx and MiSTer, and plans named presets `vide`, `vectrexy`, `ideal`, `schematic`. A preset is a table of numbers taken out of that emulator's code: `vectrexy` (MIT) and MAME (BSD-3) are fine with notice; a `vide` preset (no licence, vecx-derived) and anything from vecx or MiSTer would be a table copied from code we may not take. **unclear** until the board is written: measure such values closed box (run the program and fit) or drop the preset. - `docs/via.md` l. 105 and `handoff-brief.md` l. 219: VICE test reference values "transcribed into unit tests": acceptable as measured results, provided each is recorded as captured on hardware. - System ROM: bring-your-own recommended (the "freely distributable" status rests on the FAQ's report of a 1990s statement): never commit it until Aubrey rules. ## Scripts `scripts/census.py`, `mame_trace.py`/`.lua`, `fetch_references.py`: **clean** (run MAME, read images in place). Verdicts: 3 clean (scripts), 0 cite, 1 unclear (analog presets, before any code exists), 0 rewrite. Local repository, no remote; no history findings. ## Closed-box sources removed (2026-11-24) Aubrey's rule of 2026-11-24: an MIT repository does not download or keep the source of anything the family's `sources.md` marks closed box only, nor copyleft or unlicensed emulator code. Pins removed from `scripts/pinned_repos.json`, trees moved aside unopened, out of the repository (not deleted): vecx (`9b2894ca`, GPL-3.0), libretro-vecx (`dccff540`, GPL-3.0), VecXGL (`2a527d2a`, vecx-derived), Vectrexia (`b4ec3c98`, GPL-2.0), Vectrex_MiSTer (`33a82999`) and VICE's `viacore.c` (`fb8cfd75`, GPL-2.0+). Vide (`ea901d89`, no licence stated, vecx-derived) keeps only its documents and help pages; its emulator source left the sparse list. Nothing was built from them. URLs are in docs/validation.md. Passages rewritten (file names, line numbers, symbols and a quoted array dropped; the values that rest only on that reading marked HYPOTHESIS): analog.md's delay table sources, cartridge.md, controllers.md, handoff-brief.md, sound.md, validation.md. The "unclear" analog presets above now have that HYPOTHESIS mark beside the Vide, vecx and MiSTer columns they would use.