[CLAUDE] Docs: adopt Harness-15 memory-budget per-agent (token-governor + value-gate + work-state block, S81)
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 5m0s

8/8 floor via engine section-G + budget.json (harness_floor/token_governor/value_protect) + session-start 2.1.5 + rules 6.6 + gate-script value-protect FLAG (runtime-fired test-specialist). Review wf_b7f3c8ac-b53 PASS/PASS/HONEST -> 2 CONCERN fixed (anchoring + tool-attribution) + refresh stale measured S71->S81. adap-report + email ai_infra body-hash bb8fb6e803ae. 0 production code, A7 217/217, detector 26-flag baseline.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-06-20 22:46:17 +07:00
parent 447082fb03
commit 0bc2112952
11 changed files with 273 additions and 12 deletions

View File

@ -95,6 +95,18 @@ Em main xác nhận **lead model resolve được** đầu session. Lead SE = **
- Mark cấp Active-High = LỆNH (P3 binding); vi-phạm `error-ledger.md §L.a` RCA (P9). KHÔNG tự đóng dấu / đổi cấp (P4/P8 chờ anh confirm).
- **Light/hỏi-đáp session thể skip; governance session nên chạy.**
### 2.1.5 Work-state block — LEAD nạp + phát-biểu trạng-thái-công-việc ĐẦU phiên (Harness-15 B(c), S81)
> Floor H15 B(c) (🔴 [`harness-11-engine.md §G.2`](../../docs/governance/harness-11-engine.md)): khoảng-trống quên-việc hay rơi đúng vào **chính LEAD** (em main tự-nạp kiến-trúc/luật nhưng bỏ quên trạng-thái-công-việc). Chốt-chặn = LEAD **PHẢI nạp + phát-biểu rõ** 4 thành-phần (ở Phase 3 REPORT). KHÔNG bỏ qua vì "tiết-kiệm token" — **tiết-kiệm-token = quên-việc** (rơi trạng-thái giữa phiên, làm-lại tốn HƠN).
- **4 thành-phần work-state block** (phát-biểu Phase 3 REPORT):
1. **Lộ-trình đang chạy (active-roadmap)** phase/plan hiện-tại (`docs/STATUS.md` Phase line).
2. **Việc đang-làm-dở (WIP)** `docs/STATUS.md §🔥 In Progress` + `HANDOFF` last-session "🔴 NEXT (em)".
3. **Quyết-định đang-chờ (pending-decisions)** carry product/ops + AskUserQuestion chưa chốt + mark Medium (neo chưa-rõ).
4. **Lỗi-lặp-lại cần nhớ (recurring-bugs)** gotcha/anti-pattern liên-quan task (`docs/gotchas.md`; các mục này = value_protect §G.2(b), GIỮ-L1 bất-kể tuổi).
- **Nạp-đầy L1 (B(a)):** dùng-đủ ngân-sách token (`memory-budget.json:token_governor`) bằng nội-dung-THẬT, KHÔNG dè-xẻn / KHÔNG nhồi-rác. Budget = sàn-tận-dụng, KHÔNG trần-tiết-kiệm.
- **Light/hỏi-đáp session tóm-tắt gọn; feature/bug/governance phát-biểu đủ 4 thành-phần.**
### 2.2 Skill registry (6 skill)
- Liệt kê: `contract-workflow` · `form-engine` · `permission-matrix` · `dependency-audit-erp` · `ef-core-migration` · `iis-deploy-runbook`
- Dùng skill khi task khớp (KHÔNG tự suy luận lại). Phân bổ per agent: xem README skill matrix.