picoclaw/pkg/tools/fs
Yue_chen 8f891d5dd0 fix(tools): stop write_file from coaching destructive overwrite (#3150)
The overwrite guard error ("Set overwrite=true to replace") steered the
model to clobber files like MEMORY.md. Reword write_file's description,
overwrite param, and guard error to prefer append_file/edit_file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 14:13:31 +08:00
..
edit.go feat(tools): show unified diff for edit_file edits 2026-05-12 18:06:47 +02:00
edit_test.go fix test 2026-05-12 23:23:26 +02:00
filesystem.go fix(tools): stop write_file from coaching destructive overwrite (#3150) 2026-07-05 14:13:31 +08:00
filesystem_test.go fix(tools): stop write_file from coaching destructive overwrite (#3150) 2026-07-05 14:13:31 +08:00
filesystem_windows_path_test.go test(fs): cover root path separator normalization 2026-06-23 20:57:42 +01:00
load_image.go fix(feishu): fix image download with API fallback and post image support (#2708) 2026-04-30 11:08:00 +08:00
load_image_test.go fix(feishu): fix image download with API fallback and post image support (#2708) 2026-04-30 11:08:00 +08:00
send_file.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
send_file_test.go refactor(tools): reorganize tool packages and facades 2026-04-17 13:44:31 +08:00
shared.go feat(tools): show unified diff for edit_file edits 2026-05-12 18:06:47 +02:00