From 80ec6afbc8c0fe4017b0025905d9ec051b811141 Mon Sep 17 00:00:00 2001 From: Barry <91018388+barry166@users.noreply.github.com> Date: Sun, 5 Jul 2026 21:43:55 +0800 Subject: [PATCH] docs(cli): clarify session --edit context retention (#10257) --- documentation/docs/guides/sessions/in-session-actions.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/documentation/docs/guides/sessions/in-session-actions.md b/documentation/docs/guides/sessions/in-session-actions.md index c8e4f56a3..ba0c6ba80 100644 --- a/documentation/docs/guides/sessions/in-session-actions.md +++ b/documentation/docs/guides/sessions/in-session-actions.md @@ -65,11 +65,7 @@ Editing in place is useful when: goose session --resume --edit ``` - This opens `$VISUAL` / `$EDITOR` / `vi` with the conversation serialized as YAML. After editing and saving, goose continues the session from the edited conversation. - - :::warning Deleted Context - With `--edit`, subsequent conversation history is permanently deleted from the session and removed from goose's context. Use this option only if you don't need goose to remember the context that follows the edited message. - ::: + This opens `$VISUAL` / `$EDITOR` / `vi` with the conversation serialized as YAML. After editing and saving, goose continues the session from the edited conversation. Any later messages you leave in the YAML remain in the session and in goose's context; remove messages from the YAML if you want goose to forget them.