Skip to content

Commit e00cb66

Browse files
mosabbirrakibclawsweeper[bot]Takhoffman
authored
docs: clarify /new vs /reset semantics in slash-commands (#81073)
Summary: - The PR changes one bullet in `docs/tools/slash-commands.md` to distinguish `/new` from `/reset` and remove the misleading alias wording. - Reproducibility: yes. Reading current main reproduces the misleading docs line at `docs/tools/slash-commands.md:127`, and adjacent source/tests show `/new` and `/reset` take different paths in the Control UI. Automerge notes: - PR branch already contained follow-up commit before automerge: docs/slash-commands: drop inaccurate Control UI/ACP cross-reference (… - PR branch already contained follow-up commit before automerge: Merge branch 'main' into docs/fix-reset-alias-misleading Validation: - ClawSweeper review passed for head bb92b60. - Required merge gates passed before the squash merge. Prepared head SHA: bb92b60 Review: #81073 (comment) Co-authored-by: Md. Al-Mosabbir Rakib <mrakib50.cse@gmail.com> Co-authored-by: Md. Al-Mosabbir Rakib <34891461+mosabbirrakib@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: takhoffman Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
1 parent 323c976 commit e00cb66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/tools/slash-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Current source-of-truth:
124124

125125
<AccordionGroup>
126126
<Accordion title="Sessions and runs">
127-
- `/new [model]` starts a new session; `/reset` is the reset alias.
127+
- `/new [model]` archives the current session and starts a fresh one; `/reset` wipes the current session in place. They are not aliases.
128128
- Control UI intercepts typed `/new` to create and switch to a fresh dashboard session, except when `session.dmScope: "main"` is configured and the current parent is the agent's main session; in that case `/new` resets the main session in place. Typed `/reset` still runs the Gateway's in-place reset.
129129
- `/reset soft [message]` keeps the current transcript, drops reused CLI backend session ids, and reruns startup/system-prompt loading in-place.
130130
- `/compact [instructions]` compacts the session context. See [Compaction](/concepts/compaction).

0 commit comments

Comments
 (0)