سامانه صدور فاکتور و حسابداری

docs(phase0): log F0-06 dark contrast verification scope before code

davoodmehraban89 committed Oct 12, 2026 at 10:54 UTC bc06dd56f3848cd7423586420d91fdf6d0d86771
1 file changed +8
PROJECT_STATE.md
+8
@@ -301,3 +301,11 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
301 - **Independent controlled regression:** corrected PR head `72a69b372ef59ffbb7dddebf81d64304b3559b04` Quality `38212287209` SUCCESS (83/83 real Chromium, includes *formal draft* preview+isolated iframe without watermark, subtotal/number retained, draft state and zero vouchers, pro-forma print; Golden financial invariants and 3 disposable DB jobs PASS); Security `38212287223` SUCCESS. Initial static CI failed because its historic assertion **required** the old watermark; intentionally inverted to disallow watermark without relaxing posting safeguards, then retested green.
302 - **Same merged-main SHA production gate:** Quality **`38212519911`**, Security **`38212519908`**, Release **`38212644579`**, gated Pages **`38212680498`** all SUCCESS. Skipped/cancelled concurrent duplicates not counted. On connected authorized remote Windows device, real domain HTML references exact `20261012-clean-invoice-print-v1` bundle; fetched live JavaScript has `stageInvoicePrint(containerHtml,spec)` and **no `draftMark`**. No owner login, actual tenant invoice or physical printer test made.
303 - **Acceptance status:** F0-04 **FIX RELEASED / CONTROLLED QA PASS / LIVE BUNDLE VERIFIED**, but **OWNER-AUTHENTICATED REPRINT STILL OPEN**. Phase 0 as a whole remains OPEN; F0-01 affected-ISP login, F0-02 real tenant lookup, F0-03 safe-scoped actual Supabase persistence, F0-06 broader UI, F0-07 role isolation and F0-08 old PR final disposal retain their previous gates. Next: owner reprints same existing invoice with browser hard refresh and confirms no watermark/unchanged totals; continue remaining Phase 0 read-only checks without waiting to build new modules.
304 +
305 +
306 +## 2026-10-12 Phase 0 F0-06 follow-up — owner-directed continuation / DARK-MODE READABILITY SLICE STARTED
307 +- **Latest instruction:** Continue completing the approved Finora phases. Do not promote Phase 0 until real-owner authentication/catalog/save/print and permission acceptance are actually passed. Source canonical protected main at kickoff `9e9e35cd96d294e6f6ad875a45de94a1f968e5d8`, after print fix #90 and its docs evidence #91. GitHub exact-head Quality `38213083866`, Security `38213083815`, Release `38213219253`, Pages `38213261477` all SUCCESS. Supabase `hcsixhqbyuhpshfwqpjx` ACTIVE_HEALTHY, 81 migrations (latest `20261011174445 posted_source_idempotency_index`).
308 +- **Independent safe work chosen:** `F0-06` — verify and correct dark-mode readability (buttons/panels, inputs, typography and organizational shell surfaces) based on current runtime and stale unmerged contrast PR #57 as reference, **without merging old PR** or altering shell scroll geometry, invoice business rules, underlying data, or database. `js/ux-hardening-r2.js` currently sets dark root colors yet leaves `.accordion-item` white and `.btn-secondary` pale background inheriting light foreground; potential contrast mismatch to be independently tested with Chromium computed colors. UX owns targeted visual contract, QA owns browser contrast assertions.
309 +- **Bounded implementation:** add controlled Playwright dark-mode contrast/restore regression to required Quality suite, verify before/after computed color contrast (WCAG normal-text 4.5:1 where appropriate); change theme styles only if failure reproduced; bump `index.html` bundle version; run static/GitHub Quality+Security, merge reviewed PR and verify exact protected-main release. Protect ordinary light theme and previously published printable invoice. No real tenant/browser, physical device screenshot, or owner visual acceptance is implied by controlled tests.
310 +- **Restrictions:** no Auth/RLS/roles/schema, production financial data/postings, migration, financial cutoff, account creation, external costs, or unreviewed #57/#39/#40 merges. Rollback: targeted PR revert and Pages gated redeploy. **Phase 0 remains OPEN** for F0-01/02/03/04/07 and owner F0-06 UI review.
311 +- **Status:** SPECIFIED / REGRESSION AND SOURCE REVIEW IN PROGRESS.