diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -34,6 +34,11 @@ conversation. Only tools with `cloud = true`, or `cloud` naming the provider (`["hetzner"]`), go to a cloud chat. Spec: `docs/superpowers/specs/2026-10-23-cloud-models-design.md`. +Vikunja tasks (2026-11-25): `tasks`, `task_add`, `task_edit`, +`task_delete`, one script (`examples/tools/vikunja.py`) calling Vikunja's +MCP server, endpoint and token command in config `[env]`. Only delete +asks first. Spec: `docs/superpowers/specs/2026-11-25-vikunja-tasks-design.md`. + Run: `python3 assistant.py` (`--test` for the self-check), or `./assistant.sh restart` to replace a running one detached from the terminal. @@ -347,6 +352,47 @@ file's path, images included. Spec: Tool call at 7-13 s (23 s for the WiFi one, longer reasoning), reply 1.7-3.3 s after it. +### Vikunja tasks tools, live check (2026-11-25) + +`tasks`, `task_add`, `task_edit`, `task_delete` (`examples/tools/vikunja.py` +and four TOMLs), on the MCP server the end-of-work skill uses. Spec: +`docs/superpowers/specs/2026-11-25-vikunja-tasks-design.md`. + +- Vikunja's MCP needs no `initialize` or session id: one `tools/call` + POST per action, the answer one SSE `data:` line, JSON in + `result.structuredContent`. Tool errors are `isError` with the text in + `content[0]`; a bad token is HTTP 401. +- `tasks_update` changes only the fields passed; `due_date: null` clears + the date; an update that changes nothing answers `{"ok": true, + "unchanged": true}`, not the task, so the script reads it back. No due + date reads as `0001-01-01T00:00:00Z`, and a `due_date <` filter leaves + those out. Without `format: "markdown"` descriptions come back HTML. +- Delete moves the task to Vikunja's trash (a second delete answers + "This task is in the trash"). It still asks first. +- Script, against the real server on a scratch project: every action, + bad date, unknown project (lists the names), nothing to change, + expired token, unreachable URL, missing env, failing token command. +- Through a second daemon on a scratch socket, config and data dir, + Gemma4-12B: add with a weekday ("by Saturday") and with "domani alle + 9" got the right dates and the Italian title kept; "what's due this + week?" used `due_before` (the Sunday); "sposta il pane a lunedì" found + "Buy bread" (searched in English) and moved it; "I bought the bread" + marked it done; "delete the plumber task" listed, named it and asked, + no call, deleted after "Yes". Tool call 3-30 s, mostly reasoning. +- **"Delete the bread one" after it was done**: the open list had no + bread, and the model offered the only open task (the plumber) instead; + the confirmation caught it. A description line saying "try all=1" was + ignored. Now the script falls back itself: no open match, it lists + matching done tasks; no match at all, the open tasks under "no task + title contains ...". After that: bread found and deleted after a yes; + "cancella il task delle piante" found "Water the plants". +- "Ho chiamato l'idraulico" alone closed nothing and called no tool: + a statement, not a request. +- Hetzner (Qwen3.8-27B): "che task ho per questa settimana?" and an add + with "Friday 18:00", right tools and dates. +- Replies follow the chat's language, not the question's, after Italian + turns (as with video). + ### Video transcript tool, live check (2026-11-17) `video` (`examples/tools/video.sh`): a local video or a public URL to |
