dew/.project/kanban/done/DEW-0026.md
Chris Hendrickson 49c6e995a8 fix: tolerate non-string YAML list elements when parsing tickets
YAML values like '1.0' (unquoted) parse as double, not String.
Changed parseStringList to use string interpolation ('$e') instead
of 'e as String', so numeric YAML scalars in labels/milestones
don't crash ticket parsing.

Also quote all '1.0' label values in existing ticket files so they
are unambiguously strings in YAML.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-25 16:05:01 -04:00

19 lines
666 B
Markdown

---
id: DEW-0026
title: Expand MCP server tool registration tests
type: task
created: 2026-04-25T19:53:14.810785Z
milestones:
- 1.0.0
labels:
- 1.0
- tests
---
The MCP serve command and server startup are not covered by tests. Extend packages/mcp/test/mcp_test.dart:
1. McpServer registers all expected tool names (currently partially tested — confirm all 14 kanban tools are present)
2. Tool schemas have correct required fields (e.g. kanban_create_ticket requires `title`)
3. Tool handlers return expected shape (mock TicketStore, call handler, verify output)
Reference packages/mcp/lib/src/dew_mcp_server.dart and the DewToolCommand mixin in dew_core.