[CLAUDE] Docs: S74 closeout — Mig 55 PE "Ghi chú từ CCM" (STATUS/HANDOFF/session-log + agent-memory harvest)
- STATUS + HANDOFF: S74 entry (Mig 55 CcmNote, test 334->339, "0 het CCM"=role-gate khong bug -> UAT bang CostControl/Admin) - cicd Run #315 PASS ~4m54s: Mig 55 applied prod (CcmNote nvarchar 1000 nullable), sys.tables 88, smoke 4x200; bundle admin BYF5vIMJ / user CB-tiRxd - session log 2026-06-18-S74-pe-ccm-note.md (chan doan + 2 fork + lessons) - agent-memory harvest: implementer-frontend (FE mirror) + test-specialist (5 test §4b + L1 curate ->24.6KB + archive activity-s51-s52) + cicd-monitor (Run #315) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -6,8 +6,8 @@
|
||||
|
||||
---
|
||||
|
||||
## 🆕 S73 (2026-06-18) — Mig 54 PE giá đề xuất (anh Kiệt FDC) [harvest từ cwd-misland stray]
|
||||
4 file ×2 app: PeWorkflowPanel.tsx (em main fe-user → cp fe-admin) · PeDetailTabs.tsx (+`SuggestedPriceRows` comp: PRO Min/Max + CCM `VndInlineEdit` + dòng "giá chốt duyệt" khi DaDuyet, dưới "c. Giá chào thầu" trong ChonNccSection) · types/purchaseEvaluation.ts (+7 field sau `ceoApprovalThreshold`). **⚠️ LESSON: types 2 app DIVERGE pre-existing (Color records fe-user -800/brand vs fe-admin -700/blue) → NEVER cp types file, chỉ edit từng dòng.** Pattern: money input reuse `VndInlineEdit({initial,onSave,saving,label})` + mirror budget PRO/CCM mutation cho `/suggested-price/pro|ccm` (dual-field echo unchanged side). Role-gate only (canEdit* BE-computed), no phase-gate. Build PASS ×2.
|
||||
## 🆕 S73b (2026-06-18) — PE budget "Ghi chú từ CCM" mirror ×2 app (anh Kiệt FDC)
|
||||
Thêm dòng "Ghi chú từ CCM" trong panel TỔNG HỢP NGÂN SÁCH TRÌNH KÝ (`PeBudgetSummaryTable`), mirror y hệt "Ghi chú từ PRO" nhưng gate `canEditCcm` + `ccmNoteText`/`setCcmNoteText` + save qua `ccmMut`. 2 file ×2 app: types/purchaseEvaluation.ts (`PeBudgetSummary` +`ccmNote:string|null` sau `adjustmentAmount`) + PeDetailTabs.tsx (state mirror proNoteText + `ccmMut` body type +`ccmNote` + **2 call-site echo `ccmNote:bs.ccmNote`** Ban hành+Hiệu chỉnh — endpoint `/budget/ccm` ABSOLUTE-SET cả 3 field, thiếu=null=CLEAR + block mới chèn SAU dòng V0/hiệu chỉnh TRƯỚC Ngân sách PRO, group CCM rows). **LESSON xác nhận S73: budget-table region 2 app byte-IDENTICAL → block mới mirror identical (diff awk-PeBudgetSummary + diff sed-region đều IDENTICAL). PeBudgetSummary type block 2 app identical (KHÁC PeDetailBundle Color-records divergence) → an toàn edit cùng content.** Build PASS ×2 (admin 1945mod `index-CCPIU9Wr.js` / user 1934mod `index-j5Zh9w96.js`, 0 TS err). NO ambiguity, full precedent. KHÔNG đụng BE (DTO `ccmNote` + endpoint body = em-main song song).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user