Command: powershell -NoProfile -Command "$ErrorActionPreference='Stop';$root='C:\Users\ash\Documents\Codex\2026-08-26\LaptopBridge-DEV';$data=Join-Path $root 'bridge-data';$status=Get-Content -Raw (Join-Path $data 'ha3-status.json')|ConvertFrom-Json;$spid=[int](Get-Content -Raw (Join-Path $data 'ha3-supervisor.pid'));$cpid=[int](Get-Content -Raw (Join-Path $data 'ha3-child.pid'));$sp=Get-CimInstance Win32_Process -Filter ('ProcessId='+$spid) -ErrorAction SilentlyContinue;$cp=Get-CimInstance Win32_Process -Filter ('ProcessId='+$cpid) -ErrorAction SilentlyContinue;$active=[int]$status.active_port;$dh='FAIL';$ph='FAIL';try{$dh=(Invoke-WebRequest -UseBasicParsing ('http://127.0.0.1:'+$active+'/health') -TimeoutSec 2).Content.Trim()}catch{};try{$ph=(Invoke-WebRequest -UseBasicParsing 'http://127.0.0.1:8765/health' -TimeoutSec 2).Content.Trim()}catch{};$hb=Get-Content -Raw (Join-Path $data 'ha3-drive-worker-heartbeat.json')|ConvertFrom-Json;[pscustomobject]@{revision=$status.revision;healthy=$status.healthy;active_port=$active;supervisor_pid=$spid;supervisor_alive=($null -ne $sp);supervisor_cmd=([string]$sp.CommandLine);child_pid=$cpid;child_alive=($null -ne $cp);child_cmd=([string]$cp.CommandLine);dev_health=$dh;prod_health=$ph;restarts=$status.restarts;failovers=$status.failovers;heartbeat_pid=$hb.pid;heartbeat_age=[math]::Round(([DateTimeOffset]::UtcNow.ToUnixTimeMilliseconds()/1000-$hb.epoch),3);heartbeat_match=([int]$hb.pid -eq $cpid)}|ConvertTo-Json -Compress"
Directory: projects
Status: SUCCESS
Exit code: 0
Cancel Job Rerun Command Refresh
{"revision":"HA3-DEV2","healthy":true,"active_port":8767,"supervisor_pid":9152,"supervisor_alive":false,"supervisor_cmd":"","child_pid":19320,"child_alive":true,"child_cmd":"C:\\Users\\ash\\AppData\\Local\\Programs\\Python\\Python312\\python.exe C:\\Users\\ash\\Documents\\Codex\\2026-08-26\\LaptopBridge-DEV\\dev_bridge_launcher.py","dev_health":"OK","prod_health":"OK","restarts":1,"failovers":0,"heartbeat_pid":19320,"heartbeat_age":0.327,"heartbeat_match":true}