Skip to content

serve screen: the wordmark and furnace in half-block pixels over a placement panel and a serving panel - #644

Merged
juliankang4 merged 2 commits into
midagedev:mainfrom
juliankang4:serve-screen-panels
Oct 22, 2026
Merged

juliankang4 merged 2 commits into
midagedev:mainfrom
juliankang4:serve-screen-panels

Conversation

@juliankang4

Copy link
Copy Markdown
Collaborator

bloomery-serve가 터미널에 그리는 시작 화면을 새로 디자인하고, 같은 그림으로 README 맨 위 이미지를 바꿉니다.

What and why

bloomery-serve draws a start screen on a terminal once the server listens. This PR redraws it. The data it shows and the rules it reads them by are the same; only the layout and the art change.

The new screen, top to bottom:

  • The bloomery wordmark and a bloomery furnace in half-block pixels. A ▀ cell carries two square pixels (its foreground and its background), so the letters and the furnace draw as solid shapes instead of broken glyph rows. The wordmark is warmed down its rows; the furnace has its flame, sparks, the bloom glowing in its arch and the tuyere at its side.
  • A status line: a READY badge, the seat, and the load time on the right. The address sits under it.
  • Two panels side by side. placement has a bar of where the plan put its routed experts (card, tier card, host) with a legend, then the card, tier, host and NVMe rows. serving has the placement and why, the architecture, a decide seat's model and head, the context and slots, and the prompt cache. A row neither panel names (the plan's card list, the unread row) runs the full width below them. A long value wraps first at the dots that separate its parts.
  • The try curl lines and the two keys, Ctrl+C and BLOOMERY_SCREEN=off.

Colour: COLORTERM=truecolor (or 24bit) draws the colours as they are; any other terminal gets the nearest colour of the 256-colour cube. NO_COLOR and TERM=dumb still draw it without colour, and a locale without UTF-8 still gets plain ASCII (#, " and . for the half blocks). Without colour the art keeps only its shapes: no shadow, no sparks, and the furnace's mouth and arch left open.

The second commit puts the same art at the head of the README: docs/assets/banner.svg and banner-dark.svg are art()'s pixels at eight units a pixel, with no background. The dark one keeps the screen's colours; the light one warms the wordmark down a darker ramp so its top rows show on a white page. They replace logo.svg and logo-dark.svg, which nothing else references.

Release notes: Changed: the start screen of bloomery-serve is redrawn: the wordmark and a furnace in half-block pixels, a status line, and placement and serving panels with a bar of where the experts went.

Code shape

  • No second copy. The screen still reads every value through facts(); the panels only route its rows. The README banner is drawn from the same art(), so the two cannot drift.
  • Model code holds only architecture facts. Nothing model-specific changed.
  • Dead code is gone. The old box, its furnace and smoke rows and their helpers are removed, and so is the logo the banner replaces.
  • No silent failure. A record value that is no number is still named on the unread row. bar_cells returns None when no part holds experts or the counts overflow, and the bar is left off.
  • Comments state what is true now.
  • No relaxed gate. The four golden screens are rewritten by SCREEN_BLESS=1; the tests that read rows by the old | label box now read them by the label's column. New tests pin the half-block encoder, the bar's cell split, panel alignment beside wide characters, and the COLORTERM cases.
  • cargo fmt is clean, and cargo clippy -p bloomery-serve -p bloomery-levers --all-targets reports nothing in the two source files this PR changes.

Duplication found or removed (path:line): none.

COLORTERM is one more terminal variable the screen reads; it is on the crates/serve/src/screen.rs line of tools/levers-direct.txt, and the BLOOMERY_SCREEN row in crates/levers/src/registry.rs says what it does.

What I ran

At the head of this branch, on a Linux CPU machine:

Check Result
cargo test -p bloomery-serve --lib 343 passed, 1 failed (the api test in "What I ran into")
cargo fmt --all -- --check clean
bash tools/check-levers.sh check-levers: ok
just contrib-check --tier t0 107 checks, 0 red

The new checks fail first. With the load record left out of the tier lookup ([Some(p), load] changed to [Some(p), None]), screen::tests::the_bar_takes_the_tier_count_from_the_load panics; with checked_add in bar_cells changed to a wrapping add, screen::tests::the_bar_shares_its_cells panics. With the file restored, both pass.

On an RTX 5090 machine, at 31c77b7ba (its screen code differs from the head only in where a tier card's count is read, and this start has no tier card):

Check Result
cargo oxide build --arch sm_120 -- -p bloomery-gpu-gates --features glm5next,clef,mimo2,solar2,minimaxm3,gemma-embedding2,hf --release --bin bloomery-serve built

Then the real server with Qwen3-30B-A3B-Instruct-2507 Q4_K_M, in Ghostty over SSH:

COLORTERM=truecolor LANG=C.UTF-8 ./bloomery-serve -m Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf --port 18080

The screen as it drew (the record lines above it cut off):

bloomery-serve start screen on an RTX 5090

What I ran into

This does not block the PR.

  • The screen is 98 columns wide (the old box was about 80). On a narrower terminal the art's rows wrap.
  • api::tests::a_key_never_reaches_what_the_process_prints_or_serves runs target/debug/bloomery-serve, so it fails in a fresh checkout until that binary is built. It pipes stderr, so the screen never draws in it.

Hardware

An RTX 5090 machine (driver 595.99.02) for the build and the screenshot; a Linux CPU machine for the unit tests.

AI help

AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.

…ace) replaces the logo

docs/assets/banner.svg and banner-dark.svg are the start screen's art,
pixel for pixel: serve::screen's art() at eight units a pixel, one path
per colour, no background. The dark banner keeps the screen's colours; the
light one warms the wordmark down a darker ramp so its top rows show on a
white page. The README's head shows the one its reader's theme picks, and
the logo it replaces (logo.svg, logo-dark.svg) is deleted.
@github-actions github-actions Bot added documentation Improvements or additions to documentation host Host crates: qdot, threads, engram, engram-lab, runtime, sampler, levers, decision, vision, refset serve The HTTP server: crates/serve labels Oct 22, 2026
@midagedev

Copy link
Copy Markdown
Owner

image

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: CLEAN: No supported must-fix finding remains in the startup renderer and asset changes.

Checked

Duplicates: dryer reported no candidate pairs.

Complexity: art is new at 37, with wordmark and furnace stages; render rises from 13 to 26 through status and panel routing; facts rises from 11 to 16 through tier-count precedence. These are startup paths.

Silent failure: 6 added fallback sites followed. Four have bounded inputs that exclude their fallback; absent tier fields and panel rows explain the other two. Malformed tier counts reach the unread row.

Tests: the 13 screen tests assert golden output, record selection, missing and malformed records, device lists, column alignment, block encoding, expert counts, and terminal styling. Rust tests were not executed.

Gates: no numeric band or threshold moved. The changed color comparison has a dated PIN explaining why art rows differ; four golden fixtures match the new layout.

Escape catalog: no matching pattern. Wordmark bounds, empty panels, zero and overflowing expert totals, ASCII fixtures, SVG structure, and README asset references checked.

Notes

The PR reports one API test failure. The unchanged test starts target/debug/bloomery-serve, which must already be built, and pipes stderr, so the screen is not armed.

🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)

@juliankang4

Copy link
Copy Markdown
Collaborator Author

The review is done and the contribution check passed, so I'm merging this.

@juliankang4
juliankang4 merged commit 05b5cbb into midagedev:main Oct 22, 2026
6 checks passed
@juliankang4

Copy link
Copy Markdown
Collaborator Author

@midagedev 제가 머지했습니다!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation host Host crates: qdot, threads, engram, engram-lab, runtime, sampler, levers, decision, vision, refset serve The HTTP server: crates/serve

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants