[CLAUDE] Docs: thi hanh tron plan adap dot-2 (P2/P3/P5/P7i + W4 + khoan 5/6)

Chu du an chot 6 cau @S181; so quyet-dinh o
runs/2026-08-07-S180-adap-upgrade-pack-phased/owner-decisions-07-08-2026-dot-2.md

- P2=PB-2 sua luat da ratify du 2 SITE (tiep.md §3-bis canonical + pause.md
  b6 chi TRO). Cau cam san-3 GIU NGUYEN, chi them ranh REQUEST ⟂ TASK.
- W4: docs/governance/so-yeu-cau-chu-du-an.md 3 khoi, ma YC/ST/PN vinh vien.
  Config: tiep_reload.sources 8->9 + owner_request_verbatim_char_cap.
  nhip-no-probe ve-5 "so-yc treo/nhac2+", fault-inject 5/5, phan biet
  chua-co-du-lieu ⟂ treo 0. Ky luat ghi-NGAY + A5 cam CLAUDE.md + rules.md §6.0.
- P5: ACTIVE-MARKS §LT3 luat tu-tri 3 bac + mark RC-...-07-08-2026-20-57-48.
- P7(i): docs/governance/expensive-runs-view.md derive-view 5 cot.
- P3=B: niem phong _sealed_P3B_S181 (forward-only). Phep thu A10 da co rang
  (fault-inject: class tu che => exit 2; class hop le => exit 0).
- Khoan 6: scripts/naming-baseline.json = NGUON, script chi doc.
  Fault-inject 6/6 hai chieu. 7/7 baseline xanh. 0 byte non-ASCII.
- Khoan 5: broadcasts/_index.md +cot "ap" cuoi hang, backfill 42/4/23 = 69.
- W3 acceptance 6/6 dong + va defect con-tro bang-19-cua (view-stale-status).

Con treo: P8/W4b, W5, P7 ve (ii), VK-5, P3 hoi-to hay forward-only.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-08-07 21:25:50 +07:00
parent cca2bc1aa8
commit a3776eaac4
21 changed files with 444 additions and 95 deletions

View File

