The Future of Conscious Fasting & Vedic Guidance
Executive product presentation outlining upcoming architectural releases for Upavāsa (उपवास). Bridging clinical circadian telemetry, peer-to-peer mentorship ecosystems, macro tracking, and sovereign biological intelligence.
Strategic Release Roadmap (Target: Dec 2026)
Systematic timeline derived from validated architecture documents (upavasa-docs/phases/).
Every module maintains strict backward-compatibility and adheres to our "never an external LLM generation call" safety doctrine.
Introduces the new "mentor" RBAC role, independent of monetization tier. Experienced practitioners complete a rigorous 30-question, 60%-pass intake exam generated directly from verified Vedic RAG knowledge bases. Mentors guide up to 50 practitioners simultaneously; practitioners hold up to 3 simultaneous mentors with sovereign data sharing controls and relationship-scoped reviews.
Extends the eating window experience with comprehensive macro telemetry (protein, carbohydrates, healthy fats, and net calories). Integrates the open-access 2.5M+ product Open Food Facts database for instant camera barcode scanning alongside search autocomplete and manual macro entry, feeding real metrics into the 9-principle Yogic Alignment Wheel.
Transforms existing computed signals (streaks, cumulative fasted hours, and 9-axis Yogic Principle Scores) into permanent, celebrated milestone unlocks. Visualized through an elegant mandala grid aligned with Vedic aesthetics rather than superficial generic trophy skins.
Repoints the high-precision retrieval engine into a multi-turn conversational companion. Uses semantic thread biasing to answer follow-up questions while maintaining our zero-hallucination, no-external-LLM rule by quoting verbatim from curated, medically vetted knowledge chunks.
Production distribution across Apple App Store and Google Play Store: full store listings, verified Apple HealthKit & Google Health Connect telemetry permissions, complete compliance disclosures, localized App Store metadata, and biometric security.
Social Mentoring: Mentor vs. Practitioner Dual-Role Experience
Test the live, bidirectional state machine below. Interact with the Mentor phone (left) and Practitioner phone (right) simultaneously to observe real-time suggestions, capacity meters, exam qualification, data sharing controls, and bilateral release.
Sovereign Architecture & Governance Rules
Designed from day one to safeguard user health, preserve data privacy, and maintain institutional clinical boundaries.
Bilateral Capacity Controls
Practitioners are strictly capped at 3 active mentors to prevent contradictory advice. Mentors have a system ceiling of 50 active practitioners to maintain quality of guidance.
Race-Safe SQL LockingRAG-Backed Qualification
To earn the Mentor badge, users must pass a 30-question exam covering safety, pharmacology, and refeeding kinetics generated directly from our verified knowledge base.
60% Pass Threshold · VersionedUnbypassable Adhikara Gate
Mentor suggestions never auto-apply. Even if accepted by the practitioner, proposals must pass the Adhikara safety engine (BMI < 18.5, eating disorders, moderate risk caps).
fasting_core/ahara_gates.pyMentee Data Sovereignty
Practitioners toggle visibility for active sessions, fasting history, and profiles independently. Meal logs, biomarkers, and symptom logs are unconditionally blocked.
MENTOR_PERMISSION_CATALOGMulti-Node Realtime Chat
WebSocket endpoints backed by Redis Pub/Sub on existing container clusters. Guarantees message delivery across Kong load-balanced nodes with offline push notification fallback.
WebSockets + Redis Pub/SubBilateral Offboarding & Release
Either party can conclude the relationship at any time. When a mentee achieves fasting independence, the mentor releases them with a personalized note, freeing slots for both users.
Read-Only History PreservationEngineering Standards & Architecture Map
| Domain / Subsystem | Implementation Architecture | Business & Safety Impact |
|---|---|---|
| Role-Based Access (RBAC) |
New "mentor" role in User.role + require_role(). Completely independent of subscription tier (Free, Plus, or Pro).
|
Democratizes mentorship access based on proven personal fasting experience rather than pay-to-play economics. |
| Messaging Infrastructure |
/ws/chat endpoint, authenticated via JWT. Redis Pub/Sub (channel per conversation), local Hive cache (messages_local), background push fallback via SAQ.
|
Delivers instant peer coaching while operating robustly behind load-balanced multi-container clusters. |
| Safety Safeguards |
Hard execution gate in fasting_core/ahara_gates.py. Soft caps 14h on moderate-risk conditions, hard blocks on eating disorder history.
|
Shields users from unsafe advice and eliminates organizational liability by enforcing clinical safeguards. |
| Audit & Accountability |
Relationship-scoped reviews (1–5 stars + text feedback). Dedicated supervisor moderation endpoints in /admin/mentors/*.
|
Ensures full transparency, accountability, and the ability to suspend bad actors swiftly. |