mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 23:39:40 +02:00
Phase 6 of the Companion Brain. Introduces guided routines ("rituals")
that walk users through multi-step sequences, executing tools and
displaying projection data at each step.
Data layer (companion/rituals/):
- LocalRitual + LocalRitualStep + LocalRitualLog types
- 6 step types: tool_call, number_input, text_input, mood_picker,
info_display, checklist
- 3 templates: Morning routine (water + events + tasks + streaks),
Evening routine (progress + reflection), Hydration check
- Store with createFromTemplate, CRUD, step management, completion logs
- Reactive queries for active/all rituals
UI:
- RitualRunner.svelte: step-by-step card UI with progress bar,
tool execution, number/text input, projection data display,
skip/next navigation
- /companion/rituals route: ritual list, template picker, play/pause
Adds rituals + ritualSteps + ritualLogs tables (v10 schema).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| landing | ||
| mobile | ||
| web | ||