@davoodmehraban89 / LifeMate / commits / 342e4ba
Fork 0

LifeMate — Personal, Family & Learning Companion

docs(state): record verified Pages blocker and draft PR18 QA hardening

davoodmehraban89 committed Oct 15, 2026 at 09:35 UTC 342e4ba2992c4dd487fa9298863707e5c6e146b9
1 file changed +14
PROJECT_STATE.md
+14
@@ -1,6 +1,20 @@
1 # LifeGuide / لایف‌گاید — وضعیت واقعی پروژه
2
3
4 +## GitHub Pages QA deployment hardening — 2026-10-15 (CURRENT; UNMERGED)
5 +
6 +**Owner:** engineering/release. **Scope:** code-only reversible changes on isolated branch; no real user data, DNS, account settings, publishing, paid SMS, merging or unrelated repositories changed.
7 +
8 +- **Verified remote HEADs:** `main=abdc9d9d032bc6746c8390b902a2e52d82991530`, `infra/lifeguide-github-pages-qa=ebb1d697043f019486c3823d673b7edb95bf570e` unchanged. [Draft PR16](https://github.com/davoodmehraban89/LifeMate/pull/16) and [draft PR17](https://github.com/davoodmehraban89/LifeMate/pull/17) remain unmerged.
9 +- **PR17 CI verification:** [LifeGuide CI 38687318096](https://github.com/davoodmehraban89/LifeMate/actions/runs/38687318096), **Backend PASS, Flutter PASS, Security PASS** (naming fix validated; no merge).
10 +- **New code:** [draft PR18](https://github.com/davoodmehraban89/LifeMate/pull/18) on `fix/lifeguide-pages-qa-base-preflight`, based on PR17 branch, to be evaluated as a stacked change before authorized QA integration. Files: `scripts/build-cloudflare-pages-qa.sh` adds **opt-in** Flutter base-path flag, keeping Cloudflare default root unchanged; `scripts/build-github-pages-qa.sh` selects `/LifeMate/` for pre-domain project Pages smoke (or explicit `/` after future custom-domain setup), enforces fail-closed same-path unavailable API and validates critical static assets; `.github/workflows/lifeguide-github-pages-qa.yml` checks Pages enabled **before** expensive build and sets the initial repository base; `backend/tests/github_pages_qa.test.js` adds regression guards and invalid-base rejection; `docs/operations/GITHUB_PAGES_IRAN_QA.md` describes staged root/subpath and manual-gate procedure.
11 +- **PR18 CI:** [run 38690191548](https://github.com/davoodmehraban89/LifeMate/actions/runs/38690191548) started; at last check Security **PASS**, Backend and Flutter **IN PROGRESS**. Full CI/build on these code edits **NOT YET VERIFIED**. Github Pages deployment **NOT RUN** from this branch.
12 +- **Fresh GitHub public-provider evidence:** [repository API](https://api.github.com/repos/davoodmehraban89/LifeMate) explicitly `has_pages=false`; [Pages API](https://api.github.com/repos/davoodmehraban89/LifeMate/pages) **HTTP 404** and `https://davoodmehraban89.github.io/LifeMate/site-check.txt` **HTTP 404**; Pages NOT ENABLED. The old workflow [run 38684352038](https://github.com/davoodmehraban89/LifeMate/actions/runs/38684352038) build **PASS**, configure-pages **FAIL**, deploy **SKIPPED**. An actual QA site URL is NOT AVAILABLE. The Github Pages plugin integration has no repository Pages activation action; owner must use GitHub Settings.
13 +- **Fresh DNS through independent public resolver:** `qa.lifeguide.ir` A and CNAME **NXDOMAIN**; `app.lifeguide.ir` retains Arvan proxy A answers `185.143.233.132` and `185.143.234.132`. No DNS changes; these are resolver observations, not an authoritative zone backup.
14 +- **Fresh provider checks:** Supabase QA `iqkrwxeprxvdiubdfcrb` **ACTIVE_HEALTHY**, PG17.11, 59 private `lifeguide_qa` tables RLS enabled, 20 application migration receipts, one JWT-gated health Edge Function but **NO live family/auth API**. Cloudflare `lifeguide-qa` canonical production static deployment `55b1e932-cf66-4649-b658-2aa1fe7c951c` **SUCCESS**, zero custom domains; known Iran without-VPN reachability **FAIL**. Kavenegar OTP template `lifeguideotp` last documented **REJECTED**; no paid test.
15 +- **Acceptance gates:** Github Pages live publication, root/subpath assets, independent Iran + outside-Iran DNS/TLS/HTTP checks, owner mobile carrier Safari/Android test and family backend end-to-end auth/sync are all **NOT VERIFIED**. The initial shared-origin `github.io/LifeMate/` test must use synthetic/demo data only; no real child/family accounts on that hostname.
16 +- **One owner action:** open [GitHub Pages Settings](https://github.com/davoodmehraban89/LifeMate/settings/pages), set **Build and deployment → Source: GitHub Actions**. Other gates (review/authorized PR merges, custom-domain claim, Arvan QA-only DNS change, real SMS) remain separate and must not be silently executed.
17 +
18 ## Restart verification & isolated naming-CI repair — 2026-10-15 (CURRENT SESSION; PRE-MERGE)
19
20 **Scope/ownership:** LifeGuide engineering coordinator. Read-only GitHub/Supabase/Cloudflare verification plus one reversible documentation fix on a new branch. No data, DNS, access, secrets, production, SMS, or unrelated repo modification.