@davoodmehraban89 / LifeMate / commits / 11e0d02
Fork 0

LifeMate — Personal, Family & Learning Companion

docs(state): checkpoint mock-only Kavenegar OTP adapter and approval gate

davoodmehraban89 committed Oct 15, 2026 at 01:00 UTC 11e0d023521dfbbb07e84b9f412e6c6e86148cdf
1 file changed +10
PROJECT_STATE.md
+10
@@ -1,5 +1,15 @@
1 # LifeGuide / لایف‌گاید — وضعیت واقعی پروژه
2
3 +## Kavenegar API adapter — 2026-10-15 (QA CODE, NOT LIVE)
4 +
5 +- Provider **Kavenegar**, verified by owner screenshots of `console.kavenegar.com`; screenshot shows masked API key and a draft new validation template. The key was **not** obtained or stored.
6 +- Suggested `lifeguideotp` validation pattern with literal `%token`, product name LifeGuide, SMS mobile-app use, fallback resend disabled. Provider approval **UNVERIFIED**.
7 +- Backend opt-in `SMS_PROVIDER=kavenegar` implemented on isolated QA branch using `backend/src/kavenegar_sms.js`, minimal factory change in `backend/src/auth_delivery.js`, blank secret variable `KAVENEGAR_API_KEY` in `.env.example`, and mock-only tests in `backend/tests/kavenegar_sms.test.js`. Existing disabled/webhook provider paths kept.
8 +- Implementation confines API key to server env, uses fixed HTTPS Kavenegar VerifyLookup host, no logged provider response/secret/OTP, and no automatic retry of non-idempotent SMS sends. It does **not** use account credentials in Supabase, and the real Node/Express backend still has no approved online hosting.
9 +- New draft [PR14](https://github.com/davoodmehraban89/LifeMate/pull/14) opened to run CI; test results **PENDING**, no merge or live deployment.
10 +- Owner's prepaid Kavenegar balance is finite. **No paid real SMS** sent/approved yet; requesting template name/approval status, never API key. The public `app.lifeguide.ir` is not connected to LifeGuide-QA.
11 +- Guide: [KAVENEGAR_SMS_SETUP.md](docs/operations/KAVENEGAR_SMS_SETUP.md). Provider official `VerifyLookup` documented in the official Kavenegar Node SDK.
12 +
13 ## Public domain and owner SMS panel — 2026-10-15 (READ-ONLY CHECK)
14
15 - **Official product name: LifeGuide** (not آرام). Repository `LifeMate` and package/protocol identifiers remain unchanged unless separately approved.