# Provenance Audited 2026-11-13 (provenance audit, wave 1). **A transcription of gb-apu-python b8cab61 (by way of gb-apu-rust); the verdicts are in gb-apu-python's `docs/provenance.md`.** In short: the DMG side is from Pan Docs (CC0) and blargg's verdicts; the CGB-family timing (envelope and NRx2 glitches, pulse channels in 2 MHz ticks, CGB sweep, CGB noise and the NR43 glitch) is translated from SameBoy's `Core/apu.c` (Expat), whose notice is now kept at the top of `src/lib.rs` (added 2026-11-13); two items there are **unclear** and carry over here unchanged: `WAVE_POWER_ON` (16 bytes whose cited source, Pan Docs, does not hold them) and the AGB row (written from GBATEK while mGBA's MPL-2.0 and NanoBoyAdvance's GPL-3.0 sources were open). If gb-apu-python rewrites either, this fork follows. **Additions of its own:** none from an outside source. The fork's speed work (the cached mix and the key it packs, `set_sample_rate`, the ladder script) is own work. No constant, table or comment exists here that is not in the Python apart from Rust plumbing and the mix-cache key (checked by comparing every numeric literal in `src/lib.rs` against the Python module). `tests/streams/` are gb-apu-python's board streams (traffic recordings, no ROM bytes). History: 14 commits, nothing removed from elsewhere. Owed: SPDX headers (family-wide pass). ## The AGB row rewritten clean-room (2026-11-25, branch `cleanroom-agb-wave`) Carried down from gb-apu-rust `cleanroom-agb-wave` (0d1b8e9), which follows gb-apu-python's clean-room rewrite of the AGB row from GBATEK (its `docs/provenance.md`): `src/agb.rs` is that crate's file unchanged, and `src/lib.rs` received the same replacements, made by line number with a script checked against the visible lines around each block (the old AGB code was not read here either); after them this file differs from gb-apu-rust's only by the fork's own hunks (the mix cache, `set_sample_rate`), checked by diff. The AGB seeded faults are gb-apu-python's ten new ones. The AGB row's verdict is now **clean**. Save states change shape (`agb_wave` replaces `wave_digits`): states saved before this change do not load on any row.