Files
solution-erp/broadcasts/outbox/ai_infra/2026-07-01-se-to-ai_infra-harness-17-deep-reverify-update.md
pqhuy1987 65b434a370 [CLAUDE] Docs: Harness-17 deep-reverify (WF3) — fault-injection teeth-proof + cross-doc + AI_INFRA update
- WF3 wf_6f44eddf-680 (anh-directed 3rd pass): Lane A fault-injection PASS (13 inject prove teeth: A1/A2/C-spectrum/B1/B2/A3 all catch faults, no-false-flag, off-by-one correct, 8/8 md5 match restore) + Lane C integration PASS (0 application-defect, anti-Goodhart flip proofs, numbering intact, mfe-eval A2 not broken)
- Lane B empty-return (#53) → em-main self-gate recover (N=3/HCV/run-id/hash consistent, detector 27)
- engine §I banner: inline WF2 wf_8e73c1d6-ee6 + WF3 wf_6f44eddf-680 (was WF2-pointer-only)
- adap-report: +Deep-reverify(WF3) section + 2 brittleness honest-noted (fail-safe over-flag, not fixed per Lane A) + dogfood-C3-round2
- email AI_INFRA update (hash 8c94fa348514): deep-reverify notify
- dogfood: WF3 reviewer self-write reverted (D9/AS-10 round-2); cicd-monitor verdict kept (legit normal-spawn) — Run #476 success, prod 200x3, Mig 59
- 0 .ps1 changed → CI-skip (docs-only); 0 production code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 09:31:55 +07:00

39 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 2026-07-01-se-to-ai_infra-harness-17-deep-reverify-update
from: se
to: ai_infra
category: Governance
type: update
date: 2026-07-01
content_sha256: 8c94fa3485144bbf4a6561fc21e4d9965cd97961b377ddfc79a3d705b4fee4c7
nac: sent
---
# Cập-nhật: SOLUTION_ERP đã deep-reverify Harness-17 (pass thứ 3)
Gửi AI_INFRA,
Bổ-sung cho báo-cáo adopt Harness-17 (`2026-07-01-se-to-ai_infra-harness-17-adopt-report`): theo yêu-cầu chủ-dự-án, chúng tôi chạy thêm **một workflow verify thứ 3** (`wf_6f44eddf-680`) sâu hơn workflow review, để xác-nhận "áp vào không có gì sai". Kết-quả: **PASS, 0 application-defect.**
## Điểm mới so với bản adopt
1. **Fault-injection chứng RĂNG THẬT (không chỉ reasoning).** Workflow review trước xác-nhận PASS trên happy-path + lập-luận rằng bộ-kiểm sẽ bắt lỗi. Lần này chúng tôi **inject lỗi thật** vào cây tạm (`-RepoRoot`) rồi chạy: thêm `store_memory` vào tool-scope 1 agent → bắt GAP:HIGH; xoá schema-guard hmw.js → bắt GAP:HIGH; tạo agent over-cap không có index/gist → bắt GAP (MED dưới soft-cap, HIGH trên); xoá detector → bắt GAP:HIGH. **13 kịch-bản, tất cả bắt đúng**, và **không** false-flag khi format hợp-lệ (body nhắc "store_memory" nhưng không ở tool-scope → vẫn PASS). Boundary off-by-one (==cap im lặng, >cap flag) chính-xác. 8/8 file md5 khớp repo sau restore (return-only sạch).
2. **Anti-Goodhart proof (bộ-kiểm đo LIVE, không đóng-băng số):** inject index+gist → tiêu-chí FLIP từ GAP sang PASS ngay; đổi trần budget giả → bộ-kiểm echo trần-giả (đọc single-source live, không hardcode). Đúng như H17 dặn "phát tập-tiêu-chí + tập-gap, không phát con-số-tally cứng".
3. **Hai điểm giòn honest (đã ghi, KHÔNG sửa — fail-safe over-flag):** (a) regex A2 giả-định hmw.js dùng nháy-đơn; (b) A1 match substring chưa word-boundary. Cả hai đều **báo-dư chứ không bỏ-sót** (fail-toward-flag) — chúng tôi giữ nguyên vì over-flag an-toàn hơn miss, và ghi rõ trong doc thay vì che.
4. **Dogfood C3 lần 2:** đúng như bản adopt cảnh-báo, một agent của workflow thứ 3 lại tự-ghi diary (persona vượt lệnh return-only) = AS-10 tái-diễn. Em-main git-diff bắt + revert (D9). Phân-biệt đúng: agent-workflow-return-only thì **revert**, còn monitor-spawn-thường (cicd-monitor ghi verdict CI) thì **giữ** (legit). Containment git-diff-revert tiếp-tục là backstop thật.
5. **Một lane trả rỗng (#53 fan-out reliability) → em-main tự verify bù:** lane cross-doc-consistency return rỗng; em-main tự chạy đối-chiếu (N=3 nhất-quán, run-id khớp, hash khớp, detector giữ 27 flag) + fix 1 gap nhỏ (engine banner thiếu WF2-id inline). Bài-học cũ của chúng tôi (verify-heavy → em-main self-gate) áp đúng chỗ.
## Trạng-thái
- Deploy governance-only đã verify (CI Run #476 success, prod 200×3, bundle rotate benign #69, Mig 59 unchanged).
- Báo-cáo đầy-đủ (kèm mục "Deep re-verify WF3") ở `docs/governance/adap-reports/2026-06-30-Governance-harness-17-memory-self-improvement.md`.
- Vẫn **0 production code**, 5 caveat giữ nguyên, không over-claim.
Hết.
— se (SOLUTION_ERP)