@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / b1d290f
Fork 0

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

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 20:45 UTC

docs(stage3): preserve exact-head successful UI-to-SQL-v1 tests and open release gates

davoodmehraban89 committed Oct 23, 2026 at 02:58 UTC b1d290f1ce4d80c2ffaf84508062999bd2edfcfd
1 file changed +8
PROJECT_STATE.md
+8
@@ -233,3 +233,11 @@
233 - GREEN at exact SHA 5214c429abb5d2503a4cb9425a8a935089776807: Quality Run 39869603463 COMPLETED SUCCESS, Chromium 124/124 including sale and purchase form SQL-v1 metadata test; all three PostgreSQL jobs SUCCESS. Security Run 39869603585 SUCCESS for CodeQL + release-safety; Dependency Review SKIPPED because GitHub Dependency Graph is disabled (separate unblock needed).
234 - Independent local Supabase regression Run 39869596844 at the same code SHA: genuine local Auth/JWT/PostgREST real-stack, strict baseline SQL parity and Stage1 synthetic UP/DOWN/UP rollback jobs SUCCESS. Manual harness was still IN_PROGRESS when this entry was written; do not assert all-four PASS without a completed workflow.
235 - Current scope NOT STAGE3 COMPLETE: actual server source-post flow and owner-reviewed accounts mapping, fractional quantity rounding, non-rial amounts, COGS/returns, payment types, legacy data compatibility, hosted owner-ISP tests, real Production encrypted backup+restore, signed owner Stage2.2/3 acceptance, live migration and main merge remain BLOCKED. No production-write or cost authorization inferred. Use synthetic/free tests only.
236 +
237 +### 2026-10-23 — Stage3 actual UI monetary source versus live local SQL-v1 (2 positives / 12 negatives)
238 +- Canonical implementation source test SHA 616c1a708e38a594f533db183c55ef7b7ef92cac; Draft PR #165 (target Stage2 feature branch, not main). Existing actual browser form source regression in accounting-document-workflow.spec.js generates synthetic sale and purchase fixtures. No real IDs, sessions or financial Production records are exported.
239 +- Independent runner scripts/stage3-ui-sql-v1-check.mjs calls private.finora_phase1a_document_amounts on unlinked local Supabase/PostgreSQL using the real UI fixtures, then performs twelve intentionally invalid cases (discount, tax, currency, fractional quantity, line amount, unsupported payment) and requires SQL rejection. No runtime test runs against Production.
240 +- Run 39870894348 **SUCCESS exact SHA**: 5 CI-local jobs successful; fifth independent job 120145082883 printed FINORA_STAGE3_UI_SQL_V1_PASS {positives:2, negatives:12, historicalMutation:false}. Original Playwright synthetic-form test also 1/1 PASS inside that fifth job.
241 +- Quality Run 39870900664 COMPLETED SUCCESS exact SHA, full Chromium 124/124 plus all three PostgreSQL jobs; Security Run 39870900599 COMPLETED SUCCESS for CodeQL and Release Safety; Dependency Review remains SKIPPED because GitHub Dependency Graph is not enabled.
242 +- RED proof retained in Draft PR #164: old test-only SHA 69dae3ec7165e30bf8cbdfcc7cebc9f0848c76ad, Quality Run 39868877199, 123 pass / 1 fail, explicitly missing vatMode/currencyCode/accountingVersion. Current source patch fixes these fields and purchase VAT/discount fields for NEW source records only; original posted records untouched.
243 +- **No overall Stage 3/Finora release acceptance.** Missing: approved tenant-owner account-role mappings, separate actual server event posting from source (not just immutable amounts function), non-IRR/decimal/COGS/returns/payment approvals, hosted Staging/owner-ISP, encrypted Production backup and recovery, security Dependency Graph control, and migration/deployment signoff. No Production write, merge or paid resources. Continue next with safe isolated design/tests, not unilateral financial cutover.