سامانه صدور فاکتور و حسابداری
ci: run independent accounting audit fixture on pull requests
Davood Mehraban committed
Oct 11, 2026 at 07:30 UTC
2a0c784cfe38ad64fc345373d454230407267222
2 files changed
+7
-1
.github/workflows/quality.yml
+4
-1
@@ -1,4 +1,4 @@
1
-name: Quality checks
1
+name: Quality checks
2
on:
3
push:
4
branches: [main]
@@ -22,6 +22,8 @@ jobs:
22
run: node scripts/syntax-check.mjs
23
- name: Application invariants
24
run: node scripts/quality-check.mjs
25
+ - name: Independent accounting integrity fixture
26
+ run: node scripts/finance-integrity-audit-test.mjs
27
- name: Commercial workspace and factory-reset invariants
28
run: node scripts/commercial-rnd-check.mjs
29
- name: UX commerce/settings R2 invariants
@@ -271,3 +273,4 @@ jobs:
273
run: psql -v ON_ERROR_STOP=1 -f supabase/migrations/20261002033000_request_workflow_d4a_work_queue.sql
274
- name: Execute D4a work queue assertions
275
run: psql -v ON_ERROR_STOP=1 -f supabase/tests/request_d4a_work_queue.sql
276
+
PROJECT_STATE.md
+3
@@ -150,3 +150,6 @@ Current owner-requested chart/taxpayer slice: PR #47 merged as `b2e1fbf89fb558fd
150
## 2026-10-11 Iran-first accounting design and verification
151
Owner approved Iranian accounting standards as primary, with future international extensibility. Design: docs/IRAN_FIRST_ACCOUNTING_DESIGN_2026-10-11.md. Added read-only finance integrity auditor and deterministic fixture test. Verified: golden accounting core, phase3 and phase6 behavior, auditor valid/invalid fixtures. Not verified: live invoice save/reload, production data, actual ERPNext/Odoo/Beancount integration, compliance certification. No schema or production data changes. Next: isolated invoice lifecycle tests, posting atomicity and RLS verification, expert review of Iranian standards.
152
153
+
154
+2026-10-11 follow-up: GitHub PR #64 Quality and Security workflows succeeded. New accounting audit fixture added to quality workflow. Isolated public invoice-save debug blocked by null currentUser fixture, so save/reload remains unverified (not a confirmed application defect).
155
+