refactor: restore architecture governance gates

This commit is contained in:
jxxghp
2026-08-23 20:17:28 +08:00
parent 1d2984b95f
commit 9f3be0ea4b
13 changed files with 1146 additions and 565 deletions
+8
View File
@@ -3,6 +3,14 @@
from app.application.backup import BackupArtifact, BackupVerification
from app.application.database import get_database_governance as _get_database_governance
__all__ = [
"BackupArtifact",
"BackupVerification",
"create_backup",
"list_backups",
"verify_backup",
]
def create_backup() -> BackupArtifact:
"""在宿主管理目录中创建当前数据库的一致备份。"""