# Working Agreements block

> Team working agreements heatmap with 26 weekly tiles per practice, score ring and area rings

Engineering team practices kept week by week: tiles shaded by share of target, a team score ring with its weekly line, area rings, week cards to pause or retarget. ReUI Frame, Table, Popover. For sprint retros, team health, habit tracking

- Type: Pro block
- Category: [Status Tracker](https://reui.io/blocks/chart/status-tracker.md)
- Page: https://reui.io/blocks/chart/status-tracker/chart-55
- MCP: `get_block("chart-55")`
- Built with: Avatar, Badge, Button, Button Group, Dialog, Dropdown Menu, Empty, Field, Frame, Number Field, Popover, Select, Separator, Skeleton, Table, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

Practice habits as a 26 week heatmap grouped by area, with week cards that pause this week or retarget, under a team score and area rings

## Agent notes

- Replace `TEAMS` and `AGREEMENTS` in data.ts: raw `due` and `done` counts per week, oldest first, each `WEEK_COUNT` long; set the demo's now in `REFERENCE_ISO`
- Outcomes, streaks and scores derive in model.ts from those counts; `PARTLY_FROM` sets the partly kept line and `CHANGE_WEEKS` the last 4 window
- Pause, resume and target edits go through `applyOverride`, the starter set through `adoptStarter`, each with an Undo `toast`; call your API in both

## When not to use

- Job runs as capsule strips scaled by duration, with hover detail per run: use [Cron Run History](https://reui.io/blocks/chart/status-tracker/chart-34.md) (`get_block("chart-34")`)
- Summary tiles that pair one value with a mini trend and no rows: use the [Sparkline blocks](https://reui.io/blocks/chart/sparkline.md)

## Third-party libraries

- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/chart-55
```

## About Status Tracker blocks

### When to use

- A fleet of cron jobs, each row a strip of its last 10 or 20 runs scaled by duration with hover details
- Deploy pipelines and release lanes with per stage meters, promote gates and a version matrix

### When not to use

- One aggregated volume plotted per hour, with no history per row: use the [Bar Chart blocks](https://reui.io/blocks/chart/bar-chart.md)
- Summary tiles that pair a value with a mini trend and no row list: use the [Sparkline blocks](https://reui.io/blocks/chart/sparkline.md)

### Agent notes

- Rows come from constants in the block folder and `Chart` takes no props, so map your job or deploy records onto the same fields

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
