سامانه صدور فاکتور و حسابداری
docs(state): record owner SITE_UNREACHABLE screenshot, false-positive manifest-only probe, and no remote quota
davoodmehraban89 committed
Oct 12, 2026 at 23:10 UTC
b70319e522e30515ecf7270436461286d86a535e
1 file changed
+6
PROJECT_STATE.md
+6
@@ -82,6 +82,12 @@ The latest user message is the sole source of new instructions. Read AGENTS.md t
82
- **Independent Supabase deployment inspection:** `list_edge_functions` still returned only `admin-user-management` and `finora-stripe-qa-read`, neither the new SMS hook nor phone Auth settings activated or modified. No SMS sent, no new Auth users created, no financial DB writes/RLS/schema changes. Existing email/password/Google login remains untouched. User's Desktop Commander device available; checkout `C:\Temp\Factor-easy` is stale with 2189 untracked files and was not edited.
83
- **Remaining independent activation authorization:** vendor approval, secure server secrets, hook deployment + verify_jwt=false, enabling Supabase phone Auth and signed Send SMS hook, validated existing-user phone linking (never duplicate `auth.users.id`), SMS delivery costs/test number, CAPTCHA/rate limiting/replay dedupe plan, staged mobile UI and affected owner ISP acceptance. **No next step may infer any of these authorized. F0-01 and Phase 0 OPEN.**
84
85
+### 2026-10-12 Phase 0 F0-01 affected network: screenshot SITE_UNREACHABLE and account timeout — DIAGNOSIS OPEN
86
+- **Owner evidence:** real Chrome screenshot of Finora email/password login shows `دریافت اطلاعات حساب بیش از حد طول کشید...` and `SITE_UNREACHABLE` from the built-in connectivity diagnostic. The screenshot contains private login address: NEVER copy user email/credential into tickets, public logs or code. It does not prove password invalid, that all ERP assets are inaccessible or which tenant/network fetch failed. Earlier owner video/photo documented blank/inert handlers, separately addressed in PR #107; this observation is AFTER that deployment.
87
+- **Confirmed code-level limitation:** `js/login-connectivity.js` currently runs two probes: same-origin `manifest.json` and Supabase GoTrue `/auth/v1/health`, then **returns SITE_UNREACHABLE whenever ONLY manifest fetch fails**, masking the Auth outcome and without testing any executable JS. The `manifest.json` exists in GitHub and is copied by `scripts/build-pages.mjs`, but owner ISP actual asset HTTP result remains unknown. `enterApp()` read-only account bootstrap/profile/org membership/paginated records has a 25s timeout and shows the independent account timeout message. These two strings do not prove one shared cause.
88
+- **Diagnostic remediation scope:** test one same-origin critical local JS file **and** manifest independently alongside Supabase Auth health, preserve truthful independent codes and avoid false blanket unreachable from manifest alone. Add deterministic Chromium tests for manifest-only HTTP failure, actual script failure, Auth failure and combined failures. Do not log personal identifiers, passwords, JWTs, API keys or HTTP response bodies. No Supabase/Auth/RLS/roles/schema, financial posting or real account modifications. Preserve exact legacy login behavior pending actual owner ISP result. Rollback narrow UI-only PR.
89
+- **Availability limitation:** Desktop Commander device `DESKTOP-71SJ63M` reports ONLINE, but **monthly tool quota is exhausted** (explicit tool error); do not retry/reconnect/circumvent. Public external fetch of owner domain was also inaccessible in current external inspection context. Therefore real owner-ISP CDN/site/GoTrue HTTP status and precise 25s timeout stage are **NOT VERIFIED**; F0-01 and overall Phase 0 OPEN. Next owner validation: same browser and alternate network comparing independent probe codes without sharing login secrets.
90
+
91
## Current change ledger
92
| 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. |
93