Skip to content

feat(cli): show the wordmark in terminals narrower than 115 columns - #369

Merged
chrisknvidia merged 6 commits into
mainfrom
feat/christopherk/medium-width-logo
Nov 13, 2026
Merged

chrisknvidia merged 6 commits into
mainfrom
feat/christopherk/medium-width-logo

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The root help wordmark needs 115 columns, so most default terminal windows (often 80-114 columns) only saw the plain SKILLEVALUATOR vX title.

terminal width banner
115+ one-line wordmark (unchanged)
76-114 the same letters stacked: SKILL over EVALUATOR
60-75 new two-row block wordmark
< 60, or no block characters plain title (unchanged)

The stacked version is sliced from the existing _WORDMARK, so there is still one source for the letter shapes. Width checks include the version/tagline line. Non-interactive output, subcommand help and TERM=dumb are unchanged.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests (tests/test_cli_banner.py covers each width band)
  • Updated documentation for user-visible changes
  • Ran make lint (Ruff check and format on changed files)
  • Ran make test (tests/reporting, tests/golden, banner, skip and OSS-boundary tests: 1955 passed)
  • Ran make build (python -m build: sdist and wheel built)
  • Did not add credentials, private datasets, or proprietary benchmark content

Checked by running skillevaluator in real 80-, 100- and 114-column terminals.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Stack the existing ANSI Shadow wordmark at 76-114 columns and add a two-row wordmark for 60-75 columns; narrower terminals keep the plain title.

Signed-off-by: Christopher Kevin <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Automated review: 2 findings (0 P1, 0 P2, 2 P3); 2 posted inline.

Comment thread src/skillevaluator/cli_help.py Resolved
Comment thread CHANGELOG.md Resolved
devin-ai-integration[bot]

This comment was marked as resolved.

The wordmark check only compared the art and the version line against the
terminal width. The version line is 58 columns wide, so the two-row wordmark
also appeared at 58 and 59 columns, where the plain title is the documented
behavior. Add a 60 column floor and cover widths 58 and 59 in the banner test.

Signed-off-by: Christopher Kevin <[email protected]>
Only the one-line wordmark was test-encoded. The two-row wordmark adds the
half blocks U+2580 and U+2584, which gbk, cp936 and big5hkscs cannot encode,
so root help raised UnicodeEncodeError at 60-75 columns on those terminals.
Encode each candidate and fall back to the plain title when none fits, and
cover gbk, big5hkscs and cp437 at several widths.

Signed-off-by: Christopher Kevin <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed head 0523ace50be5, including every width band, per-art encoding checks, plain-title fallback, and root-help gating. All 23 banner tests passed locally. The previously reported 58–59-column and legacy-encoding cases are covered by the current implementation; no new actionable finding.

@chrisknvidia
chrisknvidia merged commit 01535f5 into main Nov 13, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the feat/christopherk/medium-width-logo branch November 13, 2026 17:07
rng1995 added a commit that referenced this pull request Nov 13, 2026
Resolve the CHANGELOG conflict by keeping this branch's moves and adding
main's new entries where main has them: #500 under Unreleased, and #369
and #475 under 0.9.0 (moved to Unreleased in the next commit).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Nov 13, 2026
#369 and #475 merged after v0.9.0 was cut, but their entries landed in
the 0.9.0 section. Move them to Unreleased (Changed and Fixed) so 0.9.0
matches the released notes again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Nov 13, 2026
Resolve the CHANGELOG conflict with #487 by putting its Bandit entry at
the top of the one Unreleased > Changed list, above the moved #369 entry.
#488 and #367 keep the places main gives them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Nov 13, 2026
* docs(changelog): move post-0.9.0 entries to Unreleased

#497 and #459 merged after v0.9.0 was cut, but their entries landed in the
0.9.0 section that the release prep had just created. Move them, unchanged, to
Unreleased. The 0.9.0 section now matches the released v0.9.0 notes exactly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

* docs(changelog): move #369 and #475 entries out of 0.9.0

#369 and #475 merged after v0.9.0 was cut, but their entries landed in
the 0.9.0 section. Move them to Unreleased (Changed and Fixed) so 0.9.0
matches the released notes again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[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.

2 participants