github / github/copilot-cli

Background agent sessions should be fully exportable and inspectable

Aperta
#2,846 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:agents area:sessions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando gli entry point /tasks, /share e /resume e il comportamento del database del session store per gli agenti in background completati. Definisci come vengono persistite, elencate, esportate e consultate in sola lettura le sessioni figlie e le relative chiamate agli strumenti e output; il lavoro è concluso quando i workflow dell’issue possono ispezionare gli agenti completati e le loro azioni.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, database
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.