Skip to main content

attempts

Function attempts 

Source
pub fn attempts(
    state: &RunState,
    roles: &ResolvedRoles,
    winner: &Candidate,
) -> Vec<(AgentSpec, String)>
Expand description

The agents to ask, in order, each with the seat key it sits in.

With [roles] fixer unset: the winner’s own implementer, whose conversation continues now that the competition is over (one entry, as it has always been). With a chain: the entries from the sticky agent to the end, once each, never wrapping. The chain’s first entry, when it is the winner’s own agent, sits in the winner’s seat (impl-<label>), as a lone fixer always has; every other entry - a fallback, even one that is the winner’s author - sits in the shared fix seat, which seat_for gives a fresh session (the implementation conversation is never reused by a handover).