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

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

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

Synced Dec 3, 14:30 UTC

docs: reconcile live operating state

Davood Mehraban committed Oct 6, 2026 at 23:23 UTC 01477d04dfeeb7dc454f3d53bbeab600305b9f2d
1 file changed +2 -1
PROJECT_STATE.md
+2 -1
@@ -17,6 +17,7 @@ The latest user message is the sole source of new instructions. Read AGENTS.md t
17 ## Current change ledger
18 | Date | Request / decision | Status | Evidence / next action |
19 |---|---|---|---|
20 +| 2026-10-06 | Owner directed a fresh operating-state verification: read AGENTS.md/PROJECT_STATE.md in full, verify live main/recent commits/CI and Supabase migrations/RLS, reconcile PROJECT_STATE discrepancies before any implementation, record this request, and keep schema/RLS/auth/role/destructive operations approval-gated. | **LIVE RECONCILED / DOCUMENTATION CORRECTION ONLY** | Verified main dfaa4d65918ea3bca14be2c4737af734c9328083 with recent commits 2e1fbf, 3085dce, 62da4cf, 81bd9bf; head gated Pages run 37170719732 succeeded. Live Supabase has 79 migrations, latest 20261003033540; public RLS 18/18, private RLS 3/10. No schema/RLS/auth/role/data mutation. Corrected stale Live QA wording that still claimed non-current assets were absent after the verified chart expansion. Head Quality/Security evidence remains as recorded in the immediately preceding verified release evidence; no new product implementation authorized by this request. |
21 | 2026-10-04 | Continue the recorded chart and taxpayer-reference correction after interrupted sessions. | **MERGED / CONTROLLED DOM + ACCOUNTING VERIFIED / GATED PAGES DEPLOYED** | 62 additive chart rows across all eight templates, including non-current assets and contra accounts; explicit preview/apply for compatible existing templates preserves old accounts and posted history. Actual supplied tax logo and reference-aligned totals/settlement layout; image-ready printing. Local chart invariants and 3 chart DOM tests passed; 2 print DOM tests plus single-page landscape PDF passed; accounting phases 2–6 and Golden passed. Full local DOM: 52/53 passed, Pages artifact failed on external ERR_CERT_AUTHORITY_INVALID; no gate weakened. PR #47 implementation SHA `db9e7f2375e914bfa9e78932e63222af68c4c9d3`: Quality `37170173739` and Security `37170173740` passed; inspected static job `111341365938` confirms 53/53 real-DOM tests, chart invariants, phases 2–6 and Golden passed, including Pages artifact. All three disposable DB jobs passed. Production recheck on 2026-10-04: 79 migrations, latest `20261003033540`; public RLS 18/18, private 3/10. See docs/CHART_OF_ACCOUNTS_RESEARCH_2026-10-03.md and docs/CHART_TAXPAYER_VERIFICATION_2026-10-03.md. No schema/RLS/auth/role or production record mutation. |
22 | 2026-10-03 | Owner requested continuation of unfinished work, deep Iranian chart-of-accounts research/completion (especially missing non-current assets), and exact taxpayer invoice layout matching the first supplied reference with the supplied official logo. | **REQUEST RECORDED / IMPLEMENTATION NOT VERIFIED** | PR #46 merged as `3085dce9d8f457e61aca6676f872737418116e7a`; Quality `37094979694`, Security `37094979835`; inspected job `111122956074`: 49 DOM tests and accounting gates passed. Live Supabase has 79 migrations including `20261003033540`; public RLS 18/18, private 3/10. Existing print exactness claim is superseded by owner-reported/reference-visible differences. Preserve historical account IDs/codes/postings; no schema/RLS/auth/role changes authorized by this request. |
23 | 2026-10-03 | Owner directed continuation after Wave 4 deployment; inspect post-merge verification and two-user/concurrency readiness. | **SAME-SHA RETRY PASSED / TIMEOUT ROOT CAUSE OPEN / TWO-USER PRODUCTION E2E BLOCKED** | Main `62da4cf24b5505d9dfe41b43acafa04af74c06c9`; Quality `37094021032` failed with 48/49 DOM passing and 30s timeout in `scripts/enterprise-org-ux.spec.js`; accounting and all disposable DB jobs passed. Security `37094021045` passed. Live Wave 4 version `20261003033540` remains present, public tables without RLS=0, organizations with two distinct active users=0. No test users or access changes authorized/performed. Same-SHA retry `37094021032` attempt 2 succeeded: job `111122578331` logs confirm 49/49 DOM and accounting phases 2–6 + Golden passed. No assertion, timeout or product-code changes. Timeout did not reproduce on retry; root cause remains NOT VERIFIED. |
@@ -124,7 +125,7 @@ Current owner-requested chart/taxpayer slice: PR #47 merged as `b2e1fbf89fb558fd
125 3. Resolve remaining platform-security gaps: formalize the three private C8 no-policy contracts, enable leaked-password protection when supported by the connected Auth control surface, and keep Dependency Review marked unavailable until Dependency Graph is enabled.
126
127 ## Live QA open items
127 -- Exact Taxpayer-System print redesign: REOPENED by owner on 2026-10-03. Existing generated logo and boxed-right totals layout differ from the supplied first reference. Exact visual parity remains NOT VERIFIED; use the actual supplied logo. Chart completeness also remains NOT VERIFIED; non-current assets are absent from the starter chart.
128 +- Exact Taxpayer-System print redesign: implementation now uses the supplied logo and reference-aligned layout with controlled DOM/PDF regression coverage; exact photographed-print parity and physical-printer output remain NOT VERIFIED. Chart starter templates were expanded additively across all eight templates, including non-current assets and contra accounts; existing compatible companies require explicit preview/apply and posted history is not rewritten.
129 - Legacy request records are preserved for rollback/audit after D2; new request configuration/runtime must not be routed back through record-store writes.
130 - Floating-detail defaults for new records: 8-digit semantic codes currently use slot/category/sequence (Branch `11xxxxxx`, Counterparty `21xxxxxx`, Project `31xxxxxx`); historical codes are not rewritten and account-chart coding stays independent.
131 - Product/service deletion must continue to fail closed whenever operational references exist.