feat(#665): harness-internal async bash task runner (option B)

This commit is contained in:
damocles 2026-06-01 13:07:11 +02:00 committed by mara
commit 1178bb2999
5 changed files with 512 additions and 3 deletions

View file

@ -551,6 +551,7 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
S::send_to_parent(socket, failure).await;
}
tokio::spawn(hive_ag3nt::forge_notify::run(socket.to_path_buf()));
hive_ag3nt::bash_runner::spawn(socket.to_path_buf());
// Log web_ui::serve's error instead of dropping it. A bare
// `tokio::spawn(web_ui::serve(...))` discards the JoinHandle, so
// any Err (e.g. EACCES from `bind_unix` when HIVE_WEB_SOCKET points