<!-- Generated by scripts/gen-docs.ts from the TSDoc in src/. Do not edit by hand. -->

# `flow/render/summary`

Source: [`src/flow/render/summary.ts`](https://github.com/AI-for-dev/combo/blob/main/src/flow/render/summary.ts)

The one line a flow run collapses to: how it stands, and counts that hide
nothing.

## `LiveSummary`

*type*

```typescript
export type LiveSummary = {
	/** `done` or `failed` once its root sequence is over, `working` while this life runs, `pending` for a life killed before its end. */
	readonly state: "pending" | "working" | "done" | "failed";
	/** Every visit that ended, as it last did. */
	readonly visits: number;
	/** Of those, the ones that ended `ok: false`, those `on-fail: continue` absorbed included. */
	readonly failed: number;
	/** The visit path of each loop that hit its cap or gave up. */
	readonly unconverged: readonly string[];
	/** What every life cost, added up: `wallMs` is their time. */
	readonly usage: Usage;
	/** How many processes ran it: one, and one more for each resume. */
	readonly lives: number;
	/** How many lives were killed before they wrote their end, and are counted from what they did write. */
	readonly partial: number;
	/** The visit the last life picked up from, when it resumed. */
	readonly resumedFrom?: string;
};
```

A run in one line's worth of facts.
