Command: powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference='Stop';$root='C:\Users\ash\Documents\Codex\2026-08-26\LaptopBridge-DEV';$conn=Get-NetTCPConnection -LocalPort 8766 -State Listen -ErrorAction SilentlyContinue;if($conn){$pid8766=$conn.OwningProcess;$proc=Get-CimInstance Win32_Process -Filter ('ProcessId='+$pid8766);if($proc.CommandLine -notlike '*LaptopBridge-DEV*'){throw 'PORT8766_NOT_DEV'};Stop-Process -Id $pid8766 -Force;Start-Sleep -Seconds 1};& (Join-Path $root 'start-dev-bridge.ps1');Start-Sleep -Seconds 3;$r=Invoke-WebRequest -UseBasicParsing 'http://127.0.0.1:8766/health' -TimeoutSec 5;Write-Output ('DEV_HEALTH='+$r.Content.Trim());Write-Output ('PROD8765='+[bool](Get-NetTCPConnection -LocalPort 8765 -State Listen -ErrorAction SilentlyContinue));Write-Output ('DEV8766='+[bool](Get-NetTCPConnection -LocalPort 8766 -State Listen -ErrorAction SilentlyContinue));Write-Output ('HA_MARKER='+[bool](Test-Path (Join-Path $root 'bridge-data\human-assistant.enabled')))"
Directory: projects
Status: FAILED
Exit code: 1
Cancel Job Rerun Command Refresh
+ ... dLine -notlike '*LaptopBridge-DEV*'){throw 'PORT8766_NOT_DEV'};Stop-P ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (PORT8766_NOT_DEV:String) [], RuntimeException
+ FullyQualifiedErrorId : PORT8766_NOT_DEV
---
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (PORT8766_NOT_DEV:String) [], RuntimeException
+ FullyQualifiedErrorId : PORT8766_NOT_DEV
---PORT8766_NOT_DEV
At line:1 char:342
+ ... dLine -notlike '*LaptopBridge-DEV*'){throw 'PORT8766_NOT_DEV'};Stop-P ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (PORT8766_NOT_DEV:String) [], RuntimeException
+ FullyQualifiedErrorId : PORT8766_NOT_DEV