pub enum Kind {
ExternalMutation,
Irreversible,
PublicApi,
CrossRepo,
OpenDecision,
Reach,
Constraint,
}Variants§
ExternalMutation
Irreversible
PublicApi
CrossRepo
OpenDecision
A decision the team’s own documents leave open (“Your decision”, “Open conflict”), seeded into the
queue by borg assimilate --from-dir (assimilate_dir.rs). Never raised by a checkpoint and not a
message to anyone, so it does not use up an engineer’s budget.
Reach
Who should hear an existing lesson (reach.rs borg reach): the team, its repo, or only the
engineer. Queued by a cleanup, not a checkpoint; answering it moves the lesson, writes none.
Constraint
An invariant an engineer’s veto named (veto.rs propose), proposed as a constraint of the
collective. Queued by borg learn, not a checkpoint; only an engineer’s answer ratifies it, and
the default keeps it a lesson only.
Implementations§
Source§impl Kind
impl Kind
Sourcepub fn escalates(self) -> bool
pub fn escalates(self) -> bool
Whether the queen chose to raise it: the four kinds a checkpoint escalates (classify). The
others are proposals or gates every engineer answers whatever the queen thinks, so the queen’s
attention reward (escalation.rs) leaves them out.
Sourcepub fn proceeds(self) -> &'static str
pub fn proceeds(self) -> &'static str
The option that lets the drone’s plan go ahead: the “yes, fine” of an escalation. An external mutation’s default holds it, so its alternative is the plan; every other escalation proceeds by default. Empty for a kind that does not escalate.
pub fn label(self) -> &'static str
Trait Implementations§
impl Copy for Kind
Source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
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>,
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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<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.