# harness-eval (nac 1/3 — con DO) — V3 bookend @open S159 (phien-LOGIC L8)

> WIP artifact — ghi-dia-trong-luc-lam (chong #53). So NGUYEN-VAN tu instrument chay TUOI 2026-07-29.

## A. measure-agent-memory.ps1 (chay TUOI, JSON)

soft_cap_l1_bytes = 30720 · autoinject_cap_bytes = 25600 · roster do duoc = 23 vai
l1_over_30kb = false cho CA 23/23 vai.

Top-5 l1_hot: tooling-auditor 23464 · investigator-codebase 23285 · implementer-backend 21987 · frontend-designer 21492 · cicd-monitor 20686
Bo-ba: harness-eval 4492 · harness-refine 4813 · harness-audit 4530
harvest-curator l1_hot = 19456 (l2_verbatim 73421 · l2_index 7986 · l2_gist 20317)
cicd-monitor l2_index = 19484 (l2_verbatim 232717 · l2_gist 63048)

## B. mfe-eval.ps1 (chay TUOI)

- lead hot-feed cap (live) = 380000 tok | mem-sub cap = 60000 tok
- DENOMINATOR = 36 items (marks 9 + AS 15 + net-guards 5 + net-recurring-gotchas 7; raw 9+15+16+8)
- Coverage-FIT: span bytes=28492 => ~7123-9497 tok / cap 380000 = 2.5% worst-case → **FIT = PASS**
- age-band: marks parseable=9; >30d con Active=4 → KEPT (age-blind)
- Goodhart anchor: strikes_total=25 · RCA_entries=14 · AS-classes=15 · warn-baseline=25 last_run_strikes=25
- per-role coverage: **23/23 vai = 100% (MEASURED)** — khong vai nao <100%

## C. memory-archive-gate.ps1 (DRY-RUN, khong -Apply)

- mode: DRY-RUN (no writes at all) · cap 25600 · low-water 21760 · keep-floor 5 · strike-need 2
- PASS 1: **0/23 sub over cap**; strike = 0 cho TAT CA 23 dong; "(no sub over cap - hot tier within auto-inject budget)"
- [A6] DRY-RUN: strike counters NOT persisted
- PASS 2 **A7 GATE PASS — total pointers 402, resolved 402, failed 0** (10 sub co archive, 10/10 PASS)

## D. crystallized-backfill.ps1 (chay TUOI)

- hotload TOTAL = 623260 bytes (STATUS 203721 · HANDOFF 138579 · ACTIVE-MARKS 31197 · migration-todos 84679 · gotchas 111616 · agents/README 53468)
- tran (live cap) 380000 tok · tok RANGE [155815 .. 207753]
- **measured_headroom = 172247 tok** · target (owner) = 210000 · expected_backfill = 172247 (headroom binds)

## E. nhip-no-probe.ps1 (chay TUOI, nguyen-van 1 dong)

```
NHIP-NO: kiem light 6/6 deep 8/15 OVERDUE:light | tran-bo-nho 0 over-cap l2idx 0 over | run-chua-gom 1 | pull-cach 7 ngay
```

## F. Do DOC-LAP tin-hieu nong #1 — diary-delta = 0

Moc dong-bang XAC-NHAN: commit `11db5ef` = **2026-07-26 16:10:54 +0700** ("S153 closeout"), cham 14 diary.
- **11 vai co last-commit diary = DUNG 11db5ef** (dong-bang tai moc): harness-audit · harness-eval · harness-refine · harvest-curator · implementer-backend · implementer-frontend · lead-gap-auditor · lead-stale-auditor · ring1-audit · ring2-audit · tooling-auditor.
- **16/23 vai co diary-delta = 0 ke tu moc 07-26T16:10** (11 tren + database-agent 07-02 · frontend-designer 07-01 · investigator-api 07-26 c2d01f0 · office-document 07-10 · ring4-audit 07-26 c2d01f0).
- 7/23 co ghi SAU moc: cicd-monitor · ctx-audit · ctx-curator · ctx-verifier · investigator-codebase · reviewer · test-specialist.
- Do NOI-DUNG (dem token "S158" trong diary): **20/23 vai = 0 lan**; chi 3 vai co (ctx-audit 3 · ctx-verifier 2 · investigator-codebase 3). "S159" = **0/23 vai**.
- SELF-DISCLOSE: `harness-eval` (chinh tao) NAM TRONG tap dong-bang 11 vai.

## G. Do DOC-LAP tin-hieu nong #2 — cicd-monitor/archive/_INDEX.md

cap NGUON: `memory-budget.json > tiers.l2_index.cap_bytes = 20480` (khong hardcode).
- disk = **19484 B / 20480 = 95,14%** · headroom = **996 B** (mtime 2026-07-28T09:49)
- byte-history git: 07-23 `5f6c3be` 22634 → 07-26 `c2d01f0` 19322 (compact −3312) → 07-28 `9649fc7` 19483 → disk 19484
- rate cua-so 2 ngay = **81,0 B/ngay** → days_to_cap = **12,3** → **~2026-08-10**
- CAVEAT: extrapolate tren cua-so 2 NGAY va ngay truoc do la 1 cu COMPACT (−3312 B) → rate mong-manh, khong phai trend on-dinh.

## H. Do DOC-LAP tin-hieu nong #3 — harvest-curator/MEMORY.md

- disk = **19456 B**; last-commit = `11db5ef` (2026-07-26 16:10:54) voi CUNG 19456 B → **delta 0 B ke tu 2026-07-26T16:10**, tuc xuyen S154·S155·S156·S157·S158 (5 phien).
- byte-history: 4d24ef1 07-18 14899 → a1e2416 07-22 17175 → 398d343 07-25 20933 → 1b85713 07-25 21464 → c2d01f0 07-26 17655 → 11db5ef 07-26 19456 (dung tai day).
- noi-dung: S155=0 · S156=0 · S157=0 · S158=0 · S159=0 (dem regex tren file).

## I. Baseline-coverage (memory-budget.json > measured)

- baseline co **17 row** / roster live **23 vai** → **6 vai VANG khoi baseline**: ctx-audit · ctx-curator · ctx-verifier · ring1-audit · ring2-audit · ring4-audit.
- baseline tu KHAI stale: "_note" ghi full re-sync cho @drift-audit **2026-08-01**.

## J. Bang delta l1_hot (live vs baseline `measured`)

cicd-monitor 20686/20180 +506 · database-agent 7388/7388 0 · frontend-designer 21492/21492 0 · harness-audit 4530/1513 +3017 · harness-eval 4492/1547 +2945 · harness-refine 4813/1616 +3197 · harvest-curator 19456/18082 +1374 · implementer-backend 21987/23955 **-1968** · implementer-frontend 18435/14252 +4183 · investigator-api 9021/8510 +511 · investigator-codebase 23285/17229 +6056 · lead-gap-auditor 19792/3691 **+16101** · lead-stale-auditor 14078/3332 **+10746** · office-document 3323/3323 0 · reviewer 19049/20071 **-1022** · test-specialist 14889/8844 +6045 · tooling-auditor 23464/16923 +6541
ctx-audit 9188 · ctx-curator 3556 · ctx-verifier 6475 · ring1-audit 7884 · ring2-audit 13964 · ring4-audit 2315 = ABSENT khoi baseline.

## K. VERDICT per-truc

- l1_hot vs cap: **HEALTHY** (0/23 over 30720; 0/23 over 25600; max = tooling-auditor 23464 = 91,7% autoinject-cap; 3 vai >85%: tooling 91,7% · inv-cb 91,0% · impl-be 85,9%)
- l2_index vs cap: **REGRESSION** (cicd 95,14%, headroom 996 B, ~12,3 ngay)
- mfe FIT + strikes: **HEALTHY** (FIT=PASS 2,5% cap; strikes 25 = warn-baseline 25 = last_run 25 → khong tang)
- mfe per-role coverage: **MIXED** (23/23 = 100% dung tren mau-so cua no = role-file anti-pattern TINH; mau-so KHONG do recency → 100% ton-tai song-song voi 20/23 diary 0 noi-dung S158)
- archive-gate strike + A7: **HEALTHY** (0 over-cap, strike 0/23, A7 402/402 resolved, 0 failed)
- crystallized-backfill headroom: **REGRESSION** (172247 tok vs ~253,7K tok ghi trong budget `_target_note` @S115 → **-81,5K tok**; headroom < target 210000 nen headroom BINDS)
- nhip-no-probe: **MIXED** (tran-bo-nho 0 / l2idx 0 over = dung nhung nhi-phan, khong co dai canh-bao → 95,14% doc thanh "0 over"; **OVERDUE:light 6/6**; **run-chua-gom 1** ≠ so 0 duoc dua truoc do)
- diary-retention: **REGRESSION** (11 vai dong-bang tai 11db5ef; 16/23 delta 0 B; 20/23 khong noi-dung S158)
- baseline-sync: **REGRESSION** (17/23 row; 6 vai vang; baseline tu-khai stale den 2026-08-01)

## VERDICT TONG = **MIXED**

Sach: byte-cap L1 · A7 integrity · MFE FIT · strike-counter.
Hong: 4 truc REGRESSION (l2_index near-cap · backfill headroom · diary-retention · baseline-sync) + 2 MIXED (per-role coverage Goodhart-blind · nhip OVERDUE:light + orphan-run 1).

## CAVEAT (bat buoc khai)

1. read-only = THIEU-tool, KHONG phai sandbox: luot nay tao CO Write va DA GHI dung 1 file = chinh file nay (`harness-eval-return.md`, untracked `??`). `git status` luc do con: `M .claude/governance/.session-counter.json` + `M .../sub-ring1-audit-open-S159.md` (KHONG phai cua tao). Containment THAT = lead soat git status sau luot nay.
2. Vai nap theo registry = anh-chup luc khoi phien; file agent MOI khong hot-reload.
3. mtime co the bi git-checkout ghi de → tao dung 3 nguon doc-lap (mtime · git last-commit per-file · dem token noi-dung), ca 3 khop.
4. Moi so o day den tu instrument chay TUOI trong luot nay; 0 so tu tri-nho.

