feat: add release automation to Bootstrap command#208
Closed
jeremyeder wants to merge 1 commit intomainfrom
Closed
feat: add release automation to Bootstrap command#208jeremyeder wants to merge 1 commit intomainfrom
jeremyeder wants to merge 1 commit intomainfrom
Conversation
Implements issue #157 with support for: - Semantic release workflows with conventional commits - PyPI publishing with OIDC (test + production) - Version synchronization across project files - Template drift detection to ensure templates stay in sync ## Changes ### CLI Enhancements - Add --enable-release flag to bootstrap command - Add --enable-publishing flag for PyPI publishing - Add --enable-all flag for full automation - Add drift-check command for template validation ### Bootstrap Templates (Python) - release.yml.j2: Semantic release workflow with conditional publishing - releaserc.json.j2: Semantic-release configuration - sync-version.sh.j2: Version sync script for pyproject.toml and CLAUDE.md ### Services - BootstrapGenerator: Enhanced with release automation methods - DriftDetector: Validates templates against AgentReady's actual files ### Drift Prevention The drift-check command compares generated Bootstrap templates with AgentReady's actual infrastructure to ensure templates stay synchronized. Usage: agentready bootstrap . --enable-all agentready drift-check --verbose 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Author
|
Closing as stale. This PR is 4 days old with failing tests from deprecated workflows. The feature can be revisited in Issue #157 if still needed. |
21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #157 - Adds release automation capabilities to the Bootstrap command with:
Implementation Details
CLI Enhancements
--enable-releaseflag to enable automated release workflow--enable-publishingflag to enable PyPI publishing--enable-allflag to enable all advanced featuresdrift-checkcommand for template validation against AgentReady's actual filesBootstrap Templates (Python Only - MVP)
Three new Jinja2 templates created based on AgentReady's own infrastructure:
release.yml.j2: Semantic release workflow with conditional publishing blocksreleaserc.json.j2: Semantic-release configuration with conditional assetssync-version.sh.j2: Version sync script for pyproject.toml and CLAUDE.md (if present)Templates use context variables:
enable_publishing: Controls PyPI publishing stepshas_claude_md: Controls CLAUDE.md version syncproject_name: For project-specific pathsServices
BootstrapGenerator enhancements (
src/agentready/services/bootstrap.py):enable_release,enable_publishing_generate_release_workflow(),_generate_release_config(),_generate_version_sync_scripts()_detect_project_name()extracts name from pyproject.tomlDriftDetector service (
src/agentready/services/drift_detector.py):Drift Prevention
The new
drift-checkcommand validates that Bootstrap templates stay synchronized with AgentReady's actual infrastructure:This ensures templates don't diverge from the actual files they're based on.
Usage Examples
Test Plan
drift-checkcommand works and detects driftMigration Notes
No breaking changes - this is opt-in functionality via new CLI flags.
Existing usage remains unchanged:
Future Work
Per issue #157, this MVP includes:
Future phases will add:
Related Issues
Closes #157
🤖 Generated with Claude Code