huskies: merge 871

This commit is contained in:
dave
2026-04-29 15:40:03 +00:00
parent 2655288412
commit 7f8467b068
4 changed files with 127 additions and 1 deletions
@@ -120,6 +120,10 @@ pub async fn handle_assign(
return format!("Failed to assign model to **{story_name}**: {e}");
}
// Mirror the assignment into the CRDT register so the in-memory pipeline
// state stays consistent with the front-matter.
crate::crdt_state::set_agent(&story_id, Some(&agent_name));
// Check whether a coder is already running on this story.
let running_coders: Vec<_> = agents
.list_agents()