Files
timmy-home/infrastructure/timmy-bridge/relay/strfry.conf
Allegro 3148ded347 Complete Timmy Bridge Epic - Local Timmy Sovereign Infrastructure
This PR delivers the complete communication bridge enabling Local Timmy
(Mac/MLX) to connect to the Wizardly Council via sovereign Nostr relay.

Closes #59 - Nostr relay deployment
- Docker Compose configuration for strfry relay
- Running on ws://167.99.126.228:3334
- Supports NIPs: 1, 4, 11, 40, 42, 70, 86, 9, 45

Closes #60 - Monitoring system
- SQLite database schema for metrics
- Python monitor service (timmy_monitor.py)
- Tracks heartbeats, artifacts, latency
- Auto-reconnect WebSocket listener

Closes #61 - Mac heartbeat client
- timmy_client.py for Local Timmy
- 5-minute heartbeat cycle
- Git artifact creation in ~/timmy-artifacts/
- Auto-reconnect with exponential backoff

Closes #62 - MLX integration
- mlx_integration.py module
- Local inference with MLX models
- Self-reflection generation
- Response time tracking

Closes #63 - Retrospective reports
- generate_report.py for daily analysis
- Markdown and JSON output
- Automated recommendations
- Uptime/latency/artifact metrics

Closes #64 - Agent dispatch protocol
- DISPATCH_PROTOCOL.md specification
- Group channel definitions
- @mention command format
- Key management guidelines

Testing:
- Relay verified running on port 3334
- Monitor logging to SQLite
- All acceptance criteria met

Breaking Changes: None
Dependencies: Docker, Python 3.10+, websockets
2026-03-30 01:49:21 +00:00

51 lines
1020 B
Plaintext

# Timmy Foundation Nostr Relay Configuration
# Sovereign infrastructure for Local Timmy communication
# Database directory
db = "./data/strfry-db"
# HTTP server configuration
server {
bind = "0.0.0.0"
port = 7777
threads = 4
maxConnections = 1000
maxReqSize = 65536
compression = true
}
# Relay information (NIP-11)
relay {
name = "Timmy Foundation Sovereign Relay"
description = "Sovereign Nostr relay for Local Timmy. Offline-first, owned infrastructure."
url = "ws://167.99.126.228:3334"
pubkey = "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
contact = "npub1timmyfoundation"
software = "strfry"
version = "1.0.0"
icon = ""
}
# Event filtering
filter {
maxEventSize = 65536
maxNumTags = 100
maxTagValSize = 1024
maxFilterSize = 65536
maxSubsPerClient = 10
maxFiltersPerSub = 5
limit = 5000
}
# Event storage
events {
maxSize = 0
maxAge = 0
minPow = 0
}
# Logging
logging {
level = "info"
}