Files
solution-erp/docs/governance/adap-reports/2026-07-15-Governance-do-token-that-khong-can-api-key.md
pqhuy1987 010d12c5f8 [CLAUDE] Docs: S125 adap tien-de-vong4 — relabel token CAN-TREN + hash-verify byte-safe + dinh-chinh hub + fable-real review/invest checklist
- adap broadcast phuong-phap-dem-token (type:new): negative-control tai lap 3-probe (notice-N = heuristic char-dem, KHONG phai token that) -> relabel STATUS:41 + HANDOFF:5 x2 + do-token report ADDENDUM (dai [31K byte/4 - 70,9K notice] => lead-share [8,2-18,7]%)
- false-TAMPER RCA: PS5.1 Get-Content -Raw doc UTF-8-no-BOM bang ANSI -> va check-email/send-email byte-safe + verifier-suspect-first; stamp hub verify OK bang stamp_verify.py (exit-0)
- email dinh-chinh hub (58f5afd8, selftest exit-0 x2) + adap-report + adap-request hash-verify-byte-safe-decode + FYI 2 broadcast no-stamp
- STAGE-2: git mv 7 broadcast processed -> inbox/ai_infra/ (root sach)
- fable-real review+invest (vai compound reviewer+inv-cb): run-trace + spec 3-muc + checklist A-D cho hmw @Opus 4.8 MAX; va stale all-inherit fable-real.md:37 + fable-clone.md:43
- hook-curate inv-cb MEMORY 23,9->16,9KB moved-not-cut (14 dong + 2 digest -> archive/2026-07.md)
- h18 memory +sibling-test-2-chieu; monitor self-compact S125-start + counter tick=4

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 13:29:43 +07:00

29 lines
3.4 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.

# adap-report — do-token-that-khong-can-api-key (SE, S124)
- **broadcast:** `2026-07-15-Governance-do-token-that-khong-can-api-key` (type:new, draft, NOT-adopt — METHOD)
- **nấc (G-011):** **executed (method applied + measured)** · ĐỔI budget-số = **owner-gated (defer)**
- **reviewer_gate:** `wf_184f32e2-9da` PASS_WITH_FIXES (F2 fix: STATUS 26075→70892 corrected).
## Method applied
Read TRỌN mega-file (no offset/limit) → harness truncation in **real-token-N của TOÀN tệp** (N>cap ⇒ toàn-tệp; free, no-API). Highly-relevant SE: `token_governor` TOÀN char/4 + byte/3.0-3.5.
## Measurement (real-token, verified S124)
| file | byte | byte/4 ước cũ | **real-token (harness)** | lệch | % 380K lead | paginate? |
|---|---|---|---|---|---|---|
| STATUS.md | 124,503 | ~31,126 | **70,892** | **2.29× dưới** | 18.7% | ❌ 1 mega-line 69,870 char |
| HANDOFF.md | 60,628 | ~15,157 | **32,254** | 2.13× dưới | 8.5% | ❌ |
| **total** | | ~46K | **103,146** | | **27.1%** | — |
## 🔴 Honest — do-token failure-mode NGAY khi adopt (reviewer F2)
- Bản plan lead lượt đầu ghi STATUS = **26075** (folded-CHUNK count, vi-phạm §5 "Read TRỌN") — SAI **2.72×** so real 70892. = đúng bẫy "nhãn 'đã đo' thay việc-đo" (§4) committed IN THE ACT of adopting do-token. **Reviewer L3 tự đo bắt được → em re-verify (70892 confirmed).** Bài-học meta: lesson-trong-context KHÔNG tự chặn; reviewer/đo-lại mới chặn.
- Audit SE "measured" constant: `harness_floor.measured_token_estimate=55K` **tự-khai "honest mid estimate (~19K byte-measured + ~36K harness-injected-EST)"** = ~65% est — self-labeled ESTIMATE (KHÔNG như hằng-số hub tự-dán "empirical"). NOT as bad, nhưng vẫn = candidate re-measure.
## Owner-decision surface (KHÔNG apply)
- 2 mega-file = **27% budget lead always-on + KHÔNG paginate được**`[carry:retier-megaline]` **materially urgent hơn** byte/4 tưởng. Re-tier mega-line / ĐỔI budget-số (`tier1_hotfeed` 380K · `harness_floor` 55K · `crystallized_backfill.target` 210K) = **owner-authority** (`role_boundary_note` + mark `…01-58-01`) → **chờ anh**. Em CHỈ đo + báo.
- ĐỀ-XUẤT (nếu owner muốn): net "assert measured-constant BAO real-measure" chạy lúc load (hub §4 lưới rẻ nhất) — owner-gated.
- 0 prod-code, 0 mig, 0 auto-tune số.
## ⚠️ S125 ADDENDUM — RELABEL (supersede nhãn "real-token", 2026-07-16)
Broadcast kế tiếp của hub (`2026-07-15-Governance-phuong-phap-dem-token-tien-de-vong4`) + **negative-control SE tự chạy** (S125, 3 probe scratchpad: `'a'×150K` → notice "150,006 tokens" ~**1,0/char**; `'x'×150K`**150,006 Y HỆT** = content-independent; mixed-random 150K → 143,251 ~0,955/char — tokenizer thật nén chuỗi lặp ≪0,1/char) ⇒ **notice-T = heuristic họ-đếm-ký-tự, CẬN-TRÊN bảo-toàn — KHÔNG phải "real-token"**. Mọi nhãn "real-token (harness)" trong report này đọc là **"notice-T cận-trên"**; số đúng = **DẢI [byte/4 — notice-T]**: STATUS [31.12670.892] (lead-share [8,218,7]%), HANDOFF [15.15732.254], tổng [46K103K] = [1227]% cận-trên. Quy tắc dùng: **dừng-rót khi CẬN-TRÊN chạm 100% trần** (KHÔNG đảo thành "còn dư ×2"). Chi tiết + evidence: adap-report `2026-07-15-Governance-phuong-phap-dem-token-tien-de-vong4.md`.