سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 15:45 UTC
docs(state): record exact release evidence for bundled asset login repair (#117)
davoodmehraban89 committed
Oct 13, 2026 at 01:19 UTC
9b8d4cd7fa3bcb3b8175019525eaca0ffa97fb59
1 file changed
+6
PROJECT_STATE.md
+6
@@ -115,6 +115,12 @@ The latest user message is the sole source of new instructions. Read AGENTS.md t
115
- **Safe fix scope:** build a same-origin, deterministic **single production extension JS bundle** from the exact 14 source modules in dependency order (all IIFEs, preserve CSP and source); retain existing unbundled source/dev loader; bound the extension load (including missing network) and on any failure explicitly reject workspace readiness, leave login responsive and show actionable asset-failure status, NEVER render incomplete ERP. Cache-bust built script. Add real Playwright built Pages/browser tests for one-request delivery, missing bundle fail-closed, and original parallel development behavior. No network-unapproved external CDNs, no Auth/RLS/schema/users/posting/tenant data modifications. Rollback #PR via protected Pages; no DB rollback.
116
- **Required acceptance:** full 103+ Chromium/Golden/disposable 3 PostgreSQL/Security and exact SHA Pages gate; actual affected-ISP sign-in **remains OPEN** until owner real network retest. Desktop Commander quota previously explicitly exhausted; no retry/bypass. Keep F0-01 and Phase 0 OPEN.
117
118
+### 2026-10-13 Owner F0-01 BOOT_APP_ASSETS — bounded production bundle RELEASED / owner sign-in OPEN
119
+- Owner's affected Chrome screenshots show `BOOT_APP_ASSETS`, `SITE_JS_TIMEOUT`, `MANIFEST_TIMEOUT`, `AUTH_OK` and `REST_HTTP_401`; these are no-store local-file delays plus GoTrue health, **not proof of incorrect credentials or PostgREST outage**. Public notes exclude account identifying information.
120
+- Source root cause class: startup waited on 14 individual extension script downloads without individual deadlines and previously marked the full ERP ready even on script errors. [PR #116](https://github.com/davoodmehraban89/Factor-easy/pull/116) merged to runtime SHA `c72a83981860ca38a68b6f4a7b9900dd664c64f7`. Pages builds one hashed, same-origin, syntax-checked bundle of the same 14 dependency-ordered IIFEs; source/dev remains independent. Extension wait bounded at 18s and failed assets reject readiness with `BOOT_APP_ASSETS_FAILED`; no partial accounting workspace is displayed.
121
+- PR-head Quality run `38311574244` SUCCESS **105/105 Chromium** (bundled production + blocked-bundle negative), Golden and 3 PostgreSQL PASS; Security `38311574218` SUCCESS. Exact merged main Quality `38311972925` SUCCESS, Security `38311972939` SUCCESS, Release Gate `38312280586` SUCCESS and Pages `38312349416` SUCCESS. Cancelled/skipped duplicate checks excluded.
122
+- No Auth/RLS/schema/users/financial data/posting, no SMS/provider or remote desktop modifications. Remote Desktop Commander previously exhausted monthly quota; no bypass. **Owner affected-ISP full sign-in and performance not yet verified**; issue #106, F0-01, Phase 0 OPEN. Next: affected Chrome hard refresh and one actual sign-in, report result, elapsed and any BOOT code; if still failing compare an independent Internet connection. Rollback: revert #116 and gated deploy.
123
+
124
## Current change ledger
125
| 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. |
126