Custom agent plan-mode sessions leave the Plan panel blank (plan_content empty while summary is populated)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- powershell
- Área
- cli
Línea de trabajo
Empieza rastreando la ruta de invocación del custom-agent a través de exit_plan_mode y el estado pending_plan, y compárala después con la ruta del default-agent. Confirma dónde se rellena summary y por qué plan_content permanece vacío; se considera terminado cuando el panel Plan muestra el texto del plan enviado para los custom agents seleccionados explícitamente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
When a user-selected custom agent (front matter: disable-model-invocation: true, infer: false, invoked explicitly by name rather than by inference) calls the built-in exit_plan_mode tool, the Plan side panel renders the recommended-action bubbles but no plan text. The default (built-in) agent does not have this problem -- its Plan panel renders correctly.
Steps to reproduce
- Create or select a custom agent with
disable-model-invocation: trueanduser-invocable: truein its front matter. - Invoke that agent explicitly by name (not via inference) in plan mode.
- Have the agent call
exit_plan_modewith a full plan in thesummaryargument. - Observe the Plan panel in the UI: it shows the recommended-action bubbles (e.g. "autopilot", "interactive", "exit_only") but the plan text area is blank.
Root cause (as far as I could verify)
Reading the session's pending plan state directly shows two separate fields on pending_plan:
summary-- fully populated with the complete plan text passed toexit_plan_mode.plan_content-- empty string ("").
The Plan panel UI appears to render from plan_content, not summary. For default-agent sessions, plan_content gets populated (seemingly mirrored from summary) automatically. For custom, explicitly-selected agent sessions, that mirroring does not happen, leaving plan_content empty and the panel blank even though the underlying plan data is intact and was submitted correctly per the documented exit_plan_mode contract.
This is not model-dependent -- the same custom agent reproduces the issue regardless of model (Auto vs. an explicit model). It tracks the agent-invocation path (default agent vs. user-selected custom agent), not model selection.
Expected behavior
Regardless of whether a default or custom agent invokes exit_plan_mode, the Plan panel should render the full plan text from summary.
Impact
Plan-mode approval becomes unusable for custom agents: there is no readable plan to approve/reject against in the panel, even though the agent followed the documented contract exactly (full plan in summary).
Environment
- Windows, PowerShell v6+
- Reproduced with a custom repository agent invoked explicitly by name in a worktree-backed project session.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/copilot-cli
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github/copilot-cli#4909 ·
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
github/copilot-cli#4906 ·
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/copilot-cli#4729 ·
-
area:sessions
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/copilot-cli#4712 ·
Todos los issues de github/copilot-cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
community-scripts/ProxmoxVE#17425 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
technical-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ll7/robot_sf_ll7#9560 ·
-
Update ghgrab to 2.1.0 Abiertopackage-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comentario ·