[Bug] Git command executed on non-existent path without validation

Resolved 💬 3 comments Opened Mar 7, 2026 by Lunarisnia Closed Mar 10, 2026

Bug Description
it tried to do "git rm -rf external/glfw" when that path did not even exist

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.70
  • Feedback ID: aef15714-5f33-41cb-83fe-3a337e4d56d0

Errors

[{"error":"Error: File does not exist. Note: your current working directory is /home/louna/work/kc-dice.\n    at call (/$bunfs/root/src/entrypoints/cli.js:1447:5979)\n    at async ioH (/$bunfs/root/src/entrypoints/cli.js:3656:14914)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-06T12:33:53.153Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n  {\n    \"expected\": \"boolean\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"replace_all\"\n    ],\n    \"message\": \"Invalid input: expected boolean, received string\"\n  },\n  {\n    \"code\": \"unrecognized_keys\",\n    \"keys\": [\n      \"dangerouslyDisableSandbox\"\n    ],\n    \"path\": [],\n    \"message\": \"Unrecognized key: \\\"dangerouslyDisableSandbox\\\"\"\n  }\n]\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6225:357)\n    at map (native:1:11)\n    at Dd_ (/$bunfs/root/src/entrypoints/cli.js:6225:71)\n    at Zw6 (/$bunfs/root/src/entrypoints/cli.js:5956:6470)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-06T13:38:09.249Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