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:
Xubin Ren
2026-04-12 16:38:55 +08:00
committed by Xubin Ren
parent 3f59bd1443
commit 5dc238c7ef
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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",
],