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:
parent
db8f144a11
commit
043c9445f6
7 changed files with 32 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue