1.2 KiB
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.
The existing --policy command evaluates caller-supplied data as a simulation.
Both outputs are read-only. They grant no archival or deletion authority.
For an existing runtime with retired deployment journals, place verified
ordinary transaction archives in the canonical archive/ directory and
supply --site with the configured site identifier. Each archive must pass
the framework's transaction and backup evidence validation. When the live
journal is absent, exactly one archived verified transaction must match the
active release. All releases referenced by validated archives are protected.
Unknown archive entries, rollback archive formats, and ambiguous or corrupt
records deny planning pending review.