سامانه صدور فاکتور و حسابداری
Reconcile current-stage office gaps through C7 hardening
davoodmehraban89 committed
Oct 1, 2026 at 00:36 UTC
2ba56f885ab7aee4569002f91d7a9e39f0a64ff1
1 file changed
+2
-2
docs/CURRENT_STAGE_GAP_REGISTER_2026-09-30.md
+2
-2
@@ -16,14 +16,14 @@ 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-C6 complete for their bounded scope:** immutable correspondence/read evidence, secure referrals, related-letter/archive graph, versioned templates, content-bound internal approval/rejection, and server-derived SLA reminder/escalation evidence are production/CI/adversarial verified (`docs/OFFICE_SLICE_C1_VERIFICATION.md` through `docs/OFFICE_SLICE_C6_VERIFICATION.md`). Internal approval is not a qualified digital signature and C6 does not send external notifications. Remaining scope: real OCR/full-text quality, qualified-signature provider integration, and external delivery adapters. |
19
+| 4 | **P1 High** | Mature office lifecycle (Slice C) | Product + Office automation | **C1-C7 complete for their bounded scope:** immutable correspondence/read evidence, referrals/SLA, related-letter/archive graph, versioned templates, content-bound internal approval, reminder/escalation evidence, and tenant-safe full-text archive search with attachment-bound OCR provenance/human correction are production/CI/adversarial verified (`docs/OFFICE_SLICE_C1_VERIFICATION.md` through `docs/OFFICE_SLICE_C7_VERIFICATION.md`). C7 does not perform OCR or validate real Persian OCR accuracy. Remaining external scope: qualified-signature provider integration, real OCR provider/accuracy validation, and external delivery 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 | **CLOSED** | Member invitation/onboarding without pre-existing Finora account | Identity + UX | Closed by ELI-3: hash-only email-bound invitations, expiry/revocation, authenticated acceptance, role assignment, seat enforcement, duplicate handling, audit and UI are production/Real-DOM/security verified. Automatic external invitation email delivery remains a separate adapter boundary. |
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 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. |
26
+| 11 | **P2 Medium** | Real Persian OCR accuracy | Office + QA | C7 now provides server full-text archive search, append-only OCR provenance, attachment binding and human correction. What remains unverified is the OCR engine itself: complete only with a real provider, representative Persian scans, measured extraction/search quality and failure handling. |
27
| 12 | **P2 Medium** | Qualified digital-signature integration | Office + Security/Legal integration | Approval/signature UX is not equivalent to a qualified digital signature. Complete only with a real provider/certificate trust flow, signed payload verification, timestamp/evidence retention and revocation/error handling. |
28
| 13 | **P2 Medium** | Live external adapters (email/ECE/webhook/etc.) | Integration + Operations | Third-party delivery/acknowledgement remains unverified. Complete per adapter with secrets isolation, retry/idempotency, delivery receipts, failure queue and audit evidence. |
29
| 14 | **P2 Medium** | Physical printer / real document output validation | QA + Operations | Chromium/PDF tests pass, but physical printer output remains unverified. Complete with A4/A5 Persian samples, margins/page breaks, common printer drivers and archived acceptance evidence. |