feat(stability-v2): split backup classes, add restore-test and audit-watch timers
This commit is contained in:
@@ -69,3 +69,14 @@ Added:
|
||||
- `prime restore --dry-run <commit>`
|
||||
- preflight + rollback on failure
|
||||
- Telegram control guardrails for high-risk direct commands
|
||||
|
||||
## 9) Backup classes + verification (Stability Sprint v2)
|
||||
Prime now separates backups into classes:
|
||||
- `scripts/backup/code-backup.sh` -> git code/config backup
|
||||
- `scripts/backup/state-backup.sh` -> encrypted state snapshot (`task-queue.json`, `tokens.enc`)
|
||||
- `scripts/backup/secrets-backup.sh` -> encrypted secret escrow (optional, requires `PRIME_SECRET_BACKUP_PASSPHRASE`)
|
||||
|
||||
Timers:
|
||||
- `prime-state-backup.timer` (15m)
|
||||
- `prime-restore-test.timer` (nightly dry-run restore)
|
||||
- `prime-audit-watch.timer` (15m anomaly check)
|
||||
|
||||
Reference in New Issue
Block a user