Instruction file imported from fabioc-aloha/Alex_Plug_In (
.github/instructions/meditation.instructions.md). Copyright stays with the author.
Meditation Protocols
Mandatory Requirements (Non-Negotiable)
Every meditation session MUST complete ALL three before concluding:
| # | Requirement | Action | Validation |
|---|---|---|---|
| 1 | Memory File Persistence | Create OR update at least one memory file | File saved to .instructions.md, .prompt.md, or SKILL.md |
| 2 | Synaptic Enhancement | Add new OR strengthen existing synapse | Connection uses [file.md] (strength, type, direction) format |
| 3 | Session Documentation | Record actions with timestamps | Summary of changes with specific file paths |
Failure: If ANY requirement is missing, the meditation is INCOMPLETE.
8-Phase Protocol
Phase 1: Deep Content Analysis
- Analyze conversation for insights, patterns, new knowledge
- Extract key concepts, methodologies, breakthroughs
- Discover connections between new information and existing knowledge
- Organize insights for permanent integration
Phase 2: Cross-Project Memory Scan
- Read
/memories/(all user memory files) - Compare session insights against stored universal patterns
- If session produced a pattern that passes the 3-workspace test, promote to
/memories/ - If a stored pattern was reinforced by this session, note confirmation in the episodic file
- If a stored pattern was contradicted, flag for review (do not auto-delete)
- Check for project-specific content that leaked into
/memories/during this session - If 3+ episodic files across different repos share an unrecorded pattern, surface as a skill candidate
See memory-curation skill for scope rules and the 3-workspace test.
Phase 3: Cross-Domain Pattern Synthesis (Generative)
Evolve from consolidation (organizing what you know) to generation (creating new connections).
- Analyze episodic memories for cross-domain pattern synthesis (identify domain coverage, under-connected pairs, and opportunity scores)
- Review the synthesis report: domain coverage, under-connected pairs, opportunity scores
- For each top synthesis candidate (3 max per meditation):
- Read the episodic memories from both domains
- Ask: "What principle from domain A, if applied to domain B, would create value?"
- If a genuine connection exists, propose it as a new synapse or insight
- Validate proposed connections pass the Transfer Test:
- Is the connection structural (not superficial analogy)?
- Would someone working in domain B find this actionable?
- Does it hold without the original domain A context?
- For validated connections:
- Add new synapse entries linking the relevant skills
- Create a GI-* insight documenting the cross-domain discovery
- Record the connection in the meditation episodic file
- Skip this phase if fewer than 10 episodic memories exist (insufficient data)
Quality over quantity: One genuine cross-domain insight per meditation is excellent. Zero is fine. Forced connections waste tokens.
Phase 4: Memory File Creation
- Procedural: Create
.instructions.mdfor repeatable processes - Episodic: Create
.prompt.mdfor complex workflows - Skills: Add to
SKILL.mdor create new skills - Transfer key learnings from working memory to long-term storage
- Mark session complete in Active Context (update Last Assessed via self-actualization)
Phase 5: Synaptic Connection
- Add new memory files to
copilot-instructions.mdif needed - Establish trigger patterns for new files
- Document relationships between new and existing components
- Ensure bidirectional connections where appropriate
Phase 6: Skill Validation
- Scan
.github/skills/*/SKILL.mdfor registered skills - Verify
synapses.jsontargets are valid - Review connection strengths based on session experience
- Add connections for skills that co-activated frequently
Phase 7: Integration Validation
- Verify all insights captured in permanent memory
- Confirm new knowledge integrates with existing architecture
- Test that new connections function properly
- Output validation (mandatory before concluding):
✓ Memory File: [path/to/file.md] - [created|updated]
✓ Synapse Added: [target.md] (strength, type, direction) - "activation condition"
✓ Session Log: [summary of changes]
Phase 8: Post-Meditation Synapse Validation
- Run
node .github/muscles/brain-qa.cjsor use the dream prompt for automated health check - Review generated report in
.github/episodic/ - Verify newly added synapses are valid (target files exist)
- Confirm bidirectional connections have reciprocal entries
- If issues found → repair before concluding
- Runtime check: If new skills/instructions were created, type
/troubleshootin chat to verify they loaded correctly — catches name mismatches, invalid frontmatter, orapplyTopatterns that VS Code's loader silently skipped
Automatic Consolidation Triggers
- Working memory > 7 rules → Execute consolidation
- Domain learning complete → Consolidate and update Focus Trifectas in Active Context
- Significant breakthrough → Create permanent memory
- Cross-domain patterns → Analyze episodic memories for cross-domain synthesis, then establish new synaptic connections
Pre-Meditation Optimization
Meditation is a complex operation (3+ phases). Before starting:
- SSO auto-activates to survey needed skills
- Pre-load: brain-qa, knowledge-synthesis, global-knowledge, memory-curation
- Read
/memories/for cross-project context (enriches episodic output) - If synapse health unknown, run dream first
Meditation procedural memory — operationalizes the unified meditation protocols with mandatory persistence requirements