Files
absdev-deployment/docs/TRUSTED-RETENTION.md
Mark Gregory 611f8d0f3d
ABSDEV Framework CI / framework-ci (push) Successful in 20s
Archive verified rollbacks of interrupted activation journals
2026-11-30 12:37:34 +00:00

1.4 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 and rollback 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. Rollback archives also require their original rollback and backup evidence and the failed release's matching quarantine marker. A verified rollback can retire a journal left in an interrupted activation phase while preserving its original history. All releases referenced by validated archives are protected. Unknown, ambiguous or corrupt archive entries deny planning pending review.