Expand description
What an agent did in a browser pane it drives, and the person’s Pause (docs/specs/SPEC_AGENT_DRIVEN_BROWSER_PANES_2026_10_07.md §5.5, PLAN_BROWSER_DRIVER_FIXES_2026_10_17.md §5).
The log is a ring of the last RING entries per pane, in memory only:
srv restarting clears it, closing the pane drops it, and Take over keeps
it, so the person can still read what happened. The newest PUBLISHED
are mirrored to the pane’s browser:actions meta key (srv-only, like
browser:bypass) for the header’s Log. An entry never holds what was
typed: a fill names its field, never the value, secret or not. The one
exception is a line typed into a web terminal under the person’s grant:
the Log keeps it, masked and cut short, as their record of what ran.
Pause is the person’s quick, reversible brake, where Take over is final:
while a pane is paused, every agent call that resolves it is refused, and
an Auto-approve grant’s clock stands still. Only the person pauses or
resumes, through the host (/api/v1/host/browser_pause), so no agent can
lift a pause on itself.
Structs§
- Entry 🔒
- Log 🔒
- Note 🔒
- One entry being described;
Note::recordadds it. Built by the handlers, one line each. - Table 🔒
Enums§
- How 🔒
- How it went: who let it through, or why it didn’t happen.
- Kind 🔒
- What was done. Kebab-case on the wire (
auto-approve-on).
Constants§
- ACTIONS_
META_ 🔒KEY - Block meta key the header’s Log reads:
{count, entries}. - PAUSED_
META_ 🔒KEY - Block meta key the header reads to show a pane is paused.
- PUBLISHED 🔒
- Entries mirrored to the pane’s meta: the header shows the newest.
- RING 🔒
- Entries kept per pane.
Functions§
- add 🔒
- Add
etopane’s ring, dropping the oldest pastRING. - approved_
by_ 🔒user - An approved click’s result, saying it was the user’s approval that let it through and how long they took: the agent can’t see the banner or a clock, and once reported “no banner appeared” for a click the user had approved (form-filling fixes plan §2.5).
- audit_
words 🔒 - What an Audit row says of a step: its kind and how it went, and nothing the page or the agent wrote (a refusal’s reason can name an address or a label).
- clip 🔒
strimmed and cut toncharacters.- drop_
pane 🔒 panewas closed: its log and pause go.- entries 🔒
pane’s entries, oldest first, and how many it ever had.- forget_
pause 🔒 - The agent no longer drives
pane(Take over): the pause goes with it, and so does the header’sbrowser:paused, or a later driver’s strip would read as paused. The log stays. - handle_
host_ 🔒browser_ pause POST /api/v1/host/browser_pause— the person’s Pause and Resume in an agent-driven pane’s header, relayed by the CEF host. Only the host can call it: an agent holding the instance auth key gets 403, so no agent can resume itself. Body{block_id, paused}.- handle_
ui_ 🔒browser_ actions POST /api/v1/ui/browser/actions— backs Browser’slog: the pane’s action log, for the agent that drives it (or its own pane). Read-only. Resolved withouttarget_block_id, so it works while the pane is paused or waiting on the person.- held_
for 🔒 - is_
paused 🔒 - Is
panepaused: by the person’s Pause on it, or by “Pause all agent browsing” while an agent drives it? - not_
paused 🔒 - For
target_block_id: refuse every agent call on a pane the person paused. - note 🔒
- Describe
agent’skindonpane(a pane or a popup window id). - pause_
all_ 🔒changed - “Pause all agent browsing” was turned on or off (already in force for
is_paused), byby(None: the person): hold or release every grant’s clock, and show it on each driven pane’s header and Log, as the one who did it. - paused_
alone 🔒 - Did the person pause
paneitself (its own Pause, not the global switch)? - paused_
by 🔒 - The global switch pauses a pane an agent drives, never the agent’s own pane or one nobody drives; a pane’s own Pause holds whoever drives it.
- publish 🔒
- Mirror
pane’s newest entries to its meta, for the header’s Log. - publish_
paused 🔒 - reset_
strips 🔒 - Clear the log and pause saved with panes that srv no longer has them for. Called when the host registers: neither survives srv restarting, and the header, which reads the saved meta, must not show a stale one.
- resumed_
clock 🔒 - Where an Auto-approve grant’s end moves to when its clock ran from
paused_attonowwhile paused: later by exactly the paused time, both as anInstantand as the header’s epoch milliseconds. - set_
paused 🔒 - Pause (
on) or resumepane. Returns whether that changed anything. An Auto-approve grant’s clock stops with it, and runs again on resume. - short_
reason 🔒 - A refusal’s gist for the log: its first clause.
- table 🔒