سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 14:30 UTC
docs: finalize F0-03 exact-sha quality security release deploy and remaining owner-session gate
davoodmehraban89 committed
Oct 11, 2026 at 19:43 UTC
e746f87fe355e9e9c21caeb8baf77e6f4a196792
1 file changed
+6
PROJECT_STATE.md
+6
@@ -209,3 +209,9 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
209
- **CURRENT STAGE: F0-03 CONTROLLED CHROMIUM QA PASSED 2/2 — AUTHENTICATED PRODUCTION STILL UNVERIFIED.** Test real invoice form save → asynchronous sync via fake in-memory server RPC → page reload/pull → edit → reload → print, plus rejected RPC/visible retry. Run against locally-served repository; never post invoices to real Supabase, alter finance data, or collect login secrets. Owner-authenticated production result remains NOT VERIFIED. Next: create test, execute on remote Windows, fix, rerun, CI gate; update ledger with exact evidence and unresolved issues.
210
211
- F0-03 regression added: `scripts/phase0-invoice-persistence.spec.js`. Windows Desktop Commander `DESKTOP-71SJ63M` served isolated repository on local port 51867; `npx playwright test scripts/phase0-invoice-persistence.spec.js --reporter=line --workers=1 --timeout=25000` **PASS 2/2 in real Chromium**. Scenario 1 uses `pre_invoice` so the test does not post financial ledgers: save→mock server RPC→reload→edit→reload→print, totals 3,000→4,500, unchanged ID and exactly one server invoice, zero journal vouchers. Scenario 2 returns a transient error from fake `finora_sync_records`, verifies retry and no duplicate. `node scripts/syntax-check.mjs` **PASS 54 JS + 50 MJS**. Early test harness failures arose from intentionally hidden native selectors replaced by commercial combobox (not evidence of app save failure); fixed fixture to dispatch form change handlers. No actual Supabase/RLS/auth/real invoice write performed. **Next gate:** GitHub PR full Quality+Security and release, then owner-authenticated isolated invoice lifecycle and real affected ISP login remain pending.
212
+
213
+### 2026-10-11 F0-03 final protected-main CI and deployment verification
214
+- Owner asked whether execution stopped; resumed F0-03 rather than closing after roadmap planning. PR **#74** merged to `main` at exact SHA `5f05ea340b37569c78cdfe7ec54c212f22ae3e29`. The changes are **regression test + CI test-list + phase ledger only**; invoice application source code and production Supabase records unchanged.
215
+- Same-SHA GitHub workflows: Quality `38154361473` **SUCCESS**, Security `38154361524` **SUCCESS**, Release gate `38154485595` **SUCCESS**, gated Pages `38154503667` **SUCCESS**. An earlier duplicate release gate was canceled and earlier Pages job skipped due to workflow concurrency; only these successful runs certify release.
216
+- Remote Desktop Commander `DESKTOP-71SJ63M` real Chromium: `npx playwright test scripts/phase0-invoice-persistence.spec.js --reporter=line --workers=1 --timeout=25000` **PASS 2/2 (25.31 s)**. Control sample pre-invoice QA-PINV-0001 saved to disposable fake server, reloaded and edited (3000→4500), persisted once; second sample survived one injected RPC network failure and retry without duplication. No real finance history, live Auth/RLS, Stripe, production data or schema changed.
217
+- **Phase 0 remains OPEN / F0-03 controlled QA passed, production-authenticated verification OPEN.** Next: test owner-authenticated sign-in network fault `F0-01`, live tenant product selection `F0-02` and existing invoice print `F0-04` on authorized user session, plus safe-scope actual server persistence for F0-03 if separately authorized. No claim of real live invoice save success.