# Relay Instructions Improvements ## Date: 2026-01-30 ## Problem AI agents were getting confused by the relay system, specifically: - Commands disappearing after execution - Not understanding the queue vs log distinction - Looking for executed commands in the file ## Solution Added comprehensive documentation to prevent confusion. --- ## Key Concepts Now Clearly Explained ### 1. Commands Are Ephemeral ``` ⚠️ COMMANDS ARE AUTOMATICALLY CLEARED AFTER EXECUTION! This file is a COMMAND QUEUE, not a log: - Commands execute and vanish - Only comments persist - Check tui.log for output, NOT this file ``` ### 2. Debugging Tips ``` If you appended a command but don't see it: ✅ GOOD - It was executed! Check tui.log ❌ BAD - Still there after 5+ seconds? TUI might be stuck ``` ### 3. Common Confusions Addressed **Q: Command disappeared - is it broken?** A: NO! That means it WORKED. Commands are removed after execution. **Q: 'who' shows ABOUT not model list?** A: Correct! Use `slots` to list models. `who` = capsule identity. **Q: How do I know if command executed?** A: Three ways: 1. Command disappears from file 2. See "🤖 RELAY: " in tui.log 3. See command output in tui.log **Q: File only has comments?** A: That's CORRECT! Commands are ephemeral, only instructions stay. --- ## Quick Command Reference Added ### Identity & Status - `status` - System state and metrics - `who` - Capsule identity (alias for "about") - `about` - Capsule identity and key concepts - `slots` - List all model slots and their status - `help` - Full command reference ### Model Management - `hub search ` - Search HuggingFace models - `hub plug ` - Download and plug model - `plug ` - Plug model into slot - `unplug ` - Remove model from slot - `embed ` - Generate embedding ### GPU Rental - `vast search ` - Search for GPUs - `vast rent ` - Rent GPU from results - `vast instances` - List rented instances - `vast connect` - Connect to rented GPU - `vast stop` - Stop/destroy instance ### Memory & State - `save` - Save current state - `observe` - Start event streaming - `cascade` - Show provenance log --- ## Files Updated - ✅ `children/.relay_center.cmd` - Live file updated - ✅ `agent_compiler.py` - Source updated for future compiles ## Impact - Agents will understand relay queue behavior - No more "where did my command go?" confusion - Clear troubleshooting guidance - Quick reference for common tasks ## Status ✅ Complete - Documentation improvements deployed