# Herdr state reporting is lossy, ordered and non-blocking Status: accepted ## Context hx reports idle/working/blocked, a resume command and release to the herdr that owns the pane. Reporting must never slow the agent. ## Decision - Reports go through one worker that sends only the latest state; intermediate states are dropped and the agent never blocks. - The sequence number is wall-clock millis bumped within the process, so it is strictly increasing across processes. - The first report claims the pane; `report` marks the state changed again on every update. - Resume args must not contain apostrophes or control characters; herdr rejects them. ## Consequences Herdr may miss transient states, but ordering holds across restarts. Code: crates/hx-core/src/herdr.rs (module, resume arg sanitising, sequence counter, worker start)