Skip to main content

Module sensitive_requests

Module sensitive_requests 

Source
Expand description

The requests for those operations and what became of them. The requests for sensitive operations (SPEC_SUPER_AGENT_2026_10_25.md §4): who asked for what, what became of it. A request is asked until the super agent answers; approve makes it pending (the countdown runs); the rest are the ways it ends. Kept in memory: a request is a minutes-long exchange, and an AgentMux that restarts mid-way has the requester ask again.

This holds the state and its rules only. The Sensitive routes (server/sensitive_handlers.rs) decide who may file, approve or deny, and the countdown is sagas/sensitive_window.rs. Not every way a request ends has a caller yet (a request nobody reviewed arrives with a later step of that spec’s §9).

Structs§

Asker
An agent that asked for something already asked for.
Filed
What filing a request came to.
Registry
Request

Enums§

Status

Constants§

MAX_OPEN
Requests open at once, all agents together.
MAX_OPEN_PER_REQUESTER
REMOTE_OWNER_PREFIX
Requests one agent may have open (asked or pending) at once. A request filed by an agent of another machine is owned by remote:<agent>@<machine>: there is no agent here to tell.

Functions§

registry
The registry of this srv.