Repository navigation
feat: list_tasks counts by board and status, assignee, status, label or due period, and on the boards the user manages EXO-94360 - #740
Conversation
Self-review close-out — 6cdd000Delivery checks before each round. Reviewer round 1, a second delivery-checks pass on its fixes, then a closing round with a fresh reviewer, clean but for one nit, fixed. The mutation run found two test gaps; both are fixed and confirmed.
Verified conform.
Classification (computed on |
|



Why. Asked « how many tasks per person », « by status for every project I manage » or « what is due this week », the Tasks assistant had one grouped count, board by board, and read pages or called a tool once per board, person or status for the rest. In evaluation runs those loops hit the per-turn call cap before the answer.
How.
list_taskstakesgroup_by:project: asgroup_by_project, each listed board also splitby_status(status id, name, count) in the board's column order;assignee: the tasks with no assignee under « unassigned »;status: the status name as the user reads it, a default status in the user's language. Statuses read the same, such asInProgressandRequestInProgress, make one group;label: the labels of the task's own board, the ones its card shows, with « no label » counted on its own;due_period: overdue, this week (today to Sunday), next week, later, none, in the user's time zone.groups(key, name, count,open_count),group_count,groups_not_listedpast 100,group_byand asummarysentence. A grouped call withlimit1 sayshas_morefalse, as withgroup_by_project.open_countis the group's open tasks the user can access, withinproject_idandmanaged_only, without the other filters. Foroverdue, it is the overdue tasks;countthere includes completed tasks unlesshide_completed_tasks.managed_onlynarrows the listing and its counts to the boards whose managers hold one of the user's memberships, the reading oflist_projectsmanaged_onlywith no space; no personal task.group_by_projectstays;group_by_projecttrue with anothergroup_byis refused.TaskHandler#countTasksByGroupruns one GROUP BY over the listing's own conditions, counting each task once per group. A newTaskQuery#setManagedByand#setWithoutBoardLabelservemanaged_onlyand « no label ». Each is tested on the engine.list_tasksdescription names the new parameters and fields. Its earlier definition joinsai-tool-definition-upgrades.json, pinned in the upgrades test.Stacked on #739. Part of EXO-94360 (B0.5): the Tasks agent text naming each grouping follows in a Meeds-io/ai change once this lands.
Knowledge: pending — EXO-94360
Classification: N1: the label grouping decides which labels, other users' personal labels among them, a read-only MCP tool counts and names (scoped to the task's own board); also a new hand-written Criteria query on a list endpoint and a changed MCP tool definition (no
require_approvalchange); no REST, schema or write path. Its approver must be an Architect who knows it is N1.🤖 Generated with Claude Code