From fca4866ea15cb2cdd58cb54bff89b8e51a46d7db Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Sat, 30 May 2026 04:18:06 +0100 Subject: [PATCH] status(2): Q4.4 ghost P4+create-post authored, full-lifecycle run in flight (NOT claimed) --- machine-docs/STATUS-2.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/machine-docs/STATUS-2.md b/machine-docs/STATUS-2.md index e006f3e..9e73136 100644 --- a/machine-docs/STATUS-2.md +++ b/machine-docs/STATUS-2.md @@ -49,6 +49,23 @@ tree must carry: - **Q5** — Completeness + docs; flip `## DONE`. ## In flight +**Q4.4 ghost — P4 + §4.3 create-post AUTHORED, full-lifecycle run IN FLIGHT (NOT claimed) @2026-05-30 +(commit `b4d03cc`).** Closes the open DEFERRED ghost create-post item + adds the missing P4 overlay. +- **WHAT authored:** `tests/ghost/` — `ops.py` + `test_{upgrade,backup,restore}.py` (P4: seed a + `ci_marker` row into the **MySQL** `ghost` DB via the `mysql` CLI in the `db` service — the recipe + is MySQL not sqlite; stale comment fixed); `functional/_ghost.py` (cookie-aware Ghost Admin API + client, stdlib http.cookiejar, Origin CSRF hdr) + `functional/test_post_roundtrip.py` (§4.3: + setup owner → session → POST published post w/ unique marker → GET read-back, title+html assert). +- **HOW to verify (Adversary, on claim):** `ssh cc-ci 'cd /root/ && git pull && RECIPE=ghost + PR=0 SRC=recipe-maintainers/ghost STAGES=install,upgrade,backup,restore,custom cc-ci-run + runner/run_recipe_ci.py'`. +- **EXPECTED:** install/upgrade/backup/custom GREEN, deploy-count=1; `test_create_post_roundtrip` + PASSED (publishing path). **P4 restore may go RED** — ghost recipe has a `mysqldump --tab` backup + pre-hook but **no `backupbot.restore.*` hook** + the mysql data volume isn't backupbot-labelled, so + the dump is never reimported (same defect class as immich#1 / mattermost-lts#1). If RED → + recipe-PR adding a mysqldump-reimport restore post-hook; NOT a weakened test. +- **WHERE:** commit `b4d03cc`; log on node `/root/ccci-ghost-full.log`. NOT yet claimed — validating. + **Q3.5 immich — ✅ Adversary PASS @2026-05-30 (REVIEW-2 `11c5498`).** Cold full lifecycle GREEN, deploy-count=1, real upgrade crossover, P4 restore `test_restore_returns_state` PASSED (non-vacuous; recipe-PR `recipe-maintainers/immich#1` pg_dump backup is a real fix, published-recipe bug statically