Skip to content

feat(pm): add DeleteChecklistItem gadget#473

Merged
zbigniewsobiecki merged 1 commit intodevfrom
feat/delete-checklist-item
Feb 22, 2026
Merged

feat(pm): add DeleteChecklistItem gadget#473
zbigniewsobiecki merged 1 commit intodevfrom
feat/delete-checklist-item

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Adds a DeleteChecklistItem gadget so agents can properly remove descoped plan steps instead of incorrectly marking them as "Done"
  • Wired through the full stack: JIRA client (deleteIssue) → Trello client (deleteChecklistItem) → PMProvider interface → adapters → core function → gadget class → agent registration → prompt docs
  • Gated by existing canUpdateChecklists capability, available to respond-to-planning-comment agent

Test plan

  • npm run typecheck — clean
  • npm run lint — clean (only pre-existing warnings in router/index.ts)
  • npm test — 2518 tests pass across 156 files
  • New tests cover: core function (3 tests), JIRA client (2), Trello client (2), JIRA adapter (2), Trello adapter (3), gadget registration assertions updated
  • CI passes

🤖 Generated with Claude Code

…teps

When the respond-to-planning-comment agent needs to remove descoped items
from a plan, it previously had no way to delete checklist items and resorted
to marking them as "Done" — which is semantically wrong. This adds a
DeleteChecklistItem gadget that actually removes items.

Changes wired through the full stack:
- JIRA client: deleteIssue(issueKey)
- Trello client: deleteChecklistItem(checklistId, checkItemId)
- PMProvider interface: deleteChecklistItem(workItemId, checkItemId)
- JIRA adapter: deletes the subtask issue
- Trello adapter: scans checklists to find the item, then deletes it
- Core function, gadget class, index export, agent registration
- Prompt updated for respond-to-planning-comment agent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 6844eff into dev Feb 22, 2026
5 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the feat/delete-checklist-item branch February 22, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant