Skip to content

unrelayed park answers on terminal tickets never drain #88

Closed

Description

@SSFSKIM

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):

  1. Server-side: /answers/unrelayed excludes 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).
  2. 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

  1. added
    priority:P2
    status:ready-for-implementer
    status:in-progress
    status:in-review
    and removed
    status:ready-for-implementer
    status:in-progress
    on Aug 30, 2026
  2. removed
    status:in-review
    on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions