Evaluate recent outbound messages for accuracy, timing, dedup, and improvement opportunities. Run after briefs or on demand.
Evaluate recent messages Edith sent to Randy. Find inaccuracies, missed context, duplicates, and system issues.
Read packages/agent/.state/events.jsonl and extract the last 5 message_sent events. For each, note the timestamp, label, and message text.
grep '"message_sent"' packages/agent/.state/events.jsonl | tail -5
For each message, verify claims against current state:
manage_calendar): Verify meeting times, attendees, links match what was reportedmanage_emails): Check if any flagged emails have been replied to or are stalelist_remindersactivity-summary): Check if Randy's recent activity makes any action items stale# Check for error patterns
grep '"error"' packages/agent/.state/events.jsonl | tail -20 | grep -oP '"type":"[^"]+' | sort | uniq -c | sort -rn
For each message, assign a score (1-10) and list findings:
gh issue create with label sentinel-detectedimprovement labelbug labelpackages/agent/.state/sentinel-report.mdWrite findings to taskboard so the next scheduled skill is aware.
Store any new patterns or insights:
knowledge({ action: "store", text: "Sentinel finding: [description]", extract: true })