Skip to content

fix: remove all decorative emojis from CLI output - #686

Merged
pszymkowiak merged 1 commit into
masterfrom
develop
Mar 18, 2026
Merged

pszymkowiak merged 1 commit into
masterfrom
develop

Conversation

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Summary

  • Remove all decorative emojis (✓, 🟣, ⚪, ⭐, 🔱, ⚡, ⏳) from CLI output across 33 files
  • Replace with plain text tokens: [ok], [merged], [pending], [warn], [FAIL], [hint], [error], [info]
  • Remove checkmark ✓ from all success indicators ("ok ✓" → "ok", "✓ cargo test:" → "cargo test:")
  • Preserved emoji detection patterns for parsing external tool output (Next.js, Black, Prisma)
  • 953 tests passing, 0 clippy warnings

Why

LLMs cannot interpret emoji semantics — plain text tokens are clearer and save tokens.

Test plan

  • cargo fmt --all --check — clean
  • cargo clippy --all-targets -- -D warnings — 0 warnings
  • cargo test --all — 953 passed
  • 12 rtk commands tested, all output emoji-free
  • 3-pass verification (build, commands, TOML filters)

🤖 Generated with Claude Code

* fix: remove decorative emojis from CLI output (#511)

Replace decorative emojis with plain text to reduce token waste.
Keep functional symbols (⚠️ ✓ ❌ ✅ ℹ️) that convey meaning in fewer tokens.

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>

* fix: remove remaining decorative emojis from find_cmd and formatter

Missed in initial emoji cleanup pass: 📁 in find_cmd.rs and parser/formatter.rs

Signed-off-by: Patrick szymkowiak <[email protected]>

* fix: remove all decorative emojis from CLI output (#511)

Replace emojis with plain text tokens across all production files
for better LLM compatibility. Test fixtures and external tool
detection patterns (e.g. Black's "All done!") are preserved.

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>

* fix: remove last decorative emoji from next_cmd.rs

Remove ⚡ from Next.js Build header, missed in previous passes.

Signed-off-by: Patrick szymkowiak <[email protected]>

* fix: remove remaining emojis from gh_cmd.rs and init.rs

Replace production emojis:
- gh_cmd.rs: 🟣→[merged], ⚪→[unknown]/[pending], ⭐→removed, 🔱→removed
- init.rs: ⚪→[--] for "not found" status indicators

Signed-off-by: Patrick szymkowiak <[email protected]>

* fix: remove all checkmark emojis from CLI output

Replace ✓ (U+2713) with plain text across 19 files:
- "ok ✓" → "ok" (git add/commit/push/pull)
- "✓ cargo test: ..." → "cargo test: ..." (all tool summaries)
- Preserved ✓ in input detection patterns and test fixtures

LLMs cannot interpret emoji semantics; plain text is clearer.

Signed-off-by: Patrick szymkowiak <[email protected]>

---------

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>
Signed-off-by: Patrick Szymkowiak <[email protected]>
@pszymkowiak pszymkowiak reopened this Mar 18, 2026
@pszymkowiak
pszymkowiak merged commit 4792008 into master Mar 18, 2026
23 checks passed
helgeu pushed a commit to helgeu/rtk that referenced this pull request Mar 27, 2026
…i#686)

* fix: remove decorative emojis from CLI output (rtk-ai#511)

Replace decorative emojis with plain text to reduce token waste.
Keep functional symbols (⚠️ ✓ ❌ ✅ ℹ️) that convey meaning in fewer tokens.

* fix: remove remaining decorative emojis from find_cmd and formatter

Missed in initial emoji cleanup pass: 📁 in find_cmd.rs and parser/formatter.rs

* fix: remove all decorative emojis from CLI output (rtk-ai#511)

Replace emojis with plain text tokens across all production files
for better LLM compatibility. Test fixtures and external tool
detection patterns (e.g. Black's "All done!") are preserved.

* fix: remove last decorative emoji from next_cmd.rs

Remove ⚡ from Next.js Build header, missed in previous passes.

* fix: remove remaining emojis from gh_cmd.rs and init.rs

Replace production emojis:
- gh_cmd.rs: 🟣→[merged], ⚪→[unknown]/[pending], ⭐→removed, 🔱→removed
- init.rs: ⚪→[--] for "not found" status indicators

* fix: remove all checkmark emojis from CLI output

Replace ✓ (U+2713) with plain text across 19 files:
- "ok ✓" → "ok" (git add/commit/push/pull)
- "✓ cargo test: ..." → "cargo test: ..." (all tool summaries)
- Preserved ✓ in input detection patterns and test fixtures

LLMs cannot interpret emoji semantics; plain text is clearer.

---------

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>
Signed-off-by: Patrick Szymkowiak <[email protected]>
thehoff pushed a commit to thehoff/contextcrawler that referenced this pull request May 14, 2026
…i#686)

* fix: remove decorative emojis from CLI output (rtk-ai#511)

Replace decorative emojis with plain text to reduce token waste.
Keep functional symbols (⚠️ ✓ ❌ ✅ ℹ️) that convey meaning in fewer tokens.




* fix: remove remaining decorative emojis from find_cmd and formatter

Missed in initial emoji cleanup pass: 📁 in find_cmd.rs and parser/formatter.rs



* fix: remove all decorative emojis from CLI output (rtk-ai#511)

Replace emojis with plain text tokens across all production files
for better LLM compatibility. Test fixtures and external tool
detection patterns (e.g. Black's "All done!") are preserved.




* fix: remove last decorative emoji from next_cmd.rs

Remove ⚡ from Next.js Build header, missed in previous passes.



* fix: remove remaining emojis from gh_cmd.rs and init.rs

Replace production emojis:
- gh_cmd.rs: 🟣→[merged], ⚪→[unknown]/[pending], ⭐→removed, 🔱→removed
- init.rs: ⚪→[--] for "not found" status indicators



* fix: remove all checkmark emojis from CLI output

Replace ✓ (U+2713) with plain text across 19 files:
- "ok ✓" → "ok" (git add/commit/push/pull)
- "✓ cargo test: ..." → "cargo test: ..." (all tool summaries)
- Preserved ✓ in input detection patterns and test fixtures

LLMs cannot interpret emoji semantics; plain text is clearer.



---------

Signed-off-by: Patrick Szymkowiak <[email protected]>
Signed-off-by: Patrick szymkowiak <[email protected]>
Signed-off-by: Patrick Szymkowiak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant