agents: raise in-flight exclusion threshold from 0.15 to 0.3

The lower threshold excluded too many neighbors, causing "query
returned no results (after exclusion)" failures and underloading
the GPU. Now only moderately-connected neighbors (score > 0.3) are
excluded, balancing collision prevention with GPU utilization.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kent Overstreet 2026-03-20 16:29:20 -04:00
parent 0c687ae7a4
commit 3b30a6abae

View file

@ -142,7 +142,7 @@ fn job_consolidation_agent(
for (nbr, strength) in graph.neighbors(key) { for (nbr, strength) in graph.neighbors(key) {
let weight = store.nodes.get(nbr.as_str()) let weight = store.nodes.get(nbr.as_str())
.map(|n| n.weight).unwrap_or(0.1); .map(|n| n.weight).unwrap_or(0.1);
if strength * weight > 0.15 { if strength * weight > 0.3 {
claimed_keys.push(nbr.clone()); claimed_keys.push(nbr.clone());
locked.insert(nbr.clone()); locked.insert(nbr.clone());
} }