Skip to main content

Module audit_ops

Module audit_ops 

Source
Expand description

audit.query: a paired computer reads this computer’s Audit, and this computer reads theirs (SPEC_AUDIT_LIVE_LOG_OF_EVERY_AGENT_ACTION_2026_11_03.md §3.6 point 5). A read, answered only when the owner turned on audit:sharewithpaired (off unless set, like tower:sharewithpaired), and only to a peer whose install this computer has approved: the rows name agents and what they did. The answer is the first page of the machine scope, the same rows the window lists, with no message text, and without the links that only work here (a pane, a history, a Kanban task). The asking computer shows the rows and forgets them: nothing is stored, and the cloud never carries them.

Constants§

ASK_FOR 🔒
How long the Audit waits for one computer: it is a list on screen, and the others should not wait on a slow one.
REASON 🔒
REUSE_FOR 🔒
How long the last answer of the paired computers is reused. The Audit asks again every ten seconds and on every row written here, and a computer need not be asked more often than this.

Statics§

LAST_ASKED 🔒

Functions§

ask_peers 🔒
The asking half: every paired computer on the LAN, concurrently, signed as one of this computer’s agents. Empty while remote operations are off or no agent is running to sign with.
lan_hosts 🔒
The machines to ask, as (name, host): name for the section, host as send takes it. One per computer, the first instance announced, named as send::resolve_peer takes it: name, or name/channel, or name/channel/install when the computer runs several, so the name picks exactly one. That instance answers for the computer’s other channels too, which it asks over loopback.
query 🔒
The receiving half: this computer’s page, when it shares.
rows_from 🔒
A computer’s answer as its section: the rows, or why there are none.
shares 🔒

Type Aliases§

LastAsked 🔒
What the paired computers last said, for which request, and when.