# CODE-1890-status-line-v2

CODE-1890-status-line-v2 is a Claude Code subagent that refactors the TUI footer in crates/warp_tui. Converts the split metadata view into a unified left-aligned status line.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/agents/specs/CODE-1890-status-line-v2.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/code-1890-status-line-v2

## What it does

This subagent restructures `render_footer` in `crates/warp_tui/src/terminal_session_view.rs`. It replaces the separate left-hint and right-aligned layout with a single `TuiFlex::row` utilizing muted `│` boundary elements.

Agent mode displays model info, folder and git branch, token metrics, and patch diff counts in strict order. Inside bash mode, the model label and usage blocks disappear so the shell indicator starts the line. Transient alerts, loading states, and armed ctrl-c signals replace the entire line.

Validation relies on `cargo nextest run -p warp_tui -E 'test(terminal_session_view)'` alongside the `./script/presubmit` repository check.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/CODE-1890-status-line-v2.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/CODE-1890-status-line-v2.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/CODE-1890-status-line-v2.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/agents/specs/CODE-1890-status-line-v2.md

## When to use it
- refactor the TUI session footer into a left-aligned status row
- hide AI model names and usage metadata inside shell mode
- prioritize replacing hints like armed ctrl-c over normal status items
- update render-to-lines regression tests in warp_tui

## Example prompts
- Apply the status line redesign for CODE-1890 in terminal_session_view.rs
- Update terminal session view regression tests in crates/warp_tui
- Run cargo nextest on warp_tui to verify footer line rendering

## Similar
- [ratatui-tui](https://affpapa.org/en/nevibecode/skills/ratatui-tui.md) — skill · 959 installs
- [opentui](https://affpapa.org/en/nevibecode/skills/opentui.md) — skill · 64600 installs
- [hunk-review](https://affpapa.org/en/nevibecode/skills/hunk-review.md) — skill · 2700 installs
- [tui-design](https://affpapa.org/en/nevibecode/skills/tui-design.md) — skill · 1400 installs
- [ink](https://affpapa.org/en/nevibecode/skills/ink.md) — skill · 1300 installs
- [update_status_line](https://affpapa.org/en/nevibecode/commands/update-status-line.md) — command · ★ 3990 repo stars

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
