generate_adr_bootstrap
Generate bootstrap and validation shell scripts that enforce Architecture Decision Record (ADR) requirements in deployed code, incorporating validated patterns from the base repository for compliance.
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 |
|---|---|---|---|
| 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 | |
| conversationContext | No | Rich context from the calling LLM about user goals and discussion history |