delimit_digest
Summarize loop activity into a structured daily digest covering signals, deliberations, ledger movements, swarm dispatch, and health. Rolls up events over a configurable time window.
Instructions
Generate a structured daily digest of loop activity (LED-966).
When to use: for the founder daily summary — signals, deliberations, ledger movement, swarm dispatch, health. When NOT to use: for raw notifications (use delimit_notify) or inbox routing (delimit_notify_inbox).
Sibling contrast: delimit_notify is per-event; this is a windowed rollup digest.
Side effects: action="run" always writes markdown + json to ~/.delimit/digest/ (the founder can read directly, no email dependency). When send_email=True, emails via the notify pipeline, BUT delivery requires DELIMIT_DIGEST_EMAIL=true in the env (pipeline gate). action="latest" is read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | "run" (default) or "latest". | run |
| window_hours | No | Lookback window. Default 24. | |
| send_email | No | If True, attempt to email the digest. Requires DELIMIT_DIGEST_EMAIL=true env to actually send. | |
| to | No | Email recipient. Empty = DELIMIT_SMTP_TO. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||