Files
UNITRONIX abc00b8804 feat(guest): enforce scoped guest access lifecycle
Bind guest WebSocket sessions to a single target peer, enforce grant lifecycle and atomic usage, add the guest issuer scope, and document the password-less security boundary.\n\nRefs #440\n\nThanks: INSOLVE (Honorary); Marco Jakobs (@jacotec); MyNameisStitch (@MyNameisStitch); Redspin (@playerumpknow)
2026-10-03 10:22:20 +02:00

21 lines
456 B
PowerShell

param(
[switch]$DryRun,
[switch]$PreflightOnly,
[string]$ReportDir
)
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent $PSScriptRoot
Set-Location -LiteralPath $repoRoot
$arguments = @("scripts/local-gate.js")
if ($DryRun) { $arguments += "--dry-run" }
if ($PreflightOnly) { $arguments += "--preflight-only" }
if ($ReportDir) {
$arguments += "--report-dir"
$arguments += $ReportDir
}
& node @arguments
exit $LASTEXITCODE