US06-01: Configure and Preflight Archive Destinations (#77)

This commit was merged in pull request #77.
This commit is contained in:
2026-08-16 17:38:59 +02:00
parent 3ccef58796
commit b4b316acf5
11 changed files with 1350 additions and 0 deletions

View File

@@ -21,6 +21,9 @@ UPLOAD_BATCH = "upload_batch"
LIBRARY_WRITE_LOCK = "library_write"
# The uploader lane: one album batch at a time (concept §16).
UPLOAD_LOCK = "upload"
# The archiver lane: one archive/restore plan at a time (concept §16). No handler
# runs on it yet (US06-02); preflight already refuses to plan around a held lease.
ARCHIVE_LOCK = "archive"
def _safety_score_item(asset_id: str, ctx: JobContext) -> None: