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 |
|---|---|
The first section, headed "Storage". Its state also decides whether the rest of the screen is drawn |
States
The panel shows exactly one of five states, checked in this order:
State | Rows in the card |
|---|---|
Opening | "Opening your vault…" in |
Failed | The error in |
Locked | "Locked" in |
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 |
| The grouped list's own header style, see header, footer and nav |
Mode block |
| The mode word in |
Sync block |
| Two lines in |
Sync error |
| Only when the last sync failed |
Action row |
| "Sync now", "Unlock vault" or "Retry": a plain tinted button row |
Hint |
| 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).
US-VAULT-01 Connect my vault to bring my identities to this phone: The Storage panel that turns from Local to Remote
US-VAULT-02 Keep my identities in sync across devices: Mode, address, the three counters, last sync, sync error, Sync now
US-VAULT-03 Lock my vault, switch to local, or log out: The Storage panel: Locked, Local, Remote, failure with Retry
US-VAULT-04 Trust that my keys stay safe: The error and sync error lines in the Storage panel
Related
Parent: Inline parts. Sibling: Vault connect panel, Identity rows (the section under this panel).
Screens: Vault, Connect vault sheet.
Patterns: Refresh, haptics and progress. Visual language: Color and tokens, Voice and wording.
How it is built: Vault: screens and tasks, Vault: the store and on-device format, Vault: API and sync.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime