Skip to main content

Module uses

Module uses 

Source
Expand description

An agent’s use of a Vault entry, waiting for the person to allow it (docs/specs/SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §6.4).

The agent asks (Browser fill with vault); every window shows the person the entry, the site and the field; their answer reaches srv only through the host’s Vault route. An agent can ask; it can never answer.

srv keeps each request’s deadline (SPEC_VAULT_REQUESTS_AS_CARDS_IN_THE_AGENT_PANE_2026_11_01.md §5): a use of an API key, login or note goes ahead once if nobody answers in VETO; any other entry, and a value the person must type, waits for a yes until the request’s own wait runs out, and is then denied. The person’s activity in the request holds its countdown (Uses::hold).

Structs§

UseAnswer
What the person answered. value is what they typed when the entry didn’t exist; it lives only as long as the fill does.
UseChoice
One card of a picker: what the person reads of it, never a number.
UseHttpPrompt
The HTTP prompt a shared sign-in answers, as the person reads it: the realm the site names (empty when it names none) and whether the prompt is a proxy’s.
UseImport
What an import copies, as the person reads it: where from, and where to. Nothing of the value.
UseRequest
Uses

Enums§

By
Who decided a request.
Decision
Ended
How a use request ended, as its caller tells the agent and the Activity.

Constants§

DRONE_ACTOR
What a drone’s actor starts with: drone:<id>. A drone is not an agent a person is watching.
HOLD
How long the person’s last activity in a request holds its countdown.
VETO
How long a use that may go ahead on silence waits for a Deny.
WENT_AHEAD
What the agent is told when its use went ahead on silence.
WENT_AHEAD_OUTCOME
The Activity outcome of a use nobody answered that went ahead, on a line of its own before the use’s own line: the Vault pane filters these.

Functions§

goes_ahead
Whether req goes ahead when nobody answers: goes_ahead_on_silence, and never a copy of a secret from elsewhere nor a new account (an agent makes one only on the person’s yes), nor a value an agent had the Vault read that the person has not seen, nor a drone’s use: the 30 s rule assumes the person is at the desk while an agent works, and a drone often runs unattended (at night, on a webhook), so for it silence is a no.
goes_ahead_on_silence
Whether a use of a kind entry goes ahead when nobody answers: an API key, a login or a note does; an ID, a card or a bank account never does, nor does a value only the person can type.
uses