Skip to main content

Module inspect

Module inspect 

Source
Expand description

What an agent can ask the Vault about an entry and about the Vault itself: show, update (details only), verify and health (docs/specs/SPEC_VAULT_PARITY_ENTRY_HISTORY_REASONS_AND_IMPORT_2026_11_06.md §8). Every answer is ids, names, states and counts: no sealed value, tail or hash of one. A problem line says what is wrong in fixed words and never quotes a field’s value.

Structs§

Checked
What an update that passed every check is about, for the line a refusal of it leaves.
Health
HistoryState
KeyStore
Problem
One thing verify found wrong. id is empty for the history as a whole.
Shown
An entry as show gives it.
UpdateRequest
What an agent asks update for: a new label, plain fields (an empty value removes one) and a new set of tags. Never a value: that is rotate, generate, import with id or capture.
Updated
Verified

Constants§

CHANGED_DETAILS
The Activity action of a change to an entry’s label, plain fields or tags.
PROPOSED_NOTE
What an agent is told about a change it proposed.

Functions§

check_update
Every check of an update with nothing written, so a refusal that follows (the pace) is only ever written for a call that was valid: a reason, an entry the agent may use, and a change.
health
health: the key store, counts over the Vaults agent may use, the history chain, this agent’s pending asks and the schema revision. No value.
show
show: the entry’s kind, label, plain fields, tags, which parts are set, expiry state, Vault, version counts and last use, for an entry in a Vault agent may use. It is what an agent is given, so the login the entry’s machine copy is read under is not among the fields, as in list.
show_as
show, telling the agent (name, permanent uid) whether the login is shared with it.
update_details
update: changes an entry’s label, plain fields and tags, with the agent’s reason, for an entry in a Vault it may use. The sealed value is not opened or touched. Nobody is asked, a change to where the entry’s machine copy is included: it records one changed details line, which is the record (docs/specs/SPEC_VAULT_AGENT_ADDS_AND_EDITS_WITHOUT_ASKING_2026_11_25.md).
update_details_for
update_details for an agent whose own browser profile is own_profile (profile:<id>): on a login it made, it may set that profile where the login has none. On a login it made, a site, realm or proxy is set at once and left unseen (agent_set); on any other login each is recorded as a proposal and the login is unchanged ([proposals]). The details a change replaces are kept 7 days, in the same transaction.
verify
verify: each entry (the one named, else every entry agent may use) and, without an id, the whole history’s chain. key is the Vault key as read (or why it couldn’t be). An expired entry is a problem.

Type Aliases§

KeyResult
The Vault key, or why it couldn’t be read: what verify and health open the sealed rows with.