#7671: feat(status): add dedicated Model row to /status output
commands
stale
Cluster:
Context Management Fixes
## Summary
- Add prominent "Model" row after "OS" row showing default model and context tokens
- Simplify Sessions row by removing redundant model info
- Add Model row to `/status --all` for consistency
- Add test assertions verifying Model row appears in output
Closes #7637
## Changes
| File | Changes |
|------|---------|
| `src/commands/status.command.ts` | Add Model row, simplify Sessions row |
| `src/commands/status-all.ts` | Add Model row for consistency |
| `src/commands/status.test.ts` | Add test assertions for Model row |
## Testing
- [x] `pnpm build` passes
- [x] `pnpm test src/commands/status.test.ts` passes (5/5 tests)
- [x] Linting passes
## Before / After
**Before:**
```
Sessions: 3 active · default anthropic/claude-opus-4-5 (200k ctx) · /path/sessions.json
```
**After:**
```
Model: anthropic/claude-opus-4-5 (200k ctx)
Sessions: 3 active · /path/sessions.json
```
---
[](https://github.com/EveryInc/compound-engineering-plugin) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates the human-readable `/status` and `/status --all` outputs to add a dedicated **Model** row (and removes the redundant default model info from the Sessions overview line). It also adds a couple of assertions in `status.test.ts` to confirm the model appears in the formatted output.
Most of the change is localized to how the Overview rows are assembled in `src/commands/status.command.ts` and `src/commands/status-all.ts`, plus a small test update. The behavior for `--json` output is unchanged.
<h3>Confidence Score: 4/5</h3>
- This PR is generally safe to merge; changes are mostly presentation-level with minor consistency/test robustness concerns.
- Review found no obvious runtime hazards in the new `/status` row construction, and tests were updated. Main concern is that `/status --all` now derives the model from config and omits context-token info, so the new Model row can disagree with `/status` and the PR description goal. A smaller concern is the looseness of the new test assertion which could pass for unrelated output changes.
- src/commands/status-all.ts; src/commands/status.test.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8))
- Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13))
<!-- /greptile_comment -->
Most Similar PRs
#17538: feat(sessions): add resolvedModel field
by Facens · 2026-02-15
76.4%
#18886: fix(status): prefer configured contextTokens over model metadata
by BinHPdev · 2026-02-17
75.8%
#6440: feat(ui): add model picker dialog with provider filtering
by igorls · 2026-02-01
75.8%
#15726: fix(sessions): use model contextWindow instead of agent contextToke...
by lailoo · 2026-02-13
75.6%
#6750: fix(tui): show session model overrides in status bar
by ewijaya · 2026-02-02
75.4%
#6059: fix #6044
by vivganes · 2026-02-01
75.3%
#8083: fix(tui): update model status immediately after /model command
by rohanjangala · 2026-02-03
74.8%
#12191: fix: guard against undefined model.input in display and scan layers
by mcaxtr · 2026-02-09
74.6%
#16916: feat(status): expose context overhead breakdown in --deep mode
by soumikbhatta · 2026-02-15
74.6%
#3649: docs: remove numeric model selection references and document /models
by Jackten · 2026-01-29
74.1%