@ -5,7 +5,7 @@ metadata:
node_type: memory
type: feedback
originSessionId: 67157d21-1ead-475d-9a50-cf7f07468583
modified: 2026-08-01T09:10:41.088Z
modified: 2026-08-07T06:04:25.682Z
---
Sub-agent đôi khi trả về message CUỐI = text bước memory-curation của nó ("Still 18KB, let me trim...", "Memory updated, splice correct...") THAY VÌ verdict/findings của task (#53 return-channel garble). Nhưng WORK + agent-memory diary VẪN ĐÚNG (nó làm task xong, ghi diary chuẩn, chỉ return nhầm text bước cuối). **Recover: đọc `agent-memory/<role>/MEMORY.md` recent-entry lấy verdict thật — KHÔNG re-spawn** (tốn + có thể garble tiếp; hoặc em-main re-do solo cho task cần chắc). Instruction-fix spawn-prompt "🔴 message CUỐI PHẢI là verdict, KHÔNG phải memory-note" GIẢM garble nhưng KHÔNG 100%.
@ -55,4 +55,11 @@ Sub-agent đôi khi trả về message CUỐI = text bước memory-curation c
🔴 **@S168 GHI SỰ-KIỆN L9 (2026-08-01 — L9 CÒN MỞ, tally CHỐT @closeout L9 theo đúng luật (c) + đếm CÁI-CHẮC):** nguồn per-window = `_context-s-9` PAUSE-2/3/4 + `_mind-s-9` MIND-4 §C/§E: **window-2 (S164)** sự-kiện đã xử tại chỗ: `ngược-#53` ev#4 (B1a att-1 **0-byte/207K tok**) · skeleton-472B (B2c1 att-1) · chết-ruột-188B (c2-l3) · garble fable-lane 3/9 + opus-lane 1/13 (nhãn PAUSE-2 — chốt phải đọc đĩa từng sub-file, đừng cộng nhãn) · **window-3 (S165)** PAUSE-3 ghi "~14 return-hỏng / 17 spawn — 0 mất công" (reviewer×3-resume-điền · cicd×3 · lane-K2×4 · lane-K3×4 gồm `engine-process-exit` ×2 CÙNG-task) — số "~" là ước cùng-phiên · **window-4 (S166)** nháp-8 (chết-limit giữa /pause-dở, 0 entry PAUSE ⇒ đếm khi chốt = đọc 15 artifact K4a/K4b/K5/K4c/F-1/H24-deep) · **window-5 (S167)** MIND-4 §C **derive-from-§E: 8 return-hỏng / 15 lượt (10 spawn + 5 resume), 0 mất công** — phác-đồ chọn-nhánh-theo-CÁI-THIẾU chạy tốt (resume-điền · lead-close-on-behalf · resume-Write-trước) · **window-6 (S168)** ctx-verifier CLEAN ×1, 0 garble. ⇒ TỔNG lũy-kế **GIỮ 72 cận-dưới qua S162** — L9 cộng @/session-end L9 bằng đọc-đĩa từng sub-file. Xác nhận lần 6: chống-#53 = thiết-kế ARTIFACT (0 B mất toàn L9 dù garble là nhịp-nền).
**How to apply:** sub return text lạ (memory-curation/off-topic/câu-mở-đầu/narration-giữa-chừng) → ĐỪNG tin nó fail/vô-dụng; **đọc ĐĨA trước, rồi diary, rồi resume**. Task-cần-chắc (bug-reasoning) → em-main re-do solo (reliable). 🔴 **Với MỌI spawn reasoning-lane: ép ghi đĩa từng phần trong prompt** — không để giảm garble mà để **garble không tốn gì**. Liên [[feedback_agent_kill_recovery]] · [[feedback_workflow_fanout_reliability]] · [[feedback_return_terminates_agent]].
🔴 **@S180 GHI SỰ-KIỆN (2026-08-07, L12 CÒN MỞ — tally CHỐT @closeout theo luật (c)):** bookend @open **6/6 vai nặng first-return garble** (`tooling-auditor` · `harvest-curator` · `lead-gap-auditor` · `lead-stale-auditor` · `ring1-audit` · `ring2-audit` — 100% reasoning-lane, khớp correlation S103). Chữ ký đồng nhất **chết đúng write-boundary** y S151: *"let me check the machine output…"* · *"Let me spot-check S169 the same way…"* · *"Let me check the two live threads…"* · *"Now let me read the source-of-truth surfaces."* · *"Now verifying H2's content-marker test…"* · *"Let me reproduce the detector's actual scoring."* Recover **path-2 resume-in-session**, sub-lẻ giữ form (S147 3/3 → S151 5/5 → nay tiếp), **0 B mất**.
🔴 **DATUM MỚI — nâng cấp bài "đọc câu garble, đừng vứt" (S158) lên một nấc:** S158 chỉ chứng garble **chứa** finding. @S180 lần đầu có ca garble **LẬT KẾT LUẬN LEAD VỪA PHÁT RA, và lead hành động NGAY trong cùng lượt, trước cả khi resume**: `lead-gap-auditor` chết giữa câu *"…the **4 unapplied 2026-08-04 letters**"* — lead vừa tuyên "kênh `all` = 0 thư cần áp" ở BƯỚC 0.9; đo lại lập tức (`ls adap-reports/ | grep -c 2026-08-04` = 0, 4 token = 0/0/0/0, control-dương `loi-do-luong` = 1) ⇒ **lead SAI, thư chưa áp**. Ca thứ hai cùng phiên: `harvest-curator` chết ở *"Content test confirms the S168 debt at the strongest level"* — cũng là finding load-bearing.
**Nâng cấp How-to-apply:** mẩu garble không chỉ *"thường là chỗ vai nghĩ sắc nhất"* — nó **có thể là bằng-chứng DUY NHẤT còn lại chống lại một kết luận sai của lead**. Đọc nó **TRƯỚC KHI** resume, và nếu nó mâu thuẫn với thứ lead vừa nói thì **đo ngay, đừng đợi vai trả lại**.
🔸 **Counter-datum củng cố S151/S152 (return-only + khuôn cứng sống tốt hơn):** 3 spawn-probe vai STYLE (`front/back/database-reviewer-style`) — lệnh trả **đúng 1 dòng cố định**, cấm gọi tool — **3/3 CLEAN**, ~2,3s mỗi con. Cùng phiên, cùng lead. Khác biệt duy nhất = **hình dạng return được định trước** vs return tự do sau khi làm việc dài.
**How to apply:** sub return text lạ (memory-curation/off-topic/câu-mở-đầu/narration-giữa-chừng) → ĐỪNG tin nó fail/vô-dụng; **ĐỌC MẨU GARBLE ĐÃ (nó có thể chứa finding lật kết luận của chính mình — S180), rồi đọc ĐĨA, rồi diary, rồi resume**. Task-cần-chắc (bug-reasoning) → em-main re-do solo (reliable). 🔴 **Với MỌI spawn reasoning-lane: ép ghi đĩa từng phần trong prompt** — không để giảm garble mà để **garble không tốn gì**. Liên [[feedback_agent_kill_recovery]] · [[feedback_workflow_fanout_reliability]] · [[feedback_return_terminates_agent]].