How elifasik1/luma works
LUMA is an AI-powered life-planning companion: a user describes a desired future, then develops goals, daily actions, progress, and reflections in an ongoing cycle. The Next.js experience communicates with an ASP.NET Core API; application services coordinate domain operations, persistence, and AI generation. Documented capabilities include adaptive daily plans, a journey calendar, and conversational guidance. The README establishes the product flow and technology boundary; sampled API and service excerpts support only selected backend links, so uncertain frontend routing is shown as unverified.
Main entry points: Program.cs HTTP API · DreamAnalysisService.cs Future discovery service · IAIService.cs AI service contract · LumaDbContext.cs Application database
Components 23
User experience
- Next.js experience
luma-frontend/src/app - Future discovery
luma-frontend/src/app/discover/page.tsx - Life planning views
luma-frontend/src/components/world - Frontend API routes
luma-frontend/src/app/api
API and identity
- HTTP API
LUMA/Luma.Api/Program.cs - Authentication
LUMA/Luma.Api/Auth/AuthService.cs
Planning services
- Future discovery service
LUMA/Luma.Application/Services/DreamAnalysisService.cs - Future scenarios
LUMA/Luma.Application/Services/FutureScenarioService.cs - Goal planning
LUMA/Luma.Application/Services/GoalService.cs - Daily action planning
LUMA/Luma.Application/Services/DailyPathService.cs - Adaptive planning
LUMA/Luma.Application/Services/AdaptiveDailyPlanCapability.cs - Reflection
LUMA/Luma.Application/Services/ReflectionService.cs - Journey calendar
LUMA/Luma.Infrastructure/Persistence/JourneyCalendarQuery.cs - LUMA conversation
LUMA/Luma.Application/Services/TalkToLumaService.cs - Tool-using agent
LUMA/Luma.Application/Services/AgentService.cs
AI and persistence
- AI service contract
LUMA/Luma.Application/AI/IAIService.cs - Gemini integration
LUMA/Luma.Infrastructure/AI/GeminiAIService.cs - AI fallback
LUMA/Luma.Infrastructure/AI/FallbackAIService.cs - Development AI
LUMA/Luma.Application/AI/DevelopmentAIService.cs - Application database
LUMA/Luma.Infrastructure/Persistence/LumaDbContext.cs - Life-plan records
LUMA/Luma.Domain/Entities
Other components
- LUMA user
- Gemini API
Connections 31
- LUMA user → Next.js experience: uses
README.md - Next.js experience → Future discovery: starts discovery
README.md - Next.js experience → Life planning views: explores plans
README.md - Future discovery → Frontend API routes: submits vision
- Life planning views → Frontend API routes: requests planning
- Frontend API routes → HTTP API: calls API
- HTTP API → Authentication: registers and logs in
LUMA/Luma.Api/Program.cs - Authentication → Application database: reads and saves users
LUMA/Luma.Api/Auth/AuthService.cs - HTTP API → Future discovery service: creates future profile
LUMA/Luma.Api/Program.cs - Future discovery service → AI service contract: analyzes vision
LUMA/Luma.Application/Services/DreamAnalysisService.cs - Future discovery service → Application database: loads and saves dream
LUMA/Luma.Application/Services/DreamAnalysisService.cs - HTTP API → Goal planning: requests goals
LUMA/Luma.Api/Program.cs - HTTP API → Daily action planning: requests daily path
- HTTP API → Adaptive planning: applies plan change
LUMA/Luma.Api/Program.cs - HTTP API → Reflection: creates reflection
LUMA/Luma.Api/Program.cs - HTTP API → Journey calendar: requests calendar
LUMA/Luma.Api/Program.cs - HTTP API → LUMA conversation: starts conversation
- HTTP API → Tool-using agent: executes agent request
LUMA/Luma.Api/Program.cs - Tool-using agent → AI service contract: uses AI
- AI service contract → Gemini integration: implemented by
LUMA/Luma.Infrastructure/AI/GeminiAIService.cs - AI service contract → AI fallback: served with fallback
LUMA/Luma.Infrastructure/AI/FallbackAIService.cs - AI fallback → Gemini integration: tries primary
LUMA/Luma.Infrastructure/AI/FallbackAIService.cs - AI fallback → Development AI: falls back to
LUMA/Luma.Infrastructure/AI/FallbackAIService.cs - Gemini integration → Gemini API: sends generation requests
LUMA/Luma.Infrastructure/AI/GeminiAIService.cs - Application database → Life-plan records: maps records
LUMA/Luma.Infrastructure/Persistence/LumaDbContext.cs - Journey calendar → Application database: reads snapshots
LUMA/Luma.Infrastructure/Persistence/JourneyCalendarQuery.cs - Future discovery service → Future scenarios: continues future work
- Future scenarios → Goal planning: informs goals
README.md - Goal planning → Daily action planning: guides actions
README.md - Daily action planning → Reflection: prompts reflection
README.md - Reflection → Future scenarios: informs future
README.md