Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: use bright-black instead of bold in hint messages (#836)

Maximilian Roos5cba8f6a9541
diff --git a/CLAUDE.md b/CLAUDE.md
index cf663f2cb..09bb237d9 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -37,6 +37,14 @@ Use consistent terminology in documentation, help text, and code comments:
- **default branch** — the branch (main, master, etc.), not "main branch"
- **target** — the destination for merge/rebase/push (e.g., "merge target"). Don't use "target" to mean worktrees — say "worktree" or "worktrees"
+## Skills
+
+Check `.claude/skills/` for available skills and load those relevant to your task.
+
+Key skills:
+
+- **`writing-user-outputs`** — Required when modifying user-facing messages, hints, warnings, errors, or any terminal output formatting. Documents ANSI color nesting rules, message patterns, and output system architecture.
+
## Testing
### Running Tests
diff --git a/src/config/deprecation.rs b/src/config/deprecation.rs
index f8062696b..2aee40574 100644
--- a/src/config/deprecation.rs
+++ b/src/config/deprecation.rs
@@ -584,8 +584,7 @@ fn write_migration_file(
eprintln!(
"{}",
hint_message(cformat!(
- "Wrote migrated <bold>{}</>. To apply:",
- new_filename
+ "Wrote migrated <bright-black>{new_filename}</>. To apply:"
))
);
eprintln!(
@@ -717,8 +716,7 @@ pub fn format_deprecation_details(info: &DeprecationInfo) -> String {
out,
"{}",
hint_message(cformat!(
- "Wrote migrated <bold>{}</>. To apply:",
- new_filename
+ "Wrote migrated <bright-black>{new_filename}</>. To apply:"
))
);
let _ = writeln!(
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
index 0e94edfd3..41c7cad1e 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
@@ -37,7 +37,7 @@ exit_code: 0
----- stderr -----
USER CONFIG ~/.config/worktrunk/config.toml
▲ User config uses deprecated template variables: repo_root → repo_path, main_worktree → repo
-↳ Wrote migrated config.toml.new. To apply:
+↳ Wrote migrated config.toml.new. To apply:
  mv -- [TEMP_HOME]/.config/worktrunk/config.toml.new [TEMP_HOME]/.config/worktrunk/config.toml
  diff --git a[TEMP_HOME]/.config/worktrunk/config.toml b[TEMP_HOME]/.config/worktrunk/config.toml.new
  index d95d100..ceb381d 100644
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
index 07292bcf6..69463e972 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
@@ -37,7 +37,7 @@ exit_code: 0
----- stderr -----
USER CONFIG ~/.config/worktrunk/config.toml
▲ User config uses deprecated config sections: [projects."github.com/example/repo".commit-generation] → [projects."github.com/example/repo".commit.generation]
-↳ Wrote migrated config.toml.new. To apply:
+↳ Wrote migrated config.toml.new. To apply:
  mv -- [TEMP_HOME]/.config/worktrunk/config.toml.new [TEMP_HOME]/.config/worktrunk/config.toml
  diff --git a[TEMP_HOME]/.config/worktrunk/config.toml b[TEMP_HOME]/.config/worktrunk/config.toml.new
  index de80729..eb69d44 100644
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
index 3cfc94540..633ac1962 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
@@ -40,7 +40,7 @@ exit_code: 0
PROJECT CONFIG _REPO_/.config/wt.toml
▲ Project config uses deprecated config sections: [commit-generation] → [commit.generation]
-↳ Wrote migrated wt.toml.new. To apply:
+↳ Wrote migrated wt.toml.new. To apply:
  mv -- _REPO_/.config/wt.toml.new _REPO_/.config/wt.toml
  diff --git a_REPO_/.config/wt.toml b_REPO_/.config/wt.toml.new
  index 074c30f..e97c84f 100644
diff --git a/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_project_level_shows_warning.snap b/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_project_level_shows_warning.snap
index 9f3194707..fb8354677 100644
--- a/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_project_level_shows_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_project_level_shows_warning.snap
@@ -42,5 +42,5 @@ exit_code: 0
----- stderr -----
▲ User config has deprecated settings. To see details, run wt config show
-↳ Wrote migrated test-config.toml.new. To apply:
+↳ Wrote migrated test-config.toml.new. To apply:
  mv -- [TEST_CONFIG_NEW] [TEST_CONFIG]
diff --git a/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_section_shows_warning.snap b/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_section_shows_warning.snap
index 9f3194707..fb8354677 100644
--- a/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_section_shows_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__deprecated_commit_generation_section_shows_warning.snap
@@ -42,5 +42,5 @@ exit_code: 0
----- stderr -----
▲ User config has deprecated settings. To see details, run wt config show
-↳ Wrote migrated test-config.toml.new. To apply:
+↳ Wrote migrated test-config.toml.new. To apply:
  mv -- [TEST_CONFIG_NEW] [TEST_CONFIG]
diff --git a/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_show_warning.snap b/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_show_warning.snap
index 9f3194707..fb8354677 100644
--- a/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_show_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_show_warning.snap
@@ -42,5 +42,5 @@ exit_code: 0
----- stderr -----
▲ User config has deprecated settings. To see details, run wt config show
-↳ Wrote migrated test-config.toml.new. To apply:
+↳ Wrote migrated test-config.toml.new. To apply:
  mv -- [TEST_CONFIG_NEW] [TEST_CONFIG]
diff --git a/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_verbose_shows_content.snap b/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_verbose_shows_content.snap
index 02b7c2b47..c969e338c 100644
--- a/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_verbose_shows_content.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__deprecated_template_variables_verbose_shows_content.snap
@@ -43,7 +43,7 @@ exit_code: 0
----- stderr -----
▲ User config has deprecated settings. To see details, run wt config show
-↳ Wrote migrated test-config.toml.new. To apply:
+↳ Wrote migrated test-config.toml.new. To apply:
  mv -- [TEST_CONFIG_NEW] [TEST_CONFIG]
○ Expanding worktree-path
  ../{{ main_worktree }}.{{ branch }} → ../repo.feature-a