# calls

session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 9caa0d2d0f459d4c
command_snippet:
  cd /home/lucas/fn_registry/projects/fn_monitoring/apps/call_monitor && \   CGO_ENABLED=1 go build -o call_monitor . 2>&1 | tail -3 && \   ./call_monitor init 2>&1 | tail -3 && \   sqlite3 operations.d


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: a00f8126a543baa7
command_snippet:
  cmake --build build/windows --target registry_dashboard -j$(nproc) 2>&1 | tail -5 echo "---" # Restart sqlite_api so events.go sees fresh calls schema systemctl --user restart sqlite_api.service && sl


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: ec45e2d5a20e4485
command_snippet:
  DB=/home/lucas/fn_registry/projects/fn_monitoring/apps/call_monitor/operations.db # Bash sin function_id (con snippet) sqlite3 "$DB" "INSERT INTO calls (session_id,function_id,tool_used,ts,duration_ms


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: c151550cdeb06ad4
command_snippet:
  ls /home/lucas/fn_registry/.claude/scripts/ 2>/dev/null && echo "---" && ls /home/lucas/fn_registry/.claude/settings.local.json 2>/dev/null


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 9f9c0ce2dec27556
command_snippet:
  ls -la ~/.config/systemd/user/ 2>&1 | head -30 && echo "---" && cat ~/.config/systemd/user/sqlite_api.service 2>&1 | head -40


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 7096b24e2886ef20
command_snippet:
  mkdir -p /home/lucas/fn_registry/projects/fn_monitoring/apps/call_monitor/systemd && ls /home/lucas/fn_registry/projects/fn_monitoring/apps/call_monitor/systemd


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: d54f40e7e5b04b5f
command_snippet:
  cp /home/lucas/fn_registry/projects/fn_monitoring/apps/call_monitor/systemd/call_monitor_sequences.service ~/.config/systemd/user/ && cp /home/lucas/fn_registry/projects/fn_monitoring/apps/call_monito


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 067282949dc63367
command_snippet:
  chmod +x /home/lucas/fn_registry/.claude/scripts/hook_capabilities_inject.sh && rm -f ~/.cache/fn_registry/capabilities.txt && echo "--- COLD RUN ---" && time bash /home/lucas/fn_registry/.claude/scri


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 9d5dc283d452f668
command_snippet:
  echo "=== Latency: trigger case (taskkill) ===" time (echo '{"tool_name":"Bash","tool_input":{"command":"taskkill.exe /IM registry_dashboard.exe /F"},"session_id":"test"}' | bash /home/lucas/fn_regist


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 16af1afdb2824cdd
command_snippet:
  jq '.hooks.PreToolUse[0].hooks += [{"type":"command","command":"/home/lucas/fn_registry/.claude/scripts/hook_fn_match.sh"}]' .claude/settings.local.json > /tmp/settings.new.json && mv /tmp/settings.ne


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 39bd1756465d898e
command_snippet:
  ./fn doctor capabilities --emit-claude-md 2>&1 | awk '     BEGIN { sec=""; }     /^## .* Top 20/  { sec="TOP";    print "MATCH TOP: " $0; next }     /^## .* Fresh/   { sec="FRESH";  print "MATCH FRESH


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 40ca45b829dff983
command_snippet:
  rm -f ~/.cache/fn_registry/capabilities.txt && echo "--- COLD RUN ---" && time bash /home/lucas/fn_registry/.claude/scripts/hook_capabilities_inject.sh <<<'{"session_id":"test"}' && echo "" && echo "-


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 58c56b16d387bf6a
command_snippet:
  jq . /home/lucas/fn_registry/.claude/settings.local.json > /dev/null && echo "JSON OK" && jq '.hooks.UserPromptSubmit' /home/lucas/fn_registry/.claude/settings.local.json


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 2b19c48c5ebb10f7
command_snippet:
  \   echo '{"tool_name":"Bash","tool_input":{"command":"taskkill.exe /IM registry_dashboard.exe /F"},"session_id":"test_pretool"}' \   | bash .claude/scripts/hook_fn_match.sh 2>&1 echo "exit=$?"


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 88f7653b4749ee1f
command_snippet:
  for CMD in "ls -la" "./fn run filter_slice_go_core 1 2 3" "cd /home/lucas/fn_registry"; do   RESULT=$(echo "{\"tool_name\":\"Bash\",\"tool_input\":{\"command\":\"$CMD\"},\"session_id\":\"test\"}" | ba


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 21203e1885b99113
command_snippet:
  echo '{"session_id":"test"}' | bash .claude/scripts/hook_capabilities_inject.sh 2>&1 | head -10 echo "---" echo "cache file:" && ls -la ~/.cache/fn_registry/capabilities.txt 2>&1 | head -2


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 6f7182d03d7fa1fb
command_snippet:
  # Cold: invalidate cache rm -f ~/.cache/fn_registry/capabilities.txt T1=$( { time (echo '{"session_id":"x"}' | bash .claude/scripts/hook_capabilities_inject.sh >/dev/null); } 2>&1 | grep real) echo "c


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 084e2badf748426d
command_snippet:
  rm -f ~/.cache/fn_registry/capabilities.txt echo "=== capabilities_inject cold ===" && time (echo '{"session_id":"x"}' | bash .claude/scripts/hook_capabilities_inject.sh >/dev/null) echo "=== capabili


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 5c4f943e0842b55c
command_snippet:
  systemctl --user list-timers call_monitor_sequences.timer 2>&1 | head -5 echo "---" systemctl --user is-enabled call_monitor_sequences.timer echo "---" journalctl --user -u call_monitor_sequences.serv


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 0c454a0261d16f8d
command_snippet:
  ls projects/fn_monitoring/analysis/domain_coverage_gaps/notebooks/ 2>/dev/null && echo "---" && wc -l projects/fn_monitoring/analysis/domain_coverage_gaps/notebooks/*.ipynb 2>/dev/null


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 9f4cc0eb33246360
command_snippet:
  jq -r '.cells[] | select(.cell_type=="markdown") | .source | join("")' projects/fn_monitoring/analysis/domain_coverage_gaps/notebooks/02_topic_gap_analysis.ipynb 2>/dev/null | head -60


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 3aaa1e282c9a25f7
command_snippet:
  PATTERNS=(   # Esperamos hit (analysis dice "lo que YA tenemos")   "calculate sharpe ratio drawdown equity curve"   "rsi sma ema indicator OHLCV close"   "monte carlo simulation market hawkes"   "chro


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 999f34eb508bb086
command_snippet:
  ./fn match "binance kline rest API authenticated" --format json --top 3 2>/dev/null | jq '.top' echo "---" ./fn match "kelly criterion position sizing" --format json --top 3 2>/dev/null | jq '.top'


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 08ef122024bdc145
command_snippet:
  PATTERNS=(   "calculate sharpe ratio drawdown equity curve"   "rsi sma ema indicator OHLCV close"   "monte carlo simulation market hawkes"   "chrome devtools protocol cdp browse page"   "http get json


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 53521ff7692b1f9b
command_snippet:
  CGO_ENABLED=1 go build -tags fts5 -o fn ./cmd/fn/ 2>&1 | tail -3 echo "---" PATTERNS=(   "calculate sharpe ratio drawdown equity curve"   "rsi sma ema indicator OHLCV close"   "monte carlo simulation 


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 02e7d88aaea39813
command_snippet:
  CGO_ENABLED=1 go build -tags fts5 -o fn ./cmd/fn/ 2>&1 | tail -3 PATTERNS=(   "taskkill exe windows registry_dashboard"   "calculate sharpe ratio"   "rsi sma ema"   "monte carlo"   "cdp browse page"  


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 4fa5bc833d6959ac
command_snippet:
  head -5 docs/adr/0004-telemetry-driven-capability-growth.md docs/diary/2026-05-14.md 2>&1 | head -20


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: bash_other
args_hash: 461555abfd7c468b
command_snippet:
  ls CHANGELOG.md 2>/dev/null && head -20 CHANGELOG.md 2>/dev/null echo "---" tail -30 docs/diary/2026-05-14.md


session_id: 350b132b-56e9-40a0-bdec-53b0002d29e1
tool_used: fn_cli_run
args_hash: 19d0d9ce977194a6
command_snippet:
  cat >> docs/diary/2026-05-14.md <<'EOF'  ## 02:00 — Tandas A+B de issue 0087 cerradas + fn_match tuning + Failed Functions sub-tab  ### Tanda A (paralelo, 3 fn-constructor + edits directos)  - `cmd/


session_id: 47426ad9-8927-4412-a091-24e345c31e26
tool_used: bash_other
args_hash: a3e7fd739d052a87
command_snippet:
  ls /home/lucas/fn_registry/bash/functions/pipelines/ | head -30 && echo "---" && ls /home/lucas/fn_registry/bash/functions/infra/ | grep -iE "clone|repo|gitea|sync" | head -20


session_id: 47426ad9-8927-4412-a091-24e345c31e26
tool_used: sqlite_direct
args_hash: 09994bb2ee94bcb3
command_snippet:
  sqlite3 registry.db "SELECT id, name, dir_path, repo_url FROM apps WHERE project_id='fn_monitoring' UNION ALL SELECT id, name, dir_path, repo_url FROM analysis WHERE project_id='fn_monitoring';" 2>&1 


session_id: 47426ad9-8927-4412-a091-24e345c31e26
tool_used: sqlite_direct
args_hash: eff469811d1c9be5
command_snippet:
  sqlite3 /home/lucas/fn_registry/registry.db "SELECT id, tags FROM functions WHERE tags LIKE '%git%' OR tags LIKE '%gitea%' ORDER BY id;" 2>/dev/null


# 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


# function_sequences

seq_hash: c2a8d1ddd8f1
function_ids:
  ["launch_cpp_app_windows_bash_infra","is_cpp_app_running_windows_bash_infra","redeploy_cpp_app_windows_bash_pipelines"]


