hive-c0re/hivectl/hive-agent: pause as a job-queue DAG node (closes #3056)

This commit is contained in:
damocles 2026-08-11 21:59:25 +02:00 committed by mara
commit 20a7a21053
13 changed files with 316 additions and 27 deletions

View file

@ -254,6 +254,13 @@ pub(crate) async fn dispatch_shared(
coord.clear_graceful_stop(agent);
hive_core_agent_sock::Response::Ok
}
hive_core_agent_sock::Request::PauseAcknowledged => {
// Harness saw its own pause marker flip between turns: clear
// the fence so the pause DAG's drain node (which polls this
// flag) resolves without waiting out its timeout.
coord.clear_pause_pending(agent);
hive_core_agent_sock::Response::Ok
}
hive_core_agent_sock::Request::GetHostJournal {
unit,
container,