wal: flush 20260809T2218

This commit is contained in:
pqhuy1987
2026-08-09 22:18:22 +07:00
parent 8f1cacc4a9
commit 93173099fe
23 changed files with 922 additions and 13 deletions

View File

@ -59,3 +59,7 @@ Prod: `ssh vietreport-vps` powershell-wrapper — ⚠️ **SSH session DIES khi
## 🔄 Curate log
- **S180 (08-07):** hook hard-cap 24.9→~13KB — S171/S160/S157/S156/S155×2/S149/S152/S158/S175 entry-dài + context-blocks verbatim → `archive/2026-08-curate-s180.md`; mọi entry → 1-line.
- **S155 (07-27):** 20.7→~17.1KB gộp S122-S141. · **S148 (07-23):** 28.2→~14KB. · **Prev:** S125/S71/S70/S40. Verbatim byte-exact ở `archive/`.
- **S182 (08-08) ×Fable KHKK AWF mirror NCC — **lens DB + lens FE** `[LEAD SEED ON-BEHALF — nguồn `runs/2026-08-08-S182-khkk-awf-mirror-ncc/sub-invest-db-fable.md` 18.097 B + `sub-invest-fe-fable.md` 13.916 B; entry S182 sẵn có chỉ phủ lens **BE**]`:** 🔴 **2 quả bom cùng một gốc `per-TYPE`:** panel `ContractSigningPlan` **GIẤU 7/8 workflow nhóm** vì BE `Active = FirstOrDefault(IsActive)` per-type (`ApprovalWorkflowV2AdminFeatures.cs:210`, tie-break Version DESC **không xác định** giữa 8 bản v1) · và bấm "Tạo quy trình mới"/"Lưu + kích hoạt" cho BẤT KỲ mã type-10 ⇒ `IsActive=false` **CẢ 8 nhóm** (`:339-343`; seeder idempotent per-Code `:610` **skip**, không re-set). 🔴 **committed-but-unapplied-local:** Mig 72 trên đĩa từ 08-06 mà **cả Dev lẫn Design local dừng ở Mig 71**. **Vắng dữ liệu ≠ bug:** seeder KHKK resolve người duyệt **theo EMAIL cứng** (11 email prod `DbInitializer.cs:556-584`) ⇒ DB thiếu user thì workflow RỖNG 0 bước vẫn tạo + log warning — designer local thấy 8 workflow trống người là **ĐÚNG**. Memory cũ S155 *"WF-V2 KHÔNG có lệnh Update"* đã **STALE** (`UpdateAwDefinitionCommand` đã land). 2 bộ luật song song cùng file (`HaveSequentialOrders` chỉ chạy path Create ⟂ Update dùng guard riêng) = drift-risk. Route `/system/approval-workflows-v2` **KHÔNG PermissionGuard** (`App.tsx:79-80`) — gotcha #82 2 tầng. Tag `[s182, lens-db-fe, bom-per-type, giau-7-tren-8, committed-but-unapplied-local, vang-du-lieu-khong-phai-bug]`
- **S185 (08-09) lane5 measure run YC-017 `[LEAD PLACEMENT (a) @S185 — nguồn `.claude/workflows/runs/2026-08-09-S185-email-adap-pipeline/sub-opus-lane5-measure.md` 27.979 B]`:** 4/4 đo có số kèm lệnh tái-lập (Lớp 2·4·9 thư 08-05 · tier-qua-resume 4.2 · master-checklist ô1/ô2 + sàn-2 · completeness-pass ~10 report). 🔴 Bắt **tiền-đề C-17 STALE ngay trong lúc đo** (`vocab-alias-map.md` tồn tại 8.020 B mtime 07-22 ⟂ checklist ghi "chưa tồn tại") — độc-lập với lane3, 2 lane cùng bắt 1 lỗi = corroborate. Luật mới: khi **2 tệp đang bị sửa song song lúc đo** (lane khác cùng wave) ⇒ mọi số-dòng PHẢI kèm mốc giờ đo, không thì số chết ngay khi lane kia land. Tag `[s185, do-kem-lenh, corroborate-2-lane, so-dong-kem-moc-gio]`