Watch
0
0
Fork
You've already forked hyperhive
0

subagent: default cwd to the work dir only when it exists

A spawn into a missing cwd fails with a bare ENOENT; a daemon newer than its
container's bind now inherits its own cwd again, as before the work-dir default.
This commit is contained in:
atlas 2026-10-15 23:02:58 +02:00 • committed by mara
commit 8c0a552792
5 changed files with 49 additions and 12 deletions

View file

@ -76,7 +76,7 @@ claude the bare name — see below.
Because the remembered directory goes with the rest of it, a `continue`
after a restart has to re-supply `dir` when the session lives anywhere
other than the agent's work dir (the default) — and a restart is the
other than the agent's work dir (the default when it exists) — and a restart is the
situation you reach for `continue` in most often.
## Roles