Watch
0
0
Fork
You've already forked hyperhive
0

Point agents at /agents/<name>/work and default subagents to it

The system prompt now names the work dir for worktrees, clones and build
trees, and keeps state/ for notes. A subagent started without a dir runs
in the agent's work dir instead of the daemon's own cwd.
This commit is contained in:
atlas 2026-10-15 21:18:05 +02:00 • committed by mara
commit 043c9445f6
7 changed files with 32 additions and 12 deletions

View file

@ -36,6 +36,8 @@ other producer. `continue` takes the extra moment to confirm the resume
actually attached, so a `continue` naming a session that isn't there
fails the tool call outright instead of looking like it worked; the error
says which directory it searched, which is usually the fix (pass `dir`).
`dir` defaults to your work dir, `/agents/<you>/work`, which has no
`CLAUDE.md` above it, so a subagent started there does not load yours.
Use `status` for a
zero-cost "is it still going" check — for a running subagent it also
reports how long since that turn last produced output, so a few seconds