Status: Experimental synthesis derived from E014 evidence.
The first ACO reference sweep exposed a genuine tradeoff:
HSR combines three ideas instead of treating ACO as a fixed router:
The biological inspiration is not only ants. Living systems often regulate growth and activity through negative feedback: when local density or resource pressure rises, inhibition increases; when pressure falls, normal growth resumes.
For worker/agent a, task j, and time t:
Score(a,j,t) = CapabilityValue(a,j)
* tau_j(t)^alpha
* [Diversity(a,j,t) * Congestion(j,t)]^lambda(t)
where:
CapabilityValue combines worker-task skill and intrinsic task value;tau_j is evidence-backed stigmergic memory;Diversity discounts correlated repeated attempts;Congestion discounts crowded work paths;lambda(t) is the adaptive regulation strength.A probabilistic selector applies a beta exponent to the score and preserves an explicit random exploration floor.
Let:
D(t) = observed duplicate-attempt rate;D_target = acceptable duplicate rate;S(t) = maximum task-selection concentration;S_target = acceptable concentration;lambda(t) = strength of ecological regulation.Update:
lambda(t+1) = clip(
lambda(t)
+ k_d * (D(t) - D_target)
+ k_s * (S(t) - S_target)
- r * (lambda(t) - lambda_min),
lambda_min,
lambda_max
)
Interpretation:
lambda rises and strongly penalizes crowded/correlated routes;lambda relaxes toward lambda_min, allowing capability exploitation to dominate;A later repository implementation can add review load explicitly:
+ k_q * (ReviewLoad(t) - Q_target)
so scarce verifier/reviewer capacity becomes part of the feedback loop.
HSR retains the ACO evidence update:
tau_j(t+1) = clip(
(1-rho) * tau_j(t)
+ VerifiedDeposit_j(t)
- Penalty_j(t),
tau_min,
tau_max
)
Only evidence-backed useful outcomes should create strong deposits.
Popularity is not evidence.
Fixed ACO asks one routing law to balance exploitation and diversity at all times. HSR instead treats the system as adaptive:
healthy capacity
-> capability exploitation dominates
crowding / reviewer pressure / correlated duplication
-> ecological regulation rises
-> effort spreads toward alternative paths
pressure falls
-> regulation relaxes
This resembles biological homeostasis and feedback control more closely than a fixed pheromone equation alone.
HSR is still only a recommendation/routing mechanism.
It must not:
sim/homeostatic_stigmergy_sim.pytests/test_homeostatic_stigmergy_sim.pyThe first synthetic comparison tests HSR against capability-only routing and fixed ACO over repeated seeds.
HSR is useful only if it moves the Pareto frontier outward relative to the simpler mechanisms—for example, approaching capability-only utility efficiency while retaining materially lower duplication/concentration and broad task coverage.
If it merely adds complexity without a reproducible Pareto improvement, reject it.
experiments/E014-aco-stigmergic-task-routing.mdexperiments/results/E014-reference-sweep.mdexperiments/results/E014-parameter-pareto.mddocs/algorithms/ACO_STIGMERGIC_TASK_ROUTING.md