Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(gitignore): track linter/scan config dotfiles masked by the catch-all (#4932)

LearningCircuitbc2d3eda3c48
diff --git a/.gitignore b/.gitignore
index befbae3f2f..5178e29781 100644
--- a/.gitignore
+++ b/.gitignore
@@ -109,6 +109,16 @@ src/local_deep_research/web/static/css/themes.css
!.gitkeep
!.nvmrc
!.pre-commit-config.yaml
+# Linter, whitelist, and security-scan config dotfiles -- masked by the
+# catch-all above like the rest of this block; tracked today only because
+# they predate it. .zap/ mirrors the .github/ / .semgrep/ pattern: re-allow
+# the dir, then its file TYPE (.tsv) -- deliberately NOT a blanket `**`, so a
+# stray key/db/pem dropped into .zap/ stays ignored (deny-by-default).
+!.file-whitelist.txt
+!.hadolint.yaml
+!.yamllint.yaml
+!.zap/
+!.zap/**/*.tsv
# Shipped source template whose basename starts with a dot -- caught by the
# `.*` catch-all above, so it must be re-allowed here (not in the templates
# block near its non-dotfile siblings).
diff --git a/tests/security/test_repo_guardrails.py b/tests/security/test_repo_guardrails.py
index 16ef48342b..a5748af4d3 100644
--- a/tests/security/test_repo_guardrails.py
+++ b/tests/security/test_repo_guardrails.py
@@ -65,6 +65,10 @@ DOTFILES_THAT_MUST_STAY_TRACKABLE = (
".safety-policy.yml",
".semgrep/rules/some_new_rule.yml", # loaded by semgrep.yml --config
"src/local_deep_research/defaults/.env.template",
+ ".file-whitelist.txt", # the security whitelist file itself
+ ".hadolint.yaml",
+ ".yamllint.yaml",
+ ".zap/some_new_rule.tsv", # ZAP config dir: type-scoped .tsv re-allow
)
# Binary extensions that MUST be path-anchored (start with ^) in the whitelist.