Job 1788162357472

Command: powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference='Stop';$root='C:\Users\ash\Documents\Codex\2026-08-26\LaptopBridge-DEV';$newDrive='G:\My Drive\ChatGPT Bridge Data\dev-bridge-ha2';$deadline=(Get-Date).AddSeconds(30);while(-not(Test-Path -LiteralPath $newDrive) -and (Get-Date)-lt $deadline){Start-Sleep -Seconds 1};if(-not(Test-Path -LiteralPath $newDrive)){throw 'NEW_DEV_DRIVE_ROOT_NOT_SYNCED'};$cp=Join-Path $root 'config.json';$sp=Join-Path $root 'start-dev-bridge.ps1';$cfg=Get-Content -Raw -LiteralPath $cp|ConvertFrom-Json;if([int]$cfg.port -ne 8766){throw ('DEV_PORT_PRECONDITION_'+$cfg.port)};if(Get-NetTCPConnection -LocalPort 8767 -State Listen -ErrorAction SilentlyContinue){throw 'DEV_ALT_PORT_BUSY'};$stamp=Get-Date -Format 'yyyyMMdd-HHmmss';Copy-Item $cp ($cp+'.pre-ha2-8767-'+$stamp+'.bak');Copy-Item $sp ($sp+'.pre-ha2-8767-'+$stamp+'.bak');$cfg.port=8767;$cfg.drive_root=$newDrive;$json=$cfg|ConvertTo-Json -Depth 10;[IO.File]::WriteAllText($cp,$json,(New-Object Text.UTF8Encoding($false)));$txt=[IO.File]::ReadAllText($sp);$txt=$txt.Replace('-LocalPort 8766','-LocalPort 8767').Replace('G:\My Drive\ChatGPT Bridge Data\dev-bridge','G:\My Drive\ChatGPT Bridge Data\dev-bridge-ha2');[IO.File]::WriteAllText($sp,$txt,(New-Object Text.UTF8Encoding($false)));python -c \"import json; c=json.load(open(r'C:\Users\ash\Documents\Codex\2026-08-26\LaptopBridge-DEV\config.json',encoding='utf-8')); assert c['port']==8767; print('CONFIG_OK')\";if($LASTEXITCODE -ne 0){throw 'CONFIG_VERIFY_FAILED'};& $sp;Start-Sleep -Seconds 5;$r=Invoke-WebRequest -UseBasicParsing 'http://127.0.0.1:8767/health' -TimeoutSec 5;$prod=Invoke-WebRequest -UseBasicParsing 'http://127.0.0.1:8765/health' -TimeoutSec 5;$owners=@(Get-NetTCPConnection -LocalPort 8767 -State Listen -ErrorAction Stop|Select-Object -ExpandProperty OwningProcess -Unique);if($owners.Count -ne 1){throw ('DEV8767_LISTENER_COUNT_'+$owners.Count)};$p=Get-CimInstance Win32_Process -Filter ('ProcessId='+$owners[0]);if([string]$p.CommandLine -notlike '*dev_bridge_launcher.py*'){throw 'DEV8767_OWNER_GUARD_FAILED'};[pscustomobject]@{ok=($r.Content.Trim() -eq 'OK' -and $prod.Content.Trim() -eq 'OK');dev_port=8767;dev_health=$r.Content.Trim();prod_health=$prod.Content.Trim();dev_pid=$owners[0];listener_count=$owners.Count;drive_root=$newDrive;ghost8766=[bool](Get-NetTCPConnection -LocalPort 8766 -State Listen -ErrorAction SilentlyContinue)}|ConvertTo-Json -Compress"
Directory: projects
Status: FAILED
Exit code: 1

Cancel Job Rerun Command Refresh

Error Summary

Exception setting "drive_root": "The property 'drive_root' cannot be found on this object. Verify that the property 
exists and can be set."
At line:1 char:848
+ ... 767-'+$stamp+'.bak');$cfg.port=8767;$cfg.drive_root=$newDrive;$json=$ ...
---
+ ... 767-'+$stamp+'.bak');$cfg.port=8767;$cfg.drive_root=$newDrive;$json=$ ...
+                                         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExceptionWhenSetting
 
---
+                                         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExceptionWhenSetting
 
---
Exception setting "drive_root": "The property 'drive_root' cannot be found on this object. Verify that the property 
exists and can be set."
At line:1 char:848
+ ... 767-'+$stamp+'.bak');$cfg.port=8767;$cfg.drive_root=$newDrive;$json=$ ...
+                                         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExceptionWhenSetting