Repository navigation
session: attest macOS 27.2 (26B123) and 27.2.1 (26B131) Audio Units - #286
Conversation
Update ipsw_units.py to match the current aurora_speaker_upgrade layout: apfs_ro now lives under aurora_speaker_upgrade.asahi_firmware, and ipsw.open_system() takes (board, url=..., preferred_build=...) directly and returns a 4-tuple (vol, ..., got, ...). Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
Add voicing parity attestations and AudioDSP SHA-256 entries for macOS 27.2 (26B123) and macOS 27.2.1 (26B131) at voicing law 5740f3178499 (5bd2d65). 26B123 (fetched from its restore image via ipsw_units.py) and 26B131 ship the byte-identical AudioDSP binary (b17f6ecd5d0a89e5...) and all 57/57 identical Tunings keys. All 57 variants were rendered on a booted macOS 27.2.1 (26B131) host at full volume (1.0) and all three volume sliders (0.7, 0.46, 0.25) — 228/228 renders — and gated with the BuzzKill matrix extracted from AudioDSP: - 26B123: 53/57 pass (refused: AID4, AID19, AID26, AID44; same 4 as 26A428) - 26B131: 53/57 pass (refused: AID4, AID19, AID26, AID44; same 4 as 26A428) - AID48 (J873g): pass (+0.143 / -0.011 dB on 36 cells; sliders 0.7: +0.041 / -0.009, 0.46: +0.173 / -0.008, 0.25: +0.047 / -0.011 dB) Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at 28dc0878
Blockers: none.
Checked: no Apple material (attestation measurements and SHA-256 hashes only; Clean-publish check green), no AI attribution, no chip/board gates, human Signed-off-by, ipsw_units.py import and ipsw.open_system() signature fix, units.json SHA-256 entries for 26B123 and 26B131, parity.json attestation blocks (53/57 pass, same 4 refused as 26A428), J813/J873g verification PASS, all 10/10 CI checks green.
Evidence
- Inspected
tools/diffrig/aidgate/ipsw_units.py(fixes movedapfs_roimport toaurora_speaker_upgrade.asahi_firmwareand updatesipsw.open_system(a.board, url=a.ipsw, preferred_build=a.build)4-tuple unpack),tools/diffrig/aidgate/units.json, andpackaging/session/parity.jsonadditions. - Verified on J813 (
26B131) and J873g (26B123AID48voicing-check --attestations): 228/228 renders, 53/57 pass (refusing AID4/19/26/44 identically to26A428), 314 pytest +parity_law+./tools/check-clean.shclean. - CI at
28dc0878: 10/10 checks PASS (note: readiness bot flagged missing head SHA line in PR body, while all verification evidence is present and no runtime code changed).
There was a problem hiding this comment.
Verdict: MERGE at 28dc0878.
Blocker: none.
Checked:
- Read the whole diff: 2 commits on 5bd2d65, both with a DCO sign-off and no AI attribution.
- At the head:
gen.py --checkexit 0.pytest -q packaging/session/ tools/diffrig/aidgate/test_attest.pygave 314 passed, 1 skipped, 38 subtests../tools/check-clean.shwas clean.cargo test -p aurora-speaker-tuning --test parity_lawgave 1 passed. - parity.json is append-only: one hunk at the end and no removed lines. format/law/tolerance and all 4 existing release blocks are identical after parsing. The new
26B123and26B131blocks have identical entries. They use the same 57 voicing keys as26A428. The only field that changes on any entry is AID19's reason string, which now carries its slider findings. Refused: AID4 +0.359, AID19 +0.272, AID26 +0.317, AID44 +1.789, as claimed and the same as 26A428. - Lookup is per build (
voicing/parity.rsattested()), so this admits voicing on Macs running 27.2/27.2.1. No key passes that did not already pass in an older block. The AID44 key that passed on 25G72/25G83 stays refused, as on 26A428. AID49/AID50 are not in either new block, so they remain unattested on 27.x, as on 26A428. - Taint: the new content is only verdicts, cell counts, dB deltas, reason strings, the slider points and
mvol_db. All of these already appear in main in this format (the same threemvol_dbvalues 167x each). The only hashes are sha256 values. I found no coefficients, matrices or other tuning data. units.jsonadds two sha256 entries.ipsw_units.pyimports fine at the head. At 5bd2d65 it fails withImportError: cannot import name 'apfs_ro'. The newopen_system(board, url=, preferred_build=)4-tuple matchesipsw.py.git merge-treeagainst main bf15a88 and against #285 is clean. Main + #285 + #286 merged: gen --check 0, the same pytest result, check-clean clean,parity_law1 passed.
Non-blocking:
- 26B123 was not rendered itself. Its block rests on the AudioDSP sha and the Tunings keys being identical to 26B131's, and the
referencestring says so (precedent: 25C56). ipsw_units.pydropspreferred_buildwhen--ipswis given and does not fail when the build it opened (got) differs from the requested one. The opened build is recorded in the output; a mismatch check would be cheap.
|
@aurora-silicon/core @aurora-silicon/omarchy-mac @DjDeveloperr: merge notice. This has an independent adversarial review (no blocking findings, App approval at @sithglan one question: the readiness check doesn't find the head SHA in the row. Was the J873g |
RyanTheTide
left a comment
There was a problem hiding this comment.
Verdict: FINISH, then merge at 28dc0878
Blockers: none in the code. Before merge: a hardware row at the head, i.e. one line with 28dc0878, a Mac on 26B123/26B131 and the result. The readiness check doesn't find one yet. If you don't post it first, I'll add a silent row myself from a lab Mac whose bundle is from 26B131/26B123: voicing-check --attestations against this head's parity.json, with no playback.
Checked: Read the whole diff and tried to make the new blocks admit a voicing that isn't proven. They don't. The 26B123 and 26B131 blocks have identical entries and the same 57 keys as 26A428. No key passes that was refused or missing in 26A428. The refused set is AID4 +0.359, AID19 +0.272, AID26 +0.317, AID44 +1.789. Every pass, at full volume and at each of the sliders 0.7/0.46/0.25, is within +0.25/-1.0 dB. No entry passes at full volume while a slider is refused. attested() refuses a key whose slider verdict is missing or refused, so the new sliders list only adds conditions. Mutation: marking AID44 pass in the 26B131 block fails the session parity test. Taint: verdicts, cell counts, dB deltas, reasons, slider points and sha256 values only, all in formats already on main. No tuning data. ipsw_units.py imports at the head (at 5bd2d65 it doesn't), and the 4-tuple matches ipsw.open_system. CI 10/10 green.
Evidence
- Head
28dc0878: gen--check0.pytest packaging/session tools/diffrig/aidgate314 passed, 1 skipped, 38 subtests (test_timing.pyskipped locally: numpy).packaging/upgrade81 passed.check-clean0. - main bf15a88 + #285 + #286:
cargo test -p aurora-speaker-tuningall green, includingparity_law. - Lab bundles checked for a row: J413 is on 25G83 and J316s on 25C56, so neither can be used. J713 (26B131, AID37
ba5aa4d2pass) and J473 (26B123, AID12552cda3apass) can.
Non-blocking:
- Every full-volume result (verdict, cell count, worst louder/quieter) is identical to 26A428 on all 57 keys, even though the AudioDSP sha changed (910423a2 -> b17f6ecd) and the gate rev moved (8b2a6a9 -> 5bd2d65). Each earlier pair of builds differs on 14 or more keys, and 25G72 -> 25G83 differs even at the same rev. That fits an unchanged DSP, but please attach the
attest-build.shoutput (or its sha256 and a gist) for the 26B131 run, so the block can be traced back to its renders. - This conflicts with #292 in
parity.json(both append a release block) and inipsw_units.py(two different fixes for the sameapfs_roimport). Whichever lands second has to merge main. - As the other review noted,
ipsw_units.pydoesn't fail when the build it opened (got) differs from the one requested.
|
Silent rows at the head,
Binary: speakerguardd-v2 0.60 (4136af4). Both of these speakers' files are byte-identical to 25G83's, so they still check against the 25G83 block. They show the change doesn't regress anything. They don't exercise the new blocks. The only keys that the new blocks decide (not in 25G83) are AID47 and AID48. For AID48, the J873g result in the PR body (36 cells +0.143/-0.011, sliders +0.173/-0.011 worst) is exactly this head's 26B123 entry. The lookup is deterministic for a given key, entry and law, so that run stands at the head. |
Takes main's ipsw_units.py (the same import fix, from #286). parity.json is regenerated at this head next (the 26B123/26B131 blocks included).
#286's two blocks were gated at main's law; this branch's mstk law moves it, so they are regated here: 26B123's AudioDSP (b17f6ecd, byte-identical to 26B131's) and Tunings read from its restore image, all 57 variants rendered at full volume and the three sliders on a 26B8132 host. Both builds 53/57, every verdict the same as on main (AID4, 19, 26, 44 refused). The other five blocks are unchanged.
…nding After aurora-silicon#285 (J873g fixture and 420 s AID48 playback ladder) and aurora-silicon#286 (macOS 26B123/26B131 Audio Unit voicing parity attestation), J873g is no longer a model-less speaker awaiting a standalone high-pass fallback from linux#1862: it compiles its full AID48 Atsp protection model and pre-protection --voicing-pre chain (compiler-gaps: none, sgv2#voicing-1ch ahead of sgv2#1ch). Update the J873g row in docs/CAPABILITIES.md (while keeping the general standalone high-pass admission item open for any future speaker without a compiled model/voicing chain) and update the now-landed 26B123/26B131 attestation bullet in docs/J873-INTEGRATION.md. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
What: Add macOS 27.2 (
26B123) and macOS 27.2.1 (26B131) voicing parity attestation blocks topackaging/session/parity.json(including sliders0.7,0.46,0.25) and theirAudioDSPSHA-256 entries totools/diffrig/aidgate/units.json, plus a small fix totools/diffrig/aidgate/ipsw_units.pyfor the movedapfs_roimport and updatedipsw.open_system()signature.Tested:
26B131), fetched26B123'sAudioDSPandTuningsfrom its restore image withtools/diffrig/aidgate/ipsw_units.py, and confirmed26B123and26B131ship the byte-identicalAudioDSPbinary (b17f6ecd5d0a89e53d00ffc0eac0443d27a24c4f49574a14cce03e84947bce21) and all 57/57 identical tuning keys.1.0,0.7,0.46,0.25— 228/228 renders, allrc=0) throughbox_hoston macOS26B131, then gated both26B123and26B131at5bd2d652(law5740f3178499) with the BuzzKill matrix extracted fromAudioDSP: 53/57 pass for both builds (refused:AID4,AID19,AID26,AID44— identical to26A428).aurora-speaker-tuning voicing-check --attestations packaging/session/parity.jsonon a Mac mini (M6, J873g)26B123AID48bundle:pass macos-parity 463b0cb03eb0 (AID48): worst louder +0.143 dB, quieter -0.011 dB(sliders0.7, 0.46, 0.25: worst louder+0.173 dB, quieter-0.011 dB).pytest -q packaging/session/ tools/diffrig/aidgate/test_attest.py(314 passed, 1 skipped, 38 subtests passed),cargo test -p aurora-speaker-tuning --test parity_law(1 passed),./tools/check-clean.shclean.Risk: two-way door — appends two new release blocks (
26B123,26B131) toparity.json, two SHA-256 entries tounits.json, and fixes stale imports inipsw_units.py; no existing release blocks or runtime code change.Not yet: None (spread files are omitted for
26B123/26B131, matching25G72and26A428, so every cell is gated under the standard+0.25 / -1.0 dBrule).Details
tools/diffrig/aidgate/ipsw_units.py: importapfs_rofromaurora_speaker_upgrade.asahi_firmwareand callipsw.open_system(a.board, url=a.ipsw, preferred_build=a.build)(4-tuple return).tools/diffrig/aidgate/units.json: add"26B123"and"26B131"(b17f6ecd5d0a89e53d00ffc0eac0443d27a24c4f49574a14cce03e84947bce21).packaging/session/parity.json: add26B123and26B131attestation blocks with full-volume and0.7/0.46/0.25slider verdicts (53/57pass each).Evidence
26B123:53/57pass; refusedAID4(+0.36 dB),AID19(+0.27 dB),AID26(+0.32 dB),AID44(+1.79 dB).26B131:53/57pass; refusedAID4(+0.36 dB),AID19(+0.27 dB),AID26(+0.32 dB),AID44(+1.79 dB).AID48(J873g Mac mini M6) on26B123&26B131:1.0):pass,+0.143 / -0.011 dBon 36 cells0.7:pass,+0.041 / -0.009 dBon 32 cells0.46:pass,+0.173 / -0.008 dBon 32 cells0.25:pass,+0.047 / -0.011 dBon 31 cellspytest -q packaging/session/ tools/diffrig/aidgate/test_attest.py:314 passed, 1 skipped, 38 subtests passedcargo test -p aurora-speaker-tuning --test parity_law:test shipped_attestations_match_this_law ... ok./tools/check-clean.sh: exit 0