# emu-tools The emulator family's own tools, under the MIT licence, and **the contract**: the command line conventions and output formats that every family tool speaks, MIT or GPL. Status: **skeleton** (2026-11-19). The documents are drafts; no tool has moved here yet. The family finishes its licensing clean-up first; moving tools in is the refactor after that. The plan and its reasons: `emulator-lineage/docs/proposals/2026-11-tool-repos.md`. ## What lives here - Our own tools: lockstep and gate runners, fault seeding, the layout-aware A/B, the provenance checker, ROM census, pin and fetch helpers. - Readers and writers for the contract's formats (so every consumer parses traces the same way). - Runners for **permissive** programs: MAME's BSD-3 parts run as a program, ares (ISC), SameBoy (Expat), Musashi (MIT). - Hardware tools (probe-cart result parsers, capture readers), whose outputs are MEASURED. ## What does not Anything that links, includes, patches or declares the API of a GPL, LGPL or MPL program goes to the sibling repository **emu-tools-gpl** (GPL-3.0-or-later). Nothing from there is copied here, ever: code flows from MIT into GPL, never back. See `docs/wall.md`. ## Documents - `docs/contract.md`: the process boundary, command line conventions, the run manifest and the output formats (draft, version 0). - `docs/wall.md`: who may work where, and what crosses between the two repositories. - `docs/adding-a-tool.md`: the layout and quality bar for a tool. - `docs/inventory.md`: the tools in the family today and where each would move. ## Using a tool from an emulator repository Emulator repositories pin a tool (by commit or version) and run it as a program; they read its outputs, and tag every value taken from a closed box `OBSERVED` with the emulator and commit named in the run manifest. They never vendor a tool's code.