Session and prompt lost when stopping an action or hitting the stop button
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
Bug Report
Description
When a user stops an in-progress action (e.g., hits the stop button during agent execution), the entire session — including the original prompt and any edits made to it — is deleted. This has happened multiple times.
Steps to Reproduce
- Create a new session with a detailed prompt
- The agent begins executing
- Hit the "stop" button to cancel the action
- The session disappears entirely — prompt, conversation history, and session are gone
Expected Behavior
Stopping an action should halt execution but preserve the session, the original prompt, and any conversation history up to that point. The user should be able to resume or re-run from that state.
Actual Behavior
The entire session is deleted, including the user's original prompt and any iterative edits they made to it. There is no way to recover the work.
Impact
- Loss of detailed, carefully crafted prompts that took time to write and iterate on
- User has to recreate the prompt from memory, losing edits made in the previous session
- Erodes trust in the tool for complex, multi-turn prompt development
Additional Context
- Reported by a user in the
github/lifecyclemarketingproject - Has occurred multiple times (not a one-off)
- The lost session involved a complex weekly digest workflow prompt that had been edited several times before the stop action was triggered
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.
Línea de trabajo
Reproduce el problema creando una sesión con un prompt editado, iniciando una acción y pulsando el botón de detener. Sigue la ruta de detención/cancelación para identificar dónde se elimina la sesión; el trabajo está terminado cuando la ejecución se detiene mientras el prompt, las ediciones, el historial de conversación y la sesión siguen disponibles para reanudar o volver a ejecutar.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100