From dcde4f1bf0851807761d26244a1f9cd2c15fb193 Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Tue, 20 Oct 2026 10:06:56 -0500 Subject: [PATCH] fix(gitignore): ignore .identity.db/.identity.redb repo-wide (#420) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit serve.rs builds the identity DB CWD-relative from KEY_FILE (.iroh-key), so it lands wherever id serve --web runs — but only pkgs/id/.gitignore covered it, while the root .iroh* pattern protects the key family at every depth. Add the two unanchored patterns beside .iroh* so a serve run from any in-repo directory cannot leave the DB one git add -A from recommit (the #372 hazard). --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b232a7c1b0..9a3039e804 100755 --- a/.gitignore +++ b/.gitignore @@ -115,6 +115,8 @@ ses_*/*.json .opencode/plugin/subtask2/logs/*.log .opencode/worktrees/ .iroh* +.identity.db +.identity.redb test.* pkgs/roc/platforms/rust-basic-cli codedb.snapshot