Milestone 27: Audio feedback fixes, architecture refactor & performance validation
Goal: Finish the auto-mute feedback work, then act on the #624 architecture review findings, layer by layer, with performance measured before and after the refactor. Before the refactor PRs, make the CI benchmark baselines maintain themselves, so every Region PR shows its benchmark table before merge and Milestone 28's feature work starts with them in place.
Phase 1: Audio feedback (one PR)
- #1075 Master feedback hold cut short during
MUTE_HARDWARE_DELAY - #1047 Keep the auto-mute confirmation click audible for SFX and SFX_Menu
Both change the same hold logic in AudioManager.change_volume(): one per-bus hold counter, separate commits per issue.
Phase 2: Preparation
- #726 Public diagnostic helpers on
SfxManager; decouple the SFX test suite (separate PR, before Region 4) - #1079 Performance baseline (Part 1), captured before any Region PR merges
Phase 3: Automatic benchmark baselines (#1107)
Baselines that ratchet down on confirmed gains, an accept label for intended regressions, and benchmark runs on PRs. Design doc in #1107.
- #1108 Refresh the CI baselines from the first
mainrun after #1098. Do this first: it protects #1098's gains during the remaining Region PRs. - #1109 Baseline rules in
compare.py(in parallel with #1108) - #1110 Create and seed the
benchmark-baselinesbranch (needs #1108, #1109) - #1111
benchmark_baselines.yml: gate, update and accept path (needs #1109, #1110) - #1112 Benchmark runs on PRs, report-only (needs #1111)
- #1113 Remove the committed baselines and update the guide (needs #1111, #1112)
Phase 4: Architecture refactor (#624 findings)
Lowest layer first, so the order doesn't follow region numbers:
- #616 Region 1: Core architecture & global state (done in #1098)
- #617 Region 2: Custom resources & persistence
- #619 Region 4: Subsystem managers (adds the AudioManager hierarchy API that Regions 3 and 6 use)
- #1101 Settings owns its state (fixes #619's device-tracking finding)
- #1102 Bindings API (needs #1101; fixes #620's per-frame polling and two #621 findings)
- #618 Region 3: System abstractions & web interop
- #620 Region 5: Gameplay entities & main scene
- #621 Region 6: Presentation & UI layers
- #622 Region 7: Addons. Scope no longer exists in the repo; closed as not planned.
Fixes that span regions (one PR each):
- Fuel mirror cleanup: #1142 (done: fuel tests moved to FuelResource), then #1143 (remove runtime fuel state and the player's global write). Covers #620's player fuel mirror and #617's
current_fuel. The disk save itself was stopped in #1098 (#616). - Web overlay restore: #1165. Covers
restore_options_menu_dom(#618) and Controls → Back overlays (#621), both viaOPTIONS_MENU_OVERLAY_IDS. Test-only code.
Before starting each region, re-verify its checklist against current main. The findings were made at 5315844, and some are already resolved.
Phase 5: Validation
- #625 Performance validation (Part 2): rerun the #1079 benchmark and compare
Done when
- All issues closed or explicitly moved to a later milestone
- Full GUT, gdUnit4 and Playwright suites pass
- #625 comparison posted; any metric more than 5% worse is explained or filed as a follow-up
- #1107 done:
mainruns updatebenchmark-baselinesthemselves, and PRs show the benchmark table
Issues
- ikostan/SkyLockAssault#620 · opened
on May 17, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#621 · opened
on May 17, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#625 · opened
on May 17, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1151 · opened
on Nov 5, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1167 · opened
on Nov 9, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1168 · opened
on Nov 9, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1169 · opened
on Nov 9, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1180 · opened
on Nov 13, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1181 · opened
on Nov 13, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1182 · opened
on Nov 13, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation - ikostan/SkyLockAssault#1183 · opened
on Nov 13, 2026 · Milestone 27: Audio feedback fixes, architecture refactor & performance validation