From 5b06d81ee68ee89b1e6693ea7780ded5e3fe463e Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Thu, 19 Nov 2026 22:30:14 +0100 Subject: [PATCH] Record verified staging retention activation and first guarded cleanup --- docs/audits/STAGING-RETENTION-20261119.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/audits/STAGING-RETENTION-20261119.md b/docs/audits/STAGING-RETENTION-20261119.md index d7fd8ce0..c45e2832 100644 --- a/docs/audits/STAGING-RETENTION-20261119.md +++ b/docs/audits/STAGING-RETENTION-20261119.md @@ -15,3 +15,15 @@ Production dry-run after the server administrator's separate cleanup: Full machine-readable output: STAGING-RETENTION-DRYRUN-20261119.json. No cleaner, writer wrapper, drop-in or timer has been installed or activated by this task. Before activation the server owner must review the dangling rollback alias, accept a fresh dry-run and install the coordinated writer/retry/async-retention set described in website/ops/STAGING-RETENTION.md. Initial production deletion still requires explicit approval. PR #337 remains open. + + +## Installation and activation — later on 19 November 2026 + +The owner subsequently requested activation. PR #419 was merged; source commit 19c85767c106c71edf237830e254d01259e590af was installed after branch CI #530 and main CI #531 passed. Main release 921ab2932fe36ecb4255e59cf0b262fa7194662c was verified live. + +- Installed the staging cleaner, coordinated builder and deployment trigger, retry drop-in, and hourly retention hook as the complete reviewed set. Existing deployed baseline hashes matched the documented values; the promoter was not replaced. +- Granted dunedeploy traversal only on the promotion-state directory so it can read the existing lock; the lock inode and other state permissions were preserved. +- Reviewed rollback-bank-v1: its target was missing, no active configuration referenced it, and current/previous working releases were verified. Preserved the dangling symlink and its original target record outside the application inventory at /var/lib/dunerealms-staging-retention/install-20261119/. Active rollback was unchanged. +- Fourteen focused Linux staging tests passed again. Installed checks confirmed builder exit 75 under a busy publication lock, cleaner skip under that lock, and rejection of invalid deployment input without changing pending state. Systemd loaded the two-second retry for exit 75 and the existing hourly timer is enabled and active. +- A fresh post-install dry-run had no inventory warnings. The first guarded apply removed only staging build 54af90fb30f96cdb53350cdc9e7d90a30f52a8c4, retained 15 entries, and reported 1,080,799,232 allocated bytes estimated reclaimable (not an independently measured filesystem delta). +- Root-owned installation/hash and first-cleanup receipts are stored under /var/lib/dunerealms-staging-retention/install-20261119/. No repositories, databases, uploads or backups were cleanup targets. Cleanup remains outside the CI build path.