github / github/copilot-cli

## Summary

オープン
#4,309 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

## Summary

GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.

## Environment

- GitHub Copilot CLI version: 1.0.75
- Mode: Interactive CLI session
- Session limit enabled: No
- Observed behavior: Session showed approximately 97.8% AI credit usage after the visible tasks completed. No further user prompts or interactions were made. Later, the session reached 100%.

## Expected behavior

After all visible tasks are complete and no user interaction occurs, AI credit usage should either remain stable or the CLI should clearly indicate that background work is still running and consuming credits.

## Actual behavior

The session moved from approximately 97.8% to 100% without additional user interaction.

## Question

Is this expected due to final response accounting, subagent completion, or background compaction? If so, can the CLI expose clearer status so users can distinguish between:
1. truly idle waiting-for-input state, and
2. background/session-finalization work that may still consume AI credits?

## Supporting context

GitHub documentation says session limits include model calls, subagents, and background work like compaction, and that session limits are soft caps because usage is only known after a response returns.

_Originally posted by @PBtomt in https://github.com/github/copilot-cli/issues/4308_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ソースファイル、テスト、エントリポイントのいずれも指定されていません。まずリンク先の issue 4308 とセッション制限に関するドキュメントを確認し、その後、クレジット使用量を追跡しながら Copilot CLI 1.0.75 でアイドル状態の対話セッションを再現します。入力なしで使用量が進行するか、また CLI が進行中の作業を識別するかを判定できれば完了です。

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

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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