Adds a parallel LLM path that reviews the whole org snapshot — Preseem APs, SNMP signals, backhaul, agents, and the insight types the rules already covered — and emits novel observations as ai_observation insights (source=ai). Existing rule-based insights and per-insight enrichment continue unchanged. - lib/towerops/llm/network_snapshot.ex builds the bounded snapshot - lib/towerops/llm/network_insight_prompt.ex builds the prompt and parses the LLM's JSON observations array - lib/towerops/workers/ai_network_insight_worker.ex runs nightly at 03:30 UTC (after the rule pass + per-insight enrichment) and on the superuser regenerate button - preseem/insight.ex extends @valid_types with "ai_observation" and @valid_sources with "ai" - insights_live/index.ex includes the new worker in the regen list and adds an "AI" source badge style Bumps the SnmpKit Manager timeout-options test threshold from 500ms to 3000ms (was flaking on loaded dev machines), and scopes list_unenriched_insights/1 assertion in insights_test:573 to the test's org so cross-suite leaks don't fail the count. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||