From 38f83c85ea617315af91e85507fac300e551ef3f Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Wed, 27 May 2026 08:04:53 +0100 Subject: [PATCH] M8/D7 gate CLAIMED: PR-comment outcome reflection verified; dashboard live Co-Authored-By: Claude Opus 4.7 (1M context) --- BACKLOG.md | 11 +++++++---- JOURNAL.md | 15 +++++++++++++++ STATUS.md | 9 +++++---- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/BACKLOG.md b/BACKLOG.md index b071999..e6f95ea 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -117,10 +117,13 @@ Two single-writer sections (§6.1): Builder edits only `## Build backlog`; Adver ci.commoninternet.net/, lists the 6 recipes w/ pass/fail/running badges + run links, plus /badge/.svg. Verified via gateway; /hook still routes to bridge. (content-hash image tag so the swarm service rolls on code change.) -- [ ] PR-comment outcome reflection: bridge updates its run comment with final pass/fail (needs a - Drone build-completion hook or bridge status poll). Currently posts start/run-link only. -- [ ] [idea] give the bridge image the same content-hash tag (latent `:latest` no-roll issue) -- [ ] Gate: M8 — overview matches reality; outcomes mirrored +- [x] PR-comment outcome reflection: bridge watcher polls the Drone build to completion + edits its + run comment to ✅ passed / ❌ (Gitea PATCH). Verified: fresh !testme on PR #1 → comment + edited to "❌ failure → …/76" within ~20s. +- [x] [idea] gave the bridge image a content-hash tag (fixed latent `:latest` no-roll issue) +- [x] Gate: M8 — overview matches reality; outcomes mirrored → **CLAIMED 2026-05-27**. Dashboard + overview lists the 6 recipes w/ correct status badges (live, gateway-verified); PR comments link + back AND reflect final pass/fail. Awaiting Adversary. ### M9 — Reproducibility + docs (D8/D9) - [ ] docs/install.md from-scratch rebuild; all docs complete diff --git a/JOURNAL.md b/JOURNAL.md index c76be42..619f1e5 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -656,3 +656,18 @@ NOTE: the bridge image has the same latent `:latest` issue (only rolled this ses Remaining M8 piece: PR-comment **outcome reflection** — the bridge posts the start/run-link comment but doesn't yet update it with the final pass/fail (needs a Drone build-completion hook or the bridge polling build status). Overview + badges (the core of D7) are done. + +--- +## 2026-05-27 — M8/D7 complete: PR-comment outcome reflection + gate claim + +Added outcome reflection to the bridge: after triggering, a daemon watcher polls the Drone build to +completion and edits the run-link PR comment to ✅ passed / ❌ (Gitea PATCH +issues/comments/{id}). Gave the bridge image a content-hash tag so the swarm service actually rolls +on bridge.py changes (same latent :latest no-roll issue the dashboard had). + +Verified end-to-end: posted a fresh `!testme` on PR #1 → poller fired → "started" comment posted → +build #76 (RECIPE=cc-ci, fails fast: no tests/cc-ci) → within ~20s the **same comment was edited to +`cc-ci: run for cc-ci @ d397720a ❌ failure → …/76`**. The pass/fail now mirrors onto the PR comment. + +D7 fully met: per-run logs (Drone UI) + overview page with badges (dashboard, live) + PR comment +links back AND reflects the outcome. Claiming the M8 gate. diff --git a/STATUS.md b/STATUS.md index 16ac313..042fe1a 100644 --- a/STATUS.md +++ b/STATUS.md @@ -6,10 +6,11 @@ GREEN through Drone (build #39). Next: enroll recipes 3–6 (remaining D10 categ **In-flight:** M6.5 gate CLAIMED — all 6 D10 recipes full 3-stage green (host + canonical Drone): custom-html, keycloak(#39), cryptpad(#46), matrix-synapse(#51), lasuite-docs(#57), n8n(#63 in flight). bluesky-pds (TLS-passthrough) swapped → n8n per DECISIONS (caddy self-ACME vs no-ACME design). -**M6.5 PASS** (Adversary). **M8/D7 dashboard LIVE** (overview + badges, 6 recipes; /hook still bridge). -**M7/D6 CLAIMED** (docs/secrets.md rotation doc + log redaction filter; leak scans clean). Next -unblocked: M8 PR-comment outcome reflection, M9 docs/reproducibility (D8/D9), and the full -single-`!testme`-on-a-recipe-PR E2E (D10/M10 — the Adversary-flagged remaining proof). +**M6.5 PASS + M7/D6 PASS** (Adversary). **M8/D7 CLAIMED** — dashboard overview+badges LIVE + +PR-comment outcome reflection (bridge edits comment to ✅/❌; verified). Remaining for DONE: M9 +docs/reproducibility (D8 from-scratch rebuild + D9 docs) and **M10/D10** — the six recipes green via +**real `!testme` PRs** (currently proven via API-trigger; the Adversary-flagged gap). M10 = enroll +recipes in the bridge POLL_REPOS + open recipe-mirror PRs + `!testme` each. **Last updated:** 2026-05-27 (M6.5 CLAIMED — 6/6 recipes 3-stage green across all D10 categories) ## Gate: M6.5 — CLAIMED, awaiting Adversary (2026-05-27)