Add daily digest system documentation

- Created memory/daily-digest-system.md with full system overview
- Documented API endpoints and cron schedule
- Added instructions for AI continuity if agent is replaced
This commit is contained in:
Matt Bruce 2026-02-18 09:49:56 -06:00
parent 105621b40e
commit 3ac195e8d0

View File

@ -0,0 +1,66 @@
# Daily Digest System
## Overview
Automated daily digest at 7:00 AM CST covering:
- iOS development news (especially AI-related)
- OpenClaw updates and community news
- Digital entrepreneurship and passive income opportunities
## How It Works
### 1. Research Phase
The agent searches for:
- **iOS + AI**: Latest developments in AI for iOS apps, CoreML, on-device ML
- **OpenClaw**: GitHub updates, Discord discussions, new features
- **Digital Products**: SaaS ideas, indie hacking, app store success stories
### 2. Compilation
Creates a formatted digest with:
- Date and title
- Categorized sections
- Links to sources
- Brief summaries
### 3. Distribution
- **Primary**: Posts to blog-backup at http://localhost:3003
- **Notification**: Sends Telegram message with link to digest
## API Endpoints
### Blog Backup
```bash
POST http://localhost:3003/api/messages
Content-Type: application/json
{
"date": "2026-02-18",
"content": "## Daily Digest - Feb 18, 2026\n\n### iOS + AI..."
}
```
### Telegram
Use the `message` tool with channel=telegram
## Running Manually
```bash
cd /Users/mattbruce/Documents/Projects/OpenClaw/Web/blog-backup
# Trigger digest generation via cron or manual run
```
## Schedule
- **Time**: 7:00 AM CST daily
- **Cron**: Set up via OpenClaw cron system
## For Future AI Continuity
If this agent is replaced:
1. Read this file for context
2. Check cron jobs: `openclaw cron list`
3. The job runs as isolated session with full context in payload
4. Blog data persists in `data/messages.json`
## Search Queries Used
- "iOS AI development 2026"
- "CoreML new features"
- "OpenClaw GitHub"
- "indie iOS developer success"
- "digital products passive income"