Ember shipped-app window playbook: the gate at 0.3.18 (0.3.17 is a node-only hotfix on the 0.3.16 app tree; the helper fixes A to F ship in 0.3.18)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit c9b31edc71d7f92628c83022ddf07aa288c55279)
This commit is contained in:
igneum-labs 2026-10-07 03:36:50 +00:00
parent 08cc309553
commit f39fca787a

View file

@ -17,9 +17,10 @@ $s = State
if (-not $s) { Write-Output 'RESULT TUNE error=state_unreadable'; exit 1 }
$ver = [string]$s.version
# the first line: the version gate (main, 6 October 2026): 0.3.14 or later carries bd7fcf4 (AMD apply on ack) and
# 5165de7 (api/tune/goal with the climb); 0.3.17 the helper fixes A to F (6 October 2026); an older app aborts here
$vok = $false; try { $vok = ([version]($ver -replace '[^0-9.].*$', '')) -ge [version]'0.3.17' } catch { }
Write-Output ('RESULT TUNE version=' + $ver + ' gate=' + $(if ($vok) { 'ok (0.3.17 or later)' } else { 'FAILED (needs 0.3.17: the helper fixes A to F; 0.3.16 carries F and repeats the 22:16Z result)' }) + ' climb_field=' + $(if ($null -ne $s.settings.tune_climb) { 'present' } else { 'absent' }))
# 5165de7 (api/tune/goal with the climb); 0.3.18 the helper fixes A to F (6 October 2026); an older app aborts here
# 7 October 2026: 0.3.17 is a node-only hotfix on the 0.3.16 app tree, so the fixes A to F ship in 0.3.18
$vok = $false; try { $vok = ([version]($ver -replace '[^0-9.].*$', '')) -ge [version]'0.3.18' } catch { }
Write-Output ('RESULT TUNE version=' + $ver + ' gate=' + $(if ($vok) { 'ok (0.3.18 or later)' } else { 'FAILED (needs 0.3.18: the helper fixes A to F; 0.3.16 and the 0.3.17 hotfix carry F and repeat the 22:16Z result)' }) + ' climb_field=' + $(if ($null -ne $s.settings.tune_climb) { 'present' } else { 'absent' }))
if (-not $vok -or $null -eq $s.settings.tune_climb) { Write-Output 'RESULT TUNE error=version_gate'; exit 1 }
Write-Output ('RESULT TUNE installed app ' + $ver + ' power_control=' + $s.settings.power_control + ' tuning_off=' + $s.settings.tuning_off + ' climb_before=' + $s.settings.tune_climb + ' goal_before=' + $s.settings.tune_goal)
$t = Get-ScheduledTask -TaskName 'Igneum Power Helper' -ErrorAction SilentlyContinue