Skip to content

fix(tui): complete Rune mascot rebrand#63

Merged
BunsDev merged 1 commit into
mainfrom
codex/issue-54-mascot-rebrand
Jun 11, 2026
Merged

fix(tui): complete Rune mascot rebrand#63
BunsDev merged 1 commit into
mainfrom
codex/issue-54-mascot-rebrand

Conversation

@BunsDev

@BunsDev BunsDev commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • rename the TUI mascot module from rustle to mascot
  • rename RustlePose/rustle_lines_for call-sites to companion/mascot terminology
  • rename public mascot assets to Rune.png and Pirate-Rune.png
  • update docs references and add a smoke test to prevent legacy Rustle names from coming back

Verification

  • node scripts/mascot-rebrand.test.mjs
  • cargo fmt -p claurst-tui --check
  • cargo test -p claurst-tui mascot
  • cargo check -p claurst
  • git diff --check

Fixes #54

Copilot AI review requested due to automatic review settings June 11, 2026 03:07
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Jun 11, 2026 3:08am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the TUI “Rustle” → “Rune” rebrand by renaming the mascot module/types/call-sites, updating docs and public assets, and adding a small Node smoke test to prevent legacy identifiers and filenames from reappearing.

Changes:

  • Rename the TUI mascot module/API from rustle/RustlePose/rustle_lines_for to mascot/CompanionPose/mascot_lines_for, updating render + app tick plumbing.
  • Update docs and CSS class naming from tui-rustletui-mascot, plus README/COVEN/attribution references.
  • Add a scripts/mascot-rebrand.test.mjs smoke test and rename mascot image assets to Rune.png / Pirate-Rune.png.

Reviewed changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src-rust/crates/tui/src/render.rs Switch welcome rendering to CompanionPose and new app field.
src-rust/crates/tui/src/mascot.rs Rename pose type + slug helper, update glyph builders and tests.
src-rust/crates/tui/src/lib.rs Export mascot module and remove rustle export.
src-rust/crates/tui/src/familiar_theme.rs Update module references in docs to crate::mascot.
src-rust/crates/tui/src/familiar_card.rs Update imports and pose handling to CompanionPose.
src-rust/crates/tui/src/app.rs Rename pose field + tick/look-down APIs to companion terminology.
src-rust/crates/cli/src/main.rs Call tick_companion_pose() in the interactive loop.
scripts/mascot-rebrand.test.mjs Add smoke test guarding against legacy Rustle identifiers/assets.
README.md Update mascot module path reference to mascot.rs.
public/Rune.png Add renamed Rune mascot asset.
docs/src/style.css Rename docs CSS class .tui-rustle.tui-mascot.
docs/src/content/welcome-screen.js Update markup to use the new .tui-mascot class.
COVEN.md Update rebrand checklist section to match the new naming.
ATTRIBUTION.md Update attribution note to reflect completed internal rename.
Comments suppressed due to low confidence (2)

src-rust/crates/tui/src/mascot.rs:18

  • The module docs say mascot_lines_for is a “legacy entry point” that “routes through the theme/card path”, but the function currently just resolves a theme and calls archetype_lines (no card rendering). This comment is misleading and should be updated to match the actual behavior.
    src-rust/crates/tui/src/mascot.rs:496
  • This test’s name/comment say it verifies palette differences while keeping glyph shape the same, but it currently compares two different archetypes (kitty vs nova) and only checks that the text differs. That doesn’t validate palette handling and can confuse future refactors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BunsDev BunsDev merged commit 6efa646 into main Jun 11, 2026
2 checks passed
@BunsDev BunsDev deleted the codex/issue-54-mascot-rebrand branch June 11, 2026 03:13
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.

Complete the mascot rebrand: rustle.rs → mascot.rs, RustlePose → CompanionPose

2 participants