Repositories / agent-snapshot.git

agent-snapshot.git

Clone (read-only): git clone http://git.guha-anderson.com/git/agent-snapshot.git

Branch

Expand default ignore entries

Author
Arjun Guha <a.guha@northeastern.edu>
Date
2026-05-03 17:40:39 -0400
Commit
0fba4d540894f10f3c9e2d863776ec80fbdf29ac
README.md
index 6ad67a4..0eab6fc 100644
--- a/README.md
+++ b/README.md
@@ -230,6 +230,9 @@ The file is a JSON list of file or directory paths:
 ```json
 [
   "$HOME/.cache",
+  "$HOME/.claude",
+  "$HOME/.codex",
+  "$HOME/.cursor",
   "$XDG_CONFIG_HOME/agent-snapshot/ignore.json",
   "/tmp/scratch-output",
   "/usr",
@@ -254,4 +257,3 @@ Run the test suite with `uv`:
 ```bash
 uv run pytest
 ```
-
src/ocaml/agent_snapshot.ml
index 62fa87a..aedc751 100644
--- a/src/ocaml/agent_snapshot.ml
+++ b/src/ocaml/agent_snapshot.ml
@@ -194,6 +194,9 @@ let expand_ignore_entry (entry : string) : string =
 let default_ignore_file_entries () : ignore_file_entries =
   [
     "$HOME/.cache";
+    "$HOME/.claude";
+    "$HOME/.codex";
+    "$HOME/.cursor";
     "$XDG_CONFIG_HOME/agent-snapshot/ignore.json";
     "/tmp/scratch-output";
     "/usr";
tests/test_agent_snapshot.py
index b80cf1c..b224fa8 100644
--- a/tests/test_agent_snapshot.py
+++ b/tests/test_agent_snapshot.py
@@ -128,6 +128,9 @@ def test_missing_ignore_config_creates_defaults(tmp_path, ignore_config):
     data = json.loads(ignore_config.read_text())
     assert data == [
         "$HOME/.cache",
+        "$HOME/.claude",
+        "$HOME/.codex",
+        "$HOME/.cursor",
         "$XDG_CONFIG_HOME/agent-snapshot/ignore.json",
         "/tmp/scratch-output",
         "/usr",