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

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

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

Synced Dec 3, 20:45 UTC

Close Slice B release gate after main verification

davoodmehraban89 committed Sep 30, 2026 at 07:06 UTC d9b1cd35083eeef1c5f7624afff801a1d9991fa0
1 file changed +5 -6
PROJECT_STATE.md
+5 -6
@@ -12,12 +12,12 @@ Verify live GitHub+Supabase before acting; record material requests before imple
12 ## Current change ledger
13 | Date | Request / decision | Status | Evidence / next action |
14 |---|---|---|---|
15 -| 2026-09-30 | Continue from verified Slice A into Slice B: organization tenant, multi-user memberships, module roles/capabilities, row scopes, confidentiality, shared office access/referral foundation and immutable permission/referral audit. | **IMPLEMENTED / MERGED / PRODUCTION DB VERIFIED** | PR #7 merged as `d212c6aeef5b49f33351166771a0899f307a9067` after Quality `36664844247` PASS (all accounting/Phase2–6/Golden/platform/Slice-B invariants + Chromium Real-DOM) and Security `36664844234` CodeQL PASS. Production migrations `20260930031853`, `20260930031942`, `20260930032615`, `20260930032654`, `20260930033010` applied+archived. Production transactional tests PASS for own/org scope, confidentiality, read-only capability, member core read-only context, expired-license read-only, referral/audit immutability and member Storage-path isolation. Dependency-review action is best-effort because GitHub Dependency graph is disabled for this repository; workflow records a warning instead of falsely claiming a dependency review. Evidence: `docs/SLICE_B_TENANT_RBAC_VERIFICATION.md`. |
15 +| 2026-09-30 | Continue from verified Slice A into Slice B: organization tenant, multi-user memberships, module roles/capabilities, row scopes, confidentiality, shared office access/referral foundation and immutable permission/referral audit. | **IMPLEMENTED / MERGED / VERIFIED** | PR #7 merged as `d212c6aeef5b49f33351166771a0899f307a9067`. PR Quality `36664844247` PASS and Security `36664844234` CodeQL PASS. Final main checkpoint `99a23edcaddf542f9080bbe70bb0b450af14913f` also passed Quality `36664994360`, Security/CodeQL `36664994384`, and Pages `36664994039`. Production migrations `20260930031853`, `20260930031942`, `20260930032615`, `20260930032654`, `20260930033010` applied+archived. Production transactional tests PASS for own/org scope, confidentiality, read-only capability, member core read-only context, expired-license read-only, referral/audit immutability and member Storage-path isolation. GitHub Dependency graph remains disabled, so dependency review is not claimed. Evidence: `docs/SLICE_B_TENANT_RBAC_VERIFICATION.md`. |
16 | 2026-09-30 | Modular organization-wide ERP: office automation/scanned correspondence/secretariat, configurable requests, module managers/permissions, module-select entry, module-by-module/full-suite licensing, future transport/operations; research Barid/ParGar, Chargoon/Didgah, Faragostar. | **SLICE A IMPLEMENTED / VERIFIED** | Request `0b622439`; implementation `d3934690`; read-only expiry hardening `906d78d7`; browser integration hardening `df82067ecb1fda9007eb11a30d0a9d7cc1b113cd`. Production migrations `20260930025546`, `20260930025647`, `20260930030314` applied+archived. Final product-head Quality `36662911587` PASS including syntax, accounting/Phase2–6/Golden, modular-office invariants and Chromium Real-DOM tests; Security `36662911572` PASS; Pages `36662911432` PASS. |
17 | 2026-09-30 | Iran-first high-assurance ERP expansion. | IN PROGRESS — broader roadmap | `docs/IRAN_COMPLIANCE_MATRIX_V1.md`; do not claim statutory consolidation/full tax submission/full HR/CRM until complete lifecycle/accounting/permissions/tests exist. |
18
19 ## Current production state — 2026-09-30
20 -- Slice B product merge on canonical main: `d212c6aeef5b49f33351166771a0899f307a9067`; this state-only commit follows it.
20 +- Verified Slice B release checkpoint on canonical main: `99a23edcaddf542f9080bbe70bb0b450af14913f`; this continuity-only closeout commit follows it.
21 - Supabase `hcsixhqbyuhpshfwqpjx`: `ACTIVE_HEALTHY`, PostgreSQL `17.6.1.166`, 29 migrations through `20260930033010`.
22 - 4 existing licenses remain `full_suite`; each license belongs to a backfilled organization whose original account is owner. Production check: 4 organizations, 4 active owners, 0 licenses without organization, 0 records without organization.
23 - `records` primary identity is `(organization_id, collection, id)`; RLS enforces membership/entitlement/capability/scope/confidentiality. Writes require active organization license; expired/cancelled organizations retain authorized historical reads.
@@ -53,7 +53,6 @@ Posted accounting history is immutable and balanced; tenant isolation is data-bo
53 Invitation of users without an existing Finora account; authenticated two-real-user production browser E2E; real Persian OCR accuracy; qualified digital signature; physical printer; third-party webhook/ECE/email gateways; GitHub Dependency graph/dependency-review availability; Supabase leaked-password setting; PostgreSQL 17.11 platform upgrade.
54
55 ## Exact next executable work
56 -1. Verify main Quality/Security/Pages for the final state commit; if green, Slice B release gate is closed.
57 -2. Slice C: mature office lifecycle — templates/editor, signatures/approval, referral chains/read receipts, SLA/reminders, reply/related-letter graph, archive classification, OCR/full-text and integration adapters.
58 -3. Slice D: versioned workflow engine for configurable requests — steps, conditions, parallel/sequential approval, delegation/substitution, SLA/escalation and immutable action history.
59 -4. Slice E: transport/procurement/service/CRM/manufacturing/maintenance only as complete tested vertical modules with accounting/permissions/reporting integration.
56 +1. Slice C: mature office lifecycle — templates/editor, signatures/approval, referral chains/read receipts, SLA/reminders, reply/related-letter graph, archive classification, OCR/full-text and integration adapters.
57 +2. Slice D: versioned workflow engine for configurable requests — steps, conditions, parallel/sequential approval, delegation/substitution, SLA/escalation and immutable action history.
58 +3. Slice E: transport/procurement/service/CRM/manufacturing/maintenance only as complete tested vertical modules with accounting/permissions/reporting integration.