feat(tui): lock v2 runtime chrome - #21
Merged
Merged
Conversation
Ship the inky Cortex TUI: dual-hairline composer, shortcut footer, slash palette hover, High→Low effort radios, settings modal, Ctrl+x overlay, agent bin, and 12h timestamps. Vendor SPEC/txt grids for runtime captures. Co-authored-by: Mathis <echobt@users.noreply.github.com>
Headless MockTerminal captures at 40×12 and 120×40, plus clippy and lock_proof updates so v2 chrome (rounded composer, shortcut footer) passes the session tests. Co-authored-by: Mathis <echobt@users.noreply.github.com>
echobt
marked this pull request as ready for review
September 5, 2026 23:24
echobt
marked this pull request as draft
September 5, 2026 23:26
Expand lock v2 MockTerminal scenes to the full SPEC §7 set (77 at 120×40, 31 at 40×12) so each filename is a unique live state. Reject identical PNG hashes in the recapture script. Co-authored-by: Mathis <echobt@users.noreply.github.com>
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.
Summary
Runtime implementation of the Cortex CLI TUI lock v2. Separate from design pack #20. SPEC + txt grids are vendored so
scripts/render-tui-lock-v2.shcan recapture the live session; designer PNGs stay on #20.Do not merge until Designer cli signs off on runtime captures. Invite Designer cli to QA again (Oding will ping).
CAPTURES_FIXED_PASS
Live MockTerminal recapture of the full SPEC §7 set. Each filename is one unique state — no two PNGs share a sha256.
./scripts/render-tui-lock-v2.sh(fails if hashes collide or counts are short)Previously aliased frames are now distinct:
session-user-bars≠session-thought≠session-assistantsettings-appearance≠settings-row-hover(BAR_HOVER on Show timestamps)welcome-cortex≠composer-empty≠footer-shortcutsTest plan
cargo fmt --all -- --check./scripts/clippy.shcargo test -p cortex-tui --lib lock_v2(unique ANSI frames at both sizes)./scripts/render-tui-lock-v2.sh— 77 + 31 unique sha256cargo test --workspace/cargo auditon this commitAttestation (required)
I attest that:
.envfiles are included.Risk
TUI-only. Alternate screen stays default always.
agentis a second bin target on the samemain.rs. Ctrl+x is the shortcuts overlay (no longer “clear queue”).