فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
docs(A01): record confirmed reason, approval, and postmerge Windows evidence
davoodmehraban89 committed
Oct 21, 2026 at 08:59 UTC
cc41574babb138f184ec14517717b293e2e1241e
1 file changed
+10
STATUS.md
+10
@@ -135,3 +135,13 @@ Review CI on latest A03 PR head, fix failing fixtures and ensure restore authori
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.
138
+
139
+## A01 structured reason and explicit in-app confirmation — 2026-10-21 (MERGED; A01 OPEN)
140
+
141
+- PR #126 (https://github.com/davoodmehraban89/Factor-easyPro/pull/126) merged into main at `abd2d9116eae9c00b5ac421b393e1c55df257fd6`. For linked `sale_return` payouts and `purchase_return` supplier recoveries, `RetailPostingService.recordCash` now rejects transactions without a valid user-selected `reasonCode` (`goods_return`, `quality_issue`, `pricing_dispute`) or `explicitlyApproved===true`; existing manager-only customer payout policy and credit limits remain in force.
142
+- Treasury UI only displays the reason selector for a linked return and opens a separate confirmation dialog before submission. The controller forwards both values; the atomic `document_corrections` record now retains the selected `reasonCode`, derived `actionCode`, `approvalMethod`, `approvedBy` and `approvedAtUtc` and remains linked to the treasury transaction, journal and audit.
143
+- Negative Node regressions validate missing/invalid reasons, false/string confirmation flags and zero treasury/journal/audit/correction/settlement writes; existing rollback, concurrent refund cap, manager permission and balanced ledger tests remain. The native installed WebView2 test asserts the approval dialog produces zero writes until confirmed and verifies the reason/approver trace after approval.
144
+- **Verified final PR head SHA `d7a0320df0bbd459f0b53b0b6ec495c16ef8c368`**: [quality 39548537574](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39548537574) completed SUCCESS, Linux 271/271 and Windows 271/271 plus frontend, dependency audit and Windows installer; [installed native VM 39548537520](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39548537520) completed SUCCESS, `authorizedRefundTracedInInstalledWebView2:true`.
145
+- **Verified post-merge main SHA `abd2d9116eae9c00b5ac421b393e1c55df257fd6`**: [quality 39549036850](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39549036850) completed SUCCESS, Linux 271/271 and Windows 271/271 plus build/audit/installer; [installed native VM 39549036820](https://github.com/davoodmehraban89/Factor-easyPro/actions/runs/39549036820) completed SUCCESS, same real installed UI return/refund evidence on synthetic company data.
146
+- Scope: The form confirmation flag is not a cryptographic signature, does not enforce a separate second approver and may be supplied by a privileged direct caller. The three sequential inspection notes on PR #126 are **one assistant's review**, not independent agents or financial QA. Reason code choices are not yet a policy approved by an external accountant. `A01.accepted=false`; `INDEPENDENT_QA=false`; `DATA_BACKUP=false`. No public release, real customer backup, hardware print or power-loss test.
147
+- Remaining A01: robust cheque reassignment/reversal lifecycle, original source corrections, edge-case fiscal period/reconciliation matrix and independent financial acceptance.