[CLAUDE] Memory: sleep-compress L2 test-specialist — activity-s51-s52.gist.md additive

/sleep-recovery-memory-l2 all (S88). Phase 0 scan: 18/19 L2 verbatim SKIP
(14x 2026-05-qN.md already in aggregate 2026-05.gist.md gen:1, verified by
reading source-decl; 4x 2026-06.md double-distill guard gen 1-2; 5 subs
empty archive). 1 distilled: test-specialist activity-s51-s52.md (gen-0
orphan, no gist) -> activity-s51-s52.gist.md (distill-gen:1), 4 records ->
3 clusters (C-A merges the 2 gotcha#57 episodes).

reviewer Fidelity-gate FAIL v1 -> re-distill: C-A merge had mis-attributed
the whole fix to "Mig 45"; verbatim ties Mig 45 to HRM-only (LeaveTypes/
ShiftPatterns), Master (Dept/Project/Supplier) = Mig 47 per canonical
CLAUDE.md. Split per-episode -> PASS. coverage-diff 26/26, G-009 clean,
ratio 97% (signal-dense, report-not-target). last_sleep_at -> 2026-06-25.

+reviewer self-harvest: merge-distill false-specificity anti-pattern
(presence-gate blind to cross-episode shared-token mis-attribution).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-06-25 08:35:26 +07:00
parent 56b57d330a
commit e939fab50a
3 changed files with 46 additions and 1 deletions

View File

@ -69,6 +69,7 @@ Adversarial pre-commit reviewer SOLUTION_ERP. Read-only verify + live curl prod
- **S71 (2026-06-18) Harness-10 run-trace + finalize double-check PASS/GAPS:** "TRACKED" containment 2-level = check-ignore(eligible) vs `git ls-files`(committed) model chỉ work post `git add`. "Hoàn chỉnh toàn bộ" audit phải check `budget.json` measured-bytes vs DISK (over-cap re-accumulate mỗi session). _INDEX S71*.
- **S69 (2026-06-17) Office re-skin + golive authz PASS:** re-skin logic-preservation proof = `grep api-call + queryKey sorted -u` byte-equal OLD-vs-NEW (nhanh+rigorous hơn đọc từng hunk); public-grant security = granted root NOT inherit-root (no sibling cascade gotcha#44-family) + menu-key KHÔNG dùng làm controller `[Authorize(Policy=)]` (Office=class-`[Authorize]`+Roles=Admin CanCreate FE-only, không escalate API write). color-trap: accent thiếu -800 stop = silent no-class Tailwind v4. _INDEX S69*.
- **S65 (2026-06-16) public HRM Hồ + PE mục E PASS:** upgrade-path phải MUTATE row (`if(!row.CanRead){...}`) KHÔNG skip-existing khi prior revoke pre-set flag false (fix S58-class); menu-hide API-lock (class-`[Authorize]` controller data reachable direct-URL bất kể menu). hyperlink free-text = no server-side XSS. _INDEX S65*.
- **S88 (2026-06-25) Fidelity-gate `/sleep-recovery-memory-l2` gist distill (test-specialist L2) FAIL (1 fabrication-by-merge):** gist MERGE 2 episode gotcha#57 (S51-HRM + S52-Master) vào C-A cluster, KẾT-LUẬN span cả 2 Code-list `{Departments|Projects|Suppliers|LeaveTypes|ShiftPatterns}.Code` NHƯNG gán **"in Mig 45"** cho TOÀN cluster. Verbatim chỉ tie Mig 452 HRM config; S52-Master record CỐ Ý ghi "migration" KHÔNG số ( fix mig riêng sau). Canonical CLAUDE.md xác nhận Master filtered-unique = **Mig 47** không phải 45 gán SAI affirmatively cho Master half. **Anti-pattern: merge-distill fabricates false specificity — gán 1 token dùng-chung (`Mig 45`) cho cluster span N episode khi chỉ 1 episode mang số đó.** Phase-3a deterministic token-PRESENCE pass (ratio 92%, 30 token present, mojibake-clean) BLIND tới cross-episode mis-attribution đúng do QUALITY gate đứng SAU presence gate. Mọi thứ khác faithful: 2 episode-distinct fact (S51 2-GREEN-Vehicle/Driver-Mig44 + S52 3-ALL-RED) giữ riêng, HRM-ref correction `active-count plain DbSet / all-count IgnoreQueryFilters()` không embellish, FIFO caveat (185/191/200 flag episode-local), 4 back-resolve substring count=1 unique, OtWeighted=12.0m + SLA 4/8/24/72h + Serializable-SQLite-NON-ISSUE khớp. Fix hẹp = đừng gán Mig-number cho Master half (giữ vagueness verbatim hoặc split per-episode).
---