settings/hooks changes require a full CLI restart with no notice or hot-reload signal

オープン
#5,595 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
cli

調査の方向性

The issue identifies settings.json and the live interactive CLI session, but names no source files or tests. Start by tracing where settings are loaded at startup and how the CLI handles settings changes; compare the watcher and restart notice options described here. Done means settings changes are detected live or users receive a clear notice that they require a restart.

索引モデルが issue の本文から書いたものです。

説明

area:configuration area:plugins

Build: 1.0.115, both packaging forms.

Repro:

  1. With a live interactive CLI session, add a hooks entry (e.g. a Notification hook script) to settings.json.
  2. Trigger events that should fire the hook (background task completion, notifications).

Actual: the hook never fires for the running process (hooks are read at startup only). Verified x3 on one machine, x1 on a second: the same config change works in the next session but is silently inert in the live one. Same class for other settings (e.g. removing dead AHP connections does not stop the refresh loop until restart — see U1).

Expected: either live re-read on file change (watcher), or a one-time notice in-session ("N settings changes will apply after restart"), so long-lived agents/sessions can detect why an event hook is inert. For automation-heavy users (hooks + notifications are the primary external integration surface), silent inertness causes hours of misdiagnosis.

Adjacent prior: #4508 (mid-session instruction reload FR).

主要言語
Python
スター
11.5k
フォーク
2k
平均マージ
6時間 34分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。