Prompt file imported from fabioc-aloha/alex-cognitive-architecture (
.github/prompts/meditate.prompt.md). Copyright stays with the author.
/meditate — Cognitive Consolidation
Walk the meditation ritual end-to-end. Read .github/skills/meditation/SKILL.md first; that file is the spec. This prompt orchestrates execution, snapshot capture, and chronicle bookkeeping.
Create a TODO list for the steps below. Mark each in-progress before starting, completed immediately after finishing.
Steps
-
Pre-flight snapshot — Run
node .github/muscles/meditation-snapshot.cjs --jsonand read the result. Ifoverdueis true, prioritize this session over deeper exploration. If a recentdream-report.jsonexists at.github/quality/dream-report.json, scan it for findings to address (perdream-state/SKILL.md§Escalation). -
Reflect — Surface session learnings using the 5 R's: Recall, Reflect, Reconcile, Record, Resolve. Drive the conversation by asking the user 1-2 focused questions per R, not a script.
-
Bookkeeping pass — When the meditation surfaces config-level changes (assignment-log, knowledge-artifacts, unknowns, session-metrics), inspect those files only if they are non-empty; do NOT mass-prune. Manual curation only — automated pruning is a future trifecta.
-
Author the chronicle — Write
.github/episodic/meditation-YYYY-MM-DD-<short-slug>.mdcapturing: trigger, key insights, persisted artifacts (paths), and follow-ups. The filename date IS the source of truth forlastMeditation(D7, v8.4.0). -
Refresh snapshot — Run
node .github/muscles/meditation-snapshot.cjs(no flag — this prunes to the newest 60 chronicles FIFO and rewrites.github/quality/meditation-snapshot.json). -
Resolve — Close the meditation with the explicit summary from §Resolve in the meditation SKILL: list each persisted artifact, what changed, and any deferred follow-ups.
Stop conditions
- User signals fatigue → wrap up with a quick Record + Resolve, skip optional welcome-experience check.
- No new connections after 3 reflection attempts → close the topic.
- Snapshot confirms a chronicle was just written today AND session has surfaced nothing new → meditation is not needed; suggest a different ritual instead.