Plan retention from canonical live release and transaction state

This commit is contained in:
Mark Gregory
2026-11-30 09:50:47 +00:00
parent b0495d80f1
commit 2589ae8510
3 changed files with 71 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
# Trusted retention planning
Run `bin/absdev-deploy retention-plan --runtime-root /canonical/site-runtime --keep 5`
as the owner of an existing ABSDEV site runtime. The inspector reads the
canonical release tree, current link, checksummed transaction journal and
migration guard under the deployment and journal locks. It conservatively
retains all releases while a deployment or migration is unresolved. Invalid,
missing, or inconsistent source state denies planning.
This mode covers the live journal and its migration guard. A site whose
live journal has been retired requires separate archived-state qualification.
The existing `--policy` command evaluates caller-supplied data as a simulation.
Both outputs are read-only. They grant no archival or deletion authority.