Repository navigation
Description
Priority and continuation review: 2026-11-06
Release role: M1 appearance and accessibility. The preview must be legible and keyboard-reachable across supported terminal modes. Rollout planning epic: #406; exact-artifact qualification: #418.
Reviewed the live paginated inventory at main 1d9d96a7685af50fb4b79f3e761ab7ed8f52d878: 29 open issues and 20 open PRs. Earlier source/test descriptions below retain their original dates; this planning review does not rerun their checks or establish release readiness.
Next bounded milestone: Complete safe appearance preview/reset and remaining semantic-role, contrast and key reachability cases; verify real terminal backgrounds and reduced motion.
Current state: 2026-11-18
Audited against main 0b32f24 on 2026-11-18.
On main:
- The feat(tui): Brand-aligned Next primitives, color modes and presentation settings #427 primitives: Brand roles, truecolor/256/16/none, ASCII/Unicode,
nextAppearanceand configurable hints. - test(tui): hostile-output safety and layout matrix for Next, fixing six leaks (#417 slice) #438 renders every Next page across 4 colour modes, 2 glyph sets and 6 sizes, and checks NO_COLOR.
- Prepare v0.9.1 release fixes #461 preserves unknown global settings keys.
- Classic styling is unchanged.
reduceMotionand appearance still resolve only at startup.
Decided on 2026-11-18 (decision 10): #488 carries this slice.
Open PR, not merged: #488 is out of draft (e159345e, main 0b32f241 merged in; 15 of 15 hosted checks at 7332d102).
- Under Next,
/config appearancepreviews, saves only the previewed keys, reverts and resets. - Closing
/settingsappliesreduceMotionwithout a restart. docs/tui-v2/contrast.mdrecords contrast for Next's roles.- Six mutations failed first. Workspace tests passed 3429 with 0 failed, and tmux 662 of 662 at both sizes. Two review rounds.
- It conflicts mechanically with fix(query): bound the interactive turn's event buffer with backpressure #555 and fix(cli): guard Classic's follow-up permission panels #556.
Not delivered:
- Syntax-highlight roles through capability mapping.
- A documented contrast pass for stock themes.
- High-contrast and terminal-native themes.
- Key-conflict and reachability coverage for all essential actions.
- Real emulator backgrounds, native Windows and human visual acceptance.
The uncommitted tui-v2-409-final-gaps work is not part of #488.
Next action: Review and merge #488. Then land syntax-highlight roles as their own PR, with buffer snapshots across colour modes.
Outcome
One recognizably Coven visual and interaction language across coding, tasks, research and memory. Luxury comes from typography roles, spacing, responsive input and disciplined detail, not decorative chrome. Parent: #406.
Dependencies
- Initial prerequisite slice delivered for [TUI v2][P0] T0: inventory existing capabilities and contracts, and freeze the product/contract baseline #407; remaining acceptance stays in that issue. Provides the reviewed product baseline and pinned Brand references.
- Can proceed in parallel with [TUI v2][P0] T1: extract a typed presentation seam and support Classic/Next without runtime divergence #408. Coordinate shared files; consume its view model when integrating, rather than inventing another application state.
Ownership
Start with src-rust/crates/tui/src/theme_colors.rs, existing theme/familiar/diff components, and src-rust/crates/core/src/keybindings.rs. Follow the existing settings ownership and load order in COVEN.md. Proposed presentation modules may live under src-rust/crates/tui/src/next/; their names are not pre-existing APIs.
Brand's current README specifies the monochrome crown/lotus and Coven Violet #8E3DFF. Pin an immutable source before importing semantic roles. The historical violet/pink example in this repo and generated concept images are not permission to create a new logo/token era.
Deliverables and acceptance
- Central semantic roles for canvas, text, muted text, focus, selection, status, links, diff additions/removals and sensitive actions. Widgets use roles instead of hard-coded colors; syntax colors pass through capability mapping.
- Truecolor, 256-color, 16-color, terminal-native and NO_COLOR modes remain legible. Status and selection retain text/shape cues. ASCII fallback does not depend on Nerd Fonts, emoji width or image protocols.
- Default presentation is neutral and restrained with selective violet. No gradients/glow on the mark, decorative backgrounds, browser-style font assumptions, animated mascots on every screen, or forced multi-panel layout.
- Shared primitives cover transcript rows, tool/diff disclosure, list selection, focused composer, breadcrumbs, status messages, confirmation, error recovery and one contextual inspector. No per-feature visual dialects.
- Presentation-only customization supports density, Focus/Work/Inspect layout, theme, reduced motion, hints and existing configurable keys. Show preview/reset; preserve unknown config keys and fail safely on invalid values. These controls never alter runtime permissions, identity, providers or canonical state.
- Keybinding conflicts are detectable; essential actions remain reachable. All bindings flow through the existing keybinding system, not inline key checks. Mouse is optional and never the only route.
- Streaming may use a bounded activity indicator; idle state has no decorative animation. Reduced-motion mode is static. Notifications do not steal focus or conceal outstanding approval requests.
- Stock themes have documented contrast checks; user-controlled terminal themes are not falsely certified. Test keyboard-only, monochrome and narrow layouts. Persisted settings downgrade safely to Classic.
Verification
Use Ratatui buffer/TestBackend snapshots for every primitive across color modes and terminal sizes; include CJK, combining marks, long paths, emoji and ASCII fixtures. Add settings round-trip/corruption and configurable-binding tests. From src-rust/, run focused tests, cargo test -p claurst-tui --locked, affected core tests, and the formatting/check/Clippy/workspace gates in AGENTS.md. Manual terminal captures must use synthetic data and record terminal/font settings. No image generation is acceptance evidence for a real terminal.
Long-running goal prompt
Work in /Users/buns/Documents/GitHub/OpenCoven/coven-code on #409, coordinated with epic #406. Finish T2 appearance and accessibility acceptance using the merged primitives, including safe preview/reset, actual terminal contrast/reachability evidence and explicit platform limits. First refresh main/PR heads, issue comments, scoped instructions, dependency contracts and file/worktree ownership; preserve unrelated work and reuse the linked implementation. Next bounded milestone: Complete safe appearance preview/reset and remaining semantic-role, contrast and key reachability cases; verify real terminal backgrounds and reduced motion. Then run the issue's applicable verification and required repository checks on the exact changed head; retain failing-first evidence, executed counts and platform limits. Finish line: The full primitives/settings/accessibility acceptance has source, terminal and human evidence, with native-platform limits recorded. This milestone does not remove any original acceptance criterion. Keep a durable checkpoint with base/head SHAs, owned files, commands/results, remaining gates, owner and next action. Preserve explicit behavior decisions and all commit, merge, release and default-switch authority requirements.
Follow-up prompt
Resume #409 in /Users/buns/Documents/GitHub/OpenCoven/coven-code from its latest durable checkpoint. Refresh live issue comments, main/PR heads, dependencies, ownership and holds before using the dated evidence. Next action: Complete safe appearance preview/reset and remaining semantic-role, contrast and key reachability cases; verify real terminal backgrounds and reduced motion. If a recorded job may still be running, inspect its actual handle before restarting; retain failures and exact evidence. Complete the next unblocked acceptance case, run applicable exact-head checks, and checkpoint files/SHAs/results/gaps/owner/next action. Finish line: The full primitives/settings/accessibility acceptance has source, terminal and human evidence, with native-platform limits recorded. Keep local tests, hosted CI, merged source, packaged/native and human acceptance distinct; retain the original full issue scope and existing action authority.
Activity
docs: record Classic executable baseline and resolve review gaps
fix(tui): model real key dispatch in Next hints and merge appearance …
fix(core): count app fallback keys when reporting unbound chords
docs: establish the TUI v2 source and compatibility baseline (#421)
feat(tui): Brand-aligned Next primitives, color modes and presentatio…
feat(tui): Next transcript/composer shell (T3) (#429)
feat(tui): engine-local tool rows and approval safety (T4 slice) (#430)
feat(tui): per-session drafts, browser resume and honest ownership (T…
test(tui-tests): start the appearance case's long turn with run:
BunsDev commentedon Nov 19, 2026
Appearance slice: #488 is out of draft and carries this slice of #409, as decision 10 chose. It says Related, and waits for the maintainer's merge.
e159345e, which is7332d102with main0b32f241merged in, no conflicts. 15 of 15 hosted checks passed at7332d102, and checks rerun on the new head.nextAppearancekeys andreduceMotionunder Next.layoutsetting places the inspector at 120x32 or larger and follows resizes./settingsappliesreduceMotionwithout a restart.docs/tui-v2/contrast.mdrecords contrast for Next's own roles.7332d102): workspace tests 3429 passed, 0 failed. tmux 662 of 662 at 120x40 and 80x24. Two independent review rounds; the first found a docs overclaim, now fixed.letlines inrun_interactive). Whichever merges second needs main merged in.tui-v2-409-final-gapswork.