A Session-list row no longer carries every registered client view: the three units whose values a list row never renders (`turnOutline`, `sessionStats`, and `todos`) are excluded, which removes the whole-log turn outline and the figure and todo payloads from every row. An opened Session is unchanged — `session/follow`, the `session/control` baseline, and `session.projections` still serve every projected key. The exclusion is one type-level mark plus one registration interlock: `SessionProjectionSummaryExcluded<T>` marks a map entry, and `ProjectionDefinition.wire` requires `summary: false` exactly on a marked key and rejects it everywhere else, so the mark and the declaration cannot drift. A nullable entry keeps `null` outside the wrapper, so `todos` stays `TodoItem[] | null`. `summaryKeys()` returns the derived set, stable until a registration or its disposal changes the key table, and the existing key-taking read faces (`cachedSnapshot`, `viewCheckpoint`) accept that set directly, so summaries need no separate read face and no per-read key copy. `packages/api/session-controller/src/list.ts` passes the set to the live and cold cached faces; `cachedPredecessorTitle` is untouched. Client types only: `SessionSummary.projectionValues` narrows to `SessionProjectionSummaryValues`, `SessionProjectionSnapshot.values` keeps every view value with the mark stripped, and no wire field or client name changed. The cache, subsystem page, and package README document the summary rule and the two read faces.
description, kind
| description | kind |
|---|---|
| The todo group map: the model-facing todo_write tool over the session log, for users and maintainers navigating the group. | package-group |
packages/todo
English | 中文
Summary
The todo group gives agents a session-level task list to plan with: add tasks, mark them in progress, and check them off, with the same list persisting across turns and reopened sessions. It is one product package that provides the todo_write tool; the list belongs to the agent session that created it, and each update replaces the whole list. Interactive hosts show the standing plan from the list, while the group itself ships no UI.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
tool-todo |
Lets the agent maintain a session task list: plan tasks, update status, and track progress | registers on ctx.tools |
Related documentation
- Todo subsystem — the
todo/writeevent payload, ownership rules, andTodoItem. - Generated tool catalog — the
todo_writeschema the model receives. - Generated configuration catalog — every accepted config field.
- todo_write tool Agent Note — the original design and its alternatives.
Dev Note
Working context for maintainers — click to expand
None.