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

Close Office C3 maturity gap

davoodmehraban89 committed Sep 30, 2026 at 23:52 UTC 3ab4ebc187f39d2235dae7b4eecf0ca68abdfaf1
1 file changed +2 -2
docs/CURRENT_STAGE_GAP_REGISTER_2026-09-30.md
+2 -2
@@ -16,11 +16,11 @@ Scope: what remains before the current Finora stage can be called high-assurance
16 | 1 | **P0 Critical** | Two-real-user authenticated production E2E for organization isolation/RBAC/confidentiality/Storage | QA + Security | Transactional DB tests pass, but the canonical state explicitly marks authenticated two-real-user production browser E2E as not verified. Complete only after two real non-admin accounts exercise allowed and denied cross-user/cross-organization paths in the deployed app. |
17 | 2 | **P0 Critical** | Controlled accounting cutover for existing production invoices | Financial correctness + Migration | Production currently has 7 invoice records but no account-master/journal collections. Phase 6 intentionally did not auto-post legacy history. Complete only after chart initialization, owner-reviewed source mapping, preview, controlled source-linked posting, reconciliation and rollback evidence. |
18 | 3 | **P0 Critical if marketed as legally complete; otherwise scope boundary** | Statutory/compliance workflows not yet end-to-end | Compliance + Accounting | Do not claim full Taxpayer System submission, statutory consolidation, full payroll/HR or complete standards compliance merely because menus/calculations exist. Completion requires effective-dated sourced rules, lifecycle validation, posting/reversal, RLS, reconciliation, negative tests and acknowledged external submission where applicable. |
19 -| 4 | **P1 High** | Mature office lifecycle (Slice C) | Product + Office automation | **C1 + C2 complete:** registered-history/read evidence plus secure actionable referrals, ordered acknowledgement/completion evidence and SLA work queue are production/CI/adversarial verified (`docs/OFFICE_SLICE_C1_VERIFICATION.md`, `docs/OFFICE_SLICE_C2_VERIFICATION.md`). Remaining Slice C scope: templates/editor, approval/signature lifecycle, reminders/escalation beyond overdue state, reply/related-letter graph, archive classification, OCR/full-text and integration adapters. |
19 +| 4 | **P1 High** | Mature office lifecycle (Slice C) | Product + Office automation | **C1 + C2 + C3 complete:** registered-history/read evidence, secure actionable referrals/SLA queue, and related-letter graph + structured archive classification/search are production/CI/adversarial verified (`docs/OFFICE_SLICE_C1_VERIFICATION.md`, `docs/OFFICE_SLICE_C2_VERIFICATION.md`, `docs/OFFICE_SLICE_C3_VERIFICATION.md`). Remaining Slice C scope: templates/editor, approval/signature lifecycle, reminders/escalation beyond overdue state, OCR/full-text and integration adapters. |
20 | 5 | **P1 High** | Versioned configurable workflow engine (Slice D) | Product + Workflow | Requests have a form/type foundation, but sequential/parallel steps, conditions, delegation/substitution, SLA/escalation and immutable action history are not yet a complete workflow engine. |
21 | 6 | **P1 High** | Member invitation/onboarding without pre-existing Finora account | Identity + UX | Current member management requires an already-registered account. Complete with invitation token/lifecycle, expiry/revocation, organization acceptance, duplicate handling and audit. |
22 | 7 | **P1 High** | Supabase leaked-password protection | Security | Live Supabase advisor reports leaked-password protection disabled. Enable and verify authentication behavior before broad rollout. |
23 -| 8 | **P1 High** | SECURITY DEFINER RPC hardening / warning closure | Security + Database | Live advisor currently reports 17 authenticated-callable SECURITY DEFINER functions after enterprise and Office C1/C2 RPCs. Current definitions include internal authorization checks, so this is not evidence of an exploit by itself; nevertheless each RPC needs an explicit exposure decision, least-privilege grants/search_path review, negative tests and warning disposition. |
23 +| 8 | **P1 High** | SECURITY DEFINER RPC hardening / warning closure | Security + Database | Live advisor currently reports 20 authenticated-callable SECURITY DEFINER functions after enterprise and Office C1/C2/C3 RPCs. Current definitions include internal authorization checks, so this is not evidence of an exploit by itself; nevertheless each RPC needs an explicit exposure decision, least-privilege grants/search_path review, negative tests and warning disposition. |
24 | 9 | **P1 High** | GitHub dependency graph / enforceable dependency review | Supply-chain security + CI | Historical `Run failed` security emails were caused by dependency review running while Dependency graph was disabled. Workflow now records this as unavailable instead of failing falsely, but actual dependency review remains absent until the repository setting is enabled and a PR run proves the check works. |
25 | 10 | **P1 High** | Accountant daily-control workbench gaps | Accounting operations | Bank statement import/reconciliation, formal period-close checklist/locks/evidence, sensitive journal/payment approval and segregation-of-duties, and a usable critical audit-log viewer remain required accountant-first controls unless separately verified in a later slice. |
26 | 11 | **P2 Medium** | Real Persian OCR accuracy and searchable archive validation | Office + QA | Schema is OCR-ready, but real Persian scan quality is not verified. Complete with representative scans, measured extraction/search quality, failure handling and human correction workflow. |