mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
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. |
||
|---|---|---|
| .. | ||
| commands.go | ||
| commands_test.go | ||
| deep_scanner.go | ||
| deep_scanner_test.go | ||
| fingerprint.go | ||
| formatters.go | ||
| formatters_test.go | ||
| readiness.go | ||
| readiness_test.go | ||
| scenario_corpus_test.go | ||
| service.go | ||
| service_identity.go | ||
| service_test.go | ||
| store.go | ||
| store_test.go | ||
| tools_adapter.go | ||
| tools_adapter_test.go | ||
| types.go | ||
| types_test.go | ||
| url_suggestion.go | ||
| url_suggestion_test.go | ||