Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a250603
feat(sonku): add phase-coherent P9 binaural stereo decoder kernel com…
masarray Nov 15, 2026
0a18c65
feat(sonku): P9 true stereo measured HRTF pair with coherence-correct…
masarray Nov 15, 2026
1c92127
feat(sonku): reserve isolated P9 native render mode 9 without enablin…
masarray Nov 15, 2026
e4819be
feat(sonku): add isolated v11 state for P9, preserve 63-byte v1-v10 .…
masarray Nov 15, 2026
9dbfb3b
feat(sonku): native bridge schema 11 capability-gated P9 mode and str…
masarray Nov 15, 2026
bb6cbc9
feat(sonku): advertise P9 only from native prepared measured-HRTF ins…
masarray Nov 15, 2026
77f2712
feat(sonku): expose P9 only with schema 11 accepted DSP and preserve …
masarray Nov 15, 2026
844de88
perf(sonku): decimate P9 coherence normalization to 16-sample FIR ret…
masarray Nov 15, 2026
f0ec722
fix(sonku): update adaptive mono coherence on each decimated P9 kerne…
masarray Nov 15, 2026
9486f7d
test(sonku): cover P9 real native PCM spatial SIDE, anti-phase, coher…
masarray Nov 15, 2026
185f3d6
build(sonku): opt-in P9 CMake native DSP+JUCE targets with mandatory …
masarray Nov 15, 2026
ed4b740
test(sonku): P9 JUCE v11 actual audio ACK, mode 9 PCM, v1-v10 state a…
masarray Nov 15, 2026
0b16bdc
docs(sonku): record P9 transfer proof, missing psychoacoustic milesto…
masarray Nov 15, 2026
13120c0
ci(sonku): P9 exact-source Linux PCM, native Windows JUCE v11 and por…
masarray Nov 15, 2026
5dfde51
ci(sonku): invoke full P9 native FAT from existing P8.9 pull-request …
masarray Nov 15, 2026
93e500f
fix(sonku): avoid legacy P6/P8.4 -Werror unused head-yaw without alte…
masarray Nov 15, 2026
42f7613
ci(sonku): permit reusable P9 Windows FAT workflow invoked by registe…
masarray Nov 15, 2026
f467341
ci(sonku): invoke isolated P9 C++/JUCE Windows FAT from registered PR…
masarray Nov 15, 2026
af40d94
ci(sonku): run P9 real C++ anti-phase source gate then actual Windows…
masarray Nov 15, 2026
cfe0922
ci(sonku): preserve existing FAT upload contract; place isolated P9 j…
masarray Nov 15, 2026
43200da
test(ci): scope production retryable FAT upload invariant to its own …
masarray Nov 15, 2026
8032514
fix(sonku): keep P9 dropdown stable across 250ms native readbacks
masarray Nov 15, 2026
acc0653
test(sonku): reproduce and prevent P9/P8.9 select option oscillation …
masarray Nov 15, 2026
fcbaaaf
test(sonku): align exact render-menu boundary with native UI source
masarray Nov 15, 2026
268e7d1
ci(sonku): gate P9 FAT on actual dropdown selection stability under n…
masarray Nov 15, 2026
cd85ffe
test(sonku): match exact two-space picker branch indentation for beha…
masarray Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 112 additions & 1 deletion .github/workflows/p1-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ permissions:
pull-requests: read

jobs:

quick:
name: Fast native contracts (no Windows / JUCE checkout)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -644,3 +643,115 @@ jobs:
retention-days: 14
compression-level: 0
overwrite: true

sonku-p90-source:
# Runs only on the P9 research PR, even while its production jobs skip.
name: SonKu P9 exact-source C++ PCM preflight
if: ${{ github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Real P9 single-graph PCM / anti-phase / 44.1–48k
shell: bash
run: |
set -euo pipefail
node --check site/preview-v2/assets/mixer-native-sonku.js
node tests/sonku_p90_dropdown_stability_test.cjs
FLAGS="-std=c++20 -O2 -Wall -Wextra -Werror -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 -DSONKU_P72_NATIVE_XYZ_RT=1 -DSONKU_P75_MUSIC_SAFE_RESEARCH=1 -DSONKU_P80_TRANSPARENT_BASS_RESEARCH=1 -DSONKU_P82_MULTIBAND_ROOM_RESEARCH=1 -DSONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 -DSONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 -DSONKU_P85_WORLD_COHERENCE_RESEARCH=1 -DSONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 -DSONKU_P87_MUSIC_BODY_RESEARCH=1 -DSONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 -DSONKU_P89_DEPTH_COHERENCE_RESEARCH=1 -DSONKU_P90_TRUE_EXTERNAL_RESEARCH=1"
g++ $FLAGS tests/sonku_p90_true_external_source_test.cpp -o /tmp/sonku-p90
/tmp/sonku-p90
g++ $FLAGS tests/sonku_p89_stereo_room_depth_source_test.cpp -o /tmp/sonku-p89
/tmp/sonku-p89
echo "SONKU_P90_NATIVE_SOURCE_CTEST_PASSED"

sonku-p90-windows-fat:
name: SonKu P9 actual JUCE / GUI portable x64
needs: sonku-p90-source
if: ${{ github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') }}
runs-on: windows-2022
timeout-minutes: 55
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- uses: actions/checkout@v4
with:
repository: juce-framework/JUCE
ref: 8.0.15
path: third_party/JUCE
persist-credentials: false
- name: Pinned WebView2 SDK
shell: pwsh
run: |
nuget install Microsoft.Web.WebView2 -Version 1.0.3485.44 -OutputDirectory .deps -NonInteractive
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Configure the actual native app with P9 OFF by default except FAT
shell: pwsh
run: |
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 `
-DJUCE_ROOT="$env:GITHUB_WORKSPACE/third_party/JUCE" `
-DJUCE_WEBVIEW2_PACKAGE_LOCATION="$env:GITHUB_WORKSPACE/.deps" `
-DARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_MUSIC_SAFE=ON `
-DARMIX_SONKU_EXPERIMENTAL_P8_TRANSPARENT_BASS=ON `
-DARMIX_SONKU_EXPERIMENTAL_P82_ROOM=ON `
-DARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT=ON `
-DBUILD_TESTING=ON
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$cache = Get-Content build/CMakeCache.txt -Raw
if ($cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT:BOOL=ON') {
throw 'SONKU_P90_WRONG_NATIVE_CONFIGURATION'
}
- name: Build real native JUCE PCM, state ACK, and Windows GUI
shell: pwsh
run: |
cmake --build build --config Release --parallel 2 --target ARMixSonKuP90NativeTests ARMixSonKuP90SourceTests ARMixSonKuP89NativeTests ARMixSonKuP89SourceTests ARMixConsole
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
if (-not (Test-Path -LiteralPath 'build/ARMixConsole_artefacts/Release/AR MIX Studio.exe' -PathType Leaf)) {
throw 'SONKU_P90_NATIVE_GUI_EXE_MISSING'
}
ctest --test-dir build -C Release --output-on-failure -R '^NativeSonKuP(89RoomAnchoredStereoAndP88GoldenParity|89JuceV10AppliedAckAndV9Restore|90StereoExternalizationSource|90JuceV11AppliedAckAndLegacyRestore)$'
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Verified portable package, no installer or release
shell: pwsh
run: |
& ./scripts/package_native_windows.ps1 -BuildDir build -OutputDir dist
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
python scripts/factoryfx_release_bundle.py stage --lock config/factoryfx-approved-releases.json --output dist --best-effort
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& ./scripts/verify_native_windows_artifact.ps1 -OutputDir dist
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Copy-Item docs/THIRD_PARTY_8D_SONKU_HRTF.md dist/THIRD_PARTY_8D_SONKU_HRTF.md
Copy-Item docs/SONKU_P90_TRUE_EXTERNAL_SPEAKER_FAT_20261115.md dist/SONKU_P90_FIELD_FAT.md
$provenance = Get-Content -LiteralPath dist/BUILD_PROVENANCE.json -Raw | ConvertFrom-Json
if ($provenance.sourceCommit -ne (git rev-parse HEAD).Trim()) {
throw 'SONKU_P90_SOURCE_COMMIT_MISMATCH'
}
$provenance | Add-Member -Force -NotePropertyName sonkuExperiment -NotePropertyValue @{
mode = 'P9.0_TRUE_EXTERNAL_SPEAKER'
stateSchema = 11
headphoneFat = 'PENDING'
publicRelease = $false
physicalAsioQualified = $false
dearVrParityProven = $false
}
$provenance | ConvertTo-Json -Depth 20 | Set-Content dist/BUILD_PROVENANCE.json -Encoding utf8
- uses: actions/upload-artifact@v4
with:
name: ArSonMix-SonKu-P90-Windows-x64-${{ github.run_id }}
path: dist/
if-no-files-found: error
retention-days: 21
compression-level: 1
144 changes: 137 additions & 7 deletions .github/workflows/sonku-p89-windows-field.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: SonKu P8.9 room-anchored stereo native mixer portable FAT x64
# Private JUCE app, no release. Native v10 A/B P8.2/P8.4/P8.5/P8.6/P8.7/P8.8/P8.9.
name: SonKu P9.0 true external speaker native mixer portable FAT x64
# Private JUCE app, no release. Native v11 A/B P8.2 through P9.
on:
pull_request:
paths:
Expand All @@ -8,7 +8,7 @@ on:
permissions:
contents: read
concurrency:
group: sonku-p89-field-${{ github.event.pull_request.number || github.ref }}
group: sonku-p90-field-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
preflight:
Expand Down Expand Up @@ -48,6 +48,9 @@ jobs:
g++ $FLAGS -DSONKU_P85_WORLD_COHERENCE_RESEARCH=1 -DSONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 -DSONKU_P87_MUSIC_BODY_RESEARCH=1 -DSONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 -DSONKU_P89_DEPTH_COHERENCE_RESEARCH=1 tests/sonku_p89_stereo_room_depth_source_test.cpp -o /tmp/p89-source
/tmp/p89-source | tee /tmp/p89-source.log
grep -q '^PASS P89 ROOM ANCHOR:' /tmp/p89-source.log
g++ $FLAGS -DSONKU_P85_WORLD_COHERENCE_RESEARCH=1 -DSONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 -DSONKU_P87_MUSIC_BODY_RESEARCH=1 -DSONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 -DSONKU_P89_DEPTH_COHERENCE_RESEARCH=1 -DSONKU_P90_TRUE_EXTERNAL_RESEARCH=1 tests/sonku_p90_true_external_source_test.cpp -o /tmp/p90-source
/tmp/p90-source | tee /tmp/p90-source.log
grep -q '^PASS P90 NATIVE PCM:' /tmp/p90-source.log
- name: Native JS and source GUI capability checks
run: |
set -euo pipefail
Expand All @@ -68,6 +71,8 @@ jobs:
print("P89_NATIVE_HEADER_PREPROCESSOR_BALANCED")
PY
grep -q 'r.schemaVersion===10' site/preview-v2/assets/mixer-native-sonku.js
grep -q 'r.schemaVersion===11' site/preview-v2/assets/mixer-native-sonku.js
grep -q 'p90TrueExternalSpeaker' src/Main.cpp
# A mode8 enum without fused FIR dispatch silently changes P8.8 timbre.
# This source contract prevents another fallback-to-wrong-kernel regression.
python - <<'PY'
Expand Down Expand Up @@ -165,6 +170,7 @@ jobs:
-DARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=ON `
-DARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT=ON `
-DBUILD_TESTING=ON
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$cache = Get-Content -LiteralPath build/CMakeCache.txt -Raw
Expand All @@ -178,7 +184,8 @@ jobs:
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT:BOOL=ON' -or
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT:BOOL=ON' -or
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT:BOOL=ON' -or
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT:BOOL=ON') {
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT:BOOL=ON' -or
$cache -notmatch 'ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT:BOOL=ON') {
throw "SONKU_P83_RESEARCH_NOT_ENABLED"
}
$tests = (& ctest --test-dir build -C Release --show-only=json-v1 | Out-String | ConvertFrom-Json)
Expand All @@ -202,17 +209,140 @@ jobs:
'NativeSonKuP88MeasuredEarHeightAndDistanceDrr',
'NativeSonKuP88JuceV9AppliedAckAndV8Restore',
'NativeSonKuP89RoomAnchoredStereoAndP88GoldenParity',
'NativeSonKuP89JuceV10AppliedAckAndV9Restore')
'NativeSonKuP89JuceV10AppliedAckAndV9Restore',
'NativeSonKuP90StereoExternalizationSource',
'NativeSonKuP90JuceV11AppliedAckAndLegacyRestore')
$available = @($tests.tests | ForEach-Object { $_.name })
foreach ($test in $required) {
if ($test -notin $available) { throw "SONKU_P82_MISSING_CTEST:$test" }
}
- name: Fail fast — compile and execute real JUCE v5 state + PCM ACK first
shell: pwsh
run: |
cmake --build build --config Release --parallel 2 --target ARMixSonKuP89NativeTests
cmake --build build --config Release --parallel 2 --target ARMixSonKuP90NativeTests
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
ctest --test-dir build -C Release --output-on-failure -R '^NativeSonKuP89JuceV10AppliedAckAndV9Restore$'
ctest --test-dir build -C Release --output-on-failure -R '^NativeSonKuP90JuceV11AppliedAckAndLegacyRestore
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Compile actual ARMixConsole Windows GUI and focused real JUCE tests
shell: pwsh
run: |
cmake --build build --config Release --parallel 2 --target `
ARMixConsole ARMixSonKuP72SourceTests ARMixSonKuP72NativeTests ARMixSonKuNativeStateTests ARMixSonKuP75MusicIntegrityTests ARMixSonKuP80TonalEvidenceTests ARMixSonKuP82RoomTests ARMixSonKuP83LiveSourceTests ARMixSonKuP83NativeTests ARMixSonKuP84LiveSourceTests ARMixSonKuP84NativeTests ARMixSonKuP85WorldSourceTests ARMixSonKuP85NativeTests ARMixSonKuP86FocusSourceTests ARMixSonKuP86NativeTests ARMixSonKuP87MusicSourceTests ARMixSonKuP87NativeTests ARMixSonKuP88SourceTests ARMixSonKuP88NativeTests ARMixSonKuP89SourceTests ARMixSonKuP89NativeTests ARMixSonKuP90SourceTests ARMixSonKuP90NativeTests
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$exe = 'build/ARMixConsole_artefacts/Release/AR MIX Studio.exe'
if (-not (Test-Path -LiteralPath $exe -PathType Leaf)) { throw "SONKU_P83_NO_GUI_EXE" }
if ((Get-Item -LiteralPath $exe).Length -lt 4MB) { throw "SONKU_P83_WRONG_GUI_TARGET" }
- name: Scoped native XYZ state, callback ACK and legacy restoration
shell: pwsh
run: |
ctest --test-dir build -C Release --output-on-failure `
-R '^NativeSonKu(P72AtomicXyzLiveEditSource|P72JuceV3XyzLiveAckV1V2Restore|SessionV1V2AndAudioAppliedAck|P75MusicStereoPhaseNoNullAndChunkParity|P80TransparentBassStereoPhaseAndRoomDiagnostic|P82SixWallThreeBandRoomTimingDecayAndParity|P83RealtimeModeSourceAndMusicIntegrity|P83JuceV4AudioAckLegacyRestoreAndHeadYaw|P84SingleCoreMusicFidelityAndWorldYaw|P84JuceV5AudioAckLegacySafeRestore|P85WorldCoherentMidYawSourceAndFidelity|P85JuceV6AudioAckLegacySafeRestore|P86SixWallHorizontalFocusAndMusicIntegrity|P86JuceV7AudioAckAndV6Restore|P87MusicalAirBodyP86DryParityAndFdnBass|P87JuceV8AudioAppliedAckV7Restore|P88MeasuredEarHeightAndDistanceDrr|P88JuceV9AppliedAckAndV8Restore|P89RoomAnchoredStereoAndP88GoldenParity|P89JuceV10AppliedAckAndV9Restore|P90StereoExternalizationSource|P90JuceV11AppliedAckAndLegacyRestore)$'
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Package real native portable mixer, never an installer
shell: pwsh
run: |
& ./scripts/package_native_windows.ps1 -BuildDir build -OutputDir dist
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
python scripts/factoryfx_release_bundle.py stage --lock config/factoryfx-approved-releases.json --output dist --best-effort
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Record exact experiment and physical qualification pending
shell: pwsh
run: |
$path = 'dist/BUILD_PROVENANCE.json'
$p = Get-Content -LiteralPath $path -Raw -Encoding utf8 | ConvertFrom-Json
$sha = (& git rev-parse HEAD).Trim()
if ($p.sourceCommit -ne $sha) { throw "SONKU_P83_ARTIFACT_SHA_MISMATCH" }
$p.fatStatus = 'FIELD_PREVIEW_FULL_CTEST_NOT_RUN'
$p | Add-Member -NotePropertyName sonkuExperiment -NotePropertyValue @{
enabled = $true
nativeXYZ = $true
musicSafeStereo = $true
p8TransparentBass = $true
p82MultibandRoom = $true
p83NativeSpeakers = $false
p84FusedNative = $true
p85WorldLockedMid = $true
p86HorizontalFocus = $true
p87MusicalAirBody = $true
p88PerceptualAlignment = $true
p89StereoRoomDepth = $true
p90TrueExternalSpeaker = $true
p84RenderModes = @('MusicBedP82','MusicSpatialP84','MusicSpatialP85','MusicSpatialP86','MusicSpatialP87','MusicSpatialP88','MusicSpatialP89','MusicSpatialP90')
p83HeadYaw = 'DETERMINISTIC_MANUAL_NO_SENSOR'
p84FusionDifferenceHighpassHz = 750
p84MeasuredHrirContrast = 0.12
legacyP83V4Migration = 'OLD_SPEAKER_TO_P82'
p83AudioAppliedAck = $true
p83RealtimeModeCrossfade = '12ms_OUT_AND_IN_NATIVE_SINGLE_PCM_GRAPH'
p82RoomBandsHz = @(250,4800)
p82MaterialCalibration = 'ORIGINAL_ILLUSTRATIVE_NOT_MEASURED_RIR'
p82Rt60StudioSeconds = @(0.717,0.392,0.231)
p82Rt60ChamberSeconds = @(0.933,0.802,0.483)
p82Rt60HallSeconds = @(1.716,1.219,0.650)
p8LowBandCrossoverHz = 220
musicSafeAlgorithm = 'MEASURED_CENTER_MID_PLUS_UNCONDITIONAL_STEREO_SIDE_RESEARCH'
stateSchema = 11
fullWindowsExecutable = $true
publicRelease = $false
physicalAsioQualified = $false
dearVrPerceptualParityProven = $false
qualification = 'SONKU_P90_NATIVE_TWO_SPEAKER_COHERENT_PCM_JUCE_V11_FAT_PENDING'
licenseRedistributionApproval = $false
mitKemarNoticeSha256 = (Get-FileHash -LiteralPath docs/THIRD_PARTY_8D_SONKU_HRTF.md -Algorithm SHA256).Hash.ToLowerInvariant()
fieldFatGuideSha256 = (Get-FileHash -LiteralPath docs/SONKU_P90_TRUE_EXTERNAL_SPEAKER_FAT_20261115.md -Algorithm SHA256).Hash.ToLowerInvariant()
} -Force
$p | ConvertTo-Json -Depth 20 | Set-Content -LiteralPath $path -Encoding utf8
- name: Independent GUI PE, approved resources, provenance and ZIP verification
shell: pwsh
run: |
& ./scripts/verify_native_windows_artifact.ps1 -OutputDir dist
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$p = Get-Content -LiteralPath dist/BUILD_PROVENANCE.json -Raw | ConvertFrom-Json
if (-not $p.sonkuExperiment.enabled -or
-not $p.sonkuExperiment.musicSafeStereo -or
-not $p.sonkuExperiment.p8TransparentBass -or
-not $p.sonkuExperiment.p82MultibandRoom -or
-not $p.sonkuExperiment.p84FusedNative -or
-not $p.sonkuExperiment.p85WorldLockedMid -or
-not $p.sonkuExperiment.p86HorizontalFocus -or
-not $p.sonkuExperiment.p87MusicalAirBody -or
-not $p.sonkuExperiment.p88PerceptualAlignment -or
-not $p.sonkuExperiment.p89StereoRoomDepth -or
-not $p.sonkuExperiment.p90TrueExternalSpeaker -or
$p.sonkuExperiment.stateSchema -ne 11 -or $p.sonkuExperiment.publicRelease) {
throw 'SONKU_P90_WRONG_FIELD_ARTIFACT'
}
- name: Include mandatory MIT KEMAR notice and physical FAT guide
shell: pwsh
run: |
# Standard distribution allowlist was verified above. Field-only notice.
Copy-Item -LiteralPath docs/THIRD_PARTY_8D_SONKU_HRTF.md -Destination dist/THIRD_PARTY_8D_SONKU_HRTF.md
Copy-Item -LiteralPath docs/SONKU_P90_TRUE_EXTERNAL_SPEAKER_FAT_20261115.md -Destination dist/SONKU_P90_FIELD_FAT.md
$p = Get-Content -LiteralPath dist/BUILD_PROVENANCE.json -Raw | ConvertFrom-Json
$checks = @{
'THIRD_PARTY_8D_SONKU_HRTF.md' = [string]$p.sonkuExperiment.mitKemarNoticeSha256
'SONKU_P90_FIELD_FAT.md' = [string]$p.sonkuExperiment.fieldFatGuideSha256
}
foreach ($item in $checks.GetEnumerator()) {
$file = Join-Path dist $item.Key
if ($item.Value -notmatch '^[0-9a-f]{64}$' -or
-not (Test-Path -LiteralPath $file -PathType Leaf)) {
throw "SONKU_P83_FIELD_NOTICE_MISSING:$($item.Key)"
}
$actual = (Get-FileHash -LiteralPath $file -Algorithm SHA256).Hash.ToLowerInvariant()
if ($actual -ne $item.Value) { throw "SONKU_P83_FIELD_NOTICE_HASH_MISMATCH:$($item.Key)" }
}
if (Test-Path -LiteralPath dist/Studio) { throw 'SONKU_FIELD_USER_DATA_MUST_NOT_SHIP' }
Write-Host 'SONKU_P90_FIELD_READY: GUI EXE + verified MIT notice + FAT guide'
- uses: actions/upload-artifact@v4
name: Upload isolated SonKu Windows x64 field candidate
with:
name: ArSonMix-SonKu-P90-True-External-Speaker-Windows-x64-${{ github.run_id }}
path: dist/
if-no-files-found: error
retention-days: 21
compression-level: 0

if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Compile actual ARMixConsole Windows GUI and focused real JUCE tests
shell: pwsh
Expand Down
Loading
Loading