# Restart rules This repository is a restart. The earlier `a2600-python` took cartridge-scheme details (milestone 5: E7's small-ROM selects and power-on slice, CommaVid, UA, FC, DPC's Stella-only choices, Supercharger details) and controller details (milestone 6: the Driving controller's sequence, Booster Grip and SaveKey pin assignments) from reading Stella's and Gopher2600's source (GPL). On 2026-11-14 the owner chose to archive that repository (`zzz-a2600-python`, private, archived) and restart from the last commit before milestone 5: milestone 4 (`ad1108d`): the TIA judged against the die, the board in lockstep with MAME and Stella as closed boxes, the picture compare. Everything after that point is rebuilt under these rules. The public Rust tiers that transcribed the old repository are archived too and will be rebuilt from this one. ## The rules 1. **No GPL, LGPL or unlicensed source is read.** Not to learn a mapping, not to check a constant, not to settle a doubt. For this machine that covers Stella, Gopher2600, 6502.ts, MAME's GPL-licensed files (check each MAME file's first line: BSD-3-Clause files are permissive and usable with their notice), and any other source sources.md lists as closed box only. 2. **The archived repository is not read**, in any form: not its code, not its tests, not its documents written after `ad1108d`, not its commit messages. The same holds for the archived Rust tiers and for any repository that copied its later code. 3. **Translating a program statement by statement is copying**, whatever the language. 4. **Permitted sources:** the die traces and Sim2600 runs already used; Kevin Horton's bankswitching document and his Supercharger document; nocash's 2600 specifications; Stolberg's guide; Crane's DPC patent and his posts; manufacturers' and device makers' documentation (AtariVox/SaveKey, the Booster Grip); the cartridges' own code; MAME's BSD-3 files with their notice; MAME's CC0 software lists with attribution. 5. **An emulator may be run, never read.** Stella (the SDL debugger build and the libretro core), Gopher2600 and MAME may be built and driven as closed boxes through harnesses written here. Owner's rulings of 2026-11-13: a closed box may be a detector and a measuring instrument; a value got that way is tagged `OBSERVED` (emulator and revision named), and a document, a die trace or a hardware result that disagrees overrules it. 6. **A difference from a closed box is written down, not fixed**, unless a document, a die trace or a hardware result independently says the board is wrong; then cite that. 7. **Every rule in the code names its source** with an evidence tag (MEASURED, DIE, TEST ROM, DOC, OBSERVED, FITTED, HYPOTHESIS). 8. **The middle rule.** A fact is usable when someone established it on real hardware and says so in prose; cite them and note the history. Code fragments in any document stay unread. 9. **An author who objects to AI use of their work is left out**, even where the licence would allow it. 10. **The documents inherited from `ad1108d` were written under the older rule** ("GPL source: read, cite, never copy"). Before milestone 5 is rebuilt, every statement in them that rests on reading Stella's, Gopher2600's or another GPL implementation's source is struck or re-sourced, and that is recorded in `docs/provenance.md`. Detector settings (how Stella and Gopher2600 were run as closed boxes) stay. ## The order of work 1. Scrub the inherited documents (rule 10). 2. Rebuild milestones 5 to 7 from `docs/handoff-brief.md`; then the public surface and sockets the 7800 board needs (its `docs/handoff-brief.md` states the requests). 3. The charter's obligations: SPDX headers, NOTICE, lineage line, `docs/status.md`, evidence tags, modelling levels, domains, romsets by environment variable. 4. Then the Rust tiers are rebuilt by transcription from this repository, and play-2600 is redeployed on them. If you meet a source whose licence or author's wishes you are unsure of, stop and report.