# violations

session_id: ebeb8650-02d8-49e9-b8a6-cce5b4568007
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  ./fn index 2>&1 | tail -3; echo "---"; sqlite3 registry.db "SELECT id, lang, domain FROM functions WHERE id IN ('registry_telemetry_py_infra','telemetry_prelude_bash_infra');"


session_id: bf0d6d52-4068-4347-8907-4f890431abe6
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, kind, lang, domain, description FROM functions WHERE id LIKE '%metabase%' OR description LIKE '%metabase%' OR tags LIKE '%metabase%' ORDER BY id


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT f.id, f.signature FROM functions f, json_each(f.tags) j WHERE j.value='notebook' ORDER BY f.id;"


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT id, kind, purity, description FROM functions WHERE id IN (SELECT id FROM functions_fts WHERE functions_fts MATCH 'name:audit* OR description:capability*') ORDER BY name;" 2


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT id, kind, purity, description FROM functions WHERE id IN (SELECT id FROM functions_fts WHERE functions_fts MATCH 'name:generate* OR name:capability* OR description:capabili


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  grep "error_go_core" /home/lucas/fn_registry/registry.db 2>/dev/null || sqlite3 /home/lucas/fn_registry/registry.db "SELECT id FROM functions WHERE id='error_go_core';" 2>/dev/null


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT f.id, f.signature FROM functions f, json_each(f.tags) j WHERE j.value='doctor' ORDER BY f.id;" 2>/dev/null


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, purity, description FROM functions WHERE id IN (SELECT id FROM functions_fts WHERE functions_fts MATCH 'name:audit_capability* OR name:capabilit


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT id, file_path FROM functions WHERE id = 'generate_capability_doc_bash_pipelines';"


session_id: 9d62a52c-b49b-44ed-9037-dbc4a07febca
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT id FROM functions WHERE name LIKE '%propose_capability%' OR id LIKE '%propose_capability%';"


session_id: 50538f33-42cc-4a0d-84f7-854ab8b82acc
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db <<'SQL' .mode tabs SELECT id, description FROM functions  WHERE description LIKE '%http%' OR description LIKE '%scrape%' OR description LIKE '%fetch%'     OR description LIKE '%bro


session_id: 50538f33-42cc-4a0d-84f7-854ab8b82acc
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db <<'SQL' .mode tabs SELECT id, description FROM functions  WHERE domain='finance' OR description LIKE '%price%' OR description LIKE '%candle%'     OR description LIKE '%market%' OR 


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, name, signature, description, updated_at, kind, lang, tags FROM functions WHERE kind IN ('function','pipeline') LIMIT 5;"


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, signature, description FROM functions WHERE kind = 'pipeline' LIMIT 5;" 2>&1 | head -20


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, name FROM functions_fts WHERE functions_fts MATCH 'taskkill OR registry OR dashboard' LIMIT 5;"


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
rule_id: sqlite3_registry_select
severity: warning
command_snippet:
  sqlite3 registry.db "SELECT id, name, bm25(functions_fts) AS rank FROM functions_fts WHERE functions_fts MATCH 'taskkill OR registry OR dashboard' ORDER BY rank LIMIT 5;" 2>&1


