Add option to sort `/resume` session list by last-updated (most recent first)
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
### Describe the feature or problem you'd like to solve
The `/resume` session picker currently orders sessions by repository/branch grouping rather than recency. This makes it hard to find sessions I worked on recently — a session I used yesterday appeared at position #55, requiring a lot of scrolling.
### Proposed solution
Add a way to sort the `/resume` list by last-updated timestamp, descending (most recently active at the top). Either:
1. Make "last updated, desc" the default, or
2. Provide a toggle/flag (e.g. `/resume --sort=recent`) or a `/settings` option to choose sort order (recent vs. branch-grouped vs. name).
**Why it matters:** Recency is the most common way I look for a session to resume. Scrolling through 50+ branch-grouped entries is slow and error-prone.
### Example prompts or workflows
_No response_
### Additional context
_No response_
コントリビューションガイド
調査の方向性
/resume のセッションピッカーと、現在セッションをリポジトリおよびブランチごとにグループ化しているコードを見つけることから始めます。セッションの最終更新タイムスタンプがどこで利用可能かを追跡し、その後、ソートをデフォルトにするべきか、オプションにするべきかを判断します。最近のセッションがタイムスタンプの降順で最初に表示され、選択した動作が関連する picker テストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100