healer: the seam verdict's lead line for a vitest red is pnpm's generic wrapper, so every dashboard vitest fault collapses onto ONE signature (41caf9190ae5) and trips the repair loop-breaker #1325
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#1325
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?
Every
@idss/dashboardvitest red hashes to ONE incident signature — the healer's loop-breakers cannot tell them apartscripts/seam-smoke.sh:write_verdictleads the verdict with a causative line:it prefers a compiler/lint
file:line:col:diagnostic, else the lasterror-ish line in the failing stage. A vitest failure prints no
:N:M:-shaped diagnostic, so the lead falls through to pnpm's wrapper line —— which is byte-identical for every dashboard vitest failure that has ever
happened.
heal-lib.sh:seam_verdict_signaltakes exactly that first line,and
compute_signaturehashesworkflow | stage :: first-error-line.Proven, not inferred
Replaying the four archived
run-verdict.txtfiles through the real functions:Three different test files and two different failure modes, one signature.
Why it bites
This is the exact degradation
seam_verdict_signalexists to prevent — its owncomment promises "a moved fault yields a new signature and re-triggers
investigation instead of matching the degraded workflow-name-only signature".
For the dashboard it does not move.
The ledger entry
.sandcastle/.state/healer/41caf9190ae5now readsattempts=2 repaired=1 escalated=0.ledger_decidereadsrepaired=1insidethe cooldown and returns
escalate-repaired— the never-repair-twiceloop-breaker — for a genuinely new dashboard fault it has never seen. One more
step (
escalated=1) latchessilent: no investigation, no Mattermost post,for any dashboard vitest red inside the window. A real regression in
dashboard/would land in that hole.(Related:
repaired=1looks wrong on its own terms — all four heals wereticket-only, which
action_is_ticket_onlyis supposed to route toticketed.Worth checking while here, but the signature collapse is the primary defect.)
Fix sketch
In
write_verdict, exclude the pnpm/npm recursive-run wrapper lines(
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL,ELIFECYCLE) from lead selection, andadd a vitest-shaped lead ahead of the fallback — the
FAIL <file> > <suite> > <test>line, or vitest's::error file=…marker, either of which names thefault exactly and differs per fault. Extend
tests/heal-lib-test.shwith thefour verdicts above pinned to four distinct signatures.
Scope note: the fix belongs in
scripts/seam-smoke.sh(the writer) — do notchange
heal-lib.sh's hashing, which is shared factory contract and wouldre-mint every signature in the ledger.
Filed by the swarm healer while diagnosing ci run 20088 (see #1324). Not
self-repaired: the healer is forbidden from editing its own
heal.sh/heal-lib.sh, and the ledger already records one spent attempt on thissignature.
Triage — confirmed ready-for-agent (bug)
Healer-applied
bug+ready-for-agentconfirmed. Verified againstf1b439bd:scripts/seam-smoke.sh:45write_verdictprefers afile:line:col:diagnostic else "the last error-ish line" (comment at :72–74) — matches the reported fall-through to the pnpm wrapper for a vitest red..sandcastle/heal-lib.shseam_verdict_signal(:57) +compute_signature(:45) hashworkflow | stage :: first-error-line, as described.Redundancy check: no existing exclusion of
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL/ELIFECYCLEfrom lead selection and no vitest-shaped lead inwrite_verdict— the fix is not already present.Well-scoped two-way door: the change lives in the writer (
scripts/seam-smoke.sh) +tests/heal-lib-test.sh, leavesheal-lib.sh's hashing untouched (per the scope note — changing it would re-mint every ledger signature), and is provable by the four archived verdicts hashing to four distinct signatures. No door to pick and no one-way-door residue, so it staysready-for-agentas filed.swarm-claim host=elitebook-distributed-server-03 run=20109
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1325 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope