From e34129937af7fd57a2aef19eb823532d6a8ef1e6 Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Mon, 23 Nov 2026 18:31:43 +0000 Subject: [PATCH] review(ghost): fail current gates on leak and closed PR --- machine-docs/BACKLOG-ghost.md | 6 ++++-- machine-docs/REVIEW-ghost.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/machine-docs/BACKLOG-ghost.md b/machine-docs/BACKLOG-ghost.md index de2c67d..5c6aae6 100644 --- a/machine-docs/BACKLOG-ghost.md +++ b/machine-docs/BACKLOG-ghost.md @@ -19,8 +19,10 @@ ## Adversary findings -- [ ] [adversary] **[A6] Current phase lacks a fresh post-proxy retry** — PR#9 head `256c0f879bc4b64bf321161c1e8bb3338b826058` has build #160 from 2026-11-20, but that run is over 24 hours old and STATUS-ghost says no retry has been triggered in this phase. Repro: inspect PR#9 comments #16732/#16733 and `/var/lib/cc-ci-runs/160/results.json`; trigger a new exact `!testme` and verify the resulting build against the unchanged/current head. @2026-11-23T18:17Z -- [ ] [adversary] **[A7] Current PR lacks operator-facing historical classification** — PR#9's result comment #16733 reports only the green build; the required explanation separating the 2026-06-12 proxy/IPAM and load/timing failures is present only on superseded PR#8 comment #16299. Add an accurate classification/readiness comment to PR#9 after the fresh retry. @2026-11-23T18:17Z +- [x] [adversary] **[A6] Current phase lacked a fresh post-proxy retry** — resolved by exact comment #16787 and current-head build #173; independently verified 2026-11-23T18:26Z. +- [x] [adversary] **[A7] Current PR lacked operator-facing historical classification** — resolved by classification comment #16795; independently verified 2026-11-23T18:26Z. +- [ ] [adversary] **[A8] Build #173 leaves a Ghost volume and lacks teardown/leak metadata** — `ssh cc-ci 'docker volume ls --format "{{.Name}}" | grep -E "(^|_)(ghos|dev-ghost)"'` returns `warm-ghost_ci_commoninternet_net_ghost_content`; `/var/lib/cc-ci-runs/173/results.json` has `clean_teardown=null` and `no_secret_leak=null` despite STATUS expecting `true`. Reproduce after build #173; Builder must account for/remove the volume and provide verified cleanup/leak evidence. +- [ ] [adversary] **[A9] No open operator-ready Ghost PR remains** — cold Gitea inventory at 2026-11-23T18:26Z returns zero open Ghost upgrade PRs; PR #9 closed at 18:22Z after comment #16799. Phase DoD requires exactly one open operator-ready PR. Restore that state or obtain an explicit phase-plan decision before DONE. - [x] [adversary] **[A1] Build #585 must NOT be used as the "clean post-proxy pass"** — it ran pre-proxy (03:59Z vs proxy fix at 05:38Z) and tested PR#5 (cfold probe), not PR#4. A genuine post-proxy !testme on PR#4 is required for M1. @2026-06-13T06:22Z — **CLOSED: Builder used build #612 (post-proxy, 06:13Z), not #585. M1 PASS @06:38Z** - [x] [adversary] **[A2] `update_config.monitor` is likely the root cause of upgrade timing failures** — builds #557 and #578 both failed with `UpdateStatus=paused`, NOT VIP exhaustion. @2026-06-13T06:22Z — **CLOSED: Build #612 passed post-proxy confirming infra-confound. Operator comment explains MySQL timing under load. M1+M2 PASS @06:38Z** - [x] [adversary] **[A3] PR#5 (cfold probe) should be closed once PR#4 has its verdict** — not the canonical upgrade. @2026-06-13T06:22Z — **CLOSED: PR#5 closed (verified). M2 PASS @06:38Z** diff --git a/machine-docs/REVIEW-ghost.md b/machine-docs/REVIEW-ghost.md index 7222ae6..fa279e3 100644 --- a/machine-docs/REVIEW-ghost.md +++ b/machine-docs/REVIEW-ghost.md @@ -322,3 +322,36 @@ Ghost resources are clean. final-state explanation. - M2 remains unverified until a fresh current-head retry is completed and PR#9 receives the required classification/readiness explanation. + +## Fresh gate verification — 2026-11-23T18:26:00Z + +### M1: FAIL + +- Cold Gitea comments confirm exact `!testme` comment #16787 on PR #9's head + `256c0f879bc4b64bf321161c1e8bb3338b826058`; result comment #16788 links build #173. +- Cold host artifact `/var/lib/cc-ci-runs/173/results.json` confirms `recipe=ghost`, `pr=9`, + ref `256c0f879bc4`, level 5, and install/upgrade/backup/restore/custom/lint all `pass`, with + no unintentional skips. +- However, the artifact fields `clean_teardown` and `no_secret_leak` are `null`, not the + expected `true` values in STATUS-ghost's M1 acceptance inputs. +- Independent Swarm probe finds leaked volume + `warm-ghost_ci_commoninternet_net_ghost_content`; no matching stack or service exists. + This violates the required clean post-run state. Proxy subnet is `10.10.0.0/16`. + +### M2: FAIL + +- Cold Gitea inventory now shows **zero** open Ghost upgrade PRs: PR #9 was closed at + `2026-11-23T18:22:19Z` after comment #16799 said it was upstreamed and closing. PRs #1-#8 + are also closed. The phase requires exactly one operator-ready open upgrade PR, so the + current state does not satisfy M2. +- Comment #16795 does provide the requested historical classification and says PR #9 is + unmerged, but the subsequent closure and leaked volume leave the phase not operator-ready. + +### Verdict + +M1 and M2 FAIL. The current build is a genuine level-5 lifecycle pass and the historical +proxy/load classification is present, but the acceptance state has an untracked leaked Ghost +volume, missing teardown/leak-proof metadata, and no open operator-ready Ghost upgrade PR. +Do not write `## DONE` until the resource is accounted for/removed, the result metadata is +explained or corrected by a fresh run, and the required single open PR state is restored or +the phase plan is explicitly revised by the operator.