Skip to main content

Module audit_live

Module audit_live 

Source
Expand description

Tells the open Audit panes that a row was written (docs/specs/SPEC_AUDIT_LIVE_LOG_OF_EVERY_AGENT_ACTION_2026_11_03.md §3.1).

The two writer threads (reactive::audit_store and audit_activity) call poke after each line they append. A pane that sees audit:changed asks audit.query for the newest rows, so a row it is told about and a row it lists are the same row, with the same id. A tool-heavy agent writes ten rows a second, so the pokes of one window (WINDOW) become one event.

Constants§

WINDOW
The pokes of this long are one event.

Functions§

install_broker
Start publishing audit:changed on broker for the rest of this process. The first call wins.
poke
A row was written. Nothing happens before install_broker.