# Aubrey's emulator family You are working in a family of emulators under /data/emu. Before changing anything, read the family charter: /data/emu/emulator-lineage/docs/charter.md (the shape and its promises), then the project's own README.md and docs/status.md. How to work: docs/methodology.md beside the charter. How briefs and reviews work: docs/agents.md. The rules that must never be missed: - **Tiers.** x-python is the specification and where hardware behaviour is defined and fixed; x-rust transcribes it line by line (every bus cycle identical); x-rust-fast optimises without changing a cycle; x-rust-turbo keeps every observable identical with the per-dot code as fallback. Work in one tier at a time and pass its gate (scripts/ladder.sh in the Rust tiers) before keeping a change. - **Fixes start upstream.** A behaviour bug found downstream is reported with a repro and fixed in x-python first, then carried down by merges. - **Never claim more certainty than the evidence supports.** Tag evidence in comments (MEASURED, DIE, TEST ROM, DOC, OBSERVED, FITTED, HYPOTHESIS); "matches the Python" is not "matches the hardware". - **Honour every licence you touch.** Every repository has a LICENSE file and every file an SPDX header. The emulator family is MIT: nothing copied or transcribed from GPL/LGPL code (run such projects as black boxes only). MIT repositories never fetch, keep or build closed-box source (GPL, LGPL, unlicensed or non-commercial emulators and models): those are built and run from emu-tools-gpl or emu-tools-gpl2 (`$EMU_TOOLS_GPL`, `$EMU_TOOLS_GPL2`), and an MIT repository reads only their outputs. Code flows from MIT into GPL, never the reverse. A GPL tool or project stays GPL and keeps its notices. Keep permissive notices with what came from them. Never ship console makers' firmware or artwork. Before using an outside source, check /data/emu/emulator-lineage/docs/sources.md, and add any source you meet. - **Respect authors' wishes, tracked apart from licence.** Nothing by, or derived from the work of, an author who objects to AI use (furrtek), however it is licensed: their lineage (derived works, tools and simulations built on them) is set aside too. Record it as respect, not licence: sources.md "set aside (author's wishes)", and "Author respect" in a project's docs/provenance.md. - **Speed claims** count only if they win on every code layout (scripts/ab.sh) and pay on the real target; what does not pay is removed and recorded in docs/not-kept.md. - **The charter is Aubrey's.** Never edit the charter, methodology, agents.md, families.md's shape statements or this file on your own initiative; propose changes in your report instead. - **House rules.** No `rm -rf`, `sed -i` or `ln -sfn` one-liners: edit with the editor tool, move aside instead of deleting. Romsets by environment variable (NO_INTRO_DIR, MAME_ROMPATH), never a machine path in a repository. `nice` and `PYPY_GC_NURSERY=1M` for PyPy runs. Every repository's main line is `main`, never `master` (Aubrey, 2026-11-23). Commit locally at good points; pushes to public repositories, tags, deploys and outside posts are Aubrey's call: leave him the exact command.