What I Learned Building an Automation That Runs While I Sleep
Description and use
Automating a daily agent that reads Slack and GitHub, uses bookmarks, confirms posts, and stores state to ensure reliable operation without missing or duplicating updates.
Problem
Automating a daily summary agent that reliably reads Slack and GitHub, handles scheduling, and avoids missing or duplicating items.
Outcome
The agent now runs on schedule, never misses or duplicates items, and provides explicit failure handling, improving reliability for autonomous work.
Workflow
- 1. Read last bookmark for each source
- 2. Fetch new items since bookmark
- 3. Re‑check each item’s status before posting
- 4. Post to Slack and wait for explicit confirmation
- 5. Record successful posts in a persistent ledger
- 6. Update bookmarks
- 7. Enforce spending cap per run
Evidence
I hit three failure modes that kept breaking the system.
The fix was counterintuitive: give the agent a bookmark per source and have it remember where it left off.
Now it waits for Slack's explicit confirmation before recording anything.
The framework I landed on has six rules. Read from bookmarks. Report failures explicitly. Re-check items before posting. Confirm before recording. Keep preferences in a separate read-only store. And cap spending per run.
- Record date: 2026-10-11T00:40:53.811Z