[CLAUDE] Scripts: S129 adap 2 errata EOL 16-07 — pre-satisfy fix①②③ + vá point-of-generation mfe-eval 2-phía (BOM/LF) + AXIS-limit header + compendium 4-gated/3-discipline + 2 adap-report + email hub 10ca96c9 (H9 2-workflow wf_3fccd7d1 + wf_8a0249f6)
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 5m30s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-07-16 23:16:50 +07:00
parent 33d402bb33
commit 295c70c904
15 changed files with 498 additions and 4 deletions

View File

@ -24,6 +24,10 @@
WHY IT STILL EXISTS - the scope limit of that refutation
The W0.6 measurement covers: BEHAVIOUR level only / .claude/agents/ only / ONE win32 build.
AXIS limit (S129, hub erratum 2026-07-16 4-cell matrix): W0.6 was an EOL-only A/B - the
description-quote format was held constant - so it establishes CRLF-vs-LF spawn tolerance
only, and says NOTHING about the description-colon-quote axis of the hub death-matrix.
Do not cite it as evidence for or against quoting being load-bearing.
NOT covered: .claude/commands/, .claude/skills/, hook .ps1 readers, any other build or
platform. LF hygiene on those surfaces remains unverified-by-experiment, and the
.gitattributes eol=lf policy applies to them regardless of whether any reader currently

View File

@ -190,7 +190,7 @@ function Measure-Lead {
# --- Goodhart anchor : print recurring-error reality next to coverage ---
$lastStrikes = -1
if (Test-Path $statePath) { try { $lastStrikes = [int]((Get-Content $statePath -Raw | ConvertFrom-Json).strikes_total) } catch { } }
if (Test-Path $statePath) { try { $lastStrikes = [int]((Get-Content $statePath -Raw -Encoding UTF8 | ConvertFrom-Json).strikes_total) } catch { } }
Write-Host "[LEAD] Goodhart anchor (NO self-grading - real recurring-error signal):"
Write-Host " error-ledger: strikes_total=$strikesTotal RCA_entries=$rcaCount AS-classes=$($asIds.Count)"
if ($lastStrikes -ge 0 -and $strikesTotal -gt $lastStrikes -and $fits) {
@ -199,9 +199,13 @@ function Measure-Lead {
Write-Host " (rule: if strikes rise across runs while coverage stays high -> the score lies. last_run_strikes=$lastStrikes)"
}
# persist strikes for cross-run compare (MFE state only; does NOT touch token_governor)
# Write LF + UTF8-no-BOM explicitly (erratum EOL 2026-07-16 lo #6 point-of-generation floor, S129):
# PS5.1 Set-Content -Encoding UTF8 wrote BOM+CRLF -> worktree CRLF churn AND a 3-byte BOM in the
# committed blob. Reader at line 193 pins -Encoding UTF8 in the SAME commit (no BOM-sniff dependency).
try {
$st = @{ strikes_total = $strikesTotal; rca_entries = $rcaCount; at = $Today.ToString('yyyy-MM-dd') }
($st | ConvertTo-Json) | Set-Content -Path $statePath -Encoding UTF8
$json = (($st | ConvertTo-Json) -replace "`r`n", "`n") + "`n"
[System.IO.File]::WriteAllText($statePath, $json, (New-Object System.Text.UTF8Encoding($false)))
} catch { }
Write-Host ""
}