- New mission-control Next.js app: runbook catalog, GO execution, SSE stream, audit ZIP export - Generated doc-manifest from docs runbooks; curated JSON specs; health-check script - pnpm workspace package, root scripts, README updates - Resilience: Windows-safe path checks, optional MISSION_CONTROL_PROJECT_ROOT fallback, system fonts - Bump mcp-proxmox submodule to tracked main Made-with: Cursor
64 lines
2.2 KiB
JSON
64 lines
2.2 KiB
JSON
{
|
|
"id": "validate-config-files",
|
|
"title": "Validate repository configuration files",
|
|
"summary": "Checks that key config files (IPs, token lists, mappings) exist and look structurally valid.",
|
|
"whyItMatters": "Broken or missing config causes silent failures later when you deploy or run operator scripts.",
|
|
"audienceHelp": "Use Practice mode first—it only shows what would be checked. Turn it off when you want a real check.",
|
|
"docPath": "scripts/validation/validate-config-files.sh",
|
|
"prerequisites": [
|
|
"Bash available (macOS/Linux, WSL, or Git for Windows).",
|
|
"Repository root is the monorepo (contains config/ and pnpm-workspace.yaml)."
|
|
],
|
|
"steps": [
|
|
{
|
|
"title": "Practice mode (recommended first)",
|
|
"plainText": "When Practice mode is on, the script lists what it would validate and exits successfully without touching files.",
|
|
"example": "You will see lines starting with === Validation (--dry-run"
|
|
},
|
|
{
|
|
"title": "Full check",
|
|
"plainText": "Turn Practice mode off to scan the repo. jq may be used if installed for JSON validation.",
|
|
"technicalNote": "Script: scripts/validation/validate-config-files.sh"
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"name": "dryRun",
|
|
"label": "Practice mode (dry run)",
|
|
"type": "boolean",
|
|
"help": "When enabled, no real file checks run—only a safe preview.",
|
|
"example": "Start with this ON, then run again with it OFF.",
|
|
"default": true
|
|
}
|
|
],
|
|
"touchpoints": [
|
|
{
|
|
"id": "exit_ok",
|
|
"label": "Script completed without crash",
|
|
"passCondition": "exit_zero",
|
|
"description": "Non-zero exit means validation reported errors."
|
|
},
|
|
{
|
|
"id": "signal_ok",
|
|
"label": "Expected log signal",
|
|
"description": "Detects either dry-run banner or success line.",
|
|
"passCondition": "stdout_contains",
|
|
"pattern": "Validation"
|
|
}
|
|
],
|
|
"complianceFramework": "DBIS-MC-INTERNAL-1",
|
|
"execution": {
|
|
"steps": [
|
|
{
|
|
"interpreter": "bash",
|
|
"scriptRelative": "scripts/validation/validate-config-files.sh",
|
|
"args": [],
|
|
"supportsDryRun": true,
|
|
"whenInputTrue": {
|
|
"dryRun": ["--dry-run"]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|