سامانه صدور فاکتور و حسابداری
docs: reconcile merged chart and taxpayer release evidence
davoodmehraban89 committed
Oct 4, 2026 at 05:46 UTC
5952f5a3f4a4ac907655dc5d89a5becb082e67b8
1 file changed
+2
-2
PROJECT_STATE.md
+2
-2
@@ -17,7 +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-04 | Continue the recorded chart and taxpayer-reference correction after interrupted sessions. | **IMPLEMENTED / CONTROLLED DOM + ACCOUNTING VERIFIED / MERGE PENDING** | 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. |
20
+| 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. |
21
| 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. |
22
| 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. |
23
| 2026-10-03 | Owner explicitly approved applying archived Wave 4 migration (`بله تاییده`) and directed continuation after reconnecting GitHub. | **PRODUCTION APPLIED / READ-ONLY CONTRACTS VERIFIED / PRODUCTION E2E NOT VERIFIED** | Scope: only `20261002072000_request_wave4_operational_integrity.sql` on `hcsixhqbyuhpshfwqpjx`, including column/index/functions/EXECUTE grants. Baseline main `81bd9bf38e0b02e5baed8a3fa32a89a2b1345572`; SQL blob `7e644afd2387d328056356314ebfdeed272963ab`. Live preflight: migration absent, idempotency column absent, delegation rows=0, six-argument RPC present and seven-argument RPC absent. Exact SQL applied as `20261003033540 request_wave4_operational_integrity`; approval recorded before apply in `ed90934f057e85bfd6bd0286bdf309d9c2ded9f7`. Other sensitive changes remain approval-gated. |
@@ -116,7 +116,7 @@ The connected Supabase production target is `hcsixhqbyuhpshfwqpjx` (`Finora`). L
116
- Local psql/postgres/docker executables unavailable, so no new local two-session delegation concurrency test was run. Production concurrency remains NOT VERIFIED. Do not run disposable fixture seeding against production.
117
118
## Exact next executable work
119
-Current owner-requested priority: verify and merge the chart/taxpayer correction branch, inspect exact-SHA CI logs and deployed asset/flow. Exact photographed-print parity, physical printer, authenticated production E2E, mixed-payment/multi-row taxpayer arithmetic remain NOT VERIFIED. Newly attached bootstrap files reference other repositories; attachments are context and do not change the selected Factor-easy repository. PR #46 is merged as `3085dce9d8f457e61aca6676f872737418116e7a`; live recheck on 2026-10-04: Quality `37126922824`, Security `37126922854`, Release `37127012080`, Pages `37127034198` succeeded. These previous-SHA runs do not verify the new implementation.
119
+Current owner-requested chart/taxpayer slice: PR #47 merged as `b2e1fbf89fb558fd9be1729dda875d3796e46721`. Main Quality `37170385857`, Security `37170385877`, Release `37170453444`, gated Pages `37170479829` all succeeded. Inspected main static job `111341993035`: 53/53 controlled real-DOM tests, chart invariants and Golden passed; all three disposable DB jobs passed. Final PR head `4619b5ed73f6e61084d6e111b7ab338e6c152ff5` also passed Quality `37170297853`, Security `37170297828`; logs from static job `111341738948` confirm 53 DOM tests. Existing compatible template companies use «پیشنمایش تکمیل کدینگ» then explicit apply; no live company was changed by the agent. Next: owner-context invoice/physical-print comparison and safe authorized two-user production verification; do not treat successful deployment as authenticated production E2E. Exact photographed-print parity, physical printer, authenticated production E2E, mixed-payment/multi-row taxpayer arithmetic remain NOT VERIFIED. Newly attached bootstrap files reference other repositories; attachments are context and do not change the selected Factor-easy repository. PR #46 is merged as `3085dce9d8f457e61aca6676f872737418116e7a`; live recheck on 2026-10-04: Quality `37126922824`, Security `37126922854`, Release `37127012080`, Pages `37127034198` succeeded. These previous-SHA runs do not verify the new implementation.
120
121
0. Wave 4 deployment drift is resolved by production migration `20261003033540`; retain the production E2E/concurrency boundaries above. Next eligible verification is persistent legitimate two-user offboarding/delegation E2E with a safe authorized test scope. Further schema/RLS/auth/role changes require separate approval.
122
1. Finish Wave 5 offboarding/session-revocation verification on protected main, then execute persistent legitimate non-owner E2E when a second durable test identity is available without weakening tenant/capability checks.