wal: pause
This commit is contained in:
@ -295,10 +295,19 @@ else {
|
||||
}
|
||||
else {
|
||||
$latest = $runDirs[0]
|
||||
$subMd = @(Get-ChildItem -Path $latest.FullName -Filter 'sub-*.md' -File -ErrorAction SilentlyContinue)
|
||||
# @S180 W1 FIX (naming-standard.md section 4): the filter used to be the literal glob
|
||||
# 'sub-*.md', so every '<role>-return.md' was INVISIBLE here - including the three trio
|
||||
# returns (harness-eval / harness-refine / harness-audit), i.e. the most expensive lanes.
|
||||
# governance-detectors.ps1:1101-1102 already fixed exactly this at S159 and measured it on
|
||||
# the S159 bookend: 9 spawns ran, the glob saw 6. That fix was never mirrored into THIS
|
||||
# file even though both scan the same directory - a diagnosed, named, patched bug still
|
||||
# alive one file over. Regex below is a byte-for-byte mirror of the detectors one; if you
|
||||
# change one, change both (naming-standard.md section 12 lists all 3 sites).
|
||||
$subMd = @(Get-ChildItem -Path $latest.FullName -File -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.Name -match '^(sub-.+|.+-return)\.md$' })
|
||||
$synth = @(Get-ChildItem -Path $latest.FullName -Filter '*-synthesis.md' -File -ErrorAction SilentlyContinue)
|
||||
if ($subMd.Count -eq 0) {
|
||||
Write-Na 'eval:hcv' 'HCV' ("latest run {0} has no sub-*.md (return-delta-only mode) - proxy N/A" -f $latest.Name)
|
||||
Write-Na 'eval:hcv' 'HCV' ("latest run {0} has no sub-*.md / *-return.md (return-delta-only mode) - proxy N/A" -f $latest.Name)
|
||||
}
|
||||
elseif ($synth.Count -gt 0) {
|
||||
Write-Pass 'eval:hcv' 'HCV' ("latest run {0}: {1} sub-md + {2} synthesis present (harvest-complete proxy; ratio = calibration-interim)" -f $latest.Name, $subMd.Count, $synth.Count)
|
||||
|
||||
Reference in New Issue
Block a user