MCP sprint tools cannot clear points/labels back to null #33
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#33
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?
Lineage
todo-mcp-clear-points-labels(no plan ancestry)Repo
forgejo_admin/pal-e-docs-mcpUser Story
As a sprint manager using MCP tools
I want to clear points or labels back to null on a sprint item
So that I can correct mistakes or remove stale data without direct DB access
Context
PR #32 added
pointstomove_sprint_itemandadd_sprint_item. QA nit #1:move_sprint_itemmapsNoneto_UNSET(don't send), so MCP callers cannot explicitly clear points or labels back to null once set. This is a gap in the MCP-to-SDK mapping pattern —Nonemeans "omitted" and there's no way to say "clear this field."The SDK already distinguishes
Nonefrom_UNSETinternally, but the MCP layer has no way to express "clear" vs "don't touch."File Targets
Files the agent should modify:
src/pal_e_docs_mcp/tools/sprints.py—move_sprint_itemfunction, add clear conventionFiles the agent may need to verify:
pal-e-docs-sdk/src/pal_e_docs_sdk/sprints.py— confirm SDKupdate_sprint_itemacceptsNonefor clearingAcceptance Criteria
pointsto a value (existing, works today)pointsback to null (e.g.points=0orclear_points=true)labelsback to null/emptypoints/labelsstill means "don't touch" (no regression)Test Expectations
ruff checkandruff format --checkpassConstraints
points=0means clear over adding boolean flagsChecklist
Related
pal-e-sprints— projecttodo-mcp-clear-points-labels— discovery note