docs: record explicit host ssh cwd failure

This commit is contained in:
Codex
2026-06-29 07:26:34 +00:00
parent 3cea6d96b7
commit fe917bec4a
3 changed files with 4 additions and 2 deletions
@@ -28,7 +28,7 @@ trans D601:/home/ubuntu/workspace/unidesk-dev sh <<'SH'
SH
```
**规则**: workspace 路径写在 route 第一个 token,不写进 `cd` 串。反面示例:~~`trans G14 sh -- 'cd /root/hwlab && git status'`~~
**规则**: workspace 路径写在 route 第一个 token,不写进 `cd` 串。显式 host workspace 进入失败必须返回 `UNIDESK_SSH_CWD_FAILED` 和非零退出,不得静默落回默认目录;provider-gateway 侧完整语义见 `docs/reference/provider-gateway.md`反面示例:~~`trans G14 sh -- 'cd /root/hwlab && git status'`~~
### k3s route