rehearsal: one red, one ticket — the reporter is the single filer, the refusing healer hands it a diagnosis artifact (#1144 seam) #1184
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#1184
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?
The defect (proven on the phase-7 first drive)
Drive
20260903T042240Zredded once and produced TWO blocker tickets for the one fault: #1178 (healer-refusal filing, rich diagnosis) and #1179 (reporter filing, evidence dump) — closed as a dup. The #1144 healer-first regime gave the refusing healer its own filing path but the two rails share no signature ledger: the reporter'sleg::errordedup (rail 6) never sees a healer-filed ticket, and the healer never checks the reporter's.The ruling this ticket asks a session to land (recommended shape)
Single writer: the reporter. The healer keeps first-responder role (#1144 unchanged) but on REFUSAL it files nothing — it writes its diagnosis (the refusal rule hit, the layer analysis, the fix shape) to a well-known artifact in the run dir (e.g.
artifacts/healer-refusal.md). The reporter — deterministic, always runs, already carries the dedup ledger, the #1138 filing cap, #601 priority, and the drive-issue blocking — files the ONE ticket, embedding the healer's diagnosis verbatim when the artifact exists.Why not healer-only filing: the healer is killable (
REHEARSAL_HEALER=0), capped, and an LLM session — if it is off or dead, a red would file NOTHING and the drive parks silently with no blocker (the #1138 class, minus even the ticket). The deterministic rail must remain the writer of record.Notes
.sandcastle/rehearsal-report.shis #445-fingerprinted (protected path) — session work; the healer side lands upstream in dev-factory and re-vendors (the self-hosting lesson).leg::errortwice still dedups to zero new tickets.Origin: Ben's question on the #1179 dup, 2026-09-03; #1179's close comment carries the race evidence.
Close report — landed
04aa72df(idss re-vendor) + dev-factory11264edeon main (Ruled by session under ADR 0174 — veto anytime). Two-way: labels, shell libs and a rail step after a successful install, all revertible by one commit; no spend, no posture change.Shape chosen — the reporter stays the single writer, keyed on the FAULT. The executor log for drive
20260903T042240Zshows the concrete mechanism: the healer's file-verdict was already filed THROUGH the reporter's own filing flow (sig25304f657c24, legstanding); the second ticket came from the reporter processing the nestedwizard-rentleg — same error text, different leg name, so a different leg-keyedleg::errorsignature, and the healer runs once per drive so leg 2 went to the reporter's own diagnosis. Two rails sharing a ledger would not have caught it; a fault-keyed dedup does.What landed (upstream
Matou/dev-factory11264ede, re-vendored here, drift OK):rehearsal-report.shkeeps a per-runfiled_by_fault[normalize_error_line(err)]map, filled at every point an issue number becomes known (start-of-run sig match, fresh re-match, a new filing); a later red leg carrying an already-filed fault appends its evidence to that issue and never files. The healer's file-verdict is also persisted toartifacts/healer-refusal.json(leg + sig folded in) — the diagnosis artifact this ticket asked for — so it survives a refused filing or a cap skip and is there for the reporter and a later human.Acceptance: one red drive, one fault under two legs → ONE ticket + one evidence comment (factory
rehearsal-report-test4c; digits differing between the two copies do not defeat the match); healer disarmed still files (unchanged cases); sameleg::errortwice still dedups to zero new tickets (cases 2/3); the artifact exists and is the file-verdict (rehearsal-healer-test2). An absent artifact never files a fake "healer ran" ticket — nothing reads the artifact to file, the reporter files from the verdict in hand. The bump also carries factory #121 (session-runner ISO-8601 line stamps).