Pulse/internal/servicediscovery
rcourtman f18fb88cdc Make discovery a fast surface scan, not a deep scan
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.
2026-06-07 20:54:46 +01:00
..
commands.go Make discovery a fast surface scan, not a deep scan 2026-06-07 20:54:46 +01:00
commands_test.go Make discovery a fast surface scan, not a deep scan 2026-06-07 20:54:46 +01:00
deep_scanner.go Route hostname lookups through canonical equivalence 2026-04-21 22:47:23 +01:00
deep_scanner_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
fingerprint.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
formatters.go Preserve queued Assistant workflow pacing 2026-06-07 15:02:01 +01:00
formatters_test.go Preserve queued Assistant workflow pacing 2026-06-07 15:02:01 +01:00
readiness.go Add discovery readiness to Assistant context 2026-06-04 21:56:36 +01:00
readiness_test.go Add discovery readiness to Assistant context 2026-06-04 21:56:36 +01:00
scenario_corpus_test.go Add Kubernetes (kubectl exec) cell to the Discovery oracle 2026-06-07 15:23:25 +01:00
service.go Ask the analyzer to capture service control + key files 2026-06-07 12:28:26 +01:00
service_identity.go Make workload discovery repair known service results 2026-06-05 09:21:53 +01:00
service_test.go Ask the analyzer to capture service control + key files 2026-06-07 12:28:26 +01:00
store.go Remove 198 unreachable Go functions 2026-06-03 12:29:37 +01:00
store_test.go Remove 198 unreachable Go functions 2026-06-03 12:29:37 +01:00
tools_adapter.go Implement Discovery observed context UX 2026-05-20 13:21:55 +01:00
tools_adapter_test.go Implement Discovery observed context UX 2026-05-20 13:21:55 +01:00
types.go Harden Discovery command-scan gating 2026-05-20 12:40:04 +01:00
types_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
url_suggestion.go Make workload discovery repair known service results 2026-06-05 09:21:53 +01:00
url_suggestion_test.go Make workload discovery repair known service results 2026-06-05 09:21:53 +01:00