pub const OP_BALDWIN_MERGE: &str = "clm.baldwin.merge";
pub const OP_BALDWIN_SPLIT: &str = "clm.baldwin.split";
pub const OP_CLASSIFIER_CLASSIFY: &str = "clm.classifier.classify";
pub const OP_CLASSIFIER_DETECT_DIALECT: &str = "clm.classifier.detect_dialect";
pub const OP_CORE_BALDWIN_APPLY: &str = "clm.core.baldwin_apply";
pub const OP_CORE_CPN_SIMULATE: &str = "clm.core.cpn_simulate";
pub const OP_CORE_MEMORIZE_FILE: &str = "clm.core.memorize_file";
pub const OP_CORE_META_EVAL: &str = "clm.core.meta_eval";
pub const OP_CORE_TRIDB_INIT: &str = "clm.core.tridb_init";
pub const OP_CORE_YAML_CLASSIFY: &str = "clm.core.yaml_classify";
pub const OP_CPN_COMPOSE_NETS: &str = "clm.cpn.compose_nets";
pub const OP_CPN_EXEC_POLYGLOT: &str = "clm.cpn.exec_polyglot";
pub const OP_CPN_PETRI_RUN_NET: &str = "clm.cpn.petri_run_net";
pub const OP_DB_HANDLE_DELETE_BATCH: &str = "clm.db.handle_delete_batch";
pub const OP_DB_HANDLE_REGISTER_BATCH: &str = "clm.db.handle_register_batch";
pub const OP_DB_SQL_QUERY_PARAMETERIZED: &str = "clm.db.sql_query_parameterized";
pub const OP_DISCOVERY_ENGINE_DISCOVER: &str = "clm.discovery_engine.discover";
pub const OP_DISCOVERY_ENGINE_DISCOVERY_NODE: &str = "clm.discovery_engine.discovery_node";
pub const OP_DISCOVERY_ENGINE_MDNS_DISCOVERY: &str = "clm.discovery_engine.mdns_discovery";
pub const OP_EVALUATOR_RUN_EVALUATION: &str = "clm.evaluator.run_evaluation";
pub const OP_FALLBACK_LEGACY_SHELL_ADAPTER: &str = "clm.fallback.legacy_shell_adapter";
pub const OP_FS_UTILS_GET_FILE_HANDLE: &str = "clm.fs_utils.get_file_handle";
pub const OP_HEALTH_VERSION_PROBE: &str = "clm.health.version_probe";
pub const OP_INVARIANTS_ASSESS_EQUIVALENCE: &str = "clm.invariants.assess_equivalence";
pub const OP_JSONL_JSONL_EMIT: &str = "clm.jsonl.jsonl_emit";
pub const OP_MCARD_ENCODER_FILE_TO_MCARD: &str = "clm.mcard_encoder.file_to_mcard";
pub const OP_MEMORIZE_CHECK_AND_REGISTER_FILE_MCARD: &str = "clm.memorize.check_and_register_file_mcard";
pub const OP_MEMORIZE_DIRECTORY_FS_SCAN: &str = "clm.memorize.directory_fs_scan";
pub const OP_MEMORIZE_DIRECTORY_TO_DB: &str = "clm.memorize.directory_to_db";
pub const OP_MEMORIZE_MEMORIZE_MCARD: &str = "clm.memorize.memorize_mcard";
pub const OP_NETWORK_GATEWAY_CHAT_GATEWAY: &str = "clm.network_gateway.chat_gateway";
pub const OP_NORMALIZER_NORMALIZE_SYNTAX: &str = "clm.normalizer.normalize_syntax";
pub const OP_OPERATION_ARITHMETIC: &str = "clm.operation.arithmetic";
pub const OP_OPERATION_AUGMENT: &str = "clm.operation.augment";
pub const OP_OPERATION_EXCLUDE: &str = "clm.operation.exclude";
pub const OP_OPERATION_FETCH_URL: &str = "clm.operation.fetch_url";
pub const OP_OPERATION_HANDLE_PRUNE: &str = "clm.operation.handle_prune";
pub const OP_OPERATION_HANDLE_VERSION: &str = "clm.operation.handle_version";
pub const OP_OPERATION_IDENTITY: &str = "clm.operation.identity";
pub const OP_OPERATION_INSERT: &str = "clm.operation.insert";
pub const OP_OPERATION_INVERT: &str = "clm.operation.invert";
pub const OP_OPERATION_INVOKE_LIBRARY: &str = "clm.operation.invoke_library";
pub const OP_OPERATION_LOAD_FILE: &str = "clm.operation.load_file";
pub const OP_OPERATION_LOADER: &str = "clm.operation.loader";
pub const OP_OPERATION_PORT: &str = "clm.operation.port";
pub const OP_OPERATION_POSTCONDITION_WITNESS: &str = "clm.operation.postcondition_witness";
pub const OP_OPERATION_PRECONDITION_WITNESS: &str = "clm.operation.precondition_witness";
pub const OP_OPERATION_PROVISION_GENESIS_CA: &str = "clm.operation.provision_genesis_ca";
pub const OP_OPERATION_PROVISION_GENESIS_EOA: &str = "clm.operation.provision_genesis_eoa";
pub const OP_OPERATION_SESSION_RECORD: &str = "clm.operation.session_record";
pub const OP_OPERATION_SPLIT: &str = "clm.operation.split";
pub const OP_OPERATION_STATIC_SERVER: &str = "clm.operation.static_server";
pub const OP_OPERATION_STRING_OP: &str = "clm.operation.string_op";
pub const OP_OPERATION_SUBSTITUTE: &str = "clm.operation.substitute";
pub const OP_OPERATION_TRANSFORM: &str = "clm.operation.transform";
pub const OP_OPERATION_WEBSOCKET_SERVER: &str = "clm.operation.websocket_server";
pub const OP_YAML_YAML_GET_ARRAY_ITEM: &str = "clm.yaml.yaml_get_array_item";
pub const OP_YAML_YAML_GET_ARRAY_LENGTH: &str = "clm.yaml.yaml_get_array_length";
pub const OP_YAML_YAML_GET_FIELD: &str = "clm.yaml.yaml_get_field";
pub const OP_YAML_YAML_LOAD_ONCE: &str = "clm.yaml.yaml_load_once";
pub fn op_id_for(route: &str) -> Option<&'static str> {
match route {
"clm.baldwin.merge" | "clm_rust_core::baldwin::merge" => Some(OP_BALDWIN_MERGE),
"clm.baldwin.split" | "clm_rust_core::baldwin::split" => Some(OP_BALDWIN_SPLIT),
"clm.classifier.classify" | "clm_rust_core::classifier::classify" => Some(OP_CLASSIFIER_CLASSIFY),
"clm.classifier.detect_dialect" | "clm_rust_core::classifier::detect_dialect" => Some(OP_CLASSIFIER_DETECT_DIALECT),
"clm.core.baldwin_apply" | "baldwin:apply" | "clm_rust_core::baldwin::apply" => Some(OP_CORE_BALDWIN_APPLY),
"clm.core.cpn_simulate" | "cpn:simulate" | "clm_rust_core::cpn::simulate" => Some(OP_CORE_CPN_SIMULATE),
"clm.core.memorize_file" | "memorize:file" | "clm_rust_core::file::memorize" => Some(OP_CORE_MEMORIZE_FILE),
"clm.core.meta_eval" | "meta:eval" | "clm_rust_core::meta_eval::evaluate" => Some(OP_CORE_META_EVAL),
"clm.core.tridb_init" | "tridb:init" | "clm_rust_core::db::init_tridb" => Some(OP_CORE_TRIDB_INIT),
"clm.core.yaml_classify" | "yaml:classify" | "clm_rust_core::yaml::classify" => Some(OP_CORE_YAML_CLASSIFY),
"clm.cpn.compose_nets" | "clm_rust_core::cpn::compose_nets" => Some(OP_CPN_COMPOSE_NETS),
"clm.cpn.exec_polyglot" | "clm_rust_core::cpn::exec_polyglot" => Some(OP_CPN_EXEC_POLYGLOT),
"clm.cpn.petri_run_net" | "clm_rust_core::cpn::petri_run_net" => Some(OP_CPN_PETRI_RUN_NET),
"clm.db.handle_delete_batch" | "clm_rust_core::db::handle_delete_batch" => Some(OP_DB_HANDLE_DELETE_BATCH),
"clm.db.handle_register_batch" | "clm_rust_core::db::handle_register_batch" => Some(OP_DB_HANDLE_REGISTER_BATCH),
"clm.db.sql_query_parameterized" | "clm_rust_core::db::sql_query_parameterized" => Some(OP_DB_SQL_QUERY_PARAMETERIZED),
"clm.discovery_engine.discover" | "clm_rust_core::discovery_engine::discover" => Some(OP_DISCOVERY_ENGINE_DISCOVER),
"clm.discovery_engine.discovery_node" | "clm_rust_core::discovery_engine::discovery_node" => Some(OP_DISCOVERY_ENGINE_DISCOVERY_NODE),
"clm.discovery_engine.mdns_discovery" | "clm_rust_core::discovery_engine::mdns_discovery" => Some(OP_DISCOVERY_ENGINE_MDNS_DISCOVERY),
"clm.evaluator.run_evaluation" | "clm_rust_core::evaluator::run_evaluation" => Some(OP_EVALUATOR_RUN_EVALUATION),
"clm.fallback.legacy_shell_adapter" | "fallback:shell_adapter" | "clm_rust_core::integration::shell_runner" => Some(OP_FALLBACK_LEGACY_SHELL_ADAPTER),
"clm.fs_utils.get_file_handle" | "clm_rust_core::fs_utils::get_file_handle" => Some(OP_FS_UTILS_GET_FILE_HANDLE),
"clm.health.version_probe" | "health:version" | "clm_rust_core::cli::version" => Some(OP_HEALTH_VERSION_PROBE),
"clm.invariants.assess_equivalence" | "clm_rust_core::invariants::assess_equivalence" => Some(OP_INVARIANTS_ASSESS_EQUIVALENCE),
"clm.jsonl.jsonl_emit" | "clm_rust_core::jsonl::jsonl_emit" => Some(OP_JSONL_JSONL_EMIT),
"clm.mcard_encoder.file_to_mcard" | "clm_rust_core::mcard_encoder::file_to_mcard" => Some(OP_MCARD_ENCODER_FILE_TO_MCARD),
"clm.memorize.check_and_register_file_mcard" | "clm_rust_core::memorize::check_and_register_file_mcard" => Some(OP_MEMORIZE_CHECK_AND_REGISTER_FILE_MCARD),
"clm.memorize.directory_fs_scan" | "clm_rust_core::memorize::directory_fs_scan" => Some(OP_MEMORIZE_DIRECTORY_FS_SCAN),
"clm.memorize.directory_to_db" | "clm_rust_core::memorize::directory_to_db" => Some(OP_MEMORIZE_DIRECTORY_TO_DB),
"clm.memorize.memorize_mcard" | "clm_rust_core::memorize::memorize_mcard" => Some(OP_MEMORIZE_MEMORIZE_MCARD),
"clm.network_gateway.chat_gateway" | "clm_rust_core::network_gateway::chat_gateway" => Some(OP_NETWORK_GATEWAY_CHAT_GATEWAY),
"clm.normalizer.normalize_syntax" | "clm_rust_core::normalizer::normalize_syntax" => Some(OP_NORMALIZER_NORMALIZE_SYNTAX),
"clm.operation.arithmetic" | "arithmetic" => Some(OP_OPERATION_ARITHMETIC),
"clm.operation.augment" | "augment" => Some(OP_OPERATION_AUGMENT),
"clm.operation.exclude" | "exclude" => Some(OP_OPERATION_EXCLUDE),
"clm.operation.fetch_url" | "fetch_url" => Some(OP_OPERATION_FETCH_URL),
"clm.operation.handle_prune" | "handle_prune" => Some(OP_OPERATION_HANDLE_PRUNE),
"clm.operation.handle_version" | "handle_version" => Some(OP_OPERATION_HANDLE_VERSION),
"clm.operation.identity" | "identity" => Some(OP_OPERATION_IDENTITY),
"clm.operation.insert" | "insert" => Some(OP_OPERATION_INSERT),
"clm.operation.invert" | "invert" => Some(OP_OPERATION_INVERT),
"clm.operation.invoke_library" | "invoke_library" => Some(OP_OPERATION_INVOKE_LIBRARY),
"clm.operation.load_file" | "load_file" => Some(OP_OPERATION_LOAD_FILE),
"clm.operation.loader" | "loader" | "ingest_files" | "load_files" => Some(OP_OPERATION_LOADER),
"clm.operation.port" | "port" => Some(OP_OPERATION_PORT),
"clm.operation.postcondition_witness" | "postcondition_witness" => Some(OP_OPERATION_POSTCONDITION_WITNESS),
"clm.operation.precondition_witness" | "precondition_witness" => Some(OP_OPERATION_PRECONDITION_WITNESS),
"clm.operation.provision_genesis_ca" | "provision_genesis_ca" => Some(OP_OPERATION_PROVISION_GENESIS_CA),
"clm.operation.provision_genesis_eoa" | "provision_genesis_eoa" => Some(OP_OPERATION_PROVISION_GENESIS_EOA),
"clm.operation.session_record" | "session_record" => Some(OP_OPERATION_SESSION_RECORD),
"clm.operation.split" | "split" => Some(OP_OPERATION_SPLIT),
"clm.operation.static_server" | "static_server" => Some(OP_OPERATION_STATIC_SERVER),
"clm.operation.string_op" | "string_op" => Some(OP_OPERATION_STRING_OP),
"clm.operation.substitute" | "substitute" => Some(OP_OPERATION_SUBSTITUTE),
"clm.operation.transform" | "transform" => Some(OP_OPERATION_TRANSFORM),
"clm.operation.websocket_server" | "websocket_server" => Some(OP_OPERATION_WEBSOCKET_SERVER),
"clm.yaml.yaml_get_array_item" | "clm_rust_core::yaml::yaml_get_array_item" => Some(OP_YAML_YAML_GET_ARRAY_ITEM),
"clm.yaml.yaml_get_array_length" | "clm_rust_core::yaml::yaml_get_array_length" => Some(OP_YAML_YAML_GET_ARRAY_LENGTH),
"clm.yaml.yaml_get_field" | "clm_rust_core::yaml::yaml_get_field" => Some(OP_YAML_YAML_GET_FIELD),
"clm.yaml.yaml_load_once" | "clm_rust_core::yaml::yaml_load_once" => Some(OP_YAML_YAML_LOAD_ONCE),
_ => None,
}
}