portfolio_digest
Generates a pre-rendered portfolio digest for push delivery, listing active projects, warnings, quiet projects, and quota, recomputed fresh from source data.
Instructions
Pre-rendered portfolio summary for push delivery — paste
digest_markdown VERBATIM; do not re-summarize it.
Built for the resident-agent digest loop (a cron that forwards the
portfolio state to chat every morning), and equally usable by a
terminal orchestrator when the user asks for a daily/weekly recap.
The rendering is fixed server-side for the same reason
token_usage.summary_markdown is: an LLM re-composing the report
daily makes every day look different, and omissions are invisible.
Data spine is the pulse, so — unlike orchestration_history —
work that never went through central-mcp (direct commits,
interactive sessions) is counted. Sections:
active: projects with activity inside the window (commits, dispatch outcomes, in-flight count, uncommitted files)warnings: failed dispatches in the window, dispatches stuck inrunningfor hours (report as unfinished, never as live), and quiet projects with uncommitted work sitting in themquiet: everything else, longest-idle firstquota: compact per-agent subscription windows (wheninclude_quota)
workspace: same semantics as list_projects — None for the
current workspace, a name, or "__all__" for everything.
since_hours: activity window (24 daily; 168 weekly).
quiet_days: idle threshold for the uncommitted-work warning.
Nothing is stored; every call recomputes from source. Scheduling
and alert watermarks belong to the caller (list_dispatches with
status="failed" + since covers the alert half).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| quiet_days | No | ||
| since_hours | No | ||
| include_quota | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||