# ADR 0003: Stream Runtime State To The Browser

## Status

Accepted.

## Decision

Stream runtime state over websocket snapshots and deltas instead of relying on browser polling.

## Context

Task sessions are long-lived, agents emit incremental output, Cline emits chat events, and git/worktree metadata changes independently of user clicks.

## Consequences

- Runtime is the source of truth for session lifecycle.
- Browser receives snapshots before deltas.
- Board, detail views, notifications, and sidebars react to typed stream messages.
- Websocket security and workspace scoping are runtime concerns.
