Generic prompts produce generic advice. This commit adds per-type expert hints appended to the base system prompt, listing the metadata field names the rule provides plus short domain heuristics so the LLM has the context it needs to write a tight, specific recommendation. Hints cover: ap_frequency_change, own_fleet_channel_conflict, sector_overload, cpe_realign, wireless_signal_weak, wireless_snr_low, backhaul_over_capacity, backhaul_near_capacity, qoe_degradation, capacity_saturation. Unknown types fall back to the base prompt. No change to rules, schema, or worker — this lifts every existing insight's enrichment quality on the next cron run. Also fixes two recurring flaky tests: - agent_live_test.exs:567 now mirrors the companion show_test.exs pattern of accepting any of the valid update-flow flashes (Failed / Update command sent / No binary available). The previous Req.Test stub-and-allow approach was itself flaky because both test files stub the same module name and ownership tracking can leak under full-suite parallelism. - telemetry_test.exs is now async: false. Its handle_endpoint_stop describe block mutates global Logger.level which races with other async tests; running this single module sync removes the race without sacrificing the per-test setup/restore pattern. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||