fix(#2628): forge_notify falls back to default_agent_socket when hive_agent_socket unset (argus review)
This commit is contained in:
parent
a1352376d8
commit
7be37f388e
1 changed files with 4 additions and 2 deletions
|
|
@ -425,8 +425,10 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
|
|||
// socket (loose-ends v2), not direct wakes — so it dials
|
||||
// `HIVE_AGENT_SOCKET`, not the host mcp.sock.
|
||||
tokio::spawn(crate::forge_notify::run(
|
||||
std::env::var_os("HIVE_AGENT_SOCKET")
|
||||
.map_or_else(std::path::PathBuf::new, std::path::PathBuf::from),
|
||||
std::env::var_os("HIVE_AGENT_SOCKET").map_or_else(
|
||||
|| std::path::PathBuf::from(hive_agent_sock::DEFAULT_AGENT_SOCKET),
|
||||
std::path::PathBuf::from,
|
||||
),
|
||||
));
|
||||
// Agent-side cleanup of this agent's own harness artifacts (completed
|
||||
// bash-task files + verbose event rows). Runs here, not host-side in
|
||||
|
|
|
|||
Loading…
Reference in a new issue