2.7 KiB
2.7 KiB
Operator Pack Runbook
This runbook documents the setup and operating model for Flynn's Operator Pack.
What It Configures
When enabled in flynn setup Automation, Operator Pack preconfigures:
backup.enabled: truewith cron schedule and output notifications.automation.heartbeat.enabled: truewith output notifications.automation.daily_briefing.enabled: truewith scheduled briefing output.automation.minio_sync.enabled: truewith a default knowledge sync task (optional during setup).
Setup prompts for:
- Output routing:
channelandpeer(for backup + heartbeat + daily briefing + minio sync notifications). - Backup cron schedule.
- Daily briefing cron schedule.
- Include/skip default MinIO sync task.
Recommended Baseline
backup:
enabled: true
schedule: "0 2 * * *"
notify:
channel: telegram
peer: "123456789"
automation:
heartbeat:
enabled: true
interval: "5m"
notify:
channel: telegram
peer: "123456789"
notify_cooldown: "30m"
daily_briefing:
enabled: true
schedule: "0 8 * * *"
output:
channel: telegram
peer: "123456789"
minio_sync:
enabled: true
interval: "6h"
run_on_start: true
notify:
channel: telegram
peer: "123456789"
tasks:
- prefix: "knowledge/"
namespace_base: "global/knowledge/minio"
mode: append
max_objects: 20
max_chars_per_object: 8000
force: false
Verification Checklist
- Run
flynn doctor --strictand verify zero failures/warnings. - Confirm heartbeat route is valid for the configured channel/peer.
- Confirm backup cron and daily briefing cron schedules match operator expectations.
- If using MinIO ingestion, confirm extractor dependencies via doctor output (
MinIO ingest extractors).
Troubleshooting: Daily Briefing Calendar/Tasks Blocked
If the daily briefing reports Calendar or Tasks as blocked with insufficient permissions, re-run OAuth for both services to refresh scopes/tokens:
flynn gcal-authflynn gtasks-auth
Equivalent unified form:
flynn google-auth --service gcalflynn google-auth --service gtasks
Expected scopes after re-auth:
- Calendar:
https://www.googleapis.com/auth/calendar.readonly - Tasks:
https://www.googleapis.com/auth/tasks.readonly
Notes
- Heartbeat notification noise is controlled by
automation.heartbeat.notify_cooldown(default30m). - If
notify_cooldownis invalid, Flynn falls back to30mand logs a warning. - Re-running setup Automation detects an existing Operator Pack and asks whether to reconfigure.
- For context-pressure observability, monitor audit events
session.checkpointandsession.auto_compact.