سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 4, 10:30 UTC
docs: record real product lookup PASS, buyer lookup pending and guarded Pages fixture plan
davoodmehraban89 committed
Oct 15, 2026 at 21:48 UTC
e5e3055a93fd25a51fea6689356f2e78fe2afc64
1 file changed
+8
PROJECT_STATE.md
+8
@@ -761,3 +761,11 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
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.
764
+
765
+
766
+### 2026-10-15 F0-02 production product search PASS / buyer filtering acceptance still open — TEST STARTED
767
+- **Current owner continuation:** test-work account read-only browser [run `43e95484-3ecf-4576-a4b1-528cac50a8eb`](https://agent.tinyfish.ai/runs/43e95484-3ecf-4576-a4b1-528cac50a8eb) reached Commerce/Invoices by clicking visible Persian tab; the agent's claim that DOM `data-module` attributes are absent contradicts canonical source `index.html` and synthetic Chromium, so **do not adopt the unverified explanation as root cause**.
768
+- **Real saved test-work session targeted [run `341e1f6d-a792-4b5e-b0b9-69908056b460`](https://agent.tinyfish.ai/runs/341e1f6d-a792-4b5e-b0b9-69908056b460) COMPLETE:** Commerce Sales Invoice form reached; first existing item product combobox filter `بلوک` returned **three** options; buyer combobox/search input visible. No item selected, no invoice saved, no production data mutated. F0-02 real product lookup **PASS** for this path, but buyer filtering and metadata acceptance were only visually observed (no actual filtered buyer result).
769
+- **Contradictory next agent run [`a31d48d6-34ea-4b6d-91b3-7d28a0c817f5`](https://agent.tinyfish.ai/runs/a31d48d6-34ea-4b6d-91b3-7d28a0c817f5):** could not reach invoice, so buyer-filter and product metadata still **NOT VERIFIED** in that run. Treat intermittent browser agent navigation as a separate reproducibility issue, not proof of failing app; hardened Pages navigation regression #150 PASS 121/121.
770
+- **Planned bounded corrective QA:** extend generated hardened `_site` Pages Playwright with isolated synthetic customer/product records for own and another user; open Commerce, filter product `بلوک`, filter buyer `شرکت` without choosing; assert matching scoped options only and source select values unchanged, expected unit/price metadata on product options, zero calls to `saveDatastore`, no production Supabase write. No production schema/Auth/RLS/financial/data change or external charges.
771
+- **Exact repository baseline:** protected `main` after documentation PR #151 `b7d287ac15f7f7a6e6db1f9bc1b2778afa9193d9`. Required acceptance: new isolated browser test + full quality/security, protected merge, guarded Pages release; real buyer search remains open pending authentic read-only evidence. Rollback: revert test/docs PR; no DB change.