Conversation
Claude の Notification はユーザー離席時にしか発火せず、フォーカス中の 入力待ちは PermissionRequest 以外取りこぼしうる。さらに SessionMonitor は アタッチ中セッションの通知を一律抑制していたため、見ているつもりで別アプリへ 移っていると入力待ちに気づけなかった。 waiting 遷移はアタッチ中でも 1 回通知するよう変更(ユーザーの操作を要する ため)。done(=Stop) は毎ターン末に発火し操作中に毎回鳴ると煩わしいので、 バックグラウンドのみ通知する従来挙動を維持する。 ドキュメント(design/05-home.md)と doc コメントも実態に合わせて更新。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
📊 Test Coverage
🎉✨ パーフェクト!全ファイル Lines カバレッジ 100% を達成しました 🏆🐰 |
kkyosuke
added a commit
that referenced
this pull request
Jun 26, 2026
## 目的 `v1.2.1` 以降に `main` へマージされた変更をリリースするため、minor バージョンを上げる。 ## 変更内容 - `Cargo.toml` の `version` を `1.2.1` → `1.3.0` に更新 - `Cargo.lock` を追従更新 ## リリースされる主な変更(前回タグ以降) - fix(tui): close を強制削除から「dirty なら拒否」に変える (#355) - fix(tui): 全角名のサイドバーはみ出しと agent 名の往復破綻を直す (#354) - fix(tui): アタッチ中でも入力待ち通知を出す(完了通知は抑制を維持) (#353) - fix(tui): 没入リンク検出が直後の全角約物・日本語を URL に含めないようにする (#352) - perf(tui): 没入の描画で term.size() の重複 ioctl をなくす (#351) ## テスト・確認方法 - バージョン変更のみで挙動への影響はなし - マージ後、`auto-release.yml` が version 変更を検知し `v1.3.0` のリリースを自動起動する 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
目的
エージェントの状態が通知に反映されないタイミングがある問題への対処。
SessionMonitorはアタッチ中(フォーカス中)のセッションの通知を一律抑制していたため、ユーザーが画面を見ているつもりで別アプリに移っている場合に 入力待ちに気づけなかった。加えて Claude のNotificationフックはユーザー離席時にしか発火せず、フォーカス中の入力待ちは取りこぼしやすい。変更内容
SessionMonitor::observe()の waiting 遷移はアタッチ中でも 1 回通知するよう変更(入力待ちはユーザーの操作を要するため)。Stop)はバックグラウンドのみ通知する従来挙動を維持。Stopは毎ターン末に発火するため、操作中のセッションで毎回鳴らすのは煩わしい。これによりアタッチが影響するのは「done 通知の抑制」と「ベル推定の抑制」の 2 点に整理された。session_monitor.rs/terminal_pool.rs)とdocument/design/05-home.mdを実態に合わせて更新。補足(今回直さなかったこと)
document/04-orchestration.mdの通り Codex にはNotification/SessionEndイベントが存在しない(endedはStopが担う)。Waitingphase 自体が記録されない別問題)。テスト・確認方法
cargo fmt/cargo clippy --all-targets -- -D warnings/cargo test(1802 件)すべてグリーン。the_attached_session_notifies_on_waiting_but_not_on_donea_waiting_phase_does_not_re_fire_just_because_a_session_was_detached🤖 Generated with Claude Code