# Changelog The board's history is in [docs/worklog.md](docs/worklog.md), session by session; this file starts on 2026-11-25 and lists what a downstream repository (megadrive-rust, segacd-python, sega32x-python, play-md) has to know when it repins. ## Unreleased (branch `device-state`, from `pin-2-od2` 27821fa) - **Save-state version 3** (`state.VERSION`): version 2 states are refused. A console with nothing in either socket saves what version 2 saved, plus `"devices": {}` in the header and the body. - **Socket 10, a socket device's own state** (`sockets.SavedDevice`): `state_version`, `save_state() -> value`, `load_state(value)`, optional `state_packages` and `state_skip`. The header's `devices` names each socket's device and its version and a mismatch is refused before anything changes; the device's objects in the console's walk are written `{"wiring": class}`; a device part no device's value holds, or a device without the socket, refuses the save. docs/save-states.md, "Socket devices". - **Socket 8's leftovers are in the state** with a device attached: each further source's pending samples and fractional position (`AudioPath._sources`) are saved in the console's graph, so a load continues the source's interpolation. - **All or nothing, tightened**: a failed load also removes the attributes it added to the console's objects (before, a lazily set attribute such as `System._probe_bus_ends` survived the rollback). - **Socket 6: `Board.publish_lines(mclk)`**, the named call for the VDP's line records up to a clock (decision B5); it runs the VDP there as `board.vdp.sync` does, so nothing moves. - Docs: VDPFIFOTesting is 121/122 on `genesis` ("FIFO Wait States", counted with the intermittent tests), not the 122/122 the README claimed.