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: Whitelist news_strategy.py from high-entropy checks

LearningCircuit79eb1c4f2909
diff --git a/.github/workflows/file-whitelist-check.yml b/.github/workflows/file-whitelist-check.yml
index db003e7564..962bbf3989 100644
--- a/.github/workflows/file-whitelist-check.yml
+++ b/.github/workflows/file-whitelist-check.yml
@@ -255,11 +255,14 @@ jobs:
if [ -f "$file" ] && [ -r "$file" ]; then
# Skip HTML files and other safe file types for entropy checks
if ! echo "$file" | grep -qE "\.(html|css|js|json|yml|yaml|md)$"; then
- # Look for base64-like strings or hex strings that are suspiciously long
- if grep -E "[a-zA-Z0-9+/]{40,}={0,2}|[a-f0-9]{40,}" "$file" >/dev/null 2>&1; then
- # Exclude common false positives
- if ! grep -iE "(sha256|md5|hash|test|example|fixture|integrity)" "$file" >/dev/null 2>&1; then
- HIGH_ENTROPY_VIOLATIONS+=("$file")
+ # Skip news_strategy.py which contains example categories in prompts
+ if ! echo "$file" | grep -qE "news_strategy\.py$"; then
+ # Look for base64-like strings or hex strings that are suspiciously long
+ if grep -E "[a-zA-Z0-9+/]{40,}={0,2}|[a-f0-9]{40,}" "$file" >/dev/null 2>&1; then
+ # Exclude common false positives
+ if ! grep -iE "(sha256|md5|hash|test|example|fixture|integrity)" "$file" >/dev/null 2>&1; then
+ HIGH_ENTROPY_VIOLATIONS+=("$file")
+ fi
fi
fi
fi