سامانه صدور فاکتور و حسابداری
docs: record production Pages button discrepancy before hardened-artifact regression
davoodmehraban89 committed
Oct 15, 2026 at 20:53 UTC
7f5041cda5fbd3133114104e6c636dc65ea98b3d
1 file changed
+7
PROJECT_STATE.md
+7
@@ -741,3 +741,10 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
741
742
- **PR #148 first QA checkpoint on exact code head `119093f80b07c27517e2bd857b55f07ce9f4018f`:** Quality [`38774914246`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38774914246) **SUCCESS**, Security [`38774914170`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38774914170) **SUCCESS**. Static job `116559947340` log reports **120/120 Playwright Chromium PASS** (new F0-02 Commerce actual tab-click UI test at sequence [77/120]); D1/C8/identity disposable DB jobs SUCCESS; CodeQL + Release safety SUCCESS. This demonstrates controlled navigation works; no user-session product options inspected. No code change or speculative UI repair is warranted based on this evidence alone.
743
- **Acceptance verdict by scope:** F0-01 saved test/work session warm-route **4/4 PASS**, but owner affected-network first login and real cold signed-out flow remain NOT VERIFIED. F0-02 Commerce tab rendering in isolated Chromium **PASS**, but real account product/party selector exercise **NOT VERIFIED** due browser-agent navigation blocker. No real invoice or contact data was read or written. Next bounded action: user-authenticated UI walkthrough of sales invoice selector from known menu path or carefully scoped read-only browser replay; preserve company context and do not mutate production records. Await **final head PR #148** Quality/Security before protected merge, then verify exact main deploy.
744
+
745
+
746
+### 2026-10-15 Phase 0 F0-02 published Pages event-wiring differential — STARTED
747
+- **Owner's latest directive:** continue project autonomously. The previous #148 test was the repository's *raw* `index.html` (120/120 Playwright passes) and the read-only production user had 4/4 saved-session page reload successes. Protected main after #148 `e544127a8a4fbc062c1c8d3b4595ef9877793c4a`, exact-SHA Quality `38776168331` SUCCESS, Security `38776168144` SUCCESS, Release gate `38776599946` SUCCESS and Pages `38776694944` SUCCESS.
748
+- **New production browser discrepancy:** TinyFish test/work session [`f95fad51-50a6-41e7-bfd2-338ed706d59a`](https://agent.tinyfish.ai/runs/f95fad51-50a6-41e7-bfd2-338ed706d59a) successfully loaded dashboard and unlimited-license badge but *could not visibly expand* the top-bar `+ ایجاد سریع` menu using click. Together with earlier Commerce tab navigation attempt, this could indicate an actual Pages CSP event-handler binding problem OR browser automation limitations. Neither real product nor contact selector was reached, so F0-02 remains NOT VERIFIED. No production data written.
749
+- **Distinct mechanism to test:** GitHub Pages is built by `scripts/build-pages.mjs` which replaces `index.html` inline onclick attributes with generated CSP-safe listeners. Existing #148 Playwright ran **raw development HTML**, which does not validate actual event binding in generated `_site/index.html`. Extend `scripts/pages-artifact.spec.js` with isolated synthetic (not production financial data) real Chromium clicks on Accounting tab, Commerce tab, top-bar Quick Create and Sales Invoice menu; assert actual content/sidebars and alert-free navigation.
750
+- **Scope/acceptance:** no license/auth/schema/RLS/roles/migration/financial data writes. If artifact test reproduces, implement a scoped CSP wiring fix + regression + exact PR Quality/Security; if PASS, document automation browser limitation versus unresolved real-account manual verification without changing source needlessly. Proceed only on evidence.