From e607b1e2b0d742c36b0ec88bc8c1adc2053a75cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 25 Jul 2026 09:02:00 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=99=88=20stop=20tracking=20the?= =?UTF-8?q?=20SurrealDB=20REPL=20history?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `surreal sql` writes a `history.txt` into whatever directory it runs from and has no flag to disable it, so the kb helper and the kb-sync hook — both of which run from the repo root — kept re-creating it as a tracked file. - untrack history.txt and add it to .gitignore - run the query itself from ~/.claude/kb in the (untracked) kb helper and hook, so the history file lands beside the database instead of in the repo --- .gitignore | 3 +++ history.txt | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 history.txt diff --git a/.gitignore b/.gitignore index 5013f23..96a081e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ dist-ssr *.tsbuildinfo .od-skills/ critique.json + +# SurrealDB CLI REPL history (kb queries); see .claude/kb-sync.sh +history.txt diff --git a/history.txt b/history.txt deleted file mode 100644 index 31e39ef..0000000 --- a/history.txt +++ /dev/null @@ -1,5 +0,0 @@ -#V2 -DELETE subject:`01KYB0E968ZHJ7CRP1TXXZDHT1`; DELETE user:`01KYB0E963KQ4NRX8AHVQ7795J`; -SELECT VALUE [path, sha256] FROM meta; -REMOVE TABLE IF EXISTS doc; -REMOVE TABLE IF EXISTS meta;