pub enum DoctorCommand {
CheckIntegrity(CheckIntegrityArgs),
SafeExport(SafeExportArgs),
VerifyEmbedder(VerifyEmbedderArgs),
Trace(TraceArgs),
DumpSchema(SimpleDoctorArgs),
DumpRowCounts(SimpleDoctorArgs),
DumpProfile(SimpleDoctorArgs),
WarmCache(WarmCacheArgs),
RecomputeMean(SimpleDoctorArgs),
DumpMutations(DumpMutationsArgs),
OrphanProvenance(SimpleDoctorArgs),
}Expand description
Doctor verb table per dev/interfaces/cli.md § Doctor verbs.
Variants§
CheckIntegrity(CheckIntegrityArgs)
Run a structural integrity check against the database.
SafeExport(SafeExportArgs)
Materialize a safe export of the database.
VerifyEmbedder(VerifyEmbedderArgs)
Verify the embedder identity recorded in the database.
Trace(TraceArgs)
Trace the resolution chain for a given source reference.
DumpSchema(SimpleDoctorArgs)
Dump the canonical schema definition.
DumpRowCounts(SimpleDoctorArgs)
Dump per-table row counts.
DumpProfile(SimpleDoctorArgs)
Dump the response-cycle profile recorded by the engine.
WarmCache(WarmCacheArgs)
EU-5b — fetch and verify the pinned default embedder weights so the
next Engine::open with EmbedderChoice::Default runs against a
warm cache without touching the network.
RecomputeMean(SimpleDoctorArgs)
0.7.2 PR-2b — re-derive and re-pin the corpus mean from the current vectors, re-quantizing every row in one transaction. Always allowed (exempt from the automatic-path 200k cap).
DumpMutations(DumpMutationsArgs)
Slice 34 (F4-READ / reserved-gap-34) — read back op-store
(operational_mutations) rows for one append_only_log collection
over the existing Engine::read_mutations seam. A read-only operator
diagnostic over the mutation log (the dump-* family, per
ADR-0.6.0-cli-scope), NOT the rejected search/get/list
application query surface. CLI-only; no SDK parity.
OrphanProvenance(SimpleDoctorArgs)
0.8.20 Slice 5d (R-20-E8) — read-only per-source_id census over the
canonical tables. Reports which provenance buckets exist and, load-
bearingly, how many rows are reachable by NO erasure verb (neither a
source_id for erase_source nor a logical_id for purge). A
non-zero un-erasable count exits DOCTOR_FOUND_ISSUES (65).
CLI-only; no SDK parity.
Trait Implementations§
Source§impl Debug for DoctorCommand
impl Debug for DoctorCommand
Source§impl FromArgMatches for DoctorCommand
impl FromArgMatches for DoctorCommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for DoctorCommand
impl Subcommand for DoctorCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand