Skip to content

session: attest macOS 27.2 (26B123) and 27.2.1 (26B131) Audio Units - #286

Merged
RyanTheTide merged 2 commits into
aurora-silicon:mainfrom
sithglan:feat/parity-26b123
Nov 28, 2026
Merged

RyanTheTide merged 2 commits into
aurora-silicon:mainfrom
sithglan:feat/parity-26b123

Conversation

@sithglan

Copy link
Copy Markdown
Contributor

What: Add macOS 27.2 (26B123) and macOS 27.2.1 (26B131) voicing parity attestation blocks to packaging/session/parity.json (including sliders 0.7, 0.46, 0.25) and their AudioDSP SHA-256 entries to tools/diffrig/aidgate/units.json, plus a small fix to tools/diffrig/aidgate/ipsw_units.py for the moved apfs_ro import and updated ipsw.open_system() signature.

Tested:

  • Booted a MacBook Air (M5, J813) into macOS 27.2.1 (26B131), fetched 26B123's AudioDSP and Tunings from its restore image with tools/diffrig/aidgate/ipsw_units.py, and confirmed 26B123 and 26B131 ship the byte-identical AudioDSP binary (b17f6ecd5d0a89e53d00ffc0eac0443d27a24c4f49574a14cce03e84947bce21) and all 57/57 identical tuning keys.
  • Rendered all 57 variants × 4 volumes (1.0, 0.7, 0.46, 0.25 — 228/228 renders, all rc=0) through box_host on macOS 26B131, then gated both 26B123 and 26B131 at 5bd2d652 (law 5740f3178499) with the BuzzKill matrix extracted from AudioDSP: 53/57 pass for both builds (refused: AID4, AID19, AID26, AID44 — identical to 26A428).
  • Verified aurora-speaker-tuning voicing-check --attestations packaging/session/parity.json on a Mac mini (M6, J873g) 26B123 AID48 bundle: pass macos-parity 463b0cb03eb0 (AID48): worst louder +0.143 dB, quieter -0.011 dB (sliders 0.7, 0.46, 0.25: worst louder +0.173 dB, quieter -0.011 dB).
  • Host checks: 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.sh clean.

Risk: two-way door — appends two new release blocks (26B123, 26B131) to parity.json, two SHA-256 entries to units.json, and fixes stale imports in ipsw_units.py; no existing release blocks or runtime code change.

Not yet: None (spread files are omitted for 26B123/26B131, matching 25G72 and 26A428, so every cell is gated under the standard +0.25 / -1.0 dB rule).

Details
  • tools/diffrig/aidgate/ipsw_units.py: import apfs_ro from aurora_speaker_upgrade.asahi_firmware and call ipsw.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: add 26B123 and 26B131 attestation blocks with full-volume and 0.7 / 0.46 / 0.25 slider verdicts (53/57 pass each).
Evidence
  • 26B123: 53/57 pass; refused AID4 (+0.36 dB), AID19 (+0.27 dB), AID26 (+0.32 dB), AID44 (+1.79 dB).
  • 26B131: 53/57 pass; refused AID4 (+0.36 dB), AID19 (+0.27 dB), AID26 (+0.32 dB), AID44 (+1.79 dB).
  • AID48 (J873g Mac mini M6) on 26B123 & 26B131:
    • Full volume (1.0): pass, +0.143 / -0.011 dB on 36 cells
    • Slider 0.7: pass, +0.041 / -0.009 dB on 32 cells
    • Slider 0.46: pass, +0.173 / -0.008 dB on 32 cells
    • Slider 0.25: pass, +0.047 / -0.011 dB on 31 cells
  • 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: test shipped_attestations_match_this_law ... ok
  • ./tools/check-clean.sh: exit 0

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>
@sithglan
sithglan requested review from a team as code owners November 27, 2026 21:03
@github-actions github-actions Bot added door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Merge readiness at 28dc0878: not ready yet

Check Detail
CI at head ok 9 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA 28dc0878, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok Risk: two-way · — appends two new release blocks (26B123, 26B131) to parity.json, two SHA-256 entries to units.json, and fixes stale imports in ipswunits.py; no existing release blocks or runtime code change.

Areas: none matched in CODEOWNERS

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 moved apfs_ro import to aurora_speaker_upgrade.asahi_firmware and updates ipsw.open_system(a.board, url=a.ipsw, preferred_build=a.build) 4-tuple unpack), tools/diffrig/aidgate/units.json, and packaging/session/parity.json additions.
  • Verified on J813 (26B131) and J873g (26B123 AID48 voicing-check --attestations): 228/228 renders, 53/57 pass (refusing AID4/19/26/44 identically to 26A428), 314 pytest + parity_law + ./tools/check-clean.sh clean.
  • 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).

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 --check exit 0. pytest -q packaging/session/ tools/diffrig/aidgate/test_attest.py gave 314 passed, 1 skipped, 38 subtests. ./tools/check-clean.sh was clean. cargo test -p aurora-speaker-tuning --test parity_law gave 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 26B123 and 26B131 blocks have identical entries. They use the same 57 voicing keys as 26A428. 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.rs attested()), 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 three mvol_db values 167x each). The only hashes are sha256 values. I found no coefficients, matrices or other tuning data.
  • units.json adds two sha256 entries. ipsw_units.py imports fine at the head. At 5bd2d65 it fails with ImportError: cannot import name 'apfs_ro'. The new open_system(board, url=, preferred_build=) 4-tuple matches ipsw.py.
  • git merge-tree against main bf15a88 and against #285 is clean. Main + #285 + #286 merged: gen --check 0, the same pytest result, check-clean clean, parity_law 1 passed.

Non-blocking:

  1. 26B123 was not rendered itself. Its block rests on the AudioDSP sha and the Tunings keys being identical to 26B131's, and the reference string says so (precedent: 25C56).
  2. ipsw_units.py drops preferred_build when --ipsw is 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.

@RyanTheTide

Copy link
Copy Markdown
Contributor

@aurora-silicon/core @aurora-silicon/omarchy-mac @DjDeveloperr: merge notice. This has an independent adversarial review (no blocking findings, App approval at 28dc0878) and CI 9/9 green. It merges after 06:02Z once the row is at the head. Revert: git revert -m1 <merge> (removes the 26B123/26B131 blocks; Macs on 27.2 go back to unattested voicing).

@sithglan one question: the readiness check doesn't find the head SHA in the row. Was the J873g aurora-speaker-tuning voicing-check --attestations packaging/session/parity.json run against this head's parity.json (28dc0878)? If so, please add one line to the Testing section like T8152 / J873g, 28dc0878: voicing-check pass macos-parity 463b0cb03eb0 (AID48) +0.143/-0.011 dB. If it was an earlier commit, a re-run at the head is enough.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 --check 0. pytest packaging/session tools/diffrig/aidgate 314 passed, 1 skipped, 38 subtests (test_timing.py skipped locally: numpy). packaging/upgrade 81 passed. check-clean 0.
  • main bf15a88 + #285 + #286: cargo test -p aurora-speaker-tuning all green, including parity_law.
  • Lab bundles checked for a row: J413 is on 25G83 and J316s on 25C56, so neither can be used. J713 (26B131, AID37 ba5aa4d2 pass) and J473 (26B123, AID12 552cda3a pass) can.

Non-blocking:

  1. 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.sh output (or its sha256 and a gist) for the 26B131 run, so the block can be traced back to its renders.
  2. This conflicts with #292 in parity.json (both append a release block) and in ipsw_units.py (two different fixes for the same apfs_ro import). Whichever lands second has to merge main.
  3. As the other review noted, ipsw_units.py doesn't fail when the build it opened (got) differs from the one requested.

@RyanTheTide
RyanTheTide merged commit fc9506d into aurora-silicon:main Nov 28, 2026
13 checks passed
@RyanTheTide

Copy link
Copy Markdown
Contributor

Silent rows at the head, voicing-check --attestations with this head's packaging/session/parity.json (sha256 1600f085) against each Mac's own provisioned bundle. No playback.

  • T8112 / J473, 28dc087: pass macos-parity 552cda3a079f (AID12, bundle from macOS 26B123) +0.194/-0.802 dB, sliders +0.012/-0.237 dB. Same result as main's parity.json.
  • T8132 / J713, 28dc087: pass macos-parity ba5aa4d20eeb (AID37, bundle from macOS 26B123) +0.026/-0.068 dB, sliders +0.017/-0.066 dB. Same result as main's parity.json.

Binary: speakerguardd-v2 0.60 (4136af4). voicing/, parity.rs and reference.rs are unchanged from 4136af4 to this head, and the law matches (5740f317).

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.

RyanTheTide added a commit that referenced this pull request Nov 28, 2026
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).
RyanTheTide added a commit that referenced this pull request Nov 28, 2026
#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.
joshuaswarren pushed a commit to joshuaswarren/speakerguardd that referenced this pull request Nov 28, 2026
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants