Documentation
¶
Overview ¶
Package tools wires the diagnosis pipeline to MCP tools.
Design rule: one tool per SRE question, not one per resource. A resource-shaped surface pushes correlation onto the model across many round-trips, which is the failure mode argus exists to fix.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = versionOrBuildInfo("0.1.0-dev")
Version is the binary version.
Release builds inject it with -ldflags. That covers the archives the release workflow produces but NOT `go install module@version`, which the README recommends as the primary install path — those binaries carry no ldflags at all and used to report themselves as a dev build, making any bug report against them unattributable to a release.
So an unstamped binary falls back to the module version the Go toolchain recorded at build time.
Functions ¶
func Server ¶
Server builds the MCP server with every argus tool registered.
The cluster client is constructed per tool call rather than here, so the server starts and answers server_info even with no kubeconfig — a broken cluster config should surface as one tool erroring, not as a server that will not boot.
Types ¶
This section is empty.