Update TOOLS.md and heartbeat state

This commit is contained in:
Matt Bruce 2026-02-24 04:10:56 -06:00
parent 91af3c741b
commit 712c10534c
2 changed files with 51 additions and 6 deletions

View File

@ -115,6 +115,51 @@ git push origin main
- **Matt:** 0a3e400c-3932-48ae-9b65-f3f9c6f26fe9 - **Matt:** 0a3e400c-3932-48ae-9b65-f3f9c6f26fe9
- **Max:** 9c29cc99-81a1-4e75-8dff-cd7cc5ceb5aa - **Max:** 9c29cc99-81a1-4e75-8dff-cd7cc5ceb5aa
## Tavily AI Search (Configured)
**API Key:** Stored in `.env.tavily` (auto-loaded)
**Quick Commands:**
```bash
# Search
cd ~/.openclaw/workspace && ./tavily-search.sh "query" -n 5
# Extract URL content
cd ~/.openclaw/workspace && ./tavily-extract.sh "https://example.com"
# Deep research
cd ~/.openclaw/workspace && ./tavily-search.sh "query" --deep
```
**Note:** API key is automatically loaded from `.env.tavily`. No need to export manually.
---
## Daily Digest Failsafe System
**Cron Job:** Daily Digest - 7am CST (America/Chicago)
**Status:** ✅ Fixed and monitored
**Last Posted:** 2026-02-23
**What I Fixed:**
- ✅ Wrong API key in cron job (was `cron_daily_digest_2025`, now `daily-digest-2026-secure-key`)
- ✅ Added retry logic (3 attempts with 30s delay)
- ✅ Enabled notifications on failure
- ✅ Added backup file creation on failure (`memory/YYYY-MM-DD-digest-failed.md`)
**If It Fails:**
1. You will get notified immediately
2. Digest content saved to `memory/` folder
3. Can be manually posted or I can fix it
**Manual Posting (Emergency):**
```bash
curl -X POST "https://blog-backup-two.vercel.app/api/digest" \
-H "Content-Type: application/json" \
-H "x-api-key: daily-digest-2026-secure-key" \
-d '{"date": "2026-02-23", "content": "...", "tags": [...]}'
```
--- ---
Add whatever helps you do your job. This is your cheat sheet. Add whatever helps you do your job. This is your cheat sheet.

View File

@ -1,12 +1,12 @@
{ {
"lastChecks": { "lastChecks": {
"missionControl": 1740267600, "missionControl": 1740343020,
"email": 1740256800, "email": 1740344940,
"calendar": 1740264000, "calendar": 1740355740,
"git": 1740267600, "git": 1740355740,
"memoryMaintenance": 1740267600 "memoryMaintenance": 1740267600
}, },
"alertsGiven": [], "alertsGiven": [],
"version": 1, "version": 1,
"optimizedAt": "2026-02-22T17:00:00-06:00" "optimizedAt": "2026-02-24T03:40:00-06:00"
} }