feat: make LegacyParityApp playout live-only

This commit is contained in:
2026-07-28 14:52:59 +09:00
parent 11d3849933
commit ea96a08ad5
23 changed files with 456 additions and 270 deletions

View File

@@ -180,7 +180,7 @@ Assert-WritableTarget $playoutPath
Assert-WritableTarget $authorizationPath
$playout = [ordered]@{
mode = 'DryRun'
mode = 'Live'
host = $PlayoutHost
port = $PlayoutPort
tcpMode = 1
@@ -219,20 +219,19 @@ $authorization = [ordered]@{
$playoutJson = $playout | ConvertTo-Json -Depth 6
$authorizationJson = $authorization | ConvertTo-Json -Depth 3
# In Force mode, invalidate the old authorization before changing the DryRun
# base. Any later failure therefore leaves no valid authorization at the exact
# path consumed by the Debug-only bootstrap.
# In Force mode, invalidate the old authorization before changing the protected
# Live profile. Any later failure therefore leaves no valid authorization at the
# exact path consumed by the bootstrap.
Invalidate-ExistingAuthorization -Path $authorizationPath
# Write the safe DryRun base first and the new one-launch authorization last.
# Merely creating these files does not connect: Debug, the exact
# --development-live argument, vendor hash verification and runtime gates remain
# mandatory in the application.
# Write the protected Live profile first and the launch authorization last.
# Merely creating these files does not connect: vendor hash verification,
# launch authorization, target validation, and runtime gates remain mandatory.
Write-ProtectedJson $playoutPath $playoutJson
Write-ProtectedJson $authorizationPath $authorizationJson
Write-Host "Development Live base configuration created at: $playoutPath"
Write-Host "Development Live launch authorization created at: $authorizationPath"
Write-Warning (
'The base file remains DryRun. Use only Debug|x64 with the exact ' +
'Development Live (Package) profile after confirming the local development PGM target.')
'Debug and Release launches now use the protected Live profile. ' +
'Confirm the local development PGM target before starting the application.')