Skip to content

Commit 7f4cbde

Browse files
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 #562
1 parent 2c1c82f commit 7f4cbde

10 files changed

Lines changed: 330 additions & 327 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ If you can simplify the code, do it.
7474
- **Task Management**: Uses markdown files in `backlog/` directory structure
7575
- **Workflow**: Git-integrated with task IDs referenced in commits and PRs
7676

77+
## Agent POV
78+
79+
- Treat Backlog.md as a shipped CLI/MCP binary that may be used from other repositories where agents cannot inspect this source tree.
80+
- When you decide what another agent can rely on, use only the public surface: MCP workflow resources, MCP tool descriptions/schemas, CLI help, and instruction files shipped with the project.
81+
- Do not assume external agents know internal implementation details, constants, or source-only conventions.
82+
- If a convention matters for agent behavior, document it in the public MCP/instruction surface rather than relying on source-code discovery.
83+
7784
## Code Standards
7885

7986
- **Runtime**: Bun with TypeScript 5

CLAUDE.md

Lines changed: 0 additions & 233 deletions
This file was deleted.

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

GEMINI.md

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)