List commands: say when more results exist beyond --count #22
skudr opened 3 weeks ago

Current behavior (tod 4.3.4). issue list, pr list and build list return a JSON array of at most --count items (25 by default). A full page looks exactly like a complete result, so an agent that queried “all open issues” concludes there are no more – a silent false absence.

Proposal. When the page is full, print a note to stderr, such as showing 25; more may exist – use --offset 25, keeping stdout unchanged for JSON consumers. Alternatively, a flag that returns the total count.

Why. The same Anthropic guidance: with pagination or truncation, “be sure to steer agents with helpful instructions”.

1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
TOD-22
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover