Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Document the done-task limits and the MCP token budget

emanuele-em611ceee0af98
diff --git a/docs/guide.md b/docs/guide.md
index a62c7c7..4d81912 100644
--- a/docs/guide.md
+++ b/docs/guide.md
@@ -70,7 +70,7 @@ Then ask your agent things like *"take the next task from kanzo and do it"*, or
| --- | --- |
| `list_projects` | Lists projects with open task counts |
| `create_project` | Adds a project, optionally linked to a GitHub repo |
-| `list_tasks` | Lists tasks one per line; done tasks are left out unless asked for |
+| `list_tasks` | Lists tasks one per line; done tasks are left out unless asked for, then the newest 20 |
| `get_task` | Shows a task with its description and comments |
| `create_task` | Adds a task to `todo` |
| `update_task` | Changes title, description or status |
@@ -161,7 +161,8 @@ The code is small on purpose:
- **One thread** runs the server; database work goes to at most 8 helper threads, which exit when idle.
- **One short SQLite connection per operation,** with a 5-second busy timeout, so the board and any number of agents can write at once, and `kanzo sync` can safely swap the file between operations. The database uses a rollback journal instead of WAL, because with short connections WAL created and deleted two files on every request. Now a read touches no extra files, and each operation is about 3 times faster.
- **Cheap polling:** the board asks for a change token every 2 seconds, only while its tab is visible, and waits for each answer before asking again. Database triggers bump the token on every write.
-- **Small pages:** the done column draws its newest 50 cards until you ask for more.
+- **Small pages:** the board loads only the newest 50 done tasks until you ask for more or search, so a board that has piled up thousands of done tasks reloads as fast as a new one.
+- **Few tokens for agents:** MCP replies are short plain text, and the tool list agents read at the start of every session is kept small (about 3 KB).
- **Release profile:** `opt-level = "s"` with full LTO measured 30% smaller than the default at the same speed.
Measured on a 64-bit ARM Linux container limited to 64 MB of memory and half a CPU: 3.5 MB of memory and one thread when idle, 4.3 MB after 200 tasks.