about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-11-18 08:17:53 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2026-11-18 08:17:53 +0000
commit84de1f715cc013465efd7f6876e3ed5f7ffc2a3d (patch)
treebb2d3874beba05c519872c4d4ddf8edb434ea324
parent9aff34fad9df147c999e1bccb0e380f202dffed8 (diff)
downloadgenenetwork4-84de1f715cc013465efd7f6876e3ed5f7ffc2a3d.tar.gz
gitignore: ai-memory's xapian index directory, not just the sqlite file
ai-memory.sqlite-* covers the journals but not ai-memory.sqlite.d/, so six
xapian index files (docdata.glass, postlist.glass, ...) were tracked and
showed as modified after every ai-memory write. They are a rebuildable cache
over the sqlite store -- deleting them costs one reindex, nothing else -- and
binary churn in a code repository is pure noise.

Untracked here; the files stay on disk.
-rw-r--r--.gitignore4
-rw-r--r--ai-memory.sqlite.d/index/docdata.glassbin335872 -> 0 bytes
-rw-r--r--ai-memory.sqlite.d/index/flintlock0
-rw-r--r--ai-memory.sqlite.d/index/iamglassbin111 -> 0 bytes
-rw-r--r--ai-memory.sqlite.d/index/position.glassbin688128 -> 0 bytes
-rw-r--r--ai-memory.sqlite.d/index/postlist.glassbin1818624 -> 0 bytes
-rw-r--r--ai-memory.sqlite.d/index/termlist.glassbin409600 -> 0 bytes
7 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index dd7adeb..8681d20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,10 @@ tokens.sqlite-*
 # ai-memory keeps its store beside the checkout; the journals are runtime
 ai-memory.sqlite
 ai-memory.sqlite-*
+# the xapian index beside it: a rebuildable cache, and binary churn on every
+# write. (`ai-memory.sqlite-*` does not match the directory, which is how six
+# index files got committed.)
+ai-memory.sqlite.d/
 
 # the operator tool lives in bin/ and is source: only bytecode is not
 bin/__pycache__/
diff --git a/ai-memory.sqlite.d/index/docdata.glass b/ai-memory.sqlite.d/index/docdata.glass
deleted file mode 100644
index d027857..0000000
--- a/ai-memory.sqlite.d/index/docdata.glass
+++ /dev/null
Binary files differdiff --git a/ai-memory.sqlite.d/index/flintlock b/ai-memory.sqlite.d/index/flintlock
deleted file mode 100644
index e69de29..0000000
--- a/ai-memory.sqlite.d/index/flintlock
+++ /dev/null
diff --git a/ai-memory.sqlite.d/index/iamglass b/ai-memory.sqlite.d/index/iamglass
deleted file mode 100644
index 2b8a36e..0000000
--- a/ai-memory.sqlite.d/index/iamglass
+++ /dev/null
Binary files differdiff --git a/ai-memory.sqlite.d/index/position.glass b/ai-memory.sqlite.d/index/position.glass
deleted file mode 100644
index b226c24..0000000
--- a/ai-memory.sqlite.d/index/position.glass
+++ /dev/null
Binary files differdiff --git a/ai-memory.sqlite.d/index/postlist.glass b/ai-memory.sqlite.d/index/postlist.glass
deleted file mode 100644
index 988b645..0000000
--- a/ai-memory.sqlite.d/index/postlist.glass
+++ /dev/null
Binary files differdiff --git a/ai-memory.sqlite.d/index/termlist.glass b/ai-memory.sqlite.d/index/termlist.glass
deleted file mode 100644
index 33a66e8..0000000
--- a/ai-memory.sqlite.d/index/termlist.glass
+++ /dev/null
Binary files differ