20 lines
997 B
Markdown
20 lines
997 B
Markdown
# Todos
|
||
|
||
The root document `todos` stores the world's to-do list.
|
||
Each item belongs to `user` or `mainAgent`.
|
||
The `todo` tool adds items, completes items, and lists open items by owner.
|
||
Text must contain 1–300 characters after the tool trims it.
|
||
The list retains the newest 50 completed items. The exported `mark` helper also reopens items.
|
||
|
||
Only the main agent conversation uses the tool.
|
||
The reader uses the existing `main-agent.index` document contract.
|
||
Until subagents supplies that document, no conversation qualifies automatically.
|
||
This port does not designate the root as `mainAgent`.
|
||
|
||
The `beforeInput` hook places a note only when the main agent conversation's open list changes.
|
||
The note and the remembered list commit with the input.
|
||
The tool remains deferred. A caller must load it through `modelTools` or a tool-search extension.
|
||
|
||
This port contains no browser actions or side-chat delegation.
|
||
`host/tests/plan_todos.rs` verifies the four original cases and real-loader tool calls.
|