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

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

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

Synced Dec 3, 14:30 UTC

docs: preserve verified company-form work and outstanding release gates

davoodmehraban89 committed Oct 14, 2026 at 20:45 UTC c33a6a89dccfe2558c4cc77b041ef3910a4e4f77
1 file changed +6
PROJECT_STATE.md
+6
@@ -668,3 +668,9 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
668 - **Exact protected-main SHA gate verified:** Quality **`38230349289` SUCCESS**, Security **`38230349290` SUCCESS**, Release Gate **`38230688599` SUCCESS**, gated Pages deployment **`38230726054` SUCCESS**. Earlier duplicate Release `38230517388` was CANCELLED, duplicate Pages `38230704316` SKIPPED; excluded from successes.
669 - **Honest external check:** The authorized remote Windows machine `DESKTOP-71SJ63M` was **offline** when post-publish HTTP parity check was attempted; alternate public fetch was inaccessible. Therefore GitHub proves SHA-gated Pages deploy but **direct domain HTTP parity and owner's actual observed latency not independently verified in this last check**. Owner should hard-refresh once at `factoreasy.ir`, record approximate time to see login and time after sign-in; no password/session/network token disclosure. A remaining possible factor is `enterApp()` awaiting `fetchCurrentUser()` and serial tenant `pullAll()` after authentication, not changed without data-consistency tests.
670 - **Acceptance:** Focused Phase-0 startup/performance **FIX_IMPLEMENTED / CONTROLLED_QA_PASSED / PAGES_DEPLOYED**; **OWNER_REAL_ISP_BENCHMARK_OPEN**. F0-01/02/03/04/07 remain unaccepted; Phase 0 **OPEN**. No Auth/RLS/roles, server schema, Supabase data, financial posting or account credentials changed. Rollback: revert PR #100 and rerun guarded Pages; no data rollback.
671 +
672 +### 2026-10-14 Company form action-state / license permission follow-up
673 +- Owner requested autonomous continuation with short summaries after completed work parts.
674 +- Live read-only TinyFish dashboard showed expired organization subscription for an account expected to have lifetime entitlement; license truth is not independently verified against live database. `js/organization-rbac.js` replaces profile subscription with organization license; `js/core.js` `canWrite()` prevents edits when expired. Do not bypass license or change financial data.
675 +- Company editor action state updated in `js/companies.js`: require nonempty name, subsidiary parent, actual edit changes and `canWrite()` before enabling save. Save handler still enforces `requireWrite()`; button tooltip explains blocked license. Source originated PR #140; old branch was behind `main` by one merge and GitHub returned `405` requiring 3 missing status checks despite green Quality/Security workflows. Rebased changes on current `main` in a new PR branch, without bypassing branch protection.
676 +- Verification: previous head `2a8dc526ec4b3eaae077d0614b060e421c081d91` Quality and Security both SUCCESS, but fresh branch CI and production real DOM not yet verified. Next: verify CI and merge gates; test real DOM without modifying production accounting records; investigate organization entitlement only with authorized live DB access.