ENG-1433: Rename plugin to carbonlog - #24
Conversation
jschen5
commented
Mar 16, 2026
- Rename directory plugins/carbon → plugins/carbonlog
- Rename all carbon-* scripts to carbonlog-* (setup, report, uninstall, etc.)
- Update plugin ID to carbonlog@cnaught-plugins, DB to carbonlog.db, settings key to carbonlog, log prefix to [carbonlog]
- Add session-start migration that automatically renames the old carbon-tracker.db, migrates installed_plugins.json keys, settings entries (_carbonOriginalStatusLine, enabledPlugins, carbonTracker), and statusline command paths
- All detection/lookup functions handle both old and new names for backwards compatibility until migration runs
- Rename isCarbonStatusLine → isPluginStatusLine
- Update all commands, tests, and README
- Rename directory plugins/carbon → plugins/carbonlog - Rename all carbon-* scripts to carbonlog-* (setup, report, uninstall, etc.) - Update plugin ID to carbonlog@cnaught-plugins, DB to carbonlog.db, settings key to carbonlog, log prefix to [carbonlog] - Add session-start migration that automatically renames the old carbon-tracker.db, migrates installed_plugins.json keys, settings entries (_carbonOriginalStatusLine, enabledPlugins, carbonTracker), and statusline command paths - All detection/lookup functions handle both old and new names for backwards compatibility until migration runs - Rename isCarbonStatusLine → isPluginStatusLine - Update all commands, tests, and README
|
@claude can you review this pr |
|
Claude finished @jschen5's task in 2m 15s —— View job PR Review: ENG-1433 Rename plugin to carbonlog
Overall this is a well-executed rename. The migration design is solid — idempotent, non-fatal, and race-safe. Backwards compatibility is handled consistently throughout. A few things worth addressing: Issues1. Missing migration tests (significant gap)
2. Every other file was updated to use the
This is inconsistent with the rest of the rename and could confuse future contributors. 3. Stale config key in uninstall script
deleteConfig(cleanupDb, 'claude_code_user_name');This key was renamed to Minor Observations
What's Well Done
|
|
Renaming actually will require uninstalling and reinstalling the plugin since claude code will treat the renamed plugin as a completely separate new plugin. |