generate_adr_bootstrap
Generate bootstrap and validation scripts to enforce ADR compliance. Merge base repository code before generation to call validated patterns, ensuring deployments follow architecture decisions.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Path to the project directory | . |
| adrDirectory | No | Directory where ADRs are stored | docs/adrs |
| outputPath | No | Directory where to generate scripts | . |
| scriptType | No | Which scripts to generate | both |
| includeTests | No | Include test execution in bootstrap | |
| includeDeployment | No | Include deployment steps in bootstrap | |
| customValidations | No | Custom validation commands to include | |
| conversationContext | No | Rich context from the calling LLM about user goals and discussion history |