Example 04 · Squads

A squad is a shared intent

Five agents, one leader, one objective. The highest leadership gene sets the intent; every follower receives it as ctx.order, and teamwork decides how hard it pulls. A grunt with high curiosity will still peel off — and that is the point.

squad intent: — —

Squad

The leader is the living agent with the highest leadership gene. The order is a bias, not a leash: a follower with low teamwork gets an order strength near 0.35 and can ignore it.