github / github/copilot-cli

Background agent sessions should be fully exportable and inspectable

Đang mở
#2,846 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:agents area:sessions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the feature or problem you'd like to solve

background agents launched via the task tool don't persist their tool calls or outputs. /share captures reasoning blocks but not the actual grep, edit, and shell commands. /tasks empties once agents complete. session store database has no record of the subtask. you can follow the agent's thinking but can't verify its actions.

### Proposed solution

1. persist completed background agent sessions as inspectable child sessions linked to the parent
2. /tasks should list completed agents (not just running ones) with their session ids
3. /share should include subagent tool calls and outputs (inline or as linked sections) - currently only reasoning blocks are captured
4. /resume should allow browsing a completed agent's full conversation read-only
5. alternatively, a /share --include-subtasks flag for full recursive export

### Example prompts or workflows

1. launch a background agent that modifies multiple files, creates a branch, and opens a PR. after it completes, try to inspect what it actually did step by step - you can't
2. /share after a session with background agents - the export shows the agent's reasoning but not its tool invocations or their outputs
3. /tasks after a background agent finishes - empty list, no way to get back to it

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by tracing the /tasks, /share, and /resume entry points and the session store database behavior for completed background agents. Define how child sessions and their tool calls and outputs are persisted, listed, exported, and browsed read-only; done means the workflows in the issue can inspect completed agents and their actions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli, database
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.