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

docs: record start of read-only financial core audit

davoodmehraban89 committed Nov 15, 2026 at 12:39 UTC 3082c129196ec82532b28a33ace43f6ceb045cfc
1 file changed +6
PROJECT_STATE.md
+6
@@ -309,3 +309,9 @@ Owner requests layer-by-layer click/functional testing of all controls and compa
309 - Independent read-only review found no application/security defect and one CI gap: source-only invocation omitted the generated artifact. Added a dedicated generated-Pages invocation to the existing Quality job; no assertion or security gate weakened. Exact PR/main CI and publication evidence will be maintained in this fix PR. Financial work remains separate and incomplete.
310
311 - Release gate found an unrelated baseline test-harness race in main201 and PR202: Docker PostgreSQL's temporary Unix-socket initialization server answered pg_isready, then stopped before fixture inserts (psql socket missing, job132399047199). Read the actual image entrypoint: temporary init uses listen_addresses='', while the final server listens on loopback. Correct readiness and test SQL connections to container-local TCP127.0.0.1; preserve network=none, all financial assertions and no host port. This is a test-only prerequisite repair, not a financial query/schema change.
312 +
313 +
314 +### 2026-11-15 — Owner starts read-only financial-core audit
315 +- Owner explicitly starts the next management task: deeply audit Finora's financial/accounting core, with focus on journal lifecycle, sales/purchase sources, treasury/cheques, ledger, database invariants, tenant isolation and release evidence. Canonical repository remains `davoodmehraban89/Factor-easy`; product name Finora; strategic priority is financial core.
316 +- Audit baseline is current remote `main` at `dab1a45fcfc4f12e675cfe055e477138cd3e99fa`, not historical SHA references in older status paragraphs. Review is read-only; no production database, schema, RLS/Auth/role, financial records, or application behavior may be changed by this audit.
317 +- Distinguish main-released behavior from staged unmerged work. In particular WP0 PR194 and stacked WP1 draft PR195 are not production/main evidence; compare their exact heads and bases before any integration. Record findings, priorities, test coverage and explicit NOT VERIFIED boundaries in a dated audit report.