pub struct CuratorArgs {
pub once: bool,
pub daemon: bool,
pub interval_secs: u64,
pub max_ops: usize,
pub dry_run: bool,
pub include_namespaces: Vec<String>,
pub exclude_namespaces: Vec<String>,
pub json: bool,
pub rollback: Option<String>,
pub rollback_last: Option<usize>,
}Fields§
§once: boolRun exactly one sweep and exit. Mutually exclusive with –daemon.
daemon: boolLoop forever, sleeping –interval-secs between sweeps. SIGINT / SIGTERM trigger a clean shutdown between cycles.
interval_secs: u64Seconds between daemon sweeps. Clamped to [60, 86400].
max_ops: usizeHard cap on LLM-invoking operations per cycle.
dry_run: boolEmit the report without persisting any metadata changes.
include_namespaces: Vec<String>Only curate memories in these namespaces. Repeat flag for multiple.
exclude_namespaces: Vec<String>Exclude these namespaces from curation. Repeat flag for multiple.
json: boolPrint the report as JSON rather than a human-readable summary.
rollback: Option<String>Reverse rollback-log entries instead of running a sweep. Accepts
a specific rollback-memory id, or --last N for the most recent.
Mutually exclusive with --once and --daemon.
rollback_last: Option<usize>With --rollback, reverse the N most recent rollback-log entries
instead of a single id.
Trait Implementations§
Source§impl Args for CuratorArgs
impl Args for CuratorArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for CuratorArgs
impl FromArgMatches for CuratorArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CuratorArgs
impl RefUnwindSafe for CuratorArgs
impl Send for CuratorArgs
impl Sync for CuratorArgs
impl Unpin for CuratorArgs
impl UnsafeUnpin for CuratorArgs
impl UnwindSafe for CuratorArgs
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> 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