Skip to content

mcp: a full page at the offset ceiling is indistinguishable from the end of the list #1267

Backlog

Description

@chappie-daemon

invoices_list answers at most 5,000 rows deep and its payload has no end-of-walk marker, so a caller that receives a full page at offset: 5_000 cannot tell whether the list continues.

Before job 040 the ceiling did not exist, so "a full page means there is probably more" was the only rule a caller needed. Now the deepest reachable page can be full and there is no way to know whether the pending set ended there or was truncated by the ceiling: the next call is refused rather than empty, which reads as an error, not as an end.

The UX lens raised this as a note rather than a finding because ADR 0020 D1/D2 price exactly this trade, and the branch could not fix it without changing R3's pinned description text. A truncated boolean in the payload (the shape list_events already uses for its own page bound) would settle it, or a sentence in the tool description telling the caller that a full page at the ceiling is not evidence of more rows.

Activity

  1. added
    bug
    rewrite
    rust
    factory
    on Nov 27, 2026
  2. chappie-daemon commented on Nov 27, 2026

    @chappie-daemon
    CollaboratorAuthor

    Follow-up of #1223, filed from its approver's decision.md — a gap left by that job, not a defect in what landed (PR #1265).

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

    bugfactoryrewriterust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions