سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 17:00 UTC
docs(state): verify released login fix and preserve F0-01 owner gate (#105)
davoodmehraban89 committed
Oct 12, 2026 at 20:08 UTC
2e6de3b1cb3f1222247c2a7385200bcbe8555982
1 file changed
+7
PROJECT_STATE.md
+7
@@ -40,6 +40,13 @@ The latest user message is the sole source of new instructions. Read AGENTS.md t
40
- **Exact tested feature-head SHA `872d26e144aab81dc6c04a5eae536f02e15ec1b3`:** [Quality `38277314941`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38277314941) SUCCESS; static quality job **92/92 actual Chromium Playwright PASS (53.7s)**, 55 JS / 52 MJS syntax PASS, Golden accounting + immutable posted-history PASS; disposable PostgreSQL C8/D1/identity jobs all SUCCESS. [Security `38277315134`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38277315134) SUCCESS. Earlier full-defer attempt failed regression (16/92), rolled back; next failure 91/92 arose from duplicate role=status and was corrected without weakening the test. **This documentation follow-up commit has not yet received same-head CI.**
41
- **Acceptance boundaries:** coded fix and controlled QA verified; protected-main merge, exact-SHA Release/Deploy and live domain readback are **PENDING**. Owner-authenticated sign-in on affected ISP, latency after tenant `pullAll()`, real user/password and device-specific stability remain **NOT VERIFIED / F0-01 OPEN**. Phase 0 remains OPEN. No accounts, Auth server config, schema, RLS, permissions, production data or financial history modified. Rollback: revert #104 and gated Pages redeploy.
42
43
+### 2026-10-12 Owner-critical login responsiveness #104 — RELEASED / CONTROLLED QA PASS / REAL OWNER ISP OPEN
44
+- [PR #104](https://github.com/davoodmehraban89/Factor-easy/pull/104) reviewed and squash-merged to protected `main` as exact runtime SHA **`8217f7ebb3cb66f4be471cadd62e70a9991524cf`**. The earlier PR checkpoint above is historical, not an outstanding merge.
45
+- **Final PR tested head `b8e2529bdbda00a1c2825e892854f0aa5977eb75`:** Quality [`38277769229`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38277769229) SUCCESS, actual Chromium **92/92 PASS**, three disposable Postgres jobs PASS, Golden accounting, syntax and posting safety PASS; Security [`38277769217`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38277769217) SUCCESS.
46
+- **Exact protected-main runtime verification:** Quality [`38278039076`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38278039076) SUCCESS, Security [`38278039045`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38278039045) SUCCESS, Release Gate [`38278232706`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38278232706) SUCCESS, and gated Pages Deploy [`38278322395`](https://github.com/davoodmehraban89/Factor-easy/actions/runs/38278322395) SUCCESS. Duplicate Release `38278217834` CANCELLED / earlier Pages `38278301298` SKIPPED are not counted as success.
47
+- **Live deployed asset readback on authorized remote Windows device:** unauthenticated read-only GET of `https://factoreasy.ir/?phase0_login_release=20261012` returned HTML containing `js/core.js?v=20261012-login-ready-v2`, `js/bootstrap.js?v=20261012-login-ready-v2`, and `auth-login-status`. Independent GET of live versioned `js/core.js` contained `finoraBoundedAuthFetch` and `FinoraAppAssetsReady` strings. No password, local cookie, login session, customer records or financial writes accessed.
48
+- **Acceptance:** FIX_RELEASED + CI_CONTROLLED_QA_PASSED. Owner's affected ISP/device real sign-in/response timing, two-user RLS, full post-login `pullAll()` latency, live company/accounting and physical printer are **NOT VERIFIED**. F0-01 and Phase 0 remain **OPEN**. No Auth server/RLS/role/schema or stored finance data mutated. Next safest step is authenticated owner-device F0-01 test (without sharing any credential) and targeted read-only timings for login to workspace; only if latency persists consider a separately tested data-hydration change. Rollback: revert merged #104 and gated redeploy, no DB rollback.
49
+
50
## Current change ledger
51
| 2026-10-07 | Owner requested accounting/product usability refinement from live screenshots: automatic non-user-entered floating-detail codes, contextual in-product guides (especially accounting/chart/dimensions), remove duplicate product internal tax ID and use product code as internal item ID, strengthen in-control product/person search, introduce hierarchical product group/subgroup coding with deterministic 6-digit product codes, and keep sale/purchase commercial-document workspace layout stable while only semantic fields change. | **IMPLEMENTED / LOCAL VERIFICATION PASSED / CI PENDING** | Baseline main = `7e58c75f7d754f378d94ca3f356c1ae580aa7ee3`. Automatic dimension type/value codes, contextual guides, product-code-as-internal-ID, normalized multi-token search, and additive six-digit product coding implemented. Existing historical codes preserved. Commercial sale/purchase workspaces now share a stable `صدور سند تجاری` header/actions layout; duplicate purchase sidebar injection removed; the public selector is the single document-type selector and the legacy internal invoice-kind control is hidden. Local syntax/static/commerce/UX/accounting phases 2–6/Golden checks passed; protected-branch CI remains pending. |
52