tasks/completed/source_monitor_rename_plan.md
Use this to convert the engine, gem, and docs from source_monitor / SourceMonitor to source_monitor / SourceMonitor (gem to be published as source_monitor, module namespace SourceMonitor, tables prefixed sourcemon_). Update this file as you discover additional touch points.
source_monitor.gemspec ➜ source_monitor.gemspec; update spec.name, version require, metadata URLs (new GitHub slug dchuk/source_monitor, docs, changelog), summary/description, and release comments.Gemfile, Gemfile.lock, test/dummy/Gemfile.lock, and any gem "source_monitor" references (examples) to use source_monitor; regenerate locks.lib/source_monitor/version.rb ➜ lib/source_monitor/version.rb and change the module namespace to SourceMonitor.pkg/source_monitor-*.gem, bin/release, lib/source_monitor/release/*) reflect the new gem/repo name.docs/gh-cli-workflow.md to reference github.com/dchuk/source_monitor.SourceMonitor constant with SourceMonitor across lib/, app/, test/, examples/, and test/dummy/.lib/source_monitor.rb ➜ lib/source_monitor.rb, requiring the new version file and adjusting singleton helpers.bin/rails, bin/*, and any scripts referencing lib/source_monitor/engine to the new path.SourceMonitor::Engine.table_name_prefix supplies the new sourcemon_ prefix.source_monitor to source_monitor (controllers, models, jobs, helpers, views, assets, lib modules, tests, generators, examples, dummy app, VCR cassettes).app/assets/config/source_monitor_manifest.js, stylesheets, javascripts, images, svgs, builds, etc., to source_monitor.lib/generators/source_monitor/** ➜ source_monitor/**, template names (source_monitor.rb.tt) and targets (config/initializers/source_monitor.rb).SourceMonitor to SourceMonitor; update table names (source_monitor_sources ➜ sourcemon_sources, etc.) throughout migrations.rename_table :source_monitor_sources, :sourcemon_sources) so live installs migrate cleanly.self.table_name, schema dumps (test/dummy/db/schema.rb), SQL snippets, and seeds to sourcemon_*.test/dummy/config/recurring.yml) and Solid Queue references to the new prefix.source_monitor_fetch / source_monitor_scrape to source_monitor_fetch / source_monitor_scrape (README, AGENTS, docs, configuration code, tests).examples/advanced_host/files/config/solid_queue.yml) and worker docs.source_monitor.fetch.*, source_monitor.scheduler.run, etc.) plus any subscribers/docs referencing them.SIMPLECOV_COMMAND_NAME, and instrumentation strings using the old name.source_monitor asset directories.source_monitor_stylesheet_bundle_tag, etc.) and their tests to source_monitor_*.rails source_monitor:install, SourceMonitor.configure) in README, docs, .ai references, and generator templates.config/initializers/source_monitor.rb) in code samples, docs, and tests.source_monitor.sources_path, mount SourceMonitor::Engine => "/source_monitor") across controllers, views, and system tests.namespace :source_monitor) to source_monitor.bin/test-coverage, bin/release, test/support/host_app_harness.rb, test/integration/release_packaging_test.rb) plus env vars (SOURCE_MONITOR_TEST_WORKERS, SOURCE_MONITOR_GEM_PATH, etc.) to SOURCE_MONITOR_*.source_monitor_test ➜ sourcemon_test) in .github/workflows/ci.yml and docker/example configs..env samples, config/application.yml.sample, and docs referencing config/source_monitor.yml.test/**/source_monitor to source_monitor; update assertions referencing route helpers, queue names, metric names, etc.test/vcr_cassettes/source_monitor/**) and update references in tests.test/dummy/app/**, initializers, routes, bin/dev/jobs) to the new name.README.md, CHANGELOG.md, CONTRIBUTING.md, docs/*.md, AGENTS.md, .ai/*.md) to SourceMonitor, including command snippets, route paths, queue names, notification namespaces, and environment variable names.dchuk/source_monitor).source_monitor_basic ➜ source_monitor_basic, etc.) and update template commands/mount paths/instrumentation docs.CHANGELOG.md (commands, gem names, push targets) and any automation referencing the old name.source_monitor and remove references to the old gem in docs once the rename is complete.source_monitor 0.1.0.Keep this checklist as the single source of truth while executing the SourceMonitor rebrand.