pub struct Roles {
pub implementers: Vec<String>,
pub judges: Vec<String>,
pub reviewers: Vec<String>,
pub fixer: Option<AgentChoice>,
pub chatter: Option<AgentChoice>,
pub dupes_judge: Option<AgentChoice>,
pub conductor: Option<AgentChoice>,
pub advisors: Vec<String>,
pub synthesizer: Option<AgentChoice>,
pub language_judge: Option<AgentChoice>,
}Expand description
Explicit role assignment. Empty lists are filled in by
Config::resolve_roles by rotating the roster.
Fields§
§implementers: Vec<String>Agents that implement the task, one worktree each.
judges: Vec<String>Agents that rank the candidates blind.
reviewers: Vec<String>Agents that review the winning patch.
fixer: Option<AgentChoice>Agent that applies review findings. Defaults to the winner’s author.
Accepts one id or an ordered array of ids: a fallback chain, see
AgentChoice. The review loop, the gate-fix round, land’s fix
rounds and the rebase conflict round move to the next id when one
errors, hits its quota or answers nothing usable; each id is tried at
most once per call, and once a fallback answered, the rest of the run
starts from it (see crate::fixer). Unset keeps the winner’s author.
chatter: Option<AgentChoice>Agent that answers the standing chat’s turns (src/talk.rs).
Unset picks a claude seat, else the first runnable agent in roster
order (see crate::agent::pick) - which is roster order, not a
judgement about who converses well. Naming one here matters once an
agent is also sitting as a judge: the chat is opened far more often
than any single competition, and every open competes with that judge
seat for the same account’s concurrency. A timeout on an ordinary chat
turn traced to exactly this - opus triple-booked as chatter and judge
- is what this field exists to let an operator break apart.
Accepts one id or an ordered array of ids: a fallback chain, see
AgentChoice.
dupes_judge: Option<AgentChoice>Agent that judges duplicate-work claims in crate::dupes.
Unset inherits Self::chatter, including its default agent selection.
Accepts a string or an ordered fallback chain, like Self::chatter.
conductor: Option<AgentChoice>Agent that arranges the queue between polls: crate::conduct’s single
seat, called once per cycle to decide a runnable task’s blocked_by
and how a stalled or finished task recovers.
The same precedent as Self::chatter for a seat that stands alone
rather than rotating through the roster - resolved through
crate::agent::pick, so unset falls back to its own default order
(a claude seat, else the first runnable agent) rather than reusing a
judge or reviewer seat that the conductor’s own poll-cycle cadence
would otherwise compete with for the same account’s concurrency.
Accepts a string or a fallback chain, like Self::chatter.
advisors: Vec<String>Seats for the design-deliberation stage graph::Runner::advise runs
before implement: independent, read-only design proposals gathered
once a run has a settled task instruction and before any implementer
touches the repository.
Empty falls back to judges rather than to the whole roster: a panel
trusted to rank patches independently is exactly the panel worth
asking to sketch a design independently, and an operator who has
already thought about judge diversity gets advisor diversity for free
instead of a fourth roster to maintain.
synthesizer: Option<AgentChoice>Agent that blends Self::advisors’ proposals into the one design
brief graph::Runner::synthesize_brief carries into every
implementer’s prompt.
The same precedent as Self::chatter and Self::conductor for a
seat that stands alone rather than rotating through the roster -
resolved through crate::agent::pick, so unset falls back to its
own default order (a claude seat, else the first runnable agent in
roster order) - exactly today’s behavior, unchanged by leaving this
field out.
Accepts a string or a fallback chain, like Self::chatter.
language_judge: Option<AgentChoice>Agent (normally a kind = "command" wrapper around Jev) that decides
whether a pull request title and prose are English, for
crate::github_text’s posting gate.
Unset spawns nothing: the gate keeps its built-in heuristics. Set, a
failed, timed-out or unparsable call also falls back to them, so the
gate never depends on this seat being reachable. Accepts a string or a
fallback chain, like Self::chatter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Roles
impl<'de> Deserialize<'de> for Roles
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Forget for Roles
impl Freeze for Roles
impl Move for Roles
impl RefUnwindSafe for Roles
impl Send for Roleswhere
RawVecInner: Send,
impl Sync for Roleswhere
RawVecInner: Sync,
impl Unpin for Roles
impl UnsafeUnpin for Roleswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Roleswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more