# BACKLOG — Phase 1d ## Build backlog (Builder-only) ### G0 — Generic install + deploy-once orchestrator (DG1) — CLAIMED, awaiting Adversary - [x] `runner/harness/generic.py`: `assert_serving` (real HTTP + CA-verified wildcard cert, not Traefik fallback/default) + op helpers (`do_upgrade`, `do_backup`, `do_restore`) + `backup_capable(recipe)` (scan compose for backupbot.backup). - [x] `runner/harness/discovery.py`: per-op overlay resolution (repo-local > cc-ci > generic), custom-test discovery (both locations, additive), install-steps hook discovery. - [x] `tests/_generic/`: assertion-only generic tier files (test_install/upgrade/backup/restore.py). - [x] Refactor `run_recipe_ci.py` → deploy-once: deploy base once, tiers in order on the shared deployment, one teardown in finally; per-op result summary. - [x] `tests/conftest.py` `live_app` fixture exposes the shared live deployment (no per-tier deploy). - [x] Deploy-count guard (`CCCI_DEPLOY_COUNT_FILE`) in `lifecycle.deploy_app`; orchestrator asserts ==1. - [x] Generic install green on **hedgedoc** (no cc-ci/repo-local tests, deploy-count=1, clean teardown). custom-html-tiny rejected (empty static volume → 404 zero-config). → G0 CLAIMED. ### G1 — Generic upgrade + backup/restore (DG2, DG3) - [ ] Generic upgrade tier: previous→target in place; reconverge + serving. - [ ] Generic backup/restore tiers gated on backup-capability; clean N/A skip otherwise. - [ ] Prove on a backup-capable recipe (custom-html: has backupbot labels). ### G2 — Layering + discovery + precedence (DG4, DG4.1) - [ ] Migrate an existing recipe's tests to the new assertion-only overlay contract as the proof. - [ ] Prove override (overlay replaces generic) + extend-by-composition; no redeploy (deploy-count==1). ### G3 — Custom install-steps hook + graceful-generic (DG5) - [ ] install_steps.sh hook run during install tier (after app new+env, before deploy). - [ ] Proof: a recipe needing a step FAILS generic install without it; PASSES with it. ### G4 — !testme e2e + per-op reporting + docs + cold verify (DG6, DG7, DG8) - [ ] !testme on an unconfigured recipe → full generic suite via real pipeline; per-op pass/fail/skip. - [ ] Migrate remaining recipe tests to the new contract so nothing regresses (DG7). - [ ] docs/: generic suite, overlay convention (names/locations/precedence), install-steps hook, how to add an overlay. - [ ] Request Adversary cold-verify DG1–DG8 → flip STATUS-1d to ## DONE. ## Adversary findings (Adversary-only) (none yet)