From e3d9f79cc8964d41067cf8fab879580318f1c6e3 Mon Sep 17 00:00:00 2001 From: pqhuy1987 Date: Fri, 14 Aug 2026 03:32:44 +0700 Subject: [PATCH] wal: flush 20260814T0332 --- .claude/WAL.md | 7 ++-- .../sub-implementer-backend-3.md | 13 +++++++ .../sub-implementer-backend-4.md | 17 +++++++++ .../sub-implementer-frontend-4.md | 36 +++++++++++++++++++ 4 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 .claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-3.md create mode 100644 .claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-4.md create mode 100644 .claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-frontend-4.md diff --git a/.claude/WAL.md b/.claude/WAL.md index ddc44eb2..b7a9f219 100644 --- a/.claude/WAL.md +++ b/.claude/WAL.md @@ -36,8 +36,11 @@ chain: [x] G1 ĐÓNG TRỌN. wf_908732cc-e2b: FE gỡ draftData:null (0 hit, control-dương 10) + helper contractDraftData.ts ×2 sha-trùng, nối POST:378/PUT:615 · BE vá regression bằng BuildDraftData bọc lược đồ (79 dòng) + validator · office RỚT KẾT NỐI ⇒ LEAD tự làm nốt [x] lead làm nốt phần office rớt: sinh form-002-03-structure.md 42.085B + form-002-04-structure.md 8.495B (thước gộp w:t trong w:p) · vá DbInitializer 2 lỗ CÙNG CHỖ: template 002.02/03 trỏ SAI loại cũ ⇒ dropdown Mẫu sẽ RỖNG sau tách (B-5) + thêm nhánh RECONCILE cho row đã tồn tại (IsActive theo file có thật + ContractType), hết phải chạy SQL tay [x] ĐO SAU G1: build 0 error · test 697 PASS · npm build ×2 sạch · 3 cặp file sha256 TRÙNG -[!] wf: wf_5aa55a4e-065 G2 — tách kiến-trúc NỘI DUNG ⟂ RENDER để 2 lane không đụng file: impl-fe xuất data BodyDoc/BodyNode (91 ô 002.02) · frontend-designer dựng ContractBodyView + nối ContractCreatePage ×2 -[ ] sau G2: G3 pre-fill 13 ô (đổi C4 sang pe.DiaDiem vì Project.Location 93% rỗng) → G4 print CSS + khoá bất-khả-đảo → G5 reviewer + style ×2 + cicd + DEPLOY prod +[x] G2 XONG. wf_5aa55a4e-065: data ×2 app (002.02 36 slot/2 bảng/5 điều · 002.03 46/6/6 · PHẦN 2 5 điều read-only) + ContractBodyView.tsx 42.640B ĐÃ render thật trong form (chú thích tại chỗ: đặt giữa Header và Chi tiết, +nút Lưu thứ 2 ở chân vì bản 7 trang). Ô LẶP chung key ĐÚNG: ben_b_ten×3 · so_hd/hang_muc/dia_diem/ben_b_dia_chi ×2 +[x] lead vá sau G2: lane chỉ tạo ContractBodyView ở fe-user ⇒ LỆCH cặp; đã mirror + đồng bộ ContractCreatePage ⇒ 3/3 cặp TRÙNG sha256 · tsc --noEmit exit 0 ×2 (build 470ms là incremental, KHÔNG tin — ép tsc riêng) +[x] control-dương nội dung PHẦN 2: 5/5 cụm khớp file gốc ⇒ chữ THẬT không bịa (33 khoan + 5 dieu) +[!] wf: wf_b04efcd7-366 G3+G4 — pre-fill (đổ ô từ Supplier/Project/PE, dùng pe.DiaDiem vì Project.Location 93% rỗng, ô nguồn rỗng thì BỎ QUA không ghi '') · khoá bất-khả-đảo (Mig AddContractSealedAt + guard 2 cửa + TEST-BEFORE 2 ca) · print CSS (ô in ra thành đường kẻ, không phải khung input) +[ ] G5 cuối: reviewer + style FE/BE + cicd + DEPLOY prod cho anh test [ ] sau G1: G2 document-view (PHẦN 1 riêng ×2 + PHẦN 2 chung cuối) → G3 pre-fill → G4 in+khoá → G5 verify/deploy [ ] sau review: lead tổng hợp → fan-out Opus 5 MAX thi công theo wave [!] 7 câu (90)-(96) CHỜ CHỦ DỰ ÁN — 0 đáp; nhà CANONICAL = docs/HANDOFF.md khối (90)-(96) diff --git a/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-3.md b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-3.md new file mode 100644 index 00000000..2f54d99d --- /dev/null +++ b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-3.md @@ -0,0 +1,13 @@ +# sub-implementer-backend-3 — lane PRE-FILL (G3, YC-032) + +> Run: `2026-08-13-S194-yc032-hd-thauphu-2form` · vai: implementer-backend +> VIỆC: đổ sẵn ô kế thừa vào `Contract.DraftData.body` khi HĐ sinh từ cầu KHKK. +> FILE SỞ HỮU: `src/Backend/SolutionErp.Application/ContractSigningPlans/CreateContractFromSigningPlanFeatures.cs` + +## Trạng thái: ĐANG CHẠY (append dần, KHÔNG gom cuối) + +--- + +## LƯỢT 1-2 — scaffold + đọc nguồn + +(đang đọc key ô + file sở hữu) diff --git a/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-4.md b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-4.md new file mode 100644 index 00000000..b2d47960 --- /dev/null +++ b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-backend-4.md @@ -0,0 +1,17 @@ +# sub-implementer-backend-4 — G4 KHOÁ BẢN CỨNG (một chiều, bất-khả-đảo) + +> Run: `2026-08-13-S194-yc032-hd-thauphu-2form` · lane: KHOÁ (lane-4) +> Owner-quote (YC-033): *"đc upload có quy trình duyệt riêng → duyệt nhanh thôi nhưng đã chốt rồi ko sửa đc (bảng cứng đã ký — giấy trắng mực đen upload thì làm sao sửa)"* + +## Trạng thái: ĐANG CHẠY (khung rỗng, append dần) + +## 0. Kế hoạch +- [ ] P0 đo hiện trạng (baseline test, file sở hữu, guard sẵn có) +- [ ] P1 TEST-BEFORE 2 ca → chạy phải ĐỎ +- [ ] P2 Domain +2 cột + EF config + migration `AddContractSealedAt` (3-file) +- [ ] P3 Set-1-lần `??=` ở upload SealedCopy +- [ ] P4 Guard 2 cửa (xoá attachment · sửa HĐ) +- [ ] P5 DTO `SealedAt` +- [ ] P6 build + test XANH + khai số + +## 1. Ghi chép (append) diff --git a/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-frontend-4.md b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-frontend-4.md new file mode 100644 index 00000000..22177108 --- /dev/null +++ b/.claude/workflows/runs/2026-08-13-S194-yc032-hd-thauphu-2form/sub-implementer-frontend-4.md @@ -0,0 +1,36 @@ +# sub-implementer-frontend-4 — G4 ĐƯỜNG IN (print CSS cho ContractBodyView) + +> Lane: implementer-frontend (slot 4). Run: 2026-08-13-S194-yc032-hd-thauphu-2form. +> Kỷ luật chống-#53: ghi khung ở lượt 1, **APPEND sau MỖI đơn vị việc** (khung rỗng = CẦN, KHÔNG ĐỦ — bài S171). + +## §0 — Tiền đề đo từ đĩa (trước khi gõ) + +(đang đo) + +## §1 — Đọc file đích + xác định điểm cắm + +(chưa chạy) + +## §2 — Thiết kế print (ngắt trang · ô điền · A4) + +(chưa chạy) + +## §3 — Sửa fe-admin + +(chưa chạy) + +## §4 — Mirror fe-user + sha256 pair + +(chưa chạy) + +## §5 — Build ×2 + control-âm + +(chưa chạy) + +## §6 — KHAI (ngắt trang thế nào · ô trống in ra hình gì · cái CHƯA nghiệm thu) + +(chưa chạy) + +## §7 — Nợ / FLAG cho lead + +(chưa chạy)