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

docs: record exact-sha Phase 0 reload and Pages navigation release evidence and remaining gates

davoodmehraban89 committed Oct 15, 2026 at 21:08 UTC 72347467e49a7d870e892c9726e4e7a356d9505c
1 file changed +9
PROJECT_STATE.md
+9
@@ -752,3 +752,12 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
752 - **Hardened Pages differential COMPLETED and PASS on first test head `3f42dc353eaf4398e2a5dabcfe0cfd0145f36f6c`:** Quality [`38777091455`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38777091455) SUCCESS; Security [`38777091429`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38777091429) SUCCESS. Static Quality job `116567441821` reports **121/121 Playwright Chromium PASS**, specifically `scripts/pages-artifact.spec.js:147` test `Published Pages CSP event bindings open Commerce and the top-bar sales invoice menu` PASS; all three D1/C8/identity disposable DB jobs PASS. Tested generated CSP-safe button handlers in built `_site` with synthetic license, from Accounting through Commerce, then topbar Quick Create > Sales Invoice, including panel, dropdown and aria state, with no real data/production writes.
753 - **Triage decision:** no confirmed client-side navigation/CSP wiring defect. Both real signed-in TinyFish runs were unable to navigate to invoice form, but the actual hardened artifact demonstrates button handlers and UI change work in isolated Chromium. Distinguish **agent automation interaction blocker** from production end-user behavior. Do **not** loosen CSP, adjust finance modules, or patch navigation without credible real user repro; F0-02 real-account product/contact selectors remain **NOT VERIFIED**. Keep owner-ISP fresh sign-in acceptance and encrypted backup/live isolated restore OPEN. Rollback for this test-only change: revert PR, no DB changes.
754 - **Release gate:** await exact final PR head checks and protected-main Pages promotion; no product source change means no functional regression introduced, but tests must remain in main.
755 +
756 +
757 +### 2026-10-15 Phase 0 saved-session & hardened Pages navigation QA — FINAL VERIFIED RELEASE
758 +- **Owner requested continued work / task complete for current bounded slice:** Saved test/work account warm-session four-cycle read-only TinyFish [run `b92edc28-63ed-40cc-9052-e1b539399738`](https://agent.tinyfish.ai/runs/b92edc28-63ed-40cc-9052-e1b539399738) 4/4 PASS: dashboard consistently available, no reauthentication, no spinner, badge `وضعیت اشتراک : نامحدود`. Browser-reported approximate 2–3s initial and 1–2s reload are NOT external performance benchmarks, and **affected owner ISP fresh login remains OPEN**.
759 +- **Two separate read-only real-account F0-02 navigations:** test/work TinyFish `3583d6a5-196a-42ed-ba47-727021d9a224` did not reach Sales Invoice through Commerce tab; `f95fad51-50a6-41e7-bfd2-338ed706d59a` saw Quick Create control but did not see its menu expand. Neither reached product/contact selectors; actual real-account search **NOT VERIFIED**. Both runs made no financial writes. Do not interpret browser agent's failure alone as a proven client defect.
760 +- **Development-source test release:** [PR #148](https://github.com/davoodmehraban89/Factor-easy/pull/148), merge SHA `e544127a8a4fbc062c1c8d3b4595ef9877793c4a`, Quality `38776168331` SUCCESS, Security `38776168144` SUCCESS, Release gate `38776599946` SUCCESS, Pages `38776694944` SUCCESS. Synthetic Chromium source navigation from Accounting → Commerce → Products → Invoice passes.
761 +- **Production-hardened Pages differential test released:** [PR #150](https://github.com/davoodmehraban89/Factor-easy/pull/150), merge SHA `928493f695eef8b5b6facbdca85dc96f3c9f67d9`. Added synthetic Chromium test `Published Pages CSP event bindings open Commerce and the top-bar sales invoice menu` against generated `_site` CSP-safe event handlers, with actual button clicks, quick menu aria toggle and invoice-page navigation. 121/121 Chromium tests PASS in QA job `116567441821` at initial test head; final PR head `64eb58adfdcd35f907fd2afe883fd3d4f2c90b98` Quality `38777656678` SUCCESS, Security `38777656686` SUCCESS. Exact protected main merge Quality [`38778221013`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38778221013) SUCCESS, Security [`38778220937`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38778220937) SUCCESS, Release gate [`38778697708`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38778697708) SUCCESS, gated Pages [`38778783998`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38778783998) SUCCESS. A superseded duplicate release-gate job was cancelled; accepted gate and Pages on exact SHA succeeded.
762 +- **Disposition/security:** no further production navigation code change indicated by current tests. No Supabase Auth, license, schema/RLS/role, tenancy, financial records, payments, Stripe, Cloudflare, GitHub credential or paid service touched. Existing validated license fix remains CLOSED for observed test-account flow.
763 +- **Remaining Phase 0 / release blockers:** F0-01 fresh first sign-in and fluctuating load on owner's affected internet/actual device **NOT VERIFIED**; F0-02 sales invoice product/customer search against actual authorized company **NOT VERIFIED**; F0-03 real persistent invoice-safe scope/physical print **NOT VERIFIED**. No-card encrypted production DB backup, independent offline copy and restore **NOT RUN**. Next safe path: owner-supplied read-only screenshot or scoped browser recording showing commerce navigation + existing product search; independent client/network diagnostics before any code change; no live invoice creation without explicit safe test scope.