Feature: Update MCP tool definitions and tests for BoardItemType 'issue' to 'ticket' rename #53
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Child of
forgejo_admin/claude-custom#181(parent decomposition ticket).Deploy order: C of 4 -- depends on Ticket B (
forgejo_admin/pal-e-sdk) merging first (SDK upgrade).Repo
forgejo_admin/pal-e-mcpUser Story
As an MCP tool user (Claude agent),
I want
create_board_itemand related tools to documentticketas the canonical item_type value,So that my tool calls match the API's canonical enum and I don't use a deprecated value.
Context
The pal-e-api is renaming
BoardItemType.issuetoBoardItemType.ticket(Ticket A), and the SDK is updating its docstrings (Ticket B). The MCP server wraps the SDK and exposes tool parameter descriptions to agents. Those descriptions currently reference"issue"as the value for board items linked to Forgejo issues.The API's transition alias means existing MCP calls with
"issue"will keep working, but tool descriptions should lead with the new value once upstream changes land.This ticket also requires a
pal-e-sdkdependency bump inpyproject.tomlto pick up the updated SDK (Ticket B).File Targets
Files the agent should modify:
src/pal_e_mcp/tools/boards.pyline 160 -- description:"Full Forgejo issue URL (for issue-type items)..."->"...for ticket-type items..."src/pal_e_mcp/tools/boards.pylines 180-181 -- docstring:"Use item_type to categorise (plan, phase, issue, todo, repo, project)"-> replaceissuewithticket;"For issue items, provide forgejo_issue_url"->"For ticket items..."tests/test_param_alignment.pyline 349 --item_type="issue"->"ticket"tests/test_param_alignment.pyline 357 --item_type="issue"->"ticket"tests/test_param_alignment.pyline 365 --item_type="issue"->"ticket"tests/test_param_alignment.pyline 372 --item_type="issue"->"ticket"tests/test_param_alignment.pyline 379 --item_type="issue"->"ticket"pyproject.toml-- bumppal-e-sdkdependency versionFiles the agent should NOT touch:
"issue"in this repoAcceptance Criteria
"ticket"not"issue"for board item typesitem_type="ticket"pal-e-sdkdependency bumped inpyproject.tomlTest Expectations
test_param_alignment.pytests pass with"ticket"valuesitem_type="issue"in test fixturespytest tests/test_param_alignment.py -vConstraints
Checklist
Related
forgejo_admin/claude-custom#181-- parent decomposition ticketforgejo_admin/pal-e-apiTicket A -- API enum rename (transitive dependency)forgejo_admin/pal-e-sdkTicket B -- SDK docstring update (direct dependency)pal-e-docs-- project this affects