Outstanding: Remove the 500-message REST history cap #28

Open
opened 2026-08-22 04:18:26 +00:00 by kayg · 0 comments
Owner

Current state

Outstanding backend/data limitation. The REST history endpoint returns at most 500 messages per session and has no pagination. Long conversations therefore have older messages that are absent from the local cache, so local search cannot find them.

Acceptance criteria

  • Add a pagination or equivalent complete-history retrieval contract to the Hermes REST integration.
  • Retrieve all pages deterministically without dropping or duplicating messages.
  • Preserve stable ordering and stable message identity across page boundaries.
  • Ensure the local cache and search index include messages older than the first 500.
  • Define and surface a precise error/partial-history state if a backend cannot provide more pages; do not silently claim the transcript is complete.
## Current state Outstanding backend/data limitation. The REST history endpoint returns at most 500 messages per session and has no pagination. Long conversations therefore have older messages that are absent from the local cache, so local search cannot find them. ## Acceptance criteria - Add a pagination or equivalent complete-history retrieval contract to the Hermes REST integration. - Retrieve all pages deterministically without dropping or duplicating messages. - Preserve stable ordering and stable message identity across page boundaries. - Ensure the local cache and search index include messages older than the first 500. - Define and surface a precise error/partial-history state if a backend cannot provide more pages; do not silently claim the transcript is complete.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/hermternal-apple#28
No description provided.