Skip to content

Insights

Deterministic numbers and queues computed where the data lives: the Overview page in one call, and the workspace snapshot the assistant reads. No LLM is involved. Source: services/insights/insights.jac.

OverviewSnapshot

POST/walker/OverviewSnapshotBearer JWTreports OverviewDataservices/insights/insights.jac:449

The whole Overview in one call. The open tasks and this week's Done are read once and every panel is computed from them; Done per week comes from the projects' weekly counts, so the page costs one round trip and never loads the history. The three queues are capped at attention_size, in their own order.

Body field Type Default
monday str ""
from_date str ""
attention_size int 8

Everything /overview renders, in one call.

Reports one OverviewData:

Field Holds
counts TaskTotals, the same numbers as TaskCounts
logs LogTotals: log entries per week for the four weeks ending in monday's week, per weekday of that week and per person (an entry naming two assignees counts for both), read from the days' tallies
attention The first attention_size open tasks that are Blocked or past due, Blocked first, then soonest due
attention_total How many tasks need attention in all
members Every member (archived included), by name
projects Every project node (archived included), by name
review_queue Tasks in Review, longest waiting first, at most attention_size
aging Open tasks untouched for 7 days or more, oldest first, at most attention_size
blocked Blocked tasks with the reason from their latest Blocked log entry since from_date (or the task notes), in the attention order, at most attention_size

monday anchors the week (this week when empty). "Today" is the server's UTC day. The open tasks and this week's Done are the only task rows it loads. The burn-up and throughput charts come from a separate call, TaskHistory.

Digest

POST/walker/DigestBearer JWTreports Snapshotservices/insights/insights.jac:503

The workspace snapshot. Bare (JWT-required) like every walker here: a :pub walker would run anonymous callers on the shared guest graph.

Body field Type Default
from_date str ""
to_date str ""

Reports one Snapshot for the period from_date to to_date (both default to today): headline counts, blocked and review queues, aging and overdue work, per-person and per-project stats, and the period's newest 200 log entries as activity lines, oldest first. This is exactly the object the assistant is given.

How the snapshot counts

  • done_in_period counts tasks that moved to Done on or after from_date (by done_at); a task created straight into Done counts nowhere, and an imported closed issue counts on the day GitHub closed it.
  • People are matched to tasks by id, and to log entries by name (a line's comma-joined assignee names).
  • log_entries_in_period and each person's log_entries come from the days' counts, so they cover the whole period even when activity carries only its newest 200 lines. Blocked reasons are read per blocked task, not from the loaded lines.
  • Project stats cover active projects and match tasks by project name.
  • Only active members appear under people.