kdeps-commands-handshake
v2.0.0kdeps command: handshake
set commands / shelf agent
PurposeShow or toggle the mandatory session-integrity tool-call check (off by default)
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the commands set, used in workflow and agent mode. Slash commands: the help and completion of the built-in ones, and declared commands that run other commands and prompts.
- you type /name in kdeps
- the command runs: built in, or its declared stepscommands/handshake
- prompts go to the model; the output is shown
Loaded by: kdeps (agent loop), /update, kdeps run
In the code: kdeps (agent loop)agent.(*REPL).Runagent.declaredCommand
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install commands/handshake@<version>.
Contents
- order
- 300
/handshake [on|off]Show or toggle the mandatory session-integrity tool-call check (off by default)Shows or sets the session setting handshake to one of onoff. What it prints is the setting block below.
setting:
key: handshake
values:
- on
- off
show: '{{if eq .value "on"}}session-integrity handshake is on — model change,
resume, and compaction/fold each force a verified tool call before the next
prompt{{else}}session-integrity handshake is off — /handshake on to
enable{{end}}'
set: '{{if eq .value "on"}}session-integrity handshake enabled — verifying on
the current model now, before your next prompt, and again on every model
change, resume, and compaction/fold{{else}}session-integrity handshake
disabled{{end}}'
invalid: "Usage: /handshake [on|off]"
version: 2.0.0
name: handshake
order: 300
usage:
- args: "[on|off]"
help: Show or toggle the mandatory session-integrity tool-call check (off by default)
# setting: the command shows or sets one session setting; the text is here.
setting:
key: handshake # live session state; the choice persists across sessions
values: [on, off]
show: >-
{{if eq .value "on"}}session-integrity handshake is on — model change, resume, and compaction/fold each force a verified tool call before the next prompt{{else}}session-integrity handshake is off — /handshake on to enable{{end}}
set: >-
{{if eq .value "on"}}session-integrity handshake enabled — verifying on the current model now, before your next prompt, and again on every model change, resume, and compaction/fold{{else}}session-integrity handshake disabled{{end}}
invalid: "Usage: /handshake [on|off]"
Versions
| Version | Published | Status |
|---|---|---|
| 2.0.0 | 10/24/2026 | active |
| 1.0.1 | 10/21/2026 | active |
| 1.0.0 | 10/12/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 2.0.0
- Published
- 10/12/2026