| name | sm-upgrade |
| description | Use when upgrading SourceMonitor to a new gem version, including CHANGELOG review, running the upgrade command, interpreting verification results, and handling configuration deprecations. |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
sm-upgrade: Gem Upgrade Workflow
Guides AI agents through upgrading SourceMonitor in a host Rails application after a new gem version is released. Covers CHANGELOG review, running the upgrade command, interpreting verification results, handling deprecation warnings, and resolving common edge cases.
When to Use
- Host app is updating the source_monitor gem version in Gemfile
- User reports deprecation warnings after a gem update
- User wants to know what changed between versions
- Troubleshooting a broken upgrade
- Migrating configuration after breaking changes
Prerequisites
| Requirement | How to Check |
|---|
| Existing SourceMonitor installation | cat .source_monitor_version or check config/initializers/source_monitor.rb |
| Access to CHANGELOG.md | Bundled with gem: bundle show source_monitor then read CHANGELOG.md |
| Current gem version known | grep source_monitor Gemfile.lock |
Upgrade Workflow
- Review CHANGELOG -- Read
CHANGELOG.md in the gem source. Identify changes between the current installed version (from or ) and the target version. Focus on Added, Changed, Fixed, Removed sections. Flag any breaking changes or deprecation notices.