Repository navigation
fix: list_project_activity_since lists at most 20 tasks, with has_more EXO-94377 - #738
Conversation
Self-review close-out — dc904c7Delivery checks before each round; reviewer round 1, then a closing round with a fresh reviewer, whose one 🟢 was fixed and confirmed clean by the same reviewer.
Verified conform.
Classification (computed on |
dc904c7 to
3b7cc4b
Compare
3b7cc4b to
22683ae
Compare
|
Rebased onto |
…EXO-94377 The tool paged through every task of the project and returned each one with its change log and comments of the period, so one answer for a large project reached about a megabyte. It now returns at most 20 tasks in all: the ones updated in the period, the most recently active first, then as many older uncompleted ones as there is room for. has_more says that the project holds more such tasks; uncompleted_count gives its uncompleted tasks. Only the tasks returned are read in full. The period still starts at midnight of the user's day, in the user's zone. The description changes, so the upgrades file lists the tool's one earlier definition, the only one any ref ever shipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22683ae to
0ed52b2
Compare
|



Symptom.
list_project_activity_sincereturned every task of a project updated in the period, each with its whole change log and comments of the period, then every other uncompleted task. Its size had no bound: it grew with the project's tasks and their changes, and nothing told the assistant how to read a large project in parts.Cause. The method read all the project's tasks and mapped each one, change logs and comment counts included, with no cap and no paging signal in its model.
Fix.
has_more(more such tasks exist than shown) anduncompleted_count(the project's uncompleted tasks).has_moremeans, and how to list every uncompleted task: pagelist_taskswithproject_idandhide_completed_taskstrue. The earlier definition's digest is added toai-tool-definition-upgrades.json, so platforms that imported it are upgraded, and the upgrades test pins it.has_moreon each side of the cap, the count, the empty project and the two reads being distinct.Stacked on #737 (EXO-94298), which sets the period's start in the user's zone.
Knowledge: pending — EXO-94377
Classification: N2: a changed definition of an existing read-only MCP tool (description and output fields; no
require_approvalor annotations change), with no REST, DAO, schema or ACL change. Its approver must be an Architect or Developer who knows it is N2.🤖 Generated with Claude Code