mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 11:13:26 +00:00
f18fb88cdc
Discovery is the index, not the encyclopedia: it needs to quickly answer 'what is this and how do I reach it', then the Assistant supplies standard-service knowledge and runs commands on demand for specifics. Trim the guest command sets to surface identity signals only (OS, hostname, running services, listening ports, top processes for LXC/VM; OS, processes, ports, env for Docker). Drop the deep enumeration — installed_packages, config_files, docker_mounts, hardware/GPU, disk, cron, nested docker_check — which bloated the evidence payload (and the AI analysis) for no benefit the Assistant can't get live. Remove the now-unused dockerMountsCommand const and retire its test; add TestGuestCommandSetsAreSurfaceOnly to pin the surface intent (verified live: HA LXC went from 13 commands to 5). Note: full speed also needs a fast identification path (the configured reasoning model still exceeds the 45s analysis timeout on its own) — that's the follow-up.