test(tui): cover _terminal_task_cwd remote-backend branches

Adds regression tests for the SSH cwd fix: local backend keeps
host-validated session cwd; non-local backend uses TERMINAL_CWD (or
terminal.cwd config) verbatim without host isdir() validation; sentinel
values fall back to session cwd.
This commit is contained in:
teknium1 2026-06-06 18:27:01 -07:00 committed by Teknium
parent 0e0d704f2d
commit f9ea4927f2
2 changed files with 44 additions and 0 deletions

View file

@ -1210,6 +1210,7 @@ AUTHOR_MAP = {
"teknium@hermes-agent": "teknium1",
"web3blind@gmail.com": "web3blind",
"ztzheng@163.com": "chengoak", # PR #17467
"zwcf5200@163.com": "zwcf5200", # PR #38661 (SSH remote cwd fix)
"24110240104@m.fudan.edu.cn": "YuShu", # co-author only
"charliekerfoot@gmail.com": "CharlieKerfoot", # PR #18951
# Debug share upload-time redaction (May 2026)