All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 4m45s
- token_governor v2: L1 12K -> hot-feed per-role (lead 60K/sub 20K/wf 16K); L2/L3 6K/4K -> NO-CAP - engine G.4 + session-start 2.1.6 + session-end L.b(c): %-print 2-dau-phien - role-boundary: con-so = quyen chu-du-an (anh), AI thuc-thi + bao-%; sua framing lead-authority S81 - mark H-15 v2-delta anh-confirm RC-pqhuy1987-21-06-2026-01-58-01 - 2-process: IMPLEMENT em-main D9 + REVIEW wf_04667b25-5fa 3/3 PASS (3 MINOR fixed) - check-email STAGE 1+2 (notify verify ok) + email AI_INFRA (a749bb6bd1be) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
72 lines
8.2 KiB
Markdown
72 lines
8.2 KiB
Markdown
# adap-report — Harness-15-v2 (Tầng-1 hot-feed LỚN + L2/L3 bỏ-trần + %-print + ranh-giới vai-trò)
|
|
|
|
- **id:** 2026-06-21-Governance-harness-15-v2-hot-feed-update
|
|
- **source broadcast:** `ai_infra/broadcasts/outbox/all/2026-06-20-Governance-harness-15-v2-hot-feed-update.md` (`type: update` · `status: 🟢 ADOPT` · `supersedes_scope: tier-1-sizing-and-L2-L3-caps-only` · `content_sha256: e028537b…` · `reviewer_gate: PASS`)
|
|
- directed notify: `outbox/se/2026-06-20-ai_infra-to-se-harness-15-v2-notify.md` (inbox verify ✓ whole-file `0b92b3ed` + body `2e609781` MATCH)
|
|
- **adopted by:** se (SOLUTION_ERP) · **session:** S82 · **date:** 2026-06-21
|
|
- **protocol (Harness-9 PART-2):** IMPLEMENT em-main single-writer (D9) + REVIEW Workflow tách-biệt + report-with-run-id
|
|
- REVIEW `wf_04667b25-5fa` (3 free-text lane: floor-completeness · faithfulness · honesty-regression — KHÔNG ép-schema, bài học S73)
|
|
- **project-fit:** ✅ FIT — SE đã có Harness-15 gốc (S81): `token_governor` 3-tầng + `harness_floor` + `value_protect` + work-state block. v2 = delta tinh-chỉnh trên cái SE THẬT có.
|
|
|
|
## VERDICT: ✅ ADOPTED (delta) — re-verify CHỈ phần đổi, KHÔNG adopt lại từ đầu
|
|
|
|
H15-v2 chồng lên H15 gốc (mark Active-High `RC-…23-07-37` vẫn binding), `supersedes_scope = tier-1-sizing + L2/L3-caps ONLY`. Các sàn-chức-năng gốc (§G.1-G.3: đo-SÀN + 6 floor a-e + value_protect) **KHÔNG đổi**.
|
|
|
|
### 4 phần đổi đã áp (đối-chiếu broadcast §2-§6)
|
|
|
|
| # | v2 delta | SE áp (file:locus) | Nấc |
|
|
|---|---|---|---|
|
|
| 1 | **Tầng-1 = HOT-FEED LỚN** per-role, nạp-đầy 4 bucket | `memory-budget.json:token_governor.tier1_hotfeed_tokens` — lead **60K** / agent-ký-ức **20K** / agent-workflow **16K** (thay flat 12K) | executed-file |
|
|
| 2 | **L2/L3 BỎ TRẦN** (on-demand, no artificial tier-cap) | `token_governor.l2_ondemand`/`l3_rag` = `"NO-CAP"` (gỡ 6K/4K) | executed-file |
|
|
| 3 | **%-print 2 đầu-phiên** (composition + Headroom) | `session-start.md §2.1.6` (đầu) + `session-end.md §L.b(c)` (cuối) + `token_governor.pct_print` | executed-file (runtime mỗi phiên) |
|
|
| 4 | **Ranh-giới vai-trò** — con-số = quyền CHỦ-DỰ-ÁN/anh, AI thực-thi + báo-% | `token_governor.role_boundary_note` + engine `§G.4(4)` + 2 cmd-doc | executed-file |
|
|
| — | engine canonical | `harness-11-engine.md §G.4` (4 delta) + §G.1-line cập-nhật + bảng row + adopt-note S82 | executed-file |
|
|
| — | mark accuracy | `ACTIVE-MARKS.md` H-15 What-cell refine (giữ tier Active-High + RC-sig + tiêu-chí; chỉ đổi số literal stale) | executed-file |
|
|
|
|
### Tailored (FORM tự-do) — con-số SE tự-đo, KHÔNG mượn 220/60/50
|
|
|
|
- **🔴 Con-số bên-phát (lead 220K / mem-sub 60K / wf-sub 50K) = số HỌ tự-đo trên model+federation-scale của HỌ — SE KHÔNG áp cứng.** SE tự-đo-estimate theo scale riêng (single-project, Opus 4.8 1M window, sub MEMORY.md byte-capped 30720B): **lead 60K · agent-ký-ức 20K · agent-workflow 16K**. Nhỏ hơn AI_INFRA vì SE = 1 dự-án (không 6-project federation). Đây là **estimate có-chủ-đích KHÔNG byte-đo-cục-bộ-được**; %-print 2-đầu-phiên là cái cho composition THẬT để anh chỉnh.
|
|
- **SÀN-kiến-trúc (bắt-buộc):** Tầng-1 hot-feed-lớn (nạp 4 bucket, đừng mỏng) + L2/L3 on-demand bỏ-trần. **Con-số = tự-do theo scale.**
|
|
|
|
### Ranh-giới vai-trò — sửa framing S81 (điểm governance đáng-chú-ý)
|
|
|
|
S81 ghi "Numbers = LEAD-AUTHORITY hard-cap... NO AI may re-optimize". v2 §6 làm rõ: con-số = **quyền CHỦ-DỰ-ÁN (anh)**, KHÔNG phải AI-lead. Đã reframe: con-số = anh đặt; em-main (i) thực-thi đúng-số + (ii) báo-% 2-đầu-phiên cho anh quyết; em-main KHÔNG tự-tinh-chỉnh-số. Cùng tinh-thần mark `RC-…10-29-09` (AI = neo-lý-tính, anh quyết) + report-before-stamp DACI.
|
|
|
|
### Mark-update honest-flag (cần anh biết)
|
|
|
|
Mark Active-High `RC-…23-07-37` (H-15) có số literal "L1 12K/L2 6K/L3 4K" → stale sau v2. Em cập-nhật **tối-thiểu** What-cell (→ hot-feed-lớn per-role + bỏ-trần + anh-authority, ghi rõ "refine v2 §G.4 S82") + refresh volume "~42K" → **GIỮ NGUYÊN** tier Active-High + RC-signature + objective-criteria. KHÔNG mint RC-sig mới, KHÔNG đổi cấp (v2 = delta TRONG mark cũ, không phải quyết-định-governance MỚI). **Status cell flag "v2-delta S82 pending anh-confirm @session-end"** (honest: v2 adopt qua mandate AI_INFRA, chờ anh ký-duyệt P4 — KHÔNG present S82 là đã-anh-confirm). Hiển-thị + anh-confirm ở session-end §L.b(h).
|
|
|
|
## Honest nấc (G-011) + mechanized-vs-convention
|
|
|
|
- **executed-file** mọi edit (config + doc + cmd). **runtime** = %-print + hot-feed-fill chứng-minh mỗi phiên kế (§2.1.6 chạy từ phiên sau — ⚠️ command `.md` no hot-reload → **VERIFIED-pending-restart** cho phần cmd-doc; config JSON live ngay).
|
|
- **Nấc cơ-chế:** (1)(2) = **config mechanized** (token_governor số tách) · (3)(4) = **convention** (kỷ-luật người+AI: em-main nạp-đủ + báo-% + anh-quyết-số — KHÔNG công-cụ-ép). KHÔNG nhận "mechanized" cho kỷ-luật.
|
|
- **đánh-đổi honest (v2 §5):** Tầng-1 lớn = rot CAO HƠN trên always-loaded — chấp-nhận có-chủ-đích (quên-việc tệ hơn rot), KHÔNG "rot biến mất".
|
|
|
|
## Fan-out diff reconciliation (S82) — `/adap-apply all` 29 broadcast vs 22 adap-report
|
|
|
|
9 không-khớp exact-id → verify từng cái: **1 MỚI THẬT = H15-v2 (báo-cáo này).** 7 còn lại = đã-phủ (verify-not-redo):
|
|
- `checklist-harness-11` = verify-aid H11 (adopt S75) · `checklist-harness-9-10-v2` + `h10-flat-detector-refine` = S72 `harness-10-flat-refine-checklist-v2` · `checklist-harness-all` = verify-aid H6→H13 (rải S63-S79) · `harness-all-update-v-2-0` = PLAN-ANNOUNCE visibility-only (harness-14 report ghi SKIP n-a) · `checklist-harness-14` = harness-14 report ref `e96930da` · `harness-14-adopt` = source của `harness-14.md` (chỉ khác tên-file).
|
|
- `checklist-harness-15` = verify-aid của H15 (adopt S81, dùng làm completeness-gate) — dùng lại trong review v2 này.
|
|
|
|
## REVIEW verdict (Workflow `wf_04667b25-5fa`) — ✅ 3/3 lane PASS
|
|
|
|
3 reviewer độc-lập (free-text, agentType: reviewer):
|
|
- **floor-completeness: PASS** (1 MINOR, 0 CRIT/MAJOR) — cả 4 v2 delta PRESENT + WIRED; old key `l1_always/l2=6000/l3=4000/headline=42000` **REMOVED-confirmed** (grep 0); §G.1-G.3 byte-intact. *"genuine PASS, not a courtesy one."*
|
|
- **faithfulness: PASS** (1 MINOR) — số 220/60/50 KHÔNG mượn (label estimate SE-riêng); role-boundary reframe đầy-đủ (old "lead-authority" replaced, không giữ ngầm); honest_caveat khớp v2 §5; JSON valid.
|
|
- **honesty-regression: PASS** (0 CRIT/MAJOR) — mark RC-sig + tier + objective-criteria **preserved** (NO new-mint, NO tier-change); §G.2 6-floor + value_protect byte-identical; (1)(2)=config-mechanized · (3)(4)=convention **honest** (KHÔNG overclaim); session-start 2.1.5→2.1.6→2.2 sạch + session-end 8-item (a)-(h) nguyên.
|
|
|
|
**3 MINOR → ĐÃ FIX (review→fix loop):**
|
|
1. `ACTIVE-MARKS:18` volume "~42K" stale → refresh "SÀN 30K + Tầng-1 hot-feed per-role" (giữ luận-điểm volume).
|
|
2. Mark status "(anh-confirm S81)" mang nội-dung S82 → append "**v2-delta S82 pending anh-confirm @session-end**" (honest report-before-stamp: v2 adopt qua mandate, chờ anh ký-duyệt).
|
|
3. `_index` pending + inbox untracked → **STAGE 2 done** (move `inbox/ai_infra/` + flip processed).
|
|
|
|
**Reviewer memory-note (harvest):** `broadcasts/_index.md` sha = notify's **self-declared `content_sha256`** (frontmatter), KHÔNG recompute full-file → đừng flag "mismatch" trước khi đọc frontmatter field.
|
|
|
|
## Self-check (broadcast §"Dành cho dự-án")
|
|
|
|
- [x] re-verify CHỈ phần đổi (1)(2) + tool (3)(4) — KHÔNG làm lại sàn-chức-năng gốc H15
|
|
- [x] 2-process: IMPLEMENT (em-main D9) + REVIEW (workflow tách-biệt run-id)
|
|
- [x] con-số tự-đo theo scale SE (KHÔNG mượn 220/60/50)
|
|
- [x] kiến-trúc = SÀN, con-số = tự-do (honest)
|
|
- [x] tự ký-duyệt: anh-confirm S82 `RC-pqhuy1987-21-06-2026-01-58-01` (report-before-stamp ✓)
|