huskies: merge 543_story_resume_failed_coder_agents_with_resume_instead_of_starting_fresh_sessions

This commit is contained in:
dave
2026-04-12 12:52:46 +00:00
parent c80931c15c
commit 5f01631e6a
16 changed files with 135 additions and 52 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ pub(super) async fn tool_request_qa(args: &Value, ctx: &AppContext) -> Result<St
// Start the QA agent on the story worktree
let info = ctx
.agents
.start_agent(&project_root, story_id, Some(agent_name), None)
.start_agent(&project_root, story_id, Some(agent_name), None, None)
.await?;
serde_json::to_string_pretty(&json!({
@@ -60,7 +60,7 @@ pub(super) async fn tool_approve_qa(args: &Value, ctx: &AppContext) -> Result<St
// Start the mergemaster agent
let info = ctx
.agents
.start_agent(&project_root, story_id, Some("mergemaster"), None)
.start_agent(&project_root, story_id, Some("mergemaster"), None, None)
.await?;
serde_json::to_string_pretty(&json!({
@@ -112,7 +112,7 @@ pub(super) async fn tool_reject_qa(args: &Value, ctx: &AppContext) -> Result<Str
);
if let Err(e) = ctx
.agents
.start_agent(&project_root, story_id, Some(agent_name), Some(&context))
.start_agent(&project_root, story_id, Some(agent_name), Some(&context), None)
.await
{
slog_warn!("[qa] Failed to restart coder for '{story_id}' after rejection: {e}");