generate_adr_bootstrap
Generate bootstrap.sh and validate_bootstrap.sh scripts that enforce ADR requirements in deployed code, merging validated pattern code from the base repository.
Instructions
Generate bootstrap.sh and validate_bootstrap.sh scripts to ensure deployed code follows ADR requirements. CRITICAL: Before generating scripts, use WebFetch to query the base code repository (e.g., https://github.com/validatedpatterns/common for OpenShift) and authoritative pattern documentation (e.g., https://play.validatedpatterns.io/). Merge the base repository code into your project and have bootstrap.sh call the pattern's scripts rather than generating everything from scratch. This ensures compliance with validated deployment patterns.
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": "generate_adr_bootstrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Directory where to generate scripts | . |
| scriptType | No | Which scripts to generate | both |
| projectPath | No | Path to the project directory | . |
| adrDirectory | No | Directory where ADRs are stored | docs/adrs |
| includeTests | No | Include test execution in bootstrap | |
| customValidations | No | Custom validation commands to include | |
| includeDeployment | No | Include deployment steps in bootstrap |