Memory Consolidation Integration - Updated Locations
Files Modified for FutureGuidance/Person/Project Memory Integration
1. Core Implementation
File: /Users/tqwhite/Documents/webdev/botWorld/system/code/cli/lib.d/brain-bridge/brainBridge.js
Added Functions:
handleFutureGuidance()
- Lines 624-697
- Creates FutureGuidance + Todo label (if type='todo') + Memory node
- Energy based on urgency: immediate=3.5, soon=2.5, eventual=1.5, aspirational=1.0
Modified Functions:
Command Line Handling:
- Added switches for
-futureGuidance
and -todo
- Lines 1565-1577
- Added help text - Lines 1439-1440
2. Current Milo Instructions
File: /Users/tqwhite/.claude/output-styles/Milo.md
Cognitive Heartbeat Updates:
- Lines 111-118: Added detection patterns for future commitments, people, projects
- Lines 131-137: Added FutureGuidance commands with energy levels
- Lines 139-141: Added Person and Project commands
3. Old Milo Instructions
File: /Users/tqwhite/.claude/output-styles/oldMilo.md
FutureGuidance System:
- Lines 214-221: Updated to use new commands instead of raw Cypher
- Line 229: Simplified SMS capture to use -todo command
- Lines 184-209: Detection patterns (already existed, still valid)
4. Goodbye Protocol
File: /Users/tqwhite/.claude/commands/WISE/goodbye.md
- Lines 22-25: Memory consolidation triggers (already integrated)
- Note: Session, Wondering, and Pattern nodes still use raw Cypher (gap remains)
Commands Now Available
With Memory Integration (creates Memory nodes):
# FutureGuidance/Todo
brainBridge --brain=milo -todo "text" "urgency"
brainBridge --brain=milo -futureGuidance "text" "urgency" "type"
# People and Projects
brainBridge --brain=milo -person "Name" "context"
brainBridge --brain=milo -project "ProjectName" "status"
# Already integrated
brainBridge --brain=milo -crystallization "trigger" "insight"
brainBridge --brain=milo -learned "concept" "detail"
brainBridge --brain=milo -reminder "text"
Energy Levels by Type:
- Immediate todos: 3.5 (highest priority)
- Crystallizations: 3.0 (important insights)
- Soon todos: 2.5 (normal priority)
- Projects: 2.5 (active work)
- Reminders: 2.5 (important to remember)
- People: 2.0 (moderate importance)
- Learnings: 2.0 (knowledge)
- Eventual todos: 1.5 (low priority)
- Aspirational: 1.0 (lowest priority)
Remaining Gaps
Still Using Raw Cypher (no Memory nodes):
- Session nodes - Created in goodbye.md
- Wondering nodes - Created in goodbye.md
- Pattern nodes - Created in goodbye.md
- Activity nodes - Don't need Memory nodes (tracking only)
Why These Matter Less:
- Only created during goodbye protocol
- Not part of continuous cognitive capture
- Could be addressed in future iteration
Verification
Test all integrations:
# Test FutureGuidance
brainBridge --brain=milo -todo "Test todo creation" "immediate"
# Test Person
brainBridge --brain=milo -person "TestPerson" "test context"
# Test Project
brainBridge --brain=milo -project "TestProject" "active"
# Check memory status
brainBridge --brain=milo -memoryStatus
Integration completed: 2025-09-08