huskies: merge 980
This commit is contained in:
@@ -195,6 +195,13 @@ pub(super) async fn run_agent_spawn(
|
||||
}
|
||||
};
|
||||
|
||||
// Step 1.1: Install the pre-commit quality-gate hook in the worktree.
|
||||
// Non-fatal — if installation fails the agent can still run; the failure
|
||||
// is logged so the operator can investigate.
|
||||
if let Err(e) = crate::worktree::install_pre_commit_hook(&wt_info.path) {
|
||||
slog_error!("[agents] pre-commit hook install failed for {sid}: {e}");
|
||||
}
|
||||
|
||||
// Step 1.5: Update the source map for changed files since master.
|
||||
// Non-blocking — failures are logged but do not gate the spawn.
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user