pub enum Action {
}Variants§
Triage(Triage)
proposed → parked | ready | rejected
Refine(String)
proposed | ready → refining; the string is the operator’s refine note,
which rides the transition as a refined event (empty for the
interactive flavour, which is a conversation rather than a brief).
ConcludeRefine(RefineOutcome)
refining → proposed; the round is over, however it ended.
Start
ready | stalled → running (dispatch or redispatch, or the human starting by hand)
Ask(String)
running → needs-input; the string is the question
Resume
needs-input → running; the question was answered in the agent’s own session, so this only moves the state — no answer text is recorded, the exchange lives in the session transcript (DESIGN.md §6/§8).
Complete(Option<String>)
running | stalled → review; the optional string is the completion
summary, logged as a summary event. From stalled it reports a dead
session’s finished work on its behalf (DESIGN.md §8).
HandOff
review → waiting; hand the work off to an external party (a PR awaiting someone else’s review or merge), asking nothing of the operator (§6).
Reclaim
waiting → review; pull the work back when it is the operator’s move
again — the manual inverse of HandOff (§6).
Accept
review | waiting → done
RejectWork(String)
review | waiting → running; the string is the feedback, appended to the body
Abort
running → ready
Park
ready | stalled → parked (deliberate parking)
Unpark
parked → ready (manual unpark)
Abandon
parked | ready | needs-input | review | waiting | stalled → rejected
Implementations§
Source§impl Action
impl Action
Sourcepub fn stops_session(&self) -> bool
pub fn stops_session(&self) -> bool
Whether this transition ends the agent’s session for good — the
operator’s closing verdicts on work that is over or being called off
(DESIGN.md §8). Those are the ones after which the agent may also be
asked to retire its own registry entry for the session, through its
optional stop verb, so its listing converges on work in flight.
Deliberately narrower than “closes the session row”. A refine round’s
conclusion closes a row too, and its commonest trigger is the rewriting
agent’s own voro set --body-file — a call made from inside the session,
mid-turn, so stopping there would kill the agent that just reported. The
three verdicts here are all issued from outside the session, about work
the operator has finished with.
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.