fix(shell): allow read-only copies from internal state files
Keep the new exec guard focused on writes to history.jsonl and .dream_cursor while still allowing read-only copy operations out of those files. Made-with: Cursor
This commit is contained in:
@@ -104,6 +104,7 @@ def test_exec_blocks_writes_to_history_jsonl(command):
|
||||
"wc -l history.jsonl",
|
||||
"tail -n 5 history.jsonl",
|
||||
"grep foo history.jsonl",
|
||||
"cp history.jsonl /tmp/history.backup",
|
||||
"ls memory/",
|
||||
"echo history.jsonl",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user