Commit 7f4cbde
authored
BACK-403 - Expose and honor task ordinal in MCP task tools (#564)
## Summary
- expose the existing ordinal field on MCP task_create and task_edit
- persist ordinal on task creation and honor ordinal-aware ordering in
MCP task_list
- show ordinal in task responses and add targeted MCP tests for schema,
persistence, ordering, and validation
## Testing
- bun test src/test/mcp-tasks.test.ts
- bunx tsc --noEmit
- bun run check src/types/index.ts src/core/backlog.ts
src/mcp/tools/tasks/handlers.ts src/mcp/utils/schema-generators.ts
src/formatters/task-plain-text.ts src/test/mcp-tasks.test.ts
Closes #5621 parent 2c1c82f commit 7f4cbde
10 files changed
Lines changed: 330 additions & 327 deletions
File tree
- backlog/tasks
- src
- core
- formatters
- mcp
- tools/tasks
- utils
- test
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
0 commit comments