Repository navigation
Description
arkho-board:ticket:10 — mirrored from the Arkho board.
Read-only. Edits here are reverted; closing this issue does not close the ticket. The board is the source of truth.
Board ticket: https://arkho-board-service.onrender.com/ui/t/10
Purpose: decide and implement how an unrelayed park answer drains when its ticket goes TERMINAL before any successor run can claim it.
Observed (first-consumer migration smoke, 2026-08-24, live board): ticket #8 was parked needs-human, answered with --to ready-for-implementer (answer event 62), then closed wontfix by the human. /answers/unrelayed still serves event 62 on every sweep, and the relay prints "successor path will deliver" — but claim excludes terminal tickets, so no successor can ever exist. The entry is immortal and each sweep re-prints one line per stuck answer.
The ack is delivery-gated by design ("undeliverable answers are never ack-and-dropped") — correct for live tickets, but a terminal ticket's answer has nobody left to deliver to: the party that terminated the ticket is the same human principal the answer came from.
Two candidate routes (pick one):
- Server-side:
/answers/unrelayedexcludes answers whose ticket is in a terminal state (done/wontfix). Cleanest; the feed's contract becomes "answers a successor could still deliver". Lives in arkho board-service (file there; this ticket then tracks the client side's nothing-to-do). - Client-side:
_sweep_api.sh's relay phase acks an answer when its ticket reads terminal, logging "drained: ticket terminal". Keeps the server contract untouched but re-implements the terminality judgment in every consumer.
Success: a sweep over a board containing an answered-then-terminated ticket prints nothing for it (or one final "drained" line), and /answers/unrelayed no longer grows monotonically with such tickets. Repro is trivial: park → answer --to queue → wontfix → sweep twice.
(Immediate operator action taken: answer 62 acked manually to quiet the live board; this ticket is the durable record.)
Activity