agents: define the work dir name once and test its creation
This commit is contained in:
parent
8e0597d41d
commit
6ff348d88b
5 changed files with 18 additions and 3 deletions
|
|
@ -1135,7 +1135,7 @@ impl Coordinator {
|
|||
/// destroy/recreate. A sibling of `state/` rather than inside it, so a
|
||||
/// claude started under `work/` never walks up into `state/CLAUDE.md`.
|
||||
pub fn agent_work_dir(name: &hive_types::Ident) -> PathBuf {
|
||||
crate::paths::agent_state_dir(name).join("work")
|
||||
crate::paths::agent_state_dir(name).join(crate::paths::WORK_SUBDIR)
|
||||
}
|
||||
|
||||
/// Per-agent harness-internal state dir. Bind-mounted RW into the
|
||||
|
|
|
|||
Loading…
Reference in a new issue