[CLAUDE] Docs: S179 closeout — va doi STYLE 2 vong (C7 bat 2 MAJOR trong chinh ban va) + H24 9 FLAG + drift-audit thang
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Has been cancelled

SUA-1..6b tron 6/6, acceptance C1-C6b 12/12. Vong-2 sua chinh vong-1 sau reviewer C7 (PASS-WITH-8, 3 MAJOR):
- Doi ba-cham -> hai-cham la REGRESSION co dieu-kien, KHONG phai cosmetic: chi tuong-duong khi origin/main
  con ancestor; cay phan-ky thi hai-cham liet ca file CHI CO tren origin/main (= DA PRODUCTION) vao "phan MOI".
  Thu pham that = git diff mu untracked. Sandbox 2 chieu CONFIRMED.
- git status --porcelain | cut -c4- de path RAC (rename in MOT dong "R old -> new"; path co dau cach bi quote).
  Sandbox: 2/2 MISS; thuoc moi 2/2 OK.
- Thuoc CHOT 4/4 site: { git diff --name-only origin/main...HEAD; git diff --name-only HEAD;
  git ls-files -o --exclude-standard; } | sort -u

Bai: chan-doan sai VAN pass acceptance — acceptance do HINH-DANG chuoi, khong do HANH-VI.

Lop mo-neo TU-VO-HIEU: con-tro so-dong tro vao CHINH tep chua no tu thoi moi lan sua dau tep
(112->118->121 trong 1 phien) => neo TEN, khong neo SO DONG. Ap cho index.css, gotchas.md, PipelineStageFolders.
Con-tro verbatim _mind doi ve commit DA PUSH (ee21056/d081681) — ban truoc tro 727a512 nam trong dai squash
=> tu de con-tro mo-coi.

H24 light-audit 9 FLAG, flush 8 o canonical: Mig 71->72 - Gotchas 86->87 - Tests 644->645 (chay that
dotnet test: 45 Domain + 600 Infra, 0 fail) - user-mem 59->60 - header S168->S179 - roster 23->26 (go han so
theo B1) - HANDOFF dong 4 slot (68)-(71) + E4.

"So noi doi theo huong BI QUAN" x3 ca/1 phien (4 slot - E4 - run.md S173) => leo thang lan 3 phai DO LAI TIEN-DE.

Kem: 2 NO vong-3 - 2 synthesis ORPHAN (run-chua-gom 2->0) - di-tru cua-so 6 vao _context - keo+ap 2 thu
loi-do-luong (BAC Lop 8 CO SO: mtime cum SE 0,7% vs hub 69%) - drift-audit thang PASS_WITH_FLAGS-8 (va 2, con 6)
- _mind 99,67%->84,2% - don 9 dir rong - archive-gate strike 1/2.

#53: 4/4 vai garble return dau, vot tron 4/4 bang resume-in-session. Mat 0 byte.

0 file code nghiep-vu. Build 2/2 app PASS. Test 645/645.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
pqhuy1987
2026-08-07 12:25:55 +07:00
parent 65f73a96c9
commit 57e672f71f
37 changed files with 621 additions and 241 deletions

View File

@ -1166,13 +1166,13 @@ for h in resp.points: # ← .points không phải iterable trực tiếp
**Triệu chứng:** Header chi tiết NV (`app-gradient-brand` nền gradient xanh) `<h2 className="text-white">` render **ĐEN `#0b1220`**, trong khi `<div className="text-white">` (dòng meta cùng banner) render trắng đúng. Anh UAT báo "màu đen nhìn không nổi bật" chính xác, code ghi `text-white`.
**Cơ chế:** `fe-user/src/index.css:79` `h1,h2,h3,h4 { color:#0b1220 }` viết **thô, NGOÀI mọi `@layer`** (thêm S65 #290 "darker ink"). Tailwind v4: CSS unlayered priority **CAO HƠN tất cả `@layer`** (kể cả `utilities`) `text-white` (trong layer utilities) THUA. `<div>` không bị rule element này nhắm nên `text-white` thắng nghịch meta-trắng / heading-đen cùng 1 banner.
**Cơ chế:** `fe-user/src/index.css` khối `h1, h2, h3, h4 {` (🔴 **neo theo TÊN, KHÔNG theo số dòng** số này đã thối 2 lần trong CÙNG phiên S179: 798589 header đầu tệp bị thêm dòng. Đo: `grep -n '^h1, h2, h3, h4 {' fe-user/src/index.css`) `h1,h2,h3,h4 { color:#0b1220 }` viết **thô, NGOÀI mọi `@layer`** (thêm S65 #290 "darker ink"). Tailwind v4: CSS unlayered priority **CAO HƠN tất cả `@layer`** (kể cả `utilities`) `text-white` (trong layer utilities) THUA. `<div>` không bị rule element này nhắm nên `text-white` thắng nghịch meta-trắng / heading-đen cùng 1 banner.
**Guard:** (1) **User báo màu render ≠ class trong code ⟹ NGHI ngay rule CSS priority cao hơn** (unlayered element / `!important` / global) grep `index.css` rule element TRƯỚC khi tin utility. (2) Ép utility thắng = **important modifier Tailwind v4 trailing-bang** `text-white!` compile `.text-white\!{color:…!important}` (**verify bằng grep dist CSS** đừng tin suông). (3) **KHÔNG move rule unlayered vào `@layer base` nếu load-bearing** đo blast-radius `grep '<h[1-4][^>]*text-'`: rule này đang ép ~30+ heading toàn app về `#0b1220` (chúng gắn `text-slate-700/900/brand-800` nhưng bị override) move = đổi màu loạt giữa UAT. (4) Authed page không screenshot dev-rig (gotcha #3) visual gate = anh mắt thường qua deploy prod.
**Credit:** em main solo S68 anh UAT realtime ("chữ đen nền xanh ko nổi bật") diagnose unlayered heading rule `text-white!` + thu nhỏ `text-lg` grep dist confirm `!important` Run #304 PASS, x2 app SHA256.
**References:** `fe-user/src/index.css:79-83` (h1-h4 unlayered) · `fe-{user,admin}/src/pages/hrm/EmployeesListPage.tsx:653` (h2 name `text-white!`) · Tailwind v4 layer precedence · gotcha #3 (authed screenshot).
**References:** `fe-user/src/index.css` khối `h1, h2, h3, h4 {` (unlayered; 🔴 neo TÊN xem chế, số dòng thối 2 lần @S179) · `fe-{user,admin}/src/pages/hrm/EmployeesListPage.tsx:653` (h2 name `text-white!`) · Tailwind v4 layer precedence · gotcha #3 (authed screenshot).
---