emrg: TUI status bar shows current version (rant 2026-08-13T14:11:03) - #736
Merged
Conversation
argszero
commented
Aug 13, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle. CI test + test-windows both pass (run 31673268492); 769 pytest green locally; _format_status_left unit tests cover the 5 layout states; Agent.md doc-count synced.
argszero
commented
Aug 13, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle (2/3)
Verified locally on branch feature/tui-status-version (ea37059):
_format_status_leftextracted module-level, addsv${__version__}prefix (0.2.30 →v0.2.30 main (s_260727) [deepseek-v4-flash]);_status_leftclosure delegates to it — no behavior regression.- All 5 new unit tests pass (version prefix, title/sid/model layout, no-title→sid, no-model→no brackets, 8-char sid truncation).
- Full suite: 769 passed (12.89s); Agent.md count 764→769 consistent.
- CI test + test-windows both PASS (run 31673268492). MERGEABLE, CLEAN.
argszero
commented
Aug 13, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle (3rd consecutive ✅)
Re-verified this cycle: branch head ea37059 unchanged since prior reviews; diff identical (Agent.md 764→769, app.py _format_status_left extraction + version prefix, 5 new tests); full suite 769 passed locally (R1365); CI test + test-windows both PASS; mergeStateStatus CLEAN. Mergeable.
This was referenced Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the current EMRG version (e.g.
v0.2.30) as the leftmost segment of the TUI status bar, so the running version is always visible without invoking/version.emrg/client/app.py: extract_format_status_left(module-level, unit-testable) that prependsv<__version__>to the session/model segments; nested_status_leftdelegates to it. Version imported inside the function to avoid module-level circular imports.tests/test_app_status_left.py: 5 new tests (version prefix, title+short-sid+model layout, sid fallback, model omission, 8-char sid truncation).Agent.md: pytest count 764 → 769 (doc-count guard emrg: sync test counts to 484 + guard test against doc drift (recurs #426/#430/#510) #511).Host rant 2026-08-13T14:11:03 (TUI 状态栏左段增加当前版本号).