Skip to content

fix: use paths in delete_files prompt example - #1702

Merged
ashwin-ant merged 3 commits into
anthropics:mainfrom
WeAreResilience:fix/1665-delete-files-paths
Aug 25, 2026
Merged

fix: use paths in delete_files prompt example#1702
ashwin-ant merged 3 commits into
anthropics:mainfrom
WeAreResilience:fix/1665-delete-files-paths

Conversation

@WeAreResilience

Copy link
Copy Markdown
Contributor

Summary

The tag-mode prompt told the model to call mcp__github_file_ops__delete_files with files. The tool schema and handler expect paths, so the first signed-commit delete fails Zod validation.

This changes the prompt example to paths and adds a test so the example cannot drift back to files.

Fixes #1665

Test plan

  • bun test test/create-prompt.test.ts (49 pass)
  • bun run typecheck

From RESILIENCE Agentic Solutions.