pub enum Pass {
Reinforce,
Digest,
Prune,
Skills,
}Expand description
A unit of upkeep.
Variants§
Reinforce
Co-citation stapling + query-route rebuilding (brain reinforce).
Digest
Rebuild the repo digest so the next warm start is current.
Prune
Report memories that have earned pruning. Never destructive here — it surfaces candidates; retiring one stays a human decision.
Skills
Detect memories that have been cited enough to become skills.
Implementations§
Source§impl Pass
impl Pass
pub const ALL: [Pass; 4]
pub fn as_str(self) -> &'static str
Sourcepub fn interval_secs(self) -> u64
pub fn interval_secs(self) -> u64
How long before this pass is worth running again.
These are deliberately long. Upkeep that runs constantly is a background CPU cost the user did not ask for; the passes here converge on evidence that accumulates over days, not minutes.
Trait Implementations§
impl Copy for Pass
impl Eq for Pass
Source§impl Ord for Pass
impl Ord for Pass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Pass
impl PartialOrd for Pass
impl StructuralPartialEq for Pass
Auto Trait Implementations§
impl Freeze for Pass
impl RefUnwindSafe for Pass
impl Send for Pass
impl Sync for Pass
impl Unpin for Pass
impl UnsafeUnpin for Pass
impl UnwindSafe for Pass
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
Mutably borrows from an owned value. Read more