Skip to main content

Module m0039_vault_into_warden

Module m0039_vault_into_warden 

Source
Expand description

The Vault became a section of Warden (operator decision 2026-10-21, SPEC_VAULT_PANE_AGENTS_USE_SECRETS_UNSEEN_2026_10_19.md §5.6 amendment). Moves, once, for this channel:

  • blocks (db_block) saved as view: "vault" to view: "warden" on its vault section, keeping the Vault’s own section (vault:section) and an open request (vault:request);
  • the same for every block in the client’s session-restore snapshot (session:last_topology);
  • widgets.json entries that open the vault view.

widget:pinned needs nothing: the widget-bar entry keeps its key, defwidget@vault. Layout files and .abf bundles live outside AgentMux and are translated on import (layout_file.rs), and the frontend still opens a block saved as vault in Warden’s Vault section (Warden’s vault alias).

Idempotent: a second run finds no vault view. The widgets file is rewritten only when something changed and left alone when it doesn’t parse; the block and snapshot rewrite fails the migration (retried on the next boot) when the store can’t be read.

Structs§

M0039VaultIntoWarden