|
Download RELAY_INSTRUCTIONS_IMPROVEMENTS.md from tostido/meshscale-worker-template: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/spaces/tostido/meshscale-worker-template/resolve/main/RELAY_INSTRUCTIONS_IMPROVEMENTS.md
- Command line
-
hf download hf://spaces/tostido/meshscale-worker-template/RELAY_INSTRUCTIONS_IMPROVEMENTS.md
-
curl -L -o RELAY_INSTRUCTIONS_IMPROVEMENTS.md https://huggingface.co/spaces/tostido/meshscale-worker-template/resolve/main/RELAY_INSTRUCTIONS_IMPROVEMENTS.md
2.66 kB
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:
- Command disappears from file
- See "🤖 RELAY: " in tui.log
- 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 metricswho- Capsule identity (alias for "about")about- Capsule identity and key conceptsslots- List all model slots and their statushelp- Full command reference
Model Management
hub search <query>- Search HuggingFace modelshub plug <model>- Download and plug modelplug <model>- Plug model into slotunplug <slot>- Remove model from slotembed <text>- Generate embedding
GPU Rental
vast search <query>- Search for GPUsvast rent <number>- Rent GPU from resultsvast instances- List rented instancesvast connect- Connect to rented GPUvast stop- Stop/destroy instance
Memory & State
save- Save current stateobserve- Start event streamingcascade- 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