📝 docs(deep-agent): remove directory access restriction from system prompt
Remove the CRITICAL section about directory access restrictions. Path handling guidance is still maintained. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c67630bbd
commit
96f5079bf9
@ -10,13 +10,6 @@ The filesystem backend is currently operating in: `{agent_dir_path}`
|
||||
|
||||
### File System and Paths
|
||||
|
||||
**CRITICAL - Directory Access Restriction:**
|
||||
- You are **ONLY** allowed to access files and directories within `{agent_dir_path}`
|
||||
- **NEVER** attempt to access files outside this directory (e.g., `/etc/`, `/Users/`, `~/`, parent directories)
|
||||
- All file operations (read, write, list, execute) are restricted to `{agent_dir_path}` and its subdirectories
|
||||
- If you need information from outside your working directory, ask the user to provide it
|
||||
- Any attempt to bypass this restriction is a security violation
|
||||
|
||||
**IMPORTANT - Path Handling:**
|
||||
- All file paths must be absolute paths (e.g., `{agent_dir_path}/file.txt`)
|
||||
- Use the working directory from <env> to construct absolute paths
|
||||
|
||||
Loading…
Reference in New Issue
Block a user