Repository navigation
Description
What happens
bb tasks list pages at 100 by default and silently truncates. The documented remedy is
--limit 500, but 500 is the maximum the flag accepts, and three projects on this machine now
hold more than 500 tasks. There is no cursor, no --offset, and no "showing 500 of N" marker, so
the rows past the ceiling are unreachable through the CLI at any permitted value — and the reader
cannot tell a complete listing from a truncated one.
Reproduction
Measured 2026-08-29 on bb 0.39.0.
$ bb tasks list --project SC --limit 500 | wc -l
503 # 500 rows + 3 lines of header/formatting
$ bb tasks list --project SC --limit 501
--limit must be an integer from 1 to 500
# exit 1
Row counts read directly from the tasks plugin store
(~/.bb/plugins/tasks/data.db), same moment:
| project | tasks | unreachable at --limit 500 |
|---|---|---|
| SC | 866 | 366 |
| AB | 696 | 196 |
| MX | 518 | 18 |
SC by status, for scale: done 742, backlog 98, canceled 19, in_progress 3, in_review 2, todo 2.
Why it costs something
The truncation is silent in both directions. An agent or a person auditing a board reads the rows
they were given and has no signal that more exist — this has already produced a wrong answer here,
where a thread read the default page and reported "only 2 open tasks" while 44 were invisible to
it. Raising the documented remedy from 100 to 500 moved the cliff without removing it; at 866 rows
the remedy fails exactly as the bare default did.
The workaround is to read the sqlite store directly, which is not something the CLI should be
pushing its users toward for a plain listing.
Suggested scope
Either would resolve it:
- a cursor or
--offset, so the full set is reachable in pages; or - raise or remove the ceiling for a filtered listing.
Independently of which: print a marker when the returned set is truncated. A count the reader
cannot distinguish from a complete one is the part that causes wrong conclusions, and that half is
useful even if the ceiling stays.
Related
- bb thread log truncates silently: human view shows only the newest 20 segments, --json returns the oldest 100, no paging or 'more' indicator #1768 (closed) —
bb thread log truncates silently: human view shows only the newest 20 segments, --json returns the oldest 100, no paging or 'more' indicator. Same defect class on a
different command; this is thetasks listinstance of it. - BB CLI help does not use plugin command usage, and enforced limits are hidden #2621 (closed) —
enforced limits are hidden, which covers surfacing a bound in help rather
than the bound itself.
Activity
bb-slop-cop commentedon Aug 29, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · Priority Medium · Effort Low · Labels
tasks,cli, andno-repro.Report: Issue 2700 reproduction and root-cause report
Verdict: NOT REPRODUCED · Root-cause confidence: medium · Reproduction label:
no-repro.Root cause: The tested source already provides cursor pagination and a human continuation marker.
Reproduction: An 866-task test returned 500 tasks, then 366 tasks through
nextCursor. Human output also showed the continuation command.No pull request: trusted main and the 0.39.0 release source already contain the cursor and marker.
SawyerHood commentedon Sep 9, 2026
Closing as already implemented following maintainer review.
#780 added Tasks cursor pagination and a human-readable continuation marker. Current main supports
--cursorwith the same filters/sort, returns{ tasks, nextCursor, limit }in JSON mode, and prints a continuation command when additional results exist.This functionality was already present in the reported 0.39.0 release. The linked investigation retrieved all 866 tasks as pages of 500 and 366 and verified the human continuation marker. The 500 limit is a page-size limit, not a limit on the total reachable task set.