Failure clusters
Failed runs across every agent, grouped by likely cause so you fix causes, not single runs.
What a block is
A block is a kit component for a whole area of a screen, built only from other kit components and tokens. You import it like any component; nothing is copied into your app. Put it inside your page’s <main>: it brings no header or nav of its own.
When to use
- ops needs to see which causes break agent runs across many agents
- a person decides whether a failure is known, should be muted or needs an issue
- a fixed failure must show when it comes back (Regressed)
When not to use
- a list of single failed runs to act on — AgentInbox
- one run explained step by step — RunDetail
- events and changes in general — ActivityFeed
Usage
The largest clusters lead, each with its status and its trend as counts; the selected cluster names the agents it hits, says the cause in a sentence, and shows when it started, a chart over time, a sample failing call opened to its error and the recent runs, with the actions last. Arrow keys move through the list.
Layout
- header, then the filtered cluster list beside the selected cluster in layout-split--secondary
- the block is its own inline-size container and takes the full width; below --grid-breakpoint-md (64rem) of block width the list sits over the cluster
Props
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| clusters | array | Yes | — | { id, title, status: "new" | "known" | "fixed" | "regressed", count, agents: { name, src? }[] (named as text; src is unused), trend: number[] (oldest first), trendLabels?, firstSeen, lastSeen, sample: { name, summary? (the cause in one sentence, shown under the h3), args?, error, duration? }, runs: { id, label, href?, agent, when, step }[], mutedUntil? }[]. Sorted largest first. A fixed cluster that comes back should be passed as regressed. |
| title | string | No | Failures | — |
| selectedId | string | No | — | Uncontrolled (the largest cluster) when omitted. |
| onSelect | function | No | — | (id) => void. Click, or Up / Down / Home / End in the list. |
| filters | object | No | — | { time?, agent?, status? }. Uncontrolled when omitted. Agent and status filter the list; time is a label, so pass the clusters for that window. |
| onFiltersChange | function | No | — | — |
| timeOptions | array | No | ["Last hour","Last 24 hours","Last 7 days"] | — |
| onMarkKnown | function | No | — | (id) => void. Mark known, ghost neutral sm; hidden when already known. |
| onMute | function | No | — | (id) => void. Mute 24h, ghost neutral sm; shows mutedUntil while muted. |
| onOpenIssue | function | No | — | (id) => void. Open issue, the main action: outline neutral sm, last in the row. |
Built from
Related
- Component
AgentInbox
A queue of what agents need from you: approvals, questions, failed runs and finished recaps.
- Block
Run detail
One agent run on one screen: clock, cost, pending approval and every step, all following the step you pick.
- Block
Activity feed
What people and agents did across the workspace, newest first and grouped by day.
- Component
FilterBar
A row of filter chips with add, clear all, and an overflow menu when the row is too long.