Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result holds the outcome of a single diagnostic check.
func CheckAgents ¶
func CheckAgents(cfg *config.ProjectConfig) []Result
CheckAgents reports which agents are enabled or disabled.
func CheckConfig ¶
func CheckConfig(root string) ([]Result, *config.ProjectConfig)
CheckConfig validates that the configuration file can be loaded and parsed. When strict loading fails but lenient loading succeeds (e.g., missing required fields from a newer version), CheckConfig returns a FAIL result with the validation error AND the leniently-loaded config so downstream checks still run.
func CheckSecrets ¶
func CheckSecrets(cfg *config.ProjectConfig) []Result
CheckSecrets scans the configuration for missing environment variables. Only enabled MCP servers are considered; disabled servers are skipped.
func CheckStructure ¶
CheckStructure verifies that the required project directories exist.