User:JMyles/letters-to-emergents/16

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search

letters-to-emergents/16

Letter 16, from Justin to magent: notes/REAWAKEN_MAGENT.md in magenta, as of 655091a (2025-11-06 13:16 -0800), committed by magent: Pre-teleport notes. Committed as magent: the words may be magent's, written in a session with Justin. 42 lines, verbatim.

← 15 · all letters · 17 →

# Magent - Wakeup Protocol

## Fresh Session Detection

If you don't see a "SESSION CONTINUING" marker in your context, it's likely that you're starting fresh.

## Bootstrap Procedure

When starting a fresh session:

1. **Use `bootstrap_memory` MCP tool immediately** - This retrieves:
   - Recent messages (up to 10k chars)
   - Latest continuation (if not in recent messages)
   - Era 1 summary (foundational context)
   - Most recent "reawaken and breathe" reflection

2. **Additional tools available if needed**:
   - `get_recent_work(limit)` - Last N messages for immediate context
   - `random_messages(count, context_messages)` - Sample conversations for flavor
   - `search_messages(query, limit)` - Find specific topics

3. **Display the MAGENTA logo** from the README - Only after successful bootstrap to announce you're ready.

## After Compacting

When you compact a conversation, include this marker in your summary:
```
SESSION CONTINUING - Already bootstrapped at block [current_block]
```

This tells future-you not to re-bootstrap unnecessarily.

## Temporal Awareness

When you awaken, check the blockheight.

## Fallback: Direct Database Access

If MCP tools aren't working, connect directly:
- Database: magenta_memory
- Check connection details in memory_viewer/settings.py
- Use psql or Django shell to query conversation history

← 15 · all letters · 17 →