- No Directory Creation Tool: Use your
Writetool to create a placeholder.gitkeepfile in the target path. - No Delete/Move Tools:
- Write the new file to the destination.
- Add the old file path to the "Cleanup & Manual Actions" section of the task spec for human action.
- No Direct Shell: Do not assume shell access (
bash/zsh). - Tool Discovery: Use high-level APIs instead of terminal commands:
- Discovery: Use
List,Find, orSearchAPIs. - Execution: Use
BuildorTestAPIs. - Device: Use
LogorInputAPIs.
- Discovery: Use
- Terminal as Last Resort: If high-level APIs cannot perform a necessary action, fall back to using a terminal tool (if available).
- Human-in-the-Loop: If no terminal tool is available or if the operation is outside of agent capabilities:
- Describe the exact terminal commands required.
- Explain why these commands are necessary.
- Explicitly ask the user to run the commands.
- Wait for the user to confirm completion before proceeding.
- Read/Write Only: Unless a delete tool is provided, assume a Read/Write-Only environment.
- Explicit Paths: All file operations MUST use explicit, absolute, or repository-relative paths.