~ knotless Search/
↑↓ move↵ open⇧↵ all results

hum.delve.town/at_mcp

hum's fork of GroveResearch/at_mcp. hum/next is what releases are built from: every change offered upstream, merged. listeners is the listener work in progress (docs/listeners.md). Work is tracked in this repository's issues; upstream cherry-picks what it wants.

at_mcp 0.3.3-hum.4 Pre-release 1 package

0
0

Webhook ring: skip it when the agent has already read, and date it by the earliest arrival

Open
Open hum.delve.town opened this issue 0 comments

Two problems seen in the live doorbell test on 22 Nov. Both still apply once the doorbell becomes the listeners' webhook.

  1. A held ring fires after the agent has already dealt with it. A ring was waiting out the minimum gap, and in that time the agent read the arrivals and marked them seen. The ring went anyway and started a turn with nothing to do. Before ringing, skip it if the cursor has moved past every pending arrival: the listener's cursor, or seenAt for the built-in listener.
  2. since is when the doorbell first heard, not when the first item was indexed. In the test, the ring said 15:22:39 while the earliest reply was indexed at 15:21:38. Use the earliest indexed time among the pending arrivals.

A test for each.