feat: Wave B runtime mode selection, 8-vCPU DEV routing, combat optimizations, and 2026-09-04 handoff - #8
Merged
flashls1 merged 10 commits intoSep 4, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR delivers the complete Wave B runtime mode selection architecture, 8-vCPU DEV mode routing, combat optimizations, memory audit receipts, and 2026-09-04 agent handoff documentation for TFTMAC on Apple Silicon M4.
Key Changes
RuntimeModeAuthority.swift):-cores 8,hw.cpu.ncore = 8) to the guest VM in DEV mode (.advancedDiagnostics), absorbing 510% combat load surges while preserving 2 dedicated cores for macOS WindowServer and Metal rendering.TFTMACRuntime.swift):p.ClothPhysics=0: Disables CPU vertex cloth simulation on 20–30 combat units, saving 5–8 ms of GameThread frame budget during combat.r.DynamicRes.OperationMode=1: Activates dynamic resolution master switch with an 85% safety floor and 16.67 ms frame budget.r.pso.PrecompileThreadPoolSize=2: Restricts PSO worker threads to 2 to eliminate combat threadpool contention.am force-stop300 ms prior toadb emu kill, closing active Vulkan device instances and eliminating QEMUUNSUPPORTED_VK_APPsnapshot save failure.PipelineEventV1.cpp):flush_target_writesynchronization; verified over 20 consecutive runs.AGENT_HANDOFF_2026-09-04.mdandsettings.md.benchmark.md,facts.md,project.md,dev.md, and synchronizedssot/STACK.lock.yaml/AUTHORITY_INPUTS.sha256.Validation
./scripts/verify-tftmac.command: 55/55 native tests passed (0 failures)../scripts/build-dev-launcher.command: Built and code-signeddist/TFTMAC DEV.app../scripts/install-desktop-launchers.command: Installed to/Applications/TFTMAC DEV.appand Desktop shortcut.