mod commands;
mod config_resolution;
mod output;
mod startup_gates;
mod storage_auto_heal;
mod storage_paths;
pub(crate) use commands::{
StorageMaintenanceCommand, report_storage_failure, run_adopt_command_with_output,
run_context_summary_command, run_hash_command, run_index_command_with_output,
run_pretooluse_hook_command, run_storage_init_command_with_output,
run_storage_maintenance_command_with_output,
};
pub(crate) use config_resolution::{
resolve_command_config, resolve_startup_config, resolve_watch_runtime_config,
};
pub(crate) use output::{
CliOutput, OutputField, OutputLevel, emit_index_plan_events, emit_index_progress_event,
error_was_reported, field, format_output_event_line, reported_error, reported_io_error,
};
pub(crate) use startup_gates::{
run_semantic_runtime_startup_gate_with_output,
run_semantic_runtime_startup_gate_with_stderr_prepare_output,
run_strict_startup_vector_readiness_gate_with_output,
};
#[cfg(test)]
pub(crate) use commands::{
run_index_command, run_storage_init_command, run_storage_maintenance_command,
};
#[cfg(test)]
pub(crate) use config_resolution::{resolve_semantic_runtime_config, resolve_watch_config};
#[cfg(test)]
pub(crate) use startup_gates::{
run_semantic_runtime_startup_gate_with_credentials, run_strict_startup_vector_readiness_gate,
};
#[cfg(test)]
pub(crate) use storage_paths::{
ensure_storage_db_path_for_write, find_enclosing_git_root, resolve_storage_db_path,
};