feat: restore inside the Vault; the Refresh page and file export UI are gone

- POST /refresh-runs accepts snapshot_id: restore a snapshot somebody picked (a restorable capture of the
  relation's own source, never a safety copy or another orbit's) through the same run engine
- refresh-relations carries source_orbit_id; snapshots carry kind (capture|safety), and the UI hides safety copies
- snapshot detail: Restore replaces Export file on hub (disabled with No restore point without a relation);
  modal with a restore point selector, a ten second countdown with Abort, and a four step progress view
- administrators keep Other registered target; the Refresh menu and refresh-only screen are removed
- proven with a real agent and PostgreSQL in the browser: capture, restore to Development, abort, no relation

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 16:13:44 +07:00
parent f52fc1930f
commit 3bd0a1c9a3
20 changed files with 778 additions and 508 deletions

View File

@@ -167,6 +167,7 @@ async fn world_with(exports: Option<crate::exports::ExportGate>) -> World {
None,
"admin",
"seed-run",
None,
3600,
50,
now(),