mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
feat(rituals): rename ai-rituals → rituals, add ceremony step types
The module was named "ai-rituals" because every step was a tool call
(log drink, show tasks, create task from text input). That framing
excluded a whole class of rituals that *don't* capture data —
personal ceremonies that just want to hold the user's attention for a
minute: the morning coffee, the Sunday reset, the before-bed shutdown.
Changes:
- Renamed the module: apps/web/src/lib/modules/ai-rituals → rituals
- App id 'ai-rituals' → 'rituals' in app-registry/apps.ts
- Moved the category from 'ai' to 'life' in app-registry/categories.ts
(personal practice, not an AI subsystem)
- Added RitualCategory = 'utility' | 'ceremony' | 'mixed' on both
LocalRitual and RitualTemplate. Defaults to 'utility' on read so
existing data from before this change stays accessible.
- 3 new step types in the RitualStepConfig union:
- presence : markdown body + optional countdown, no tool call.
Use case: "Fünf Minuten still trinken."
- breath : guided breathing with a circle that expands/contracts
on inhale/exhale. Presets: box (4-4-4-4), 4-7-8,
coherent (5-0-5-0), plus custom timings.
- media : image + caption (mantra / photo / quote) with
optional linger timer.
- RitualRunner extended: timer teardown on step change, breath state
machine with phase-driven scaling animation, stop/early-exit for
both.
- 3 ceremony templates seeded:
- Morgenkaffee : Wasser → Aufbrühen → 3 tiefe Atemzüge →
5 Min still trinken
- Sonntag-Reset : Ankommen → Streaks → Was nehme ich mit? →
Nächste Woche → Handy weg (mixed)
- Vor dem Schlaf : Bildschirme aus → 4-7-8 Atmung → Journal-
Eintrag → Loslassen
- ListView: category filter chips (Alle / Utility / Zeremoniell),
templates grouped by category in the picker, category pill on each
ritual row (hidden for the default 'utility').
- docs/MODULE_REGISTRY.md: moved from AI-System (now 8) to Gesundheit
& Wellness (now 11).
No schema migration — the new `category` field is optional on
LocalRitual and falls back to 'utility' when undefined, so Dexie
doesn't need a version bump. Existing rituals (none in production)
keep working.
Heads-up for scenes: anyone who had 'ai-rituals' pinned to a workbench
scene will need to re-add it as 'rituals'. Acceptable given
pre-launch state.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a2423b4932
commit
2df9ecdcaa
8 changed files with 813 additions and 188 deletions
|
|
@ -18,7 +18,7 @@ Alle 73 Module der Mana-App (`apps/mana/apps/web/src/lib/modules/`).
|
|||
| `inventory` | Inventory | Besitz verwalten mit Fotos, Quittungen, Garantien |
|
||||
| `calc` | Calc | Taschenrechner (Standard, Scientific, Programmer, Unit-Conversion) |
|
||||
|
||||
## Gesundheit & Wellness (10)
|
||||
## Gesundheit & Wellness (11)
|
||||
|
||||
| Modul | Name | Beschreibung |
|
||||
|---|---|---|
|
||||
|
|
@ -30,6 +30,7 @@ Alle 73 Module der Mana-App (`apps/mana/apps/web/src/lib/modules/`).
|
|||
| `period` | Periode | Menstruations-Tracking mit Vorhersagen und Phasen-Erkennung |
|
||||
| `stretch` | Stretch | Mobility-Assessments und geführte Dehn-Routinen |
|
||||
| `meditate` | Meditate | Meditations-Timer, Atemübungen, Body-Scans |
|
||||
| `rituals` | Rituale | Geführte Sequenzen — utility (Daten-Erfassung) + ceremony (Präsenz) |
|
||||
| `mood` | Mood | Stimmungs-Tracking mehrmals täglich mit Kontext und Mustern |
|
||||
| `moodlit` | Moodlit | Beruhigende Ambient-Beleuchtung mit animierten Farbverläufen |
|
||||
|
||||
|
|
@ -100,7 +101,7 @@ Alle 73 Module der Mana-App (`apps/mana/apps/web/src/lib/modules/`).
|
|||
| `myday` | Mein Tag | Tagesübersicht: Tasks, Events, Wasser, Ernährung, Streaks |
|
||||
| `activity` | Aktivität | Live-Activity-Stream über alle Module |
|
||||
|
||||
## AI-System (9)
|
||||
## AI-System (8)
|
||||
|
||||
| Modul | Name | Beschreibung |
|
||||
|---|---|---|
|
||||
|
|
@ -109,7 +110,6 @@ Alle 73 Module der Mana-App (`apps/mana/apps/web/src/lib/modules/`).
|
|||
| `ai-missions` | AI Missions | Langlebige autonome AI-Aufträge |
|
||||
| `ai-agents` | AI Agents | AI-Agenten erstellen und verwalten |
|
||||
| `ai-policy` | AI Policy | Tool-Execution-Policies konfigurieren |
|
||||
| `ai-rituals` | AI Rituals | AI-gesteuerte Routinen und Rituale |
|
||||
| `ai-health` | AI Health | AI-System-Monitoring und Metriken |
|
||||
| `ai-insights` | AI Insights | AI-generierte Insights aus User-Daten |
|
||||
| `news-research` | News Research | RSS-Feed-Discovery und Keyword-Suche |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue