Vault status panel
The inline Storage section of the Vault screen: local or remote, sync counters and Sync now, and the opening, failed and locked states.

The vault status panel answers one question: where are my keys, and is that working. It is the first card on the Vault screen, and it changes shape with the vault's state, from a single line while opening to a full sync readout when connected to a remote vault.

Kind: inline part. It is not a named component in code. It is the "Storage" section written inside VaultScreen: vault.contract L63-L94.

Used by

Screen

How

Vault

The first section, headed "Storage". Its state also decides whether the rest of the screen is drawn

The panel in its simplest state, at the top: "Local" in headline type and "Vault stored on this device" under it. There are no captures of the remote, locked or failed states.

States

The panel shows exactly one of five states, checked in this order:

State

Rows in the card

Opening

"Opening your vault…" in -exact-secondary-label

Failed

The error in -exact-system-red (or "Couldn’t open the vault."), then a "Retry" row

Locked

"Locked" in -exact-headline, an "Unlock vault" row, then "Reopen using the key kept in this device’s Keychain." in secondary colour

Local

"Local" in headline, with "Vault stored on this device" under it

Remote

"Remote" in headline with the vault address under it. Then "Local 4 · Remote 4 · Synced 4" and "Last sync: Nov 10, 2026, 2:15 PM UTC" (or "Last sync: Never"). Then a sync error in red, if any. Then a "Sync now" row

While a vault operation runs, "Unlock vault" and "Sync now" are disabled and "Sync now" reads "Syncing…".

Anatomy

Part

Contract

Detail

Section header

header with text "Storage"

The grouped list's own header style, see header, footer and nav

Mode block

column gap=4

The mode word in -exact-headline, then one line in -exact-secondary-label that wraps at word breaks (the address can be long)

Sync block

column gap=4, remote only

Two lines in -exact-footnote, secondary colour: the three version counters separated by " · ", and the last sync time

Sync error

text in -exact-system-red

Only when the last sync failed

Action row

button

"Sync now", "Unlock vault" or "Retry": a plain tinted button row

Hint

text in secondary colour

The Keychain sentence in the locked state

Each block is one row of the card, so the list's separators divide them. Nothing has a background, border or icon of its own. All type is platform text styles, see Typography.

What it controls

The panel's state gates the rest of the Vault screen. The Identities, Remote vault and Lock sections are drawn only when the vault is open, unlocked and without error. In the opening, failed and locked states the panel is the whole screen.

Rules for use

    Lead with one word for the state ("Local", "Remote", "Locked") in headline type, then the supporting line. Do not start with a sentence.

    Put the action that fixes or advances the state directly under it, as a row in the same card.

    Diagnostic detail (counters, timestamps) goes in footnote and secondary colour, under the state, never above it.

    Errors are red text in the card, with a way forward beside them. See Loading, failure and empty states.

    For a new status panel elsewhere, follow Cards and panels and compare with the Email status panel.

Why it looks this way

    Every state is written out. Opening, failed, locked, local and remote each have their own words, and none of them is a blank card or a bare spinner. This is DESIGN.md's fourth principle, see Honest state.

    A word, not a badge. The mode is plain headline text. The app keeps Badge for run status in agent sessions and does not use it here. Inferred: a settings list reads better as text rows, the way iOS Settings shows state.

    Sync is shown as facts. Three counters and a time let a person, or someone helping them, see whether the phone and the vault agree. They are small because most people never need them. The time is formatted in UTC by the data module, which is a rough edge next to the app's otherwise local, relative dates.

    The card is the platform's. The panel is a list section. See Leave it unsaid and Lists.

    It does not use StatusLine. The failure row is written inline with red text and its own "Retry", where reading screens use the shared StatusLine in secondary colour. Inferred: the vault package was written separately and kept its own wording.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
Linked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkVault status panelVault status panel
Citations 0Children & links 27

Loading child documents…

Connections show where other documents or comments link to this document.

Related documents

Loading connections…