wal: pause
This commit is contained in:
@ -1086,17 +1086,25 @@ if ($roster.Count -eq 0) {
|
||||
Write-Host ' [skip] no .claude/agents/*.md roster - nothing to check' -ForegroundColor DarkGray
|
||||
}
|
||||
else {
|
||||
# Evidence-of-run: scan runs/*/sub-*.md and map each filename prefix to a roster role.
|
||||
# Two-step greedy parse: 'sub-<role>-<numeric-idx>.md' first, else 'sub-<rest>.md'.
|
||||
# Evidence-of-run: scan runs/*/ for per-role artifacts and map filename prefix to a roster role.
|
||||
# Three-step greedy parse: 'sub-<role>-<numeric-idx>.md', else 'sub-<rest>.md', else '<role>-return.md'.
|
||||
# @S159 FIX (ctx-audit FLAG-6): the filter used to be the literal glob 'sub-*.md', so the trio
|
||||
# returns (harness-eval-return.md / harness-refine-return.md / harness-audit-return.md) were
|
||||
# INVISIBLE to this detector. Measured on the S159 bookend: 9 spawns ran, the glob saw 6 -
|
||||
# it dropped exactly the 3 most expensive lanes. A grid that cannot see the priciest lanes
|
||||
# reports 'clean' for the very roles most likely to be missing. Same class as the standing
|
||||
# carry 'C11(b) filter'; that carry now has a real case behind it, not a hypothesis.
|
||||
$runsDir = Join-Path $RepoRoot '.claude\workflows\runs'
|
||||
$ran = @{} # role -> ran (exact roster match)
|
||||
$unmapped = @{} # prefix -> seen (not an exact roster role)
|
||||
if (Test-Path $runsDir) {
|
||||
$subs = Get-ChildItem -Path $runsDir -Recurse -Filter 'sub-*.md' -File -ErrorAction SilentlyContinue
|
||||
$subs = @(Get-ChildItem -Path $runsDir -Recurse -File -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.Name -match '^(sub-.+|.+-return)\.md$' })
|
||||
foreach ($s in $subs) {
|
||||
$cand = $null
|
||||
if ($s.Name -match '^sub-(.+)-\d+\.md$') { $cand = $Matches[1] }
|
||||
elseif ($s.Name -match '^sub-(.+)\.md$') { $cand = $Matches[1] }
|
||||
elseif ($s.Name -match '^(.+)-return\.md$') { $cand = $Matches[1] }
|
||||
if ($null -eq $cand) { continue }
|
||||
if ($rosterSet.ContainsKey($cand)) { $ran[$cand] = $true } else { $unmapped[$cand] = $true }
|
||||
}
|
||||
@ -1604,7 +1612,7 @@ Write-Host (" C9 width-drift flags = {0} [INFORM-only, LOW, NOT folded into TOT
|
||||
# _context-s-<N>.md, and (c) the HIGHEST N must be OPEN (no _end / closed.md) - because a
|
||||
# running session must have an open logic-session to write into. All-closed => nobody opened
|
||||
# one for the session that is running right now.
|
||||
# 🔸 KHAI THAT - what this CANNOT do: it cannot prove the folder was opened EARLY (on time).
|
||||
# [!] KHAI THAT - what this CANNOT do: it cannot prove the folder was opened EARLY (on time).
|
||||
# A late-but-present folder reads identical to a punctual one. It catches ABSENCE, not
|
||||
# LATENESS. Closing that gap needs a timestamp compare against session start, which the
|
||||
# detector has no reliable source for. Do not read a green C10 as "ritual ran on time".
|
||||
@ -1757,7 +1765,10 @@ else {
|
||||
Where-Object { $_.LastWriteTime -ge $C11_LAND_DATE })
|
||||
|
||||
foreach ($rf in $freshFolders) {
|
||||
$subMd = @(Get-ChildItem -LiteralPath $rf.FullName -Filter 'sub-*.md' -File -ErrorAction SilentlyContinue)
|
||||
# @S159: mirror of the C11(b) filter fix above - '<role>-return.md' counts as a per-role
|
||||
# artifact too, otherwise the trio lanes are invisible here as well (ctx-audit FLAG-6).
|
||||
$subMd = @(Get-ChildItem -LiteralPath $rf.FullName -File -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.Name -match '^(sub-.+|.+-return)\.md$' })
|
||||
foreach ($sm in $subMd) {
|
||||
|
||||
# ---- (a) FLAG-khuon: H24 auditor sub-file must class-tag every raised flag ----
|
||||
|
||||
Reference in New Issue
Block a user