healer: the ci incident signature keys on dashboard console noise, not the failing Go diagnostic — distinct seam reds collapse onto one signature #948
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#948
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the swarm healer from incident evidence
/tmp/matou-heal-Matou-idss.o25Cca(run https://git.matou.nz/Matou/idss/actions/runs/13343, signature60bdf274ed9b).Symptom
Every red of the
Go: go.work resolves both modules; build, vet, test, lint eachseam stage produces the SAME healer signature, because the line the signature keys on is console noise from an earlier stage that PASSED.run-verdict.txtfor run 13343:The healer's trigger line was therefore
Go: go.work ... :: dashboard test: at <SurfaceErrorBoundary>— it names no fault at all.Cause
Two
head/tailchoices meet in the middle:scripts/seam-smoke.shwrite_verdict()greps error-ish lines across the WHOLE teed log and keepstail -12. With errexit armed (#871) the seam aborts AT the failing command, so the causative diagnostic is the LAST of those lines. The other 11 are VueSurfaceErrorBoundarycomponent-stack prints emitted by the passingTypeScript: build (tsc), test (vitest), lint (eslint)stage..sandcastle/heal-lib.shseam_verdict_signal()takeshead -1of that block for the signature.So the signature is stage + oldest-surviving noise line, which is stable across unrelated faults.
Evidence that it actually collapses distinct faults
Ledger
.sandcastle/.state/healer/60bdf274ed9b:first_seen~41.5h before 2026-08-28T18:23Z,attempts=2,repaired=1— i.e. this one signature already spans #914's revive break inagent/internal/trust/trust_test.go:94AND #945's revive break incontrol-plane/cmd/control-plane/compose_enroll_test.go:353. Two different files, two different commits, one signature.This is the exact failure mode
.sandcastle/heal.sh's own comment (lines 220-232) says the per-run verdict was introduced to prevent: "a moved fault masked as 'still failing'". Consequence: within the 6hHEAL_COOLDOWN, a genuinely NEW seam red matches a signature already markedrepaired=1,ledger_decidereturnsescalate-repaired, and the healer declines to investigate it.Suggested shape (not prescriptive)
Make the verdict's error block lead with the causative line. Options: reverse the retained order (
tail -12then print last-first), or prefer lines matching the compiler/lintfile:line:col:diagnostic form over free prose, or scope the grep to output emitted after the last==>banner (i.e. the failing stage only) — the last is the most faithful, since the log already delimits stages.Acceptance criteria
scripts/tests/in the house pattern (peer:scripts/tests/seam-errexit-test.sh, which already injects a failing non-final stage intoseam-smoke.sh)..sandcastle/heal-lib.sh's unit cover (tests/heal-lib-test.sh) still passes.Not in scope
The run-13343 red itself needs nothing: it fired on the superseded sha
fa0d297c(dispatch raced the push) and the revive break already landed on main as180570f9. Verified clean at HEAD in a fresh clone undernix develop:go vet ./control-plane/...rc=0,golangci-lint run ./control-plane/...rc=0,go test ./control-plane/cmd/control-plane/ -run TestComposeEnrollrc=0.swarm-claim host=elitebook-distributed-server-03 run=13364
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #948 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope