Commit Graph
100 Commits
Author SHA1 Message Date
autonomic-bot ec1dc5978d status(regall): batch 5 partial (lasuite-drive/uptime-kuma L5; plausible restore=fail LIKELY FLAKY, re-triggered); batch 6 IN FLIGHT
continuous-integration/drone/push Build is passing
2026-06-17 02:28:31 +00:00
autonomic-bot b2198dc7e5 status(regall): batch 4 DONE (ghost/immich/lasuite-docs L5); batch 5 IN FLIGHT (lasuite-drive/plausible/uptime-kuma)
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2026-06-17 02:20:13 +00:00
autonomic-botandClaude Sonnet 4.6 c42a65d315 review(regall): batch 4 all L5 (lasuite-docs/ghost/immich); 16/21 recipes GREEN
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Cold-verified from results.json:
- lasuite-docs (743): L5 all pass
- ghost (744): L5 all pass
- immich (745): L5 all pass

No regressions. Remaining: lasuite-drive, plausible, uptime-kuma, custom-html-tiny, bluesky-pds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 02:18:46 +00:00
autonomic-bot 2c4fdddd33 status(regall): batch 3 DONE (custom-html/mailu/mattermost-lts L5); batch 4 IN FLIGHT (ghost/immich/lasuite-docs trivial PRs created + !testme)
continuous-integration/drone/push Build is passing
2026-06-17 02:14:09 +00:00
autonomic-botandClaude Sonnet 4.6 2db9c8bb00 review(regall): batch 3 all L5 (custom-html/mailu/mattermost-lts); BP-5 previous/ overlay scoping correct
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Cold-verified from results.json + Drone logs:
- custom-html (737): L5 all pass
- mailu (738): L5 upgrade=pass (A-regall-1 risk clear), backup_restore=skip (expected)
- mattermost-lts (739): L5 all pass

BP-5: custom-html build 737 log confirms kind=ref main-tip, no previous/ overlay applied.
prevb previous/ mechanism correctly scoped to UPGRADE_BASE_VERSION recipes only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 02:13:07 +00:00
autonomic-botandClaude Sonnet 4.6 dc086ecb70 review(regall): batch 2 closed all L5; batch 3 partial (custom-html L5, mailu L5 upgrade=pass, mattermost-lts running)
continuous-integration/drone/push Build is passing
Cold-verified from results.json:
- mumble (732): L5 all pass
- custom-html (737): L5 all pass
- mailu (738): L5 upgrade=pass (A-regall-1 corrected baseline — regression risk clear), backup_restore=skip (expected)
- mattermost-lts (739): still running

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 02:11:40 +00:00
autonomic-bot 12741fceee status(regall): batch 2 DONE (lasuite-meet/n8n/mumble L5); batch 3 IN FLIGHT (custom-html/mattermost-lts/mailu)
continuous-integration/drone/push Build is passing
2026-06-17 02:08:52 +00:00
autonomic-bot bc4eeaa6b5 review(regall): A-regall-1 CLOSED; BP-3 !testmexyz rejected; BP-4 dashboard clean; batch-2 partial (lasuite-meet/n8n L5)
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2026-06-17 02:07:36 +00:00
autonomic-bot 7c6134a773 fix(regall): correct mailu baseline upgrade=pass (A-regall-1); consume Adversary inbox; batch 2 in flight
continuous-integration/drone/push Build is passing
2026-06-17 02:05:42 +00:00
autonomic-bot 4ad3c9d907 review(regall): BP-1 baseline verified (A-regall-1: mailu upgrade=pass not skip); BP-2 upgrade-base=main-tip confirmed; batch-1 all L5
continuous-integration/drone/push Build is passing
2026-06-17 02:04:48 +00:00
autonomic-bot d809167c84 status(regall): batch 1 DONE (drone/gitea/matrix-synapse L5); batch 2 IN FLIGHT (mumble/lasuite-meet/n8n)
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2026-06-17 02:03:21 +00:00
autonomic-bot fc3ed2834b review(regall): Adversary live; orientation + batch-1 partial results recorded (drone/matrix-synapse L5✓, gitea running)
continuous-integration/drone/push Build is passing
2026-06-17 02:01:26 +00:00
autonomic-bot a54a27837e status(regall): batch 1 IN FLIGHT — drone/gitea/matrix-synapse !testme triggered
continuous-integration/drone/push Build is passing
2026-06-17 01:58:20 +00:00
autonomic-bot 4d54123d03 chore(regall): bootstrap phase state (STATUS/BACKLOG/REVIEW/JOURNAL-regall)
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2026-06-17 01:56:27 +00:00
autonomic-bot b6f526a22d status(prevb): ## DONE — M1+M2 Adversary-verified PASS (no VETO); dynamic base + previous/ + discourse PR#4 real-CI GREEN (official 3.5.3 migration tested)
continuous-integration/drone/push Build is passing
2026-06-17 01:51:04 +00:00
autonomic-bot 1c3ba71b04 review(prevb): M2 PASS — discourse #4 !testme GREEN in real CI (Drone 717, live-image teeth=official 3.5.3, lint non-gating); 3 spot-checks + own cryptpad re-run confirm dynamic base; public surface secret-clean; nothing merged. Both M1+M2 PASS, no VETO → Builder may DONE
continuous-integration/drone/push Build is passing
2026-06-17 01:50:01 +00:00
autonomic-bot e8a0037d85 defer(prevb): file F-prevb-C (mint_admin ApiKey in access-controlled RAW log; pre-existing, low-sev, out of scope)
continuous-integration/drone/push Build is passing
2026-06-17 01:49:56 +00:00
autonomic-bot 19c9c3edcf review(prevb): M2 cold-verify IN FLIGHT — discourse #4 !testme GREEN confirmed via gitea API (Drone 717, real live-image teeth, lint=non-gating rung); 3 spot-checks dynamic-base confirmed; my own cryptpad re-run in flight
continuous-integration/drone/push Build is passing
2026-06-17 01:48:41 +00:00
autonomic-bot 71399f65d1 claim(prevb): M2 — discourse PR#4 !testme GREEN in real CI (Drone 717, all 5 tiers, head=official 3.5.3); 3 spot-checks green under dynamic base
continuous-integration/drone/push Build is passing
2026-06-17 01:40:19 +00:00
autonomic-bot a0de5b196d status(prevb): B7 DONE — discourse PR#4 !testme GREEN in real CI (Drone 717, all 5 tiers); launching hedgedoc spot-check
continuous-integration/drone/push Build is passing
2026-06-17 01:36:44 +00:00
autonomic-bot 59338e9fc4 journal(prevb): all 5 discourse tiers green locally (custom mint_admin fixed); posting !testme for B7
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2026-06-17 01:26:53 +00:00
autonomic-bot b66abc4978 fix(prevb): discourse custom mint_admin image-agnostic (official /var/www/discourse + DB-password re-export; bitnami fallback)
continuous-integration/drone/push Build is passing
The custom tier runs on the PR head — now genuinely the official discourse/discourse image (prevb
stopped the overlay reverting it to bitnamilegacy). mint_admin hardcoded /opt/bitnami/discourse (404 on
official) → create-topic roundtrip failed. Detect /var/www/discourse, re-export DISCOURSE_DB_PASSWORD
from /run/secrets (entrypoint exports it only for boot), run bin/rails; keep bitnami fallback.
2026-06-17 01:20:41 +00:00
autonomic-bot 55d638026f status(prevb): M1 PASS recorded; starting M2 (full local discourse run → !testme)
continuous-integration/drone/push Build is passing
2026-06-17 01:06:32 +00:00
autonomic-bot dbc7a3b6ea review(prevb): M1 PASS — dynamic base (main-tip fallback live), previous/ base-only, overlay separated, head=official 3.5.3; TEETH: broken head → upgrade RED; clean teardown; no test weakened
continuous-integration/drone/push Build is passing
2026-06-17 01:03:45 +00:00
autonomic-bot ad8d9f4713 review(prevb): M1 e2e GREEN confirmed cold (head=official 3.5.3, sidekiq dropped, clean teardown); break-it re-launched after SIGTERM
continuous-integration/drone/push Build is passing
2026-06-17 01:00:44 +00:00
autonomic-bot 8c286bff60 docs(prevb): update recipe-customization/testing/runbook for dynamic base + previous/ (drop stale recipe_versions[-2] model)
continuous-integration/drone/push Build is passing
2026-06-17 00:46:03 +00:00
autonomic-bot 0cf70b67b9 journal(prevb): 3 green spot-checks under dynamic base (cryptpad/keycloak incl master-fallback); parking at M1 gate
continuous-integration/drone/push Build is passing
2026-06-17 00:43:17 +00:00
autonomic-bot 22f597c0fa recon(prevb): M1 cold acceptance in flight — base=main-tip ref confirmed; concurrent keycloak run isolated
continuous-integration/drone/push Build is passing
2026-06-17 00:42:34 +00:00
autonomic-bot bb79e9140e claim(prevb): M1 — dynamic base + previous/ + discourse migration; discourse upgrade GREEN locally (head=official 3.5.3, sidekiq pruned)
continuous-integration/drone/push Build is passing
2026-06-17 00:37:23 +00:00
autonomic-bot e1b32ea650 fix(prevb): prune orphan services on upgrade redeploy (head's dropped services); re-add EXPECTED_NA-other-rung test; consume Adversary inbox
continuous-integration/drone/push Build is passing
docker stack deploy doesn't prune services the head compose dropped (discourse PR#4 drops sidekiq),
leaving them orphaned on the base image. perform_upgrade now reconciles the live stack to the head
compose service set (lifecycle.prune_orphan_services). Makes the deployed stack faithfully reflect
the head — no test weakened. No-op when service sets match / compose unresolvable.
2026-06-17 00:29:00 +00:00
autonomic-bot 7f3e7c26f6 recon(prevb): M1 code pre-review (sound; 63 prevb unit tests pass cold) + builder heads-up (pre-existing red test)
continuous-integration/drone/push Build is passing
2026-06-17 00:27:06 +00:00
autonomic-bot 37cacf0f09 journal(prevb): M1 code green (unit+lint); discourse main-tip e2e in flight
continuous-integration/drone/push Build is passing
2026-06-17 00:20:39 +00:00
autonomic-bot bb2e3c6b2c feat(prevb): dynamic upgrade base (last-green→main→skip) + per-recipe previous/ overlay; migrate discourse off static base + leaky overlay
continuous-integration/drone/push Build is passing
- resolve_upgrade_base: BasePlan(kind=version|ref|skip); last-green (warm canonical) primary,
  main-tip fallback, declared skip else. UPGRADE_BASE_VERSION retained as optional override.
- deploy_app: base_ref path (chaos-deploy a main-tip/last-green commit) + apply_previous wiring.
- lifecycle: previous/ surface (has_previous, previous_target_version, previous_status decision,
  provide/remove overlay, compose_file add/remove, recipe_branch_commit, stack_service_names).
- generic.perform_upgrade: strip previous/ overlay + COMPOSE_FILE entry before head redeploy.
- discourse: compose.ccci.yml now environmental-only (order: stop-first); removed bitnamilegacy
  pins + sidekiq + UPGRADE_BASE_VERSION; test_upgrade.py asserts head image == official 3.5.3 + no sidekiq.
- unit tests: resolve_upgrade_base matrix + previous/ apply/skip/stale + COMPOSE_FILE layering.
2026-06-17 00:15:06 +00:00
autonomic-bot 1090abb97a recon(prevb): independently cold-verified discourse PR#4 head/main image facts (confirmed)
continuous-integration/drone/push Build is passing
2026-06-17 00:10:57 +00:00
autonomic-bot 423ebcbcbc chore(prevb): bootstrap phase state + settled dynamic-base/previous decisions
continuous-integration/drone/push Build is passing
2026-06-17 00:04:43 +00:00
autonomic-bot 7517c4f58c review(prevb): Adversary live; baseline recon recorded; awaiting M1 claim
continuous-integration/drone/push Build is passing
2026-06-16 23:58:23 +00:00
autonomic-botandClaude Sonnet 4.6 778720ce1b claim(gtea): M2 PASS + ## DONE — all DoD verified by Adversary
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Build #695 (RECIPE=gitea PR=1 REF=357926f26e69): level=5/5, test_lfs_roundtrip PASS (18s).
Build #692 (RECIPE=drone REF=main): level=5/5, dep path confirmed.
All 6 M2 DoD conditions met per Adversary REVIEW-gtea.md @2026-06-15T22:10Z.

Phase gtea complete. Gitea enrolled as a fully-tested recipe with LFS PR verified.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 22:04:15 +00:00
autonomic-botandClaude Sonnet 4.6 90522ee560 review(gtea): M2 ADVERSARY PASS @2026-06-15T22:10Z
continuous-integration/drone/push Build is passing
Build #695 (gitea PR=1 REF=357926f26e69): level=5, all stages PASS, test_lfs_roundtrip
PASS (18s) — LFS roundtrip verified in real CI on lfs-plain-gitea PR #1.
Build #692 (drone dep path PR=0 REF=main): level=5, drone recipe unaffected.
Build #684 (gitea main PR=0): level=5 (verified in prior round).
cc-ci self-test lint green. Unit tests 53/53. no_secret_leak in all runs.

Also records build #691 FAIL finding: STACK_NAME not in .env (fixed in ad53b5a).

Gate M2: ADVERSARY PASS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 22:02:46 +00:00
autonomic-bot 89c2d70acf journal(gtea): Blocker 4 fix + STACK_NAME discovery + ruff cleanup
continuous-integration/drone/push Build is passing
2026-06-15 21:57:47 +00:00
autonomic-botandClaude Sonnet 4.6 ad53b5a620 fix(gtea): derive STACK_NAME from domain (dots→underscores) in UPGRADE_SECRET_PREP
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
abra does NOT write STACK_NAME to the app's .env file — it derives it at runtime
by replacing dots with underscores (e.g. gite-e1cb78.ci.commoninternet.net →
gite-e1cb78_ci_commoninternet_net). Build #691 failed with 'STACK_NAME not found'
because the env file read was looking for a key that doesn't exist.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:56:44 +00:00
autonomic-bot 6dd79eac0c status(gtea): Blocker 4 fixed; builds #691/#692 in flight
continuous-integration/drone/push Build is passing
2026-06-15 21:54:37 +00:00
autonomic-botandClaude Sonnet 4.6 2d865f06cb fix(gtea): ruff format + check all gtea files and bridge.py
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Clears cc-ci self-test lint failures:
- ruff format: 9 files reformatted (all gtea test files + test_discovery.py)
- ruff check --fix: bridge.py UP017 (datetime.UTC alias) + 6 gtea check errors
- manifest.py B007: rename unused loop variable path → _path (no auto-fix available)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:52:01 +00:00
autonomic-botandClaude Sonnet 4.6 d832b353e4 fix(gtea): UPGRADE_SECRET_PREP hook — pre-insert lfs_jwt_secret with correct 43-char format
continuous-integration/drone/push Build is failing
Blocker 4 fix: abra `secret generate --all` uses .env.sample for length hints; the
lfs-plain-gitea PR has SECRET_LFS_JWT_SECRET_VERSION=v1 COMMENTED OUT, so abra produces
a wrong-length secret. gitea requires exactly 43 chars (32 bytes base64 URL-safe); wrong
length → gitea fatals trying to save the JWT secret to the read-only Docker Config
app.ini → health check fails → swarm rolls back.

Fix: new UPGRADE_SECRET_PREP hook (meta.py) called before `abra secret generate --all`
in the upgrade path. abra's `--all` is idempotent (skips existing secrets), so the
correctly pre-inserted secret survives. gitea's recipe_meta.py implements the hook using
`docker secret create` directly to guarantee correct format regardless of .env.sample.

Also consumes machine-docs/BUILDER-INBOX.md (Adversary Blocker 4 digest).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:46:28 +00:00
autonomic-botandClaude Sonnet 4.6 1efab2e1e6 review(gtea): M2 re-verify — #684 PASS, #685 FAIL (LFS upgrade rollback blocker)
continuous-integration/drone/push Build is failing
Build #684 (RECIPE=gitea REF=main PR=0): PASS level=5 — all tiers pass, LFS correctly
SKIP on main, HC1 SHA match (e6a1cc79=e6a1cc79). M2 main-branch DoD MET.

Build #685 (RECIPE=gitea PR=1 REF=357926f26e69): FAIL level=1 — new critical blocker:
upgrade chaos redeploy to PR head with compose.lfs.yml fails with rollback_completed.
Root cause: lfs_jwt_secret generated by abra --all with wrong length/format because
.env.sample in PR #1 has `SECRET_LFS_JWT_SECRET_VERSION=v1 # length=43` COMMENTED OUT.
Gitea starts but fails health check on bad JWT secret → Docker swarm rolls back.

Also filed: cc-ci self-test lint failures (9 ruff format violations in gtea files),
drone dep path not re-verified via live CI since a121d2c.

M2 still NOT claimable — Builder must fix lfs_jwt_secret generation and re-trigger #685.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:30:42 +00:00
autonomic-botandClaude Sonnet 4.6 1d6d93fca8 journal(gtea): M2 root cause analysis + fix details
continuous-integration/drone/push Build is failing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:04:51 +00:00
autonomic-botandClaude Sonnet 4.6 85f3bb34fa status(gtea): CI runs #684/#685 triggered (correct param format)
continuous-integration/drone/push Build is failing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:04:12 +00:00
autonomic-botandClaude Sonnet 4.6 304b2f5cbd status(gtea): M2 blockers fixed; CI builds #681/#682 in flight
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
- Consumed BUILDER-INBOX (M2 blockers from Adversary @20:50Z)
- Fixed all 3 blockers in commit a121d2c:
  1. LFS test fails: UPGRADE_EXTRA_ENV + secret generation in upgrade path
  2. REF=main HC1 fail: always use git SHA for head_ref
  3. Stale creds 401s: delete creds file in pre_install
- Unit tests: 53/53 pass
- Retriggered: build #681 (main) and #682 (PR #1 lfs-plain-gitea)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:03:05 +00:00
autonomic-botandClaude Sonnet 4.6 a121d2c069 fix(gtea): fix M2 blockers — LFS upgrade and REF=main HC1
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
Blocker 1 (LFS roundtrip fails on PR #1):
- Add UPGRADE_EXTRA_ENV to gitea recipe_meta.py — after PR-head checkout
  (compose.lfs.yml now in ABRA_DIR), add compose.lfs.yml to COMPOSE_FILE
  and set SECRET_LFS_JWT_SECRET_VERSION=v1 so the upgrade chaos redeploy
  actually runs with LFS enabled. Without this, the base install checks out
  the 3.5.x tag (compose.lfs.yml removed), EXTRA_ENV sees no LFS, and the
  upgrade chaos redeploy inherits the no-LFS .env — so the LFS test runs
  (compose.lfs.yml is restored by recipe_checkout_ref) but LFS is off.
- Add abra.secret_generate(domain) in generic.perform_upgrade when
  upgrade_env is non-empty — generates lfs_jwt_secret before chaos redeploy.

Blocker 2 (REF=main upgrade fails HC1):
- Always use recipe_head_commit (git rev-parse HEAD) for head_ref instead
  of using ref directly. When ref="main" (a branch name), the HC1 commit
  check "head_ref.startswith(chaos_commit)" always fails since "main" ≠ SHA.
  recipe_head_commit returns the actual SHA after the fetch/checkout.

Side-fix (stale creds — build #675):
- ops.py pre_install: delete the per-domain creds file before calling
  _ensure_admin. A fresh install wipes gitea's DB; any creds file from a
  prior run on the same domain is stale and causes 401s in all API calls.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 21:01:21 +00:00
autonomic-bot 05bf5d5264 review(gtea): file M2 blockers to Builder-INBOX — LFS deploy + upgrade-REF=main
continuous-integration/drone/push Build is failing
Two critical issues prevent M2: (1) lfs_jwt_secret not generated via disk .env → LFS disabled in
container; (2) upgrade tier fails when REF=main. Details + fix hints in BUILDER-INBOX.md.
2026-06-15 20:53:34 +00:00
autonomic-bot f85e54b155 review(gtea): M2 pre-verify — two critical blockers filed @2026-06-15T20:50Z
continuous-integration/drone/push Build is failing
Run 674 (main): upgrade FAIL ("not intended PR-head"); run 676 (PR#1 LFS): test_lfs_roundtrip
fails at git-push batch endpoint (LFS not enabled in deployed container). Builder must fix before M2.
2026-06-15 20:52:56 +00:00
autonomic-botandClaude Sonnet 4.6 ffb34dfcfa chore(gtea): M1 PASS recorded; M2 builds #675 #676 in flight
continuous-integration/drone/push Build is failing
M1: ADVERSARY PASS @20:32Z (a106036).
M2:
- Bridge POLL_REPOS now includes recipe-maintainers/gitea (86deceb)
- Build #675: Drone direct trigger RECIPE=gitea REF=main PR=0 (real CI on main)
- Build #676: !testme on PR #1 (lfs-plain-gitea head, LFS capstone)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:35:47 +00:00
autonomic-bot a10603638a review(gtea): M1 ADVERSARY PASS @2026-06-15T20:32Z
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
level=5/5 verified; 53/53 unit tests PASS (Adversary cold run from adv-clone);
code review: all test hooks have teeth; dep path correct; LFS skip correct.
One non-blocking finding: stale screenshot (pre-existing harness bug, manual run_id reuse).
2026-06-15 20:32:56 +00:00
autonomic-botandClaude Sonnet 4.6 86deceb36f feat(gtea): add recipe-maintainers/gitea to bridge POLL_REPOS
continuous-integration/drone/push Build is failing
Prerequisite for M2: enables the bridge to pick up !testme comments
on gitea recipe PRs (PR #1 lfs-plain-gitea) and post results back.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:32:22 +00:00
autonomic-botandClaude Sonnet 4.6 b2663dc7b7 chore(gtea): WAITING-UNTIL 20:40Z for Adversary M1 verdict
continuous-integration/drone/push Build is failing
LIVENESS PROTOCOL: declared per 10-min rule. Adversary pre-checks done
at 950ab8b, ready to verify. Claim posted at bac3662 (~20:13Z).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:20:01 +00:00
autonomic-botandClaude Sonnet 4.6 bac3662972 claim(gtea): M1 — suite green locally, all 5 stages PASS, git-lfs deployed
continuous-integration/drone/push Build is failing
Manual harness run 846690: install PASS + upgrade PASS + backup PASS + restore
PASS + custom PASS (level=5/5). LFS test self-skips correctly (compose.lfs.yml
absent on main). All pre-M1 Adversary findings from BUILDER-INBOX consumed:
  - Issue 1: git-lfs added to cc-ci-hetzner NixOS config, deployed (v3.6.1)
  - Issue 2: double /api/v1 path in test_lfs_roundtrip.py fixed

Awaiting Adversary M1 PASS before proceeding to real CI + LFS PR capstone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:13:39 +00:00
autonomic-bot 950ab8b3ed chore(gtea): cold pre-verify checks pass — ready for M1 claim
continuous-integration/drone/push Build is failing
2026-06-15 20:12:56 +00:00
autonomic-botandClaude Sonnet 4.6 3ec24b09d6 feat(host): add git-lfs to cc-ci-hetzner systemPackages
continuous-integration/drone/push Build is failing
Required by test_lfs_roundtrip.py for the M2 LFS capstone run on the
lfs-plain-gitea PR branch. Also revert the same change from the Incus
host (cc-ci/configuration.nix) where it was mistakenly added.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:10:45 +00:00
autonomic-botandClaude Sonnet 4.6 74bc5f0106 fix(gtea): test_admin_api: add token scopes for gitea 1.22+
continuous-integration/drone/push Build is failing
Gitea 1.22+ (including 1.24.2 on cc-ci) requires explicit scopes
when creating API tokens. Add read:user + read:organization to satisfy
the token creation endpoint and the read-back assertions that follow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:06:42 +00:00
autonomic-botandClaude Sonnet 4.6 3cc8338a78 fix(gtea): test_git_push: auto_init repo + direct URL push
continuous-integration/drone/push Build is failing
Empty-repo HTTPS push with git clone exits 0 but silently fails (remote
branch creation on an empty clone is unreliable). Fix:
- Create repo with auto_init=True + default_branch=main (initial commit present)
- Clone into a non-existing subdir (git clone must target non-existing path)
- Push via explicit cred_url (bypasses remote config; no tracking needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:04:48 +00:00
autonomic-botandClaude Sonnet 4.6 446bafe408 inbox(gtea): consume BUILDER-INBOX (Adversary pre-M1 findings addressed)
continuous-integration/drone/push Build is failing
Both issues fixed in 893a7b0:
- Issue 1 (git-lfs missing): added to nix/hosts/cc-ci/configuration.nix systemPackages
- Issue 2 (double /api/v1): fixed path in test_lfs_roundtrip.py restart poll

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:01:50 +00:00
autonomic-botandClaude Sonnet 4.6 893a7b0eb4 fix(gtea): embed git credentials in URL; fix double /api/v1 path; add git-lfs
continuous-integration/drone/push Build is failing
- test_git_push.py + test_lfs_roundtrip.py: use cred_url (https://user:pass@host/...)
  instead of GIT_CONFIG_COUNT insteadOf rewriting, which silently failed to
  propagate credentials to the push step (repo remained empty after push exit 0).
  Also add GIT_SSL_NO_VERIFY=true and GIT_TERMINAL_PROMPT=0.
- test_lfs_roundtrip.py: fix restart health-poll path /api/v1/version → /version
  (_api() already prepends /api/v1; double prefix produced 404 and a 120s timeout).
- nix/hosts/cc-ci/configuration.nix: add git-lfs to systemPackages (required for
  the LFS capstone test on the lfs-plain-gitea PR branch).

Adversary pre-M1 findings: Issue 1 (git-lfs absent) + Issue 2 (double path) both fixed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:01:31 +00:00
autonomic-bot fd77b13f9d chore(gtea): pre-M1 code review in REVIEW — issues filed to Builder, PASS items noted
continuous-integration/drone/push Build is failing
2026-06-15 19:58:50 +00:00
autonomic-bot 4a4b75661e inbox(gtea): heads-up to Builder — git-lfs absent on cc-ci (M2 blocker) + double /api/v1 bug in LFS test
continuous-integration/drone/push Build is failing
2026-06-15 19:58:17 +00:00
autonomic-botandClaude Sonnet 4.6 6ac9989140 fix(gtea): wait for visible input#user_name on gitea login page
continuous-integration/drone/push Build is failing
_csrf is a hidden field; wait_for_selector defaults to state=visible
and times out. Switch to the visible username input which proves the
login form rendered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 19:56:25 +00:00
autonomic-botandClaude Sonnet 4.6 33561c8609 feat(gtea): build full gitea test suite (M1 build — all files)
continuous-integration/drone/push Build is failing
- tests/gitea/recipe_meta.py: updated from dep-provider stub to dual-role (dep + recipe-under-test).
  Adds BACKUP_CAPABLE=True, READY_PROBE (/api/v1/version), SCREENSHOT (sign-in page), LFS-
  conditional EXTRA_ENV (compose.lfs.yml + GITEA_LFS_START_SERVER only when RECIPE=gitea AND
  overlay present — dep path unchanged). All existing dep keys preserved; 10/10 dep unit tests pass.

- tests/gitea/ops.py: NEW — admin user creation via gitea CLI (ci_admin, creds in /tmp per-domain
  file), marker repo lifecycle (pre_install/pre_upgrade/pre_backup create; pre_restore deletes to
  diverge from backup state).

- tests/gitea/test_{install,upgrade,backup,restore}.py: NEW — lifecycle overlays. Install checks
  API + admin auth + Playwright sign-in. Upgrade/backup/restore assert marker repo continuity.

- tests/gitea/custom/: NEW — test_health.py (parity: HTTP 200 root), test_git_push.py (parity:
  create→clone→push→verify→delete), test_admin_api.py (beyond-parity: user+org+token CRUD),
  test_lfs_roundtrip.py (LFS OID round-trip + JWT stability; skips on main, runs on PR #1 head).

- tests/gitea/PARITY.md: NEW — mapping table, source note (recipe-info corpus not upstream repo),
  beyond-parity rationale, backup/restore real-tier note, DB choice, dep-split mechanism, LFS skip.

- machine-docs/STATUS-gtea.md: NEW — phase status (building M1).
- machine-docs/BACKLOG-gtea.md: merged with Adversary init.
- machine-docs/JOURNAL-gtea.md: Builder log with design decisions + unit test results.
- machine-docs/REVIEW-gtea.md: kept Adversary init content.
- machine-docs/DECISIONS.md: appended gtea section (LFS split, admin mgmt, marker design).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 19:50:08 +00:00
autonomic-bot be895b5175 chore(gtea): init Adversary phase files — baseline orientation done, awaiting Builder M1 claim
continuous-integration/drone/push Build is failing
2026-06-15 19:42:28 +00:00
autonomic-bot 3f6d7dcd7b status(poe2e): ## DONE — all 5 DoD Adversary-verified PASS @2026-06-13T19:46Z, no VETO
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2026-06-13 19:48:26 +00:00
autonomic-bot 6e07b3c8e4 review(poe2e): ALL DoD PASS @2026-06-13T19:46Z — phase DONE
continuous-integration/drone/push Build is failing
2026-06-13 19:47:59 +00:00
autonomic-bot 4f3f1f615d claim(poe2e): all 5 DoD built + cold-verified (staged cc-ci 38e5c90 @ /home/loops/poe2e/cc-ci, PO fleet 6cc3ed4) — awaiting Adversary
continuous-integration/drone/push Build is failing
2026-06-13 19:42:59 +00:00
autonomic-bot c4301bd307 chore(poe2e): inbox consumed; D5 baseline + D2 live-status in REVIEW, pre-verify probes done
continuous-integration/drone/push Build is failing
2026-06-13 19:32:41 +00:00
autonomic-bot d12d8a12ca inbox(poe2e): consume BUILDER-INBOX; take JOURNAL ownership (baseline preserved); set up STATUS/BACKLOG; heads-up to Adversary
continuous-integration/drone/push Build is failing
2026-06-13 19:30:10 +00:00
autonomic-bot 62efd76bc1 chore(poe2e): init Adversary phase files — D5 baseline snapshot, awaiting Builder
continuous-integration/drone/push Build is failing
2026-06-13 19:27:09 +00:00
autonomic-bot 8cf1bf0408 status(porepo): ## DONE — all 5 DoD Adversary-verified PASS @2026-06-13T19:19Z (346ed31), no VETO
continuous-integration/drone/push Build is failing
2026-06-13 19:21:24 +00:00
autonomic-bot bde9a08d24 review(porepo): ALL DoD PASS @2026-06-13T19:19Z — phase DONE
continuous-integration/drone/push Build is failing
2026-06-13 19:20:26 +00:00
autonomic-bot c1038eae79 claim(porepo): all 5 DoD built + cold-verified from anon /tmp recursive clone (deliverable 346ed31) — awaiting Adversary
continuous-integration/drone/push Build is failing
2026-06-13 19:17:44 +00:00
autonomic-bot 9e0d3b7ee5 inbox(porepo): consumed — Builder heads-up noted, awaiting claim(porepo) commit
continuous-integration/drone/push Build is failing
2026-06-13 19:10:22 +00:00
autonomic-bot 365dd63ad6 chore(porepo): Builder claims STATUS/JOURNAL ownership, fill build backlog, inbox heads-up
continuous-integration/drone/push Build is failing
2026-06-13 19:09:52 +00:00
autonomic-bot a882318bd5 chore(porepo): init Adversary phase files — orientation done, awaiting Builder
continuous-integration/drone/push Build is failing
2026-06-13 19:05:52 +00:00
autonomic-botandClaude Opus 4.8 02ffbd9336 status(aotest): ## DONE — all 5 DoD Adversary-verified PASS @2026-06-13T19:00Z (cdcece9), no VETO
continuous-integration/drone/push Build is failing
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 19:03:08 +00:00
autonomic-bot 034e85d786 chore(aotest): Adversary JOURNAL — all DoD PASS, phase complete
continuous-integration/drone/push Build is failing
2026-06-13 19:02:32 +00:00
autonomic-bot 3568754e64 review(aotest): ALL DoD PASS @2026-06-13T19:00Z — phase DONE
continuous-integration/drone/push Build is failing
2026-06-13 19:02:06 +00:00
autonomic-botandClaude Opus 4.8 c838c9250d claim(aotest): test suite pushed (deliverable cdcece9) — unit+claude+opencode smokes PASS, isolated, awaiting Adversary
continuous-integration/drone/push Build is failing
Unit 51/51 PASS, claude smoke PASS, opencode smoke PASS (own :4097), no
leftover aotest-* sessions/ports, cc-ci sessions intact. Cold-verified from
/tmp clone inside nix develop. HOW/EXPECTED/WHERE in STATUS-aotest.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 18:59:11 +00:00
autonomic-bot 1c15cbb934 chore(aotest): add code orientation notes to REVIEW — break-it checklist ready
continuous-integration/drone/push Build is failing
2026-06-13 18:47:18 +00:00
autonomic-bot 68c171b0cd chore(aotest): init Adversary phase files — orientation done, awaiting Builder tests/ push
continuous-integration/drone/push Build is failing
2026-06-13 18:45:25 +00:00
autonomic-bot dfe0ffac65 review(aoeng): ALL DoD PASS @2026-06-13T18:41Z — phase DONE
continuous-integration/drone/push Build is failing
Cold-verified commit 289ef07 (v0.1.0 annotated tag) from /tmp clean checkout.

DoD-1: repo + main + annotated v0.1.0 tag — PASS
DoD-2: grep -rIE 'cc-ci|/srv/cc-ci|recipe|upgrad' *.py → zero hits — PASS
DoD-3: selftest 3/3 PASS; status sane table; --help documents all verbs — PASS
DoD-4: smoke.sh runs isolated sandbox, assembles kickoff, tears down clean — PASS
DoD-5: nix develop: tomllib OK, tmux 3.5a + git 2.47.2 on PATH — PASS
DoD-6: README covers schema + verbs + AI-PO contract + nix develop — PASS

No findings. No veto. Phase aoeng complete.
2026-06-13 18:42:04 +00:00
autonomic-bot 4a98df5271 chore(aoeng): init Adversary phase files — orientation done, awaiting Builder
continuous-integration/drone/push Build is failing
2026-06-13 18:25:01 +00:00
autonomic-bot 162f731e91 status(pxgate): ## DONE — M1+M2 PASS, cycle broken, cold-boot sim confirms no deadlock
continuous-integration/drone/push Build is failing
M2 verified: nixos-rebuild @13:43Z deployed /api/version probe; deploy-proxy
active(exited) in 279ms (nixos-rebuild) and 17ms (cold-boot sim) — no alert, no
deadlock. All 9 services 1/1. Running server unaffected. Adversary PASS @13:44Z.
BUILDER-INBOX consumed.
2026-06-13 13:47:42 +00:00
autonomic-bot 0a32854853 review(pxgate-M2): PASS — cold-boot sim confirms cycle broken, proxy active without dashboard
continuous-integration/drone/push Build is failing
nixos-rebuild deployed fix; new nix store path 8qjh8apxcbs85 with /api/version probe;
deploy-proxy active(exited) at 13:43:15 UTC; cold-boot sim: proxy started active(exited)
with dashboard stopped; all 9 services 1/1; alert dir empty; rollback gate unchanged.
Phase pxgate DoD fully met. Builder may write ## DONE.
2026-06-13 13:45:25 +00:00
autonomic-bot 8f69e0bc49 chore(pxgate): pre-stage builder-clone on main; fix nixos-rebuild instructions
continuous-integration/drone/push Build is failing
builder-clone was on restructure/concurrency (caef217, 288 behind main).
Switched to main at d23baf8. STATUS updated with git checkout main safeguard.
Adversary idle probes all PASS @13:31Z.
2026-06-13 13:33:53 +00:00
autonomic-bot d23baf8d36 review(pxgate): idle break-it probes PASS @13:31Z — M2 pending orchestrator nixos-rebuild
continuous-integration/drone/push Build is failing
2026-06-13 13:31:57 +00:00
autonomic-bot 0115e220d2 chore(pxgate): builder poll @13:24Z — M2 monitoring, old probe still live
continuous-integration/drone/push Build is failing
2026-06-13 13:25:51 +00:00
autonomic-botandClaude Sonnet 4.6 67e13f3a1f chore(pxgate): M2 blocked on orchestrator nixos-rebuild — old probe still live
continuous-integration/drone/push Build is failing
Active nix store (km6173hm5a...) calls ls5d6s7q...-runner/warm_reconcile.py which
still has health_domain=ci.commoninternet.net (OLD probe). Fix 0e9fd38 in git but not
deployed. Waiting for: cd /root/builder-clone && git pull && nixos-rebuild switch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 13:03:36 +00:00
autonomic-botandClaude Sonnet 4.6 39eff962ba status(pxgate): M1 PASS in — M2 awaits orchestrator nixos-rebuild
continuous-integration/drone/push Build is failing
M1 PASS @2026-06-13T13:00Z (Adversary, commit c96766e). Fix verified:
- /api/version probe dashboard-independent ✓
- Controlled reproduction (dashboard=0): old=404 new=200 ✓
- Consumer ordering unchanged ✓
- Gate has teeth: health_code returns 0 on failure → rollback ✓

M2 needs orchestrator to nixos-rebuild cc-ci with main@0e9fd38, then
Adversary cold-verifies deploy-proxy reaches active (not failed).
Exact nixos-rebuild command and verification steps in STATUS-pxgate.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:53:17 +00:00
autonomic-botandClaude Sonnet 4.6 c96766e1d4 review(pxgate-M1): PASS — cycle broken, /api/version probe dashboard-independent, rollback intact
continuous-integration/drone/push Build is failing
Cold verification of commit 0e9fd38:

1. Code change correct: health_path="/api/version", health_domain absent (falls back to
   traefik.ci.commoninternet.net). Probe is traefik's own API, no backend dependency.
2. Controlled repro (dashboard=0): new probe → 200; old probe → 404. Cycle broken.
3. Consumer ordering unchanged: all After=deploy-proxy services unaffected; deploy-proxy
   itself has no After=dashboard. Fix does not change any service ordering.
4. Alert dir empty: stale alert cleared.
5. proxy.nix comment updated correctly.
6. Gate has teeth: on curl failure, health_code() returns 0 (not 999 as STATUS claimed —
   non-blocking doc discrepancy); 0 not in health_ok=(200,) → rollback triggers. Functional PASS.
7. DEFERRED entry closed, DECISIONS logged.

No blocking findings. M2 pending orchestrator cold-boot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:50:23 +00:00
autonomic-botandClaude Sonnet 4.6 0e9fd388d2 claim(pxgate-M1): change traefik health probe to /api/version (A1 cycle fix)
continuous-integration/drone/push Build is failing
Break the deploy-proxy ↔ dashboard health-gate circular dependency (Adversary A1, pvfix):

- runner/warm_reconcile.py: remove health_domain override (was ci.commoninternet.net,
  the dashboard). Change health_path from / to /api/version. The probe now uses
  traefik.ci.commoninternet.net/api/version — traefik's own API, no backend/dashboard dep.
- nix/modules/proxy.nix: update comment to reflect new health probe.
- machine-docs/DECISIONS.md: pxgate fix logged (supersedes pvfix manual workaround).
- machine-docs/DEFERRED.md: 2026-06-13 circular-dependency entry closed.
- Consumed BUILDER-INBOX.md (Adversary orientation msg).

Controlled reproduction (dashboard swarm scaled to 0):
  OLD probe (ci.commoninternet.net): HTTP 404  ← gate would loop → timeout
  NEW probe (traefik.../api/version): HTTP 200  ← passes immediately
Stale false-alarm alert 20260613T054428Z-traefik-unhealthy-on-latest.json cleared on host.
No After=deploy-proxy consumers changed (ordering preserved).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:46:34 +00:00
autonomic-botandClaude Sonnet 4.6 6e40bd6eb9 chore(pxgate): pre-M1 probes P3+P5 PASS, endpoint stability confirmed
continuous-integration/drone/push Build is failing
P5: alert files contain no secrets (version strings only).
P3: all After=deploy-proxy consumers still ordered correctly.
Endpoint: /api/version returns 200 reliably (3/3 probes, no backend dep).
P1-negative deferred to M1 gate time (needs controlled traefik stop).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:44:30 +00:00
autonomic-botandClaude Sonnet 4.6 c798292598 chore(pxgate): BUILDER-INBOX — orientation done, live bug proven
continuous-integration/drone/push Build is failing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:43:32 +00:00
autonomic-botandClaude Sonnet 4.6 a9e67af61e chore(pxgate): init Adversary phase files — root cause cold-verified, M1/M2 PENDING
continuous-integration/drone/push Build is failing
Independent cold read confirms the circular dependency (proxy health-gate polls
ci.commoninternet.net served by dashboard which is After=deploy-proxy). Root cause
is PROVEN LIVE by today's alert: 20260613T054428Z-traefik-unhealthy-on-latest.json.

Fix endpoint independently verified: /api/version on traefik.ci.commoninternet.net
returns 200 as soon as traefik is up, no dashboard dependency.

REVIEW-pxgate.md: orientation, M1/M2 acceptance criteria.
BACKLOG-pxgate.md: break-it probes P1–P5 to run at M1 gate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:42:30 +00:00
autonomic-botandClaude Opus 4.8 1c671ed045 status(cf48): ## DONE — M1+M2 PASS, NO COVERAGE LOST cross-validated (Sonnet 4.6 + Opus 4.8)
continuous-integration/drone/push Build is failing
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 06:34:33 +00:00
autonomic-botandClaude Opus 4.8 b66c9227a3 review(cf48-M2): M2 PASS — NO COVERAGE LOST, independently cold-verified, no VETO
continuous-integration/drone/push Build is failing
Cold re-clone @a6f967f: cardinal (recipe,filename) set identical 64=64; 0 added/0
deleted test files, 5 non-R100 renames are docstring/comment only (no assertion/wait/
skip/sys.path change); orphan-test hunt found no droppable recipe-local test; alias
probe warns on both deprecated dirs; unit suite 18 passed; cfold sweep evidence audited
directly (all 20 recipes 5/5, custom counts match baseline, live_pr_apps=0). M1+M2 PASS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 06:33:47 +00:00