bootstrap_validation_loop
Validate deployment iteratively: receive step-by-step commands, submit outputs, and get next actions after environment detection and confirmation.
Instructions
GUIDED EXECUTION MODE: This tool guides you through an interactive, step-by-step deployment validation workflow. It does NOT execute commands internally - instead, it tells YOU what commands to run and processes the results iteratively. Workflow: (1) First call with iteration=0: Detects platform (OpenShift/K8s/Docker), validates environment connection, and requests human approval for target platform. (2) Subsequent calls: After running each command and reporting back with output, the tool provides next steps. Environment Validation: Before deployment, the tool verifies connection to the target platform (e.g., oc status for OpenShift, kubectl cluster-info for K8s) and requires explicit human confirmation. Validated Patterns Integration: Automatically identifies base code repositories (e.g., validatedpatterns/common for OpenShift) and guides you to merge them into your project. Deployment Cleanup: Supports CI/CD-style workflows with deployment teardown/restart guidance. Call this tool iteratively, passing previous command output back each time.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bootstrap_validation_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| autoFix | No | Whether to generate auto-fix suggestions in guidance | |
| appSelector | No | Label selector scoping every destructive teardown command, e.g. "app=checkout-api". Required before any kubectl/oc delete is offered — the tool will not guess a selector, and without this it returns discovery instructions instead of a delete. | |
| projectPath | No | Path to the project directory | . |
| adrDirectory | No | Directory where ADRs are stored | docs/adrs |
| maxIterations | No | Maximum validation/fix iterations | |
| currentIteration | No | Current iteration number (0 for initial call, then increment). Used to track workflow progress. | |
| targetEnvironment | No | Target deployment environment | development |
| previousExecutionOutput | No | Output from the previous command execution. Paste the stdout/stderr from running the command that was recommended in the previous iteration. | |
| updateAdrsWithLearnings | No | Update ADRs with deployment learnings (non-sensitive) | |
| previousExecutionSuccess | No | Whether the previous command execution succeeded (exit code 0). Set to true if command succeeded, false if it failed. | |
| deploymentCleanupRequested | No | Set to true to request deployment cleanup/teardown guidance (for CI/CD workflows that need to delete and restart deployments). |