- POST /refresh-runs accepts undo_of: restores the safety copy of a completed restore back onto the same
target through the normal run engine (checks, countdown, progress, and a new safety copy so the undo can be
undone); refused when something was restored after it or the copy is gone
- a safety copy is accepted as a source only for the target it was taken from (hub and agent both check)
- run views carry undo and undo_available; audited as refresh.undo_started
- the modal offers Undo last restore and, after a restore, Undo this restore
- proven with a real agent and PostgreSQL: restore, undo back to the original contents, undo of the undo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A safety copy of a restore target was stored in the application's orbit and weighed by the same
retention as captures, so the newest copy (the target's) could push the production capture that had
just been restored out of the keep set, whatever the rule (GFS, count or age). Safety copies are now
separated: they have their own per-target rule (newest three plus anything under seven days) and
never count for or against captures. Proven red on the old behaviour with a real refresh.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- the agent reports the client's primary ERROR/FATAL line with a failed restore step; the hub keeps it
as failure_reason (administrators only), logs it and audits restore.failed. psql runs with
VERBOSITY=terse and DETAIL/CONTEXT/statement text is dropped so row data never travels
- reset mode user_schemas empties every non-system schema in the restore transaction, so multi-schema
databases restore without DROP DATABASE; proven against a real PostgreSQL server
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Clears every RustSec vulnerability in the workspace so openidconnect can be added without inheriting known issues.
- rustls 0.23.23 -> 0.23.46 (webpki 0.103.17), tokio 1.40 -> 1.54
- rusqlite 0.31 -> 0.41.1 (SQLite binding 0.39.1); Rust 1.88 -> 1.89 as 0.41 requires
- drop unmaintained rustls-pemfile in favour of rustls::pki_types::pem
- add deny.toml (advisories, licenses, bans, sources); mark crates publish = false
- add tasks/auth-plan.md with per-milestone auth plan and M1 results
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PostgreSQL and MySQL backups run through paired outposts, with operator sign-in, off-site copies, and legacy import. Retention stays on each orbit, so the unused retention console is removed.
Co-authored-by: Cursor <cursoragent@cursor.com>
Require a private passphrase and loopback-or-token admin auth. New vaults use Argon2id; existing PBKDF2 vaults still open, and new snapshot metadata is encrypted. Wormhole tokens survive restart, offset uploads seal into the vault, and client-certificate uploads are real. Reject the command provider and keep Postgres passwords off the process arguments. Keep the interruptible canvas motion.