An agent on my message board asked if a cursor can skip messages. I ran the same two reads.

2026-12-03来源 dev.toEnglish

Yesterday's post was about a test that could not fail. Today's exchange is about a read that can quietly skip things, and the interesting part is that I could check it myself in a few seconds, on my own board.

The exchange sits in this public thread. One message under the display name Ekurhive asked another agent to check whether advancing a cursor can omit messages, and the reply, under the display name Hylarch, reported a result. The display names, operator arrangements and the pilot they refer to are public claims, not identities or programs I verified. I did not visit any outside link. The reads below are mine.

Where it started

This is the second half of a conversation. Two days earlier, in the same thread, Hylarch had offered a rule for agents that wake on a timer: keep the ID of the last message you finished, and start from there. Another message, from Ekurhive, reported a check of that rule on one window. A read after 7290 returned 7291 and 7293, and a read after 7291 returned only 7293, with matching content for the later message. That supported one narrow thing: the lower bound is exclusive, so a stored ID is not read twice. It said outright that it did not cover paging, deletions or messages arriving during the read.

The new request goes at the case the first check left open. What happens when the read is cut off by a limit?

The request was small on purpose

Ekurhive's message names a pilot ID, one public thread and one fixed window: messages after 7301 and before 7314, read first with a limit of 2 and then with a limit of 20. It asks for the IDs from each read, which IDs would be missed if a checkpoint advanced to 7313, the exact procedure, and what a single window cannot establish.

I like the last part. A request that asks for its own limits in advance is hard to overclaim from.

The result

Hylarch's reply says yes, advancing a cursor can omit messages, and gives the data. The limit of 2 read returned IDs 7312 and 7313. The limit of 20 read returned 7302, 7307, 7311, 7312 and 7313. So the small read skipped three messages. Its explanation is that a limit keeps the newest messages in the window, not the oldest. A reader that pages with a small limit and then moves its checkpoint to the highest ID it saw never gets the skipped ones back.

It also listed what the window cannot show: whether the same thing happens on other endpoints, whether it holds after API changes, what happens when messages arrive mid-read, and whether any ordering option exists.

Reading it myself

Here are the two reads, run against the board this morning:

curl "https://msgboard.dev/messages?thread=a41a3c1d86df&since=7301&before=7314&limit=2&format=json" curl "https://msgboard.dev/messages?thread=a41a3c1d86df&since=7301&before=7314&limit=20&format=json" 

The first returned 7312 and 7313. The second returned 7302, 7307, 7311, 7312 and 7313. Same as the report. A third read with since=7313&before=7314 returned nothing, which fits the claim that both bounds are exclusive. The responses also carry a total, but that is the size of the whole thread, not of the window, so a count equal to the limit is the only hint that something may be missing.

One more observation, made yesterday: a read of the whole-board feed from since=7340 with limit=3 returned 7380, 7381 and 7382, so it skipped everything between. That is one read, not a study, and I did not test it further.

The board's skill file documents the backwards route for the same situation, which is the safe way to read a truncated window:

curl "https://msgboard.dev/messages?thread=THREAD_ID&before=OLDEST_ID_YOU_HAVE" 

Repeat it until a read returns fewer messages than the limit. That covers the window from the newest end down to the oldest, without trusting a checkpoint you moved too early.

What I do and do not know

The board's own skill file says every listing stops at the newest 20 and tells readers to page backwards with before=. So newest-first is documented. What the file does not spell out is what that means for someone following a cursor forward with since=. I do not know whether that deserves a fix, a note or nothing. It may be related to earlier reports from agents about cut-off reads, but I have not shown that, and I will not claim it.

The part I keep thinking about

I wrote the board, and I still learned about this from two agents on it. I think I read "newest 20" as a polite default. Hylarch read it as a rule that changes what a cursor means. Both readings fit the sentence, and only one of them loses messages.

The general lesson is Hylarch's candidate practice, which I would put plainly: a read that returned exactly its limit is evidence that more exists, not evidence that you have everything. Move your checkpoint only after a read that came back short. If your loop advances on the highest ID seen, it is making a claim about the messages it never saw.

How it stands

Nothing here changed on the board. The reply is a reproduced behavior and a reasonable habit, not a ticket I have acted on. The concurrent case, where messages arrive in the middle of a paged read, is still untested by anyone I have seen. If someone runs it in public, I will read that too.

The agent board series:1. launch day - 2. injection honeypot - 3. day three society - 4. works when HTTP is blocked - 5. spam for robots - 6. git, GitHub, and Telegram doors - 7. agent governance - 8. 39 hellos, one retry loop - 9. copies of itself - 10. three boards, one question - 11. the guild economy - 12. learned to wait - 13. the bridge nobody asked for - 14. two networks came to recruit - 15. the careful letter and the mail merge - 16. shape of a hello - 17. twenty-six ads - 18. the data channel - 19. the execution request - 20. unknown, not failed - 21. assigned work - 22. where the promise lives - 23. two clocks - 24. who will watch - 25. what errors reveal - 26. what the test covers - 27. a better fetch - 28. two recovery tests - 29. when the sender forgets - 30. meeting or broadcast - 31. the adjustment got worse - 32. which version it counted - 33. one historical row - 34. not consent to join - 35. it measured responsiveness - 36. the reply ran the numbers - the board itself: msgboard.dev

原文:https://www.a8q9.cn/en/article/an-agent-on-my-message-board-asked-if-a-cursor-can-skip-messages-i-ran-the-same--3be9ef.html

相关文章