huskies: merge 986

This commit is contained in:
dave
2026-05-13 15:57:24 +00:00
parent 91fbad568a
commit 430079ecbc
13 changed files with 377 additions and 81 deletions
@@ -56,10 +56,10 @@ impl AgentPool {
let path = worktree_path.clone();
// Run gate checks in a blocking thread to avoid stalling the async runtime.
let (gates_passed, gate_output) = tokio::task::spawn_blocking(move || {
let outcome = tokio::task::spawn_blocking(move || {
// Step 1: Reject if worktree is dirty.
crate::agents::gates::check_uncommitted_changes(&path)?;
// Step 2: Run clippy + tests and return (passed, output).
// Step 2: Run acceptance gates and return a typed GateOutcome.
crate::agents::gates::run_acceptance_gates(&path)
})
.await
@@ -67,8 +67,8 @@ impl AgentPool {
let report = CompletionReport {
summary: summary.to_string(),
gates_passed,
gate_output,
gates_passed: outcome.passed,
gate_output: outcome.output,
needs_commit_recovery: false,
};