Repository navigation
serve screen: the wordmark and furnace in half-block pixels over a placement panel and a serving panel - #644
Conversation
…acement panel and a serving panel
…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.
There was a problem hiding this comment.
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)
|
The review is done and the contribution check passed, so I'm merging this. |
|
@midagedev 제가 머지했습니다!!! |

bloomery-serve가 터미널에 그리는 시작 화면을 새로 디자인하고, 같은 그림으로 README 맨 위 이미지를 바꿉니다.
What and why
bloomery-servedraws 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:
▀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.READYbadge, the seat, and the load time on the right. The address sits under it.unreadrow) runs the full width below them. A long value wraps first at the dots that separate its parts.trycurl lines and the two keys,Ctrl+CandBLOOMERY_SCREEN=off.Colour:
COLORTERM=truecolor(or24bit) draws the colours as they are; any other terminal gets the nearest colour of the 256-colour cube.NO_COLORandTERM=dumbstill 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.svgandbanner-dark.svgareart()'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 replacelogo.svgandlogo-dark.svg, which nothing else references.Release notes: Changed: the start screen of
bloomery-serveis 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
facts(); the panels only route its rows. The README banner is drawn from the sameart(), so the two cannot drift.unreadrow.bar_cellsreturnsNonewhen no part holds experts or the counts overflow, and the bar is left off.SCREEN_BLESS=1; the tests that read rows by the old| labelbox 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 theCOLORTERMcases.cargo fmtis clean, andcargo clippy -p bloomery-serve -p bloomery-levers --all-targetsreports nothing in the two source files this PR changes.Duplication found or removed (
path:line): none.COLORTERMis one more terminal variable the screen reads; it is on thecrates/serve/src/screen.rsline oftools/levers-direct.txt, and theBLOOMERY_SCREENrow incrates/levers/src/registry.rssays what it does.What I ran
At the head of this branch, on a Linux CPU machine:
cargo test -p bloomery-serve --libapitest in "What I ran into")cargo fmt --all -- --checkbash tools/check-levers.shcheck-levers: okjust contrib-check --tier t0The 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_loadpanics; withchecked_addinbar_cellschanged to a wrapping add,screen::tests::the_bar_shares_its_cellspanics. 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):
cargo oxide build --arch sm_120 -- -p bloomery-gpu-gates --features glm5next,clef,mimo2,solar2,minimaxm3,gemma-embedding2,hf --release --bin bloomery-serveThen the real server with Qwen3-30B-A3B-Instruct-2507 Q4_K_M, in Ghostty over SSH:
The screen as it drew (the record lines above it cut off):
What I ran into
This does not block the PR.
api::tests::a_key_never_reaches_what_the_process_prints_or_servesrunstarget/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 초안 리뷰는 제가 직접 했습니다.