mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-09-21 21:03:38 +08:00
docs: fix s03 permission gate example
This commit is contained in:
@@ -139,7 +139,7 @@ python s03_permission/code.py
|
||||
Try these prompts:
|
||||
|
||||
1. `Create a file called test.txt in the current directory` (should pass through)
|
||||
2. `Delete all temporary files in /tmp` (bash + rm triggers Gate 2)
|
||||
2. `Delete the file test.txt` (bash + rm triggers Gate 2)
|
||||
3. `What files are in the current directory?` (read-only, all pass)
|
||||
4. `Try to write a file to /etc/something` (writing outside workspace triggers Gate 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user