bug(mcp): action-dispatched tools SWALLOW inapplicable params instead of erroring loudly - audit and enforce per-action param validation #127
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#127
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?
Pattern, not an instance: madtea's action-dispatched tools accept one wide input struct per tool, so params that mean nothing to the chosen action are silently ignored. The caller gets a success-shaped result while their intent was dropped on the floor.
Concrete case: #125 -
madt_worktrees action=rebaseswallowedpath=andbranch=(the targeting params every sibling action uses) on three differently-shaped calls, and each call quietly operated on the wrong checkout. The swallowing is what made the mis-target invisible.This is the inverse of the project's own error-rail culture: refusals everywhere else are loud and name the fix, but a syntactically-valid-yet-meaningless param combination sails through.
Asks
Acceptance
Refs #125, #126.