فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
docs(A01): record refund correction merge, native evidence and acceptance gaps
davoodmehraban89 committed
Oct 20, 2026 at 17:50 UTC
c57ed1c3950532896e2d4fe6d53b1214595a63f8
1 file changed
+10
STATUS.md
+10
@@ -125,3 +125,13 @@ Review CI on latest A03 PR head, fix failing fixtures and ensure restore authori
125
- Three sequential assistant review passes are recorded in reviews/A01-refund-auth-sequential-20261020.md; they are NOT independent agents and do not approve the entire gate.
126
- A01 remains accepted=false. Open acceptance scope includes representative sales/purchases/corrections, cheque reversals, explicit refund reasons/approval, fiscal-period edge cases, idempotency, reconciliation and independent financial signoff. Client-side IndexedDB controls do not authenticate hostile local storage. INDEPENDENT_QA and DATA_BACKUP remain false. No public release.
127
- Next actionable work: select and implement the next unverified A01 scenario from docs/PHASE_A_BACKLOG_FA.md and docs/PHASE_A_EXIT_RUNBOOK_FA.md in a separate tested PR.
128
+
129
+## A01 return-linked refund correction trace — 2026-10-20 (MERGED / NOT FULLY ACCEPTED)
130
+
131
+- PR #124 (https://github.com/davoodmehraban89/Factor-easyPro/pull/124) merged into `main` at `b7ee529a84e28ba25acda8e486441f8a198b3bc4`. A01 now records an append-only `document_corrections` entry per cash settlement associated with a posted `sale_return` (customer credit payout) or `purchase_return` (supplier cash recovery), linking the return `sourceId`, treasury `resultId`, correlated journal/audit and a derived structured `reasonCode`. Existing company/period/amount/account checks and manager-only customer payout restriction remain enforced; original source invoices and earlier receipts are not rewritten by this trace entry.
132
+- Node regressions in `tests/retail-phase2.test.mjs` cover successful customer and supplier traces, payout/recovery limits, duplicate transaction ID, ledger balance and **late unique-key insertion failure with complete rollback** of treasury, invoice settlement, GL journal and audit.
133
+- Installed Windows native WebView2 E2E in `tests/windows-vm-native-functional-matrix.cjs` posts a second return and authorized payout through real invoice and treasury UI forms, then verifies related treasury, correction, audit and paidAmount values. It does not constitute customer-device execution or external human approval.
134
+- **Verified final PR SHA `71f78d233c5a8a0ca4ff650cc2505ae20d3c01b2`**: [quality 39435418939](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39435418939) completed SUCCESS, 270/270 Linux and 270/270 Windows tests plus frontend build, production audit and installer; [native installed VM 39435418629](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39435418629) completed SUCCESS, native report explicitly states `authorizedRefundTracedInInstalledWebView2:true`.
135
+- **Verified exact post-merge main SHA `b7ee529a84e28ba25acda8e486441f8a198b3bc4`**: [quality 39436721979](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39436721979) completed SUCCESS with 270/270 Linux and 270/270 Windows tests, build/audit/installer; [native installed VM 39436722070](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39436722070) completed SUCCESS.
136
+- Review on PR #124 records three **sequential inspections by one assistant**, not independent reviewers; no independent accountant signoff. `reasonCode` is **derived from operation type**, not an explicitly user-selected commercial explanation or separate approval. The product still lacks the full A01 correction/cheque reversal/closed-period/fiscal and independent QA matrix.
137
+- Canonical manifest A01 remains **accepted=false**. A02, A05, A06, A07, A08, INDEPENDENT_QA and DATA_BACKUP remain false; A03 and A04 remain accepted true. No public release, genuine customer data processing or authorization to change live accounts.