card-in: the v5 kit's presence check before its first path (kit-path-check)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
igneum-labs 2026-10-08 09:01:29 +00:00
parent 5c300d86bc
commit 1bc6255ecb

View file

@ -83,6 +83,7 @@ $jobs = Split-Path $env:IGNEUM_JOB_DIR
$v5kit = Join-Path $jobs 'fetch-ca3-v5-kit-20261007'
$v4kit = $null
foreach ($id in @('fetch-ca3-v4-sub3-pc1-20261007', 'fetch-ca3-v4-sub3-pc2-20261007')) { $d = Join-Path $jobs $id; if (Test-Path (Join-Path $d 'packs\v4-devnet-epoch0\kernel_bound.cu')) { $v4kit = $d; break } }
if (-not (Test-Path $v5kit)) { 'RESULT kits v5 MISSING (the fetch job fetch-ca3-v5-kit-20261007 runs first; republish it after any app update)' }
$clExe = Join-Path $v5kit 'bin\windows\igneum-worker-opencl.exe'
$haveV5 = (Test-Path $clExe) -and (Test-Path (Join-Path $v5kit 'packs\v5-dn3-epoch0\leaves.bin'))
"RESULT kits v5=$(if ($haveV5) { $v5kit + ' (worker sha256 ' + (Get-FileHash -Algorithm SHA256 $clExe).Hash.ToLower().Substring(0, 16) + ')' } else { 'MISSING (the fetch job fetch-ca3-v5-kit-20261007 runs first)' }) v4=$(if ($v4kit) { $v4kit } else { 'none (no CUDA pack on this PC; the NVIDIA v4 row runs through the OpenCL kit)' })"