agent-install — healer loop-guard: a prior heal did not hold #1197

Closed
opened 2026-09-03 17:40:45 +00:00 by matou-build-agent · 3 comments

A prior drive healed this exact fault (agent-install :: same normalised error) and it has redded again. Per rail 6 (no heal loops), the healer refused a second heal and filed this blocker so the drive stops re-firing into it.

Healer refused: loop-guard rule — diagnose why the prior heal did not hold before re-arming.

ticket-on-refusal under the healer-first regime (#1144)

drive 20260903T165418Z red at agent-install: the community gateway serves no device VM-guest bundle (/get?artifact=vm-guest exited 22) — a VM-mode Create would fail loud for want of a staged guest image (Task 2 of #1153, ADR 0100): Warning: Pe
evidence: /home/swarm/swarm/Matou/idss/test-results/drive-device/20260903T165418Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

A prior drive healed this exact fault (`agent-install` :: same normalised error) and it has redded again. Per rail 6 (no heal loops), the healer refused a second heal and filed this blocker so the drive stops re-firing into it. **Healer refused: loop-guard rule** — diagnose why the prior heal did not hold before re-arming. _ticket-on-refusal under the healer-first regime (#1144)_ drive `20260903T165418Z` red at `agent-install`: `the community gateway serves no device VM-guest bundle (/get?artifact=vm-guest exited 22) — a VM-mode Create would fail loud for want of a staged guest image (Task 2 of #1153, ADR 0100): Warning: Pe` evidence: `/home/swarm/swarm/Matou/idss/test-results/drive-device/20260903T165418Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: f719667ae384 -->
Owner

Session state-of-play — no new work needed on this ticket; it closes on the snapshot advance.

The loop-guard read is right (same sig f719667ae384 twice) but nothing failed to hold — the fix chain is mid-flight and this red was the predicted interim: drive 165418Z booted the still-unbaked 73852b84 snapshot because the FIRST bake attempt failed on a /tmp quota ('install: Disk quota exceeded' — fixed in d9e35a2b: the bake stages into $IDSS_PAYLOAD_DIR, where the 2.6GB tar already sits).

In progress right now: a hand-fired build.sh on elitebook-03 (log /tmp/gwimage-manual-build.log) — agent pinned 61e15aaf, build droplet up; the bake goes sha → one-time ~2.6GB upload → snapshot. ETA ~70 min. On snapshot advanced … -> 61e15aaf/d9e35a2b this session clears the preflight backoff and closes this ticket; the next drive boots a gateway that already serves /get?artifact=vm-guest and the supply seed no-ops (sha match).

Everything else in drive 165418Z was green — 28 legs including the full re-found, kvm-probe, and the new bounded seed (supply GREEN at 6.5m on the graceful-timeout path, exactly as #1191's landing intended).

**Session state-of-play — no new work needed on this ticket; it closes on the snapshot advance.** The loop-guard read is right (same sig `f719667ae384` twice) but nothing failed to hold — the fix chain is mid-flight and this red was the predicted interim: drive `165418Z` booted the still-unbaked `73852b84` snapshot because the FIRST bake attempt failed on a /tmp quota ('install: Disk quota exceeded' — fixed in `d9e35a2b`: the bake stages into `$IDSS_PAYLOAD_DIR`, where the 2.6GB tar already sits). **In progress right now:** a hand-fired `build.sh` on elitebook-03 (log `/tmp/gwimage-manual-build.log`) — agent pinned `61e15aaf`, build droplet up; the bake goes sha → one-time ~2.6GB upload → snapshot. ETA ~70 min. On `snapshot advanced … -> 61e15aaf/d9e35a2b` this session clears the preflight backoff and closes this ticket; the next drive boots a gateway that already serves `/get?artifact=vm-guest` and the supply seed no-ops (sha match). Everything else in drive `165418Z` was green — 28 legs including the full re-found, kvm-probe, and the new bounded seed (supply GREEN at 6.5m on the graceful-timeout path, exactly as #1191's landing intended).
Owner

Baked and shipped — closing; the drive re-fires on this close.

Snapshot idss-gateway-d9e35a2b7a1c created 18:37Z carrying the vm-guest bundle (branch=copied, sha e339ef245e82…; the bake phase's 45m13s was the one-time 2.6GB upload — every later rebuild hits the reuse branch and re-sends nothing). Build droplet deleted; preflight backoff cleared.

The next drive rents a gateway booted from this snapshot: /get?artifact=vm-guest serves, the supply seed no-ops on the sha match, and agent-install gets its 200. The chain that closed this: 61e15aaf (bake + seed short-circuit) → d9e35a2b (the bake's stage dir off the quota'd /tmp) → this snapshot.

**Baked and shipped — closing; the drive re-fires on this close.** Snapshot `idss-gateway-d9e35a2b7a1c` created 18:37Z carrying the vm-guest bundle (`branch=copied`, sha `e339ef245e82…`; the bake phase's 45m13s was the one-time 2.6GB upload — every later rebuild hits the reuse branch and re-sends nothing). Build droplet deleted; preflight backoff cleared. The next drive rents a gateway booted from this snapshot: `/get?artifact=vm-guest` serves, the supply seed no-ops on the sha match, and `agent-install` gets its 200. The chain that closed this: `61e15aaf` (bake + seed short-circuit) → `d9e35a2b` (the bake's stage dir off the quota'd /tmp) → this snapshot.
ben closed this issue 2026-09-03 19:40:37 +00:00
Author
Member

Session re-read under ADR 0174 — no further work; already healed and closed. Releasing the stale claim.

The session-runner picked #1197 off the state=open queue and launched me, but a prior session had already healed and closed this ticket at 19:40:36Z (close-report above). This is the same-ticket race my standing guard warns about, so I re-read before touching anything and am not re-working or re-closing over that session's landed fix.

Verified the heal held:

  • Fix commits are on origin/main: 61e15aaf (#1191 — vm-guest.tar off the founding supply wire) → d9e35a2b (bake stages into $IDSS_PAYLOAD_DIR, off the quota'd /tmp). Snapshot idss-gateway-d9e35a2b7a1c baked carrying the vm-guest bundle; preflight backoff cleared.
  • Loop-guard question answered by the prior session and confirmed: the first heal did not "fail to hold" — drive 165418Z's red was the predicted interim, the still-unbaked snapshot booting after the first bake died on a /tmp quota (fixed in d9e35a2b). Not a heal loop.
  • No re-fire: no ticket carries rehearsal-sig f719667ae384 except this one; no new agent-install loop-guard has been filed; the sibling #1186 (vm-guest slot) is closed. Only the umbrella #1153 remains open (writing-plans, not this red).

Action taken: stripped the now-contradictory live-state labels agent-working and ready-for-session from this closed ticket (kept priority, rehearsal-183) so the tracker stops advertising an active claim on finished work. Two-way door (/labels), revertible.

Ruled by agent under ADR 0174 — veto anytime.

**Session re-read under ADR 0174 — no further work; already healed and closed. Releasing the stale claim.** The session-runner picked #1197 off the `state=open` queue and launched me, but a prior session had already healed **and closed** this ticket at 19:40:36Z (close-report above). This is the same-ticket race my standing guard warns about, so I re-read before touching anything and am **not** re-working or re-closing over that session's landed fix. Verified the heal held: - **Fix commits are on `origin/main`:** `61e15aaf` (#1191 — vm-guest.tar off the founding supply wire) → `d9e35a2b` (bake stages into `$IDSS_PAYLOAD_DIR`, off the quota'd `/tmp`). Snapshot `idss-gateway-d9e35a2b7a1c` baked carrying the vm-guest bundle; preflight backoff cleared. - **Loop-guard question answered by the prior session and confirmed:** the first heal did not "fail to hold" — drive `165418Z`'s red was the *predicted interim*, the still-unbaked snapshot booting after the first bake died on a `/tmp` quota (fixed in `d9e35a2b`). Not a heal loop. - **No re-fire:** no ticket carries rehearsal-sig `f719667ae384` except this one; no new `agent-install` loop-guard has been filed; the sibling #1186 (vm-guest slot) is closed. Only the umbrella #1153 remains open (writing-plans, not this red). Action taken: stripped the now-contradictory live-state labels `agent-working` and `ready-for-session` from this closed ticket (kept `priority`, `rehearsal-183`) so the tracker stops advertising an active claim on finished work. Two-way door (`/labels`), revertible. Ruled by agent under ADR 0174 — veto anytime.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1197
No description provided.