Pinky XX: authoritative dismissal — no zombies across both queues (v1.51.0) #79
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/pinky-xx-dismiss"
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?
Steer #47 (owner live evidence 2026-10-08): a dismissed-and-retried steer DELIVERED anyway. The round-V dismissal removed only the exact synthetic child from the sweeper queue; the failed original's still-queued copy, retry-created copies (same words, fresh child id) and late resurrected copies survived — the zombie.
This round makes dismissal authoritative across every representation:
POST /api/steer/dismiss(bodyid+ optionaltext/parent/keep) removes the exact child AND every queued observatory steer of the same parent whose prompt carries the same content fingerprint (whitespace-normalized sha256) — retry copies die with the original; thekeeparm spares a retry's fresh child (retry re-queues exactly ONE fresh representation; the UI fires the old-attempt sweep after its 202).stream-pending.jsonunder the dispatcher's own ledger discipline (flock on the.locksidecar + salvage read + unique-tmp + fsync + atomic replace); a concurrent dispatcher write during the sweep loses nothing.dropped+dismissed), never a delivered one.ZDO_DISMISS_GUARD_TTL_MS, 15 min default) re-sweeps the queue each watcher pass: the mid-delivery exit-3 self-queue and a racing sweeper's resurrected entry die BEFORE any lane can deliver them.inFlight: nothing killed mid-flight, the UI keeps the chip as a 🚚 delivering chip with the ✎ still armed (settles to not-delivered once the guard kills the re-queue).Evidence (all green): 584-test offline suite (11 new round-XX tests: sweep, keep arm, edit path, in-flight boundary, guard, racing writer, torn-tail salvage, truthful history); an end-to-end rig driving a REAL observatory process through the exact UI API path (the owner's zombie scenario with a delivery-hot turn boundary → ZERO delivery ever + both dismissals dead-lettered; the control leg proves a queued steer still delivers; failed-without-retry stays dead; edit path old-never-new-once; in-flight boundary with guard kill; live racing writer loses nothing); a trusted-input CDP smoke over the real dashboard (composer, pending chip, not-delivered chip with Retry, dismiss/edit recall, delivering chip, measured ≥24 px boxes). Super-Linter green on the pinned lane set.