doc: use ctl kill instead of rm -r for session teardown

rm -r is blocked by sandbox patterns. echo kill > s/{id}/ctl
achieves the same result safely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-14 23:15:42 +02:00
parent 569e2918b9
commit 92ba860644
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Use this to discover other sessions for cooperation. Sessions sharing your `cwd`
**Session lifecycle:**
- Create: write a key=value string to `{{.OllieMountPath}}/s/new`
- Kill: `rm -r {{.OllieMountPath}}/s/{id}`
- Kill: write `kill` to `{{.OllieMountPath}}/s/{id}/ctl` (do not use `rm -r`)
- Rename: `mv {{.OllieMountPath}}/s/{id} {{.OllieMountPath}}/s/{newname}` — this also updates `$OLLIE_SESSION_ID` in the session environment
**`ctl` commands** (write to `{{.OllieMountPath}}/s/{id}/ctl`):