Skip to content

fix: verify SQLite backup before HFS startup - #6

Merged
BlueSkyXN merged 1 commit into
mainfrom
codex/hfs-startup-backup-20260728
Jul 28, 2026
Merged

fix: verify SQLite backup before HFS startup#6
BlueSkyXN merged 1 commit into
mainfrom
codex/hfs-startup-backup-20260728

Conversation

@BlueSkyXN

Copy link
Copy Markdown
Owner

Adds a fail-closed startup chain after SQLite initialization and before Uvicorn: consistent backup, manifest/integrity verification, and an isolated restore rehearsal. Startup backups use unique names and retain the newest seven; rehearsal copies stay under /tmp and never overwrite active databases. The operation ledger records backup, verify, and restore_rehearsal results for /_ops/persistence readback. Local validation: python3 scripts/static_check.py, python3 scripts/hardening_regression_test.py, and git diff --check.

@BlueSkyXN
BlueSkyXN merged commit b26f26a into main Jul 28, 2026
3 checks passed
@BlueSkyXN
BlueSkyXN deleted the codex/hfs-startup-backup-20260728 branch July 28, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant