clm-kernel 0.0.24

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
// @generated by tools/types/sync_dispatch_catalog.py from types/lattice/dispatch_catalog.json
// DO NOT EDIT MANUALLY — run `python3 tools/types/sync_dispatch_catalog.py --write`
// Normative Invariant: INV-600, INV-628 (dispatch is keyed by canonical catalog ids)
//! Canonical dispatch catalog ids: production registries match these, never module paths.

/// `clm.baldwin.merge`
pub const OP_BALDWIN_MERGE: &str = "clm.baldwin.merge";
/// `clm.baldwin.split`
pub const OP_BALDWIN_SPLIT: &str = "clm.baldwin.split";
/// `clm.cel.call`
pub const OP_CEL_CALL: &str = "clm.cel.call";
/// `clm.cel.callable_check`
pub const OP_CEL_CALLABLE_CHECK: &str = "clm.cel.callable_check";
/// `clm.cel.capture_output`
pub const OP_CEL_CAPTURE_OUTPUT: &str = "clm.cel.capture_output";
/// `clm.cel.card_create`
pub const OP_CEL_CARD_CREATE: &str = "clm.cel.card_create";
/// `clm.cel.card_load`
pub const OP_CEL_CARD_LOAD: &str = "clm.cel.card_load";
/// `clm.cel.card_save`
pub const OP_CEL_CARD_SAVE: &str = "clm.cel.card_save";
/// `clm.cel.compare`
pub const OP_CEL_COMPARE: &str = "clm.cel.compare";
/// `clm.cel.contains`
pub const OP_CEL_CONTAINS: &str = "clm.cel.contains";
/// `clm.cel.copy_file`
pub const OP_CEL_COPY_FILE: &str = "clm.cel.copy_file";
/// `clm.cel.db_query`
pub const OP_CEL_DB_QUERY: &str = "clm.cel.db_query";
/// `clm.cel.dict_get`
pub const OP_CEL_DICT_GET: &str = "clm.cel.dict_get";
/// `clm.cel.handle_get_history`
pub const OP_CEL_HANDLE_GET_HISTORY: &str = "clm.cel.handle_get_history";
/// `clm.cel.handle_resolve`
pub const OP_CEL_HANDLE_RESOLVE: &str = "clm.cel.handle_resolve";
/// `clm.cel.index`
pub const OP_CEL_INDEX: &str = "clm.cel.index";
/// `clm.cel.int_cast`
pub const OP_CEL_INT_CAST: &str = "clm.cel.int_cast";
/// `clm.cel.json_parse`
pub const OP_CEL_JSON_PARSE: &str = "clm.cel.json_parse";
/// `clm.cel.len`
pub const OP_CEL_LEN: &str = "clm.cel.len";
/// `clm.cel.make_mcard_content`
pub const OP_CEL_MAKE_MCARD_CONTENT: &str = "clm.cel.make_mcard_content";
/// `clm.cel.not_null`
pub const OP_CEL_NOT_NULL: &str = "clm.cel.not_null";
/// `clm.cel.or_fallback`
pub const OP_CEL_OR_FALLBACK: &str = "clm.cel.or_fallback";
/// `clm.cel.path_basename`
pub const OP_CEL_PATH_BASENAME: &str = "clm.cel.path_basename";
/// `clm.cel.path_join`
pub const OP_CEL_PATH_JOIN: &str = "clm.cel.path_join";
/// `clm.cel.read_file`
pub const OP_CEL_READ_FILE: &str = "clm.cel.read_file";
/// `clm.cel.replace`
pub const OP_CEL_REPLACE: &str = "clm.cel.replace";
/// `clm.cel.retrieve`
pub const OP_CEL_RETRIEVE: &str = "clm.cel.retrieve";
/// `clm.cel.run_test_suite`
pub const OP_CEL_RUN_TEST_SUITE: &str = "clm.cel.run_test_suite";
/// `clm.cel.sequence`
pub const OP_CEL_SEQUENCE: &str = "clm.cel.sequence";
/// `clm.cel.set_env`
pub const OP_CEL_SET_ENV: &str = "clm.cel.set_env";
/// `clm.cel.sleep`
pub const OP_CEL_SLEEP: &str = "clm.cel.sleep";
/// `clm.cel.store`
pub const OP_CEL_STORE: &str = "clm.cel.store";
/// `clm.cel.string_concat`
pub const OP_CEL_STRING_CONCAT: &str = "clm.cel.string_concat";
/// `clm.cel.string_join`
pub const OP_CEL_STRING_JOIN: &str = "clm.cel.string_join";
/// `clm.cel.unset_env`
pub const OP_CEL_UNSET_ENV: &str = "clm.cel.unset_env";
/// `clm.cel.value_ref`
pub const OP_CEL_VALUE_REF: &str = "clm.cel.value_ref";
/// `clm.cel.write_file`
pub const OP_CEL_WRITE_FILE: &str = "clm.cel.write_file";
/// `clm.classifier.classify`
pub const OP_CLASSIFIER_CLASSIFY: &str = "clm.classifier.classify";
/// `clm.classifier.detect_dialect`
pub const OP_CLASSIFIER_DETECT_DIALECT: &str = "clm.classifier.detect_dialect";
/// `clm.core.baldwin_apply`
pub const OP_CORE_BALDWIN_APPLY: &str = "clm.core.baldwin_apply";
/// `clm.core.cpn_simulate`
pub const OP_CORE_CPN_SIMULATE: &str = "clm.core.cpn_simulate";
/// `clm.core.memorize_file`
pub const OP_CORE_MEMORIZE_FILE: &str = "clm.core.memorize_file";
/// `clm.core.meta_eval`
pub const OP_CORE_META_EVAL: &str = "clm.core.meta_eval";
/// `clm.core.tridb_init`
pub const OP_CORE_TRIDB_INIT: &str = "clm.core.tridb_init";
/// `clm.core.yaml_classify`
pub const OP_CORE_YAML_CLASSIFY: &str = "clm.core.yaml_classify";
/// `clm.cpn.compose_nets`
pub const OP_CPN_COMPOSE_NETS: &str = "clm.cpn.compose_nets";
/// `clm.cpn.exec_polyglot`
pub const OP_CPN_EXEC_POLYGLOT: &str = "clm.cpn.exec_polyglot";
/// `clm.cpn.petri_run_net`
pub const OP_CPN_PETRI_RUN_NET: &str = "clm.cpn.petri_run_net";
/// `clm.db.handle_delete_batch`
pub const OP_DB_HANDLE_DELETE_BATCH: &str = "clm.db.handle_delete_batch";
/// `clm.db.handle_register_batch`
pub const OP_DB_HANDLE_REGISTER_BATCH: &str = "clm.db.handle_register_batch";
/// `clm.db.sql_query_parameterized`
pub const OP_DB_SQL_QUERY_PARAMETERIZED: &str = "clm.db.sql_query_parameterized";
/// `clm.discovery_engine.discover`
pub const OP_DISCOVERY_ENGINE_DISCOVER: &str = "clm.discovery_engine.discover";
/// `clm.discovery_engine.discovery_node`
pub const OP_DISCOVERY_ENGINE_DISCOVERY_NODE: &str = "clm.discovery_engine.discovery_node";
/// `clm.discovery_engine.mdns_discovery`
pub const OP_DISCOVERY_ENGINE_MDNS_DISCOVERY: &str = "clm.discovery_engine.mdns_discovery";
/// `clm.evaluator.run_evaluation`
pub const OP_EVALUATOR_RUN_EVALUATION: &str = "clm.evaluator.run_evaluation";
/// `clm.fallback.legacy_shell_adapter`
pub const OP_FALLBACK_LEGACY_SHELL_ADAPTER: &str = "clm.fallback.legacy_shell_adapter";
/// `clm.fs_utils.get_file_handle`
pub const OP_FS_UTILS_GET_FILE_HANDLE: &str = "clm.fs_utils.get_file_handle";
/// `clm.health.version_probe`
pub const OP_HEALTH_VERSION_PROBE: &str = "clm.health.version_probe";
/// `clm.invariants.assess_equivalence`
pub const OP_INVARIANTS_ASSESS_EQUIVALENCE: &str = "clm.invariants.assess_equivalence";
/// `clm.jsonl.jsonl_emit`
pub const OP_JSONL_JSONL_EMIT: &str = "clm.jsonl.jsonl_emit";
/// `clm.mcard_encoder.file_to_mcard`
pub const OP_MCARD_ENCODER_FILE_TO_MCARD: &str = "clm.mcard_encoder.file_to_mcard";
/// `clm.memorize.check_and_register_file_mcard`
pub const OP_MEMORIZE_CHECK_AND_REGISTER_FILE_MCARD: &str = "clm.memorize.check_and_register_file_mcard";
/// `clm.memorize.directory_fs_scan`
pub const OP_MEMORIZE_DIRECTORY_FS_SCAN: &str = "clm.memorize.directory_fs_scan";
/// `clm.memorize.directory_to_db`
pub const OP_MEMORIZE_DIRECTORY_TO_DB: &str = "clm.memorize.directory_to_db";
/// `clm.memorize.memorize_mcard`
pub const OP_MEMORIZE_MEMORIZE_MCARD: &str = "clm.memorize.memorize_mcard";
/// `clm.network_gateway.chat_gateway`
pub const OP_NETWORK_GATEWAY_CHAT_GATEWAY: &str = "clm.network_gateway.chat_gateway";
/// `clm.normalizer.normalize_syntax`
pub const OP_NORMALIZER_NORMALIZE_SYNTAX: &str = "clm.normalizer.normalize_syntax";
/// `clm.operation.arithmetic`
pub const OP_OPERATION_ARITHMETIC: &str = "clm.operation.arithmetic";
/// `clm.operation.augment`
pub const OP_OPERATION_AUGMENT: &str = "clm.operation.augment";
/// `clm.operation.exclude`
pub const OP_OPERATION_EXCLUDE: &str = "clm.operation.exclude";
/// `clm.operation.fetch_url`
pub const OP_OPERATION_FETCH_URL: &str = "clm.operation.fetch_url";
/// `clm.operation.handle_prune`
pub const OP_OPERATION_HANDLE_PRUNE: &str = "clm.operation.handle_prune";
/// `clm.operation.handle_version`
pub const OP_OPERATION_HANDLE_VERSION: &str = "clm.operation.handle_version";
/// `clm.operation.identity`
pub const OP_OPERATION_IDENTITY: &str = "clm.operation.identity";
/// `clm.operation.insert`
pub const OP_OPERATION_INSERT: &str = "clm.operation.insert";
/// `clm.operation.invert`
pub const OP_OPERATION_INVERT: &str = "clm.operation.invert";
/// `clm.operation.invoke_library`
pub const OP_OPERATION_INVOKE_LIBRARY: &str = "clm.operation.invoke_library";
/// `clm.operation.load_file`
pub const OP_OPERATION_LOAD_FILE: &str = "clm.operation.load_file";
/// `clm.operation.loader`
pub const OP_OPERATION_LOADER: &str = "clm.operation.loader";
/// `clm.operation.port`
pub const OP_OPERATION_PORT: &str = "clm.operation.port";
/// `clm.operation.postcondition_witness`
pub const OP_OPERATION_POSTCONDITION_WITNESS: &str = "clm.operation.postcondition_witness";
/// `clm.operation.precondition_witness`
pub const OP_OPERATION_PRECONDITION_WITNESS: &str = "clm.operation.precondition_witness";
/// `clm.operation.provision_genesis_ca`
pub const OP_OPERATION_PROVISION_GENESIS_CA: &str = "clm.operation.provision_genesis_ca";
/// `clm.operation.provision_genesis_eoa`
pub const OP_OPERATION_PROVISION_GENESIS_EOA: &str = "clm.operation.provision_genesis_eoa";
/// `clm.operation.session_record`
pub const OP_OPERATION_SESSION_RECORD: &str = "clm.operation.session_record";
/// `clm.operation.split`
pub const OP_OPERATION_SPLIT: &str = "clm.operation.split";
/// `clm.operation.static_server`
pub const OP_OPERATION_STATIC_SERVER: &str = "clm.operation.static_server";
/// `clm.operation.string_op`
pub const OP_OPERATION_STRING_OP: &str = "clm.operation.string_op";
/// `clm.operation.substitute`
pub const OP_OPERATION_SUBSTITUTE: &str = "clm.operation.substitute";
/// `clm.operation.transform`
pub const OP_OPERATION_TRANSFORM: &str = "clm.operation.transform";
/// `clm.operation.websocket_server`
pub const OP_OPERATION_WEBSOCKET_SERVER: &str = "clm.operation.websocket_server";
/// `clm.operator.document.augment`
pub const OP_OPERATOR_DOCUMENT_AUGMENT: &str = "clm.operator.document.augment";
/// `clm.operator.document.exclude`
pub const OP_OPERATOR_DOCUMENT_EXCLUDE: &str = "clm.operator.document.exclude";
/// `clm.operator.document.invert`
pub const OP_OPERATOR_DOCUMENT_INVERT: &str = "clm.operator.document.invert";
/// `clm.operator.document.port`
pub const OP_OPERATOR_DOCUMENT_PORT: &str = "clm.operator.document.port";
/// `clm.operator.document.split`
pub const OP_OPERATOR_DOCUMENT_SPLIT: &str = "clm.operator.document.split";
/// `clm.operator.document.substitute`
pub const OP_OPERATOR_DOCUMENT_SUBSTITUTE: &str = "clm.operator.document.substitute";
/// `clm.operator.media.augment`
pub const OP_OPERATOR_MEDIA_AUGMENT: &str = "clm.operator.media.augment";
/// `clm.operator.media.exclude`
pub const OP_OPERATOR_MEDIA_EXCLUDE: &str = "clm.operator.media.exclude";
/// `clm.operator.media.invert`
pub const OP_OPERATOR_MEDIA_INVERT: &str = "clm.operator.media.invert";
/// `clm.operator.media.port`
pub const OP_OPERATOR_MEDIA_PORT: &str = "clm.operator.media.port";
/// `clm.operator.media.split`
pub const OP_OPERATOR_MEDIA_SPLIT: &str = "clm.operator.media.split";
/// `clm.operator.media.substitute`
pub const OP_OPERATOR_MEDIA_SUBSTITUTE: &str = "clm.operator.media.substitute";
/// `clm.operator.structured.augment`
pub const OP_OPERATOR_STRUCTURED_AUGMENT: &str = "clm.operator.structured.augment";
/// `clm.operator.structured.exclude`
pub const OP_OPERATOR_STRUCTURED_EXCLUDE: &str = "clm.operator.structured.exclude";
/// `clm.operator.structured.invert`
pub const OP_OPERATOR_STRUCTURED_INVERT: &str = "clm.operator.structured.invert";
/// `clm.operator.structured.port`
pub const OP_OPERATOR_STRUCTURED_PORT: &str = "clm.operator.structured.port";
/// `clm.operator.structured.split`
pub const OP_OPERATOR_STRUCTURED_SPLIT: &str = "clm.operator.structured.split";
/// `clm.operator.structured.substitute`
pub const OP_OPERATOR_STRUCTURED_SUBSTITUTE: &str = "clm.operator.structured.substitute";
/// `clm.operator.tabular.augment`
pub const OP_OPERATOR_TABULAR_AUGMENT: &str = "clm.operator.tabular.augment";
/// `clm.operator.tabular.exclude`
pub const OP_OPERATOR_TABULAR_EXCLUDE: &str = "clm.operator.tabular.exclude";
/// `clm.operator.tabular.invert`
pub const OP_OPERATOR_TABULAR_INVERT: &str = "clm.operator.tabular.invert";
/// `clm.operator.tabular.port`
pub const OP_OPERATOR_TABULAR_PORT: &str = "clm.operator.tabular.port";
/// `clm.operator.tabular.split`
pub const OP_OPERATOR_TABULAR_SPLIT: &str = "clm.operator.tabular.split";
/// `clm.operator.tabular.substitute`
pub const OP_OPERATOR_TABULAR_SUBSTITUTE: &str = "clm.operator.tabular.substitute";
/// `clm.yaml.yaml_get_array_item`
pub const OP_YAML_YAML_GET_ARRAY_ITEM: &str = "clm.yaml.yaml_get_array_item";
/// `clm.yaml.yaml_get_array_length`
pub const OP_YAML_YAML_GET_ARRAY_LENGTH: &str = "clm.yaml.yaml_get_array_length";
/// `clm.yaml.yaml_get_field`
pub const OP_YAML_YAML_GET_FIELD: &str = "clm.yaml.yaml_get_field";
/// `clm.yaml.yaml_load_once`
pub const OP_YAML_YAML_LOAD_ONCE: &str = "clm.yaml.yaml_load_once";

const ROUTES: &[(&str, &str)] = &[
    ("arithmetic", OP_OPERATION_ARITHMETIC), ("augment", OP_OPERATION_AUGMENT), ("baldwin:apply", OP_CORE_BALDWIN_APPLY), ("call", OP_CEL_CALL),
    ("callable_check", OP_CEL_CALLABLE_CHECK), ("capture_output", OP_CEL_CAPTURE_OUTPUT), ("card:create", OP_CEL_CARD_CREATE), ("card:load", OP_CEL_CARD_LOAD),
    ("card:save", OP_CEL_CARD_SAVE), ("clm.baldwin.merge", OP_BALDWIN_MERGE), ("clm.baldwin.split", OP_BALDWIN_SPLIT), ("clm.cel.call", OP_CEL_CALL),
    ("clm.cel.callable_check", OP_CEL_CALLABLE_CHECK), ("clm.cel.capture_output", OP_CEL_CAPTURE_OUTPUT), ("clm.cel.card_create", OP_CEL_CARD_CREATE), ("clm.cel.card_load", OP_CEL_CARD_LOAD),
    ("clm.cel.card_save", OP_CEL_CARD_SAVE), ("clm.cel.compare", OP_CEL_COMPARE), ("clm.cel.contains", OP_CEL_CONTAINS), ("clm.cel.copy_file", OP_CEL_COPY_FILE),
    ("clm.cel.db_query", OP_CEL_DB_QUERY), ("clm.cel.dict_get", OP_CEL_DICT_GET), ("clm.cel.handle_get_history", OP_CEL_HANDLE_GET_HISTORY), ("clm.cel.handle_resolve", OP_CEL_HANDLE_RESOLVE),
    ("clm.cel.index", OP_CEL_INDEX), ("clm.cel.int_cast", OP_CEL_INT_CAST), ("clm.cel.json_parse", OP_CEL_JSON_PARSE), ("clm.cel.len", OP_CEL_LEN),
    ("clm.cel.make_mcard_content", OP_CEL_MAKE_MCARD_CONTENT), ("clm.cel.not_null", OP_CEL_NOT_NULL), ("clm.cel.or_fallback", OP_CEL_OR_FALLBACK), ("clm.cel.path_basename", OP_CEL_PATH_BASENAME),
    ("clm.cel.path_join", OP_CEL_PATH_JOIN), ("clm.cel.read_file", OP_CEL_READ_FILE), ("clm.cel.replace", OP_CEL_REPLACE), ("clm.cel.retrieve", OP_CEL_RETRIEVE),
    ("clm.cel.run_test_suite", OP_CEL_RUN_TEST_SUITE), ("clm.cel.sequence", OP_CEL_SEQUENCE), ("clm.cel.set_env", OP_CEL_SET_ENV), ("clm.cel.sleep", OP_CEL_SLEEP),
    ("clm.cel.store", OP_CEL_STORE), ("clm.cel.string_concat", OP_CEL_STRING_CONCAT), ("clm.cel.string_join", OP_CEL_STRING_JOIN), ("clm.cel.unset_env", OP_CEL_UNSET_ENV),
    ("clm.cel.value_ref", OP_CEL_VALUE_REF), ("clm.cel.write_file", OP_CEL_WRITE_FILE), ("clm.classifier.classify", OP_CLASSIFIER_CLASSIFY), ("clm.classifier.detect_dialect", OP_CLASSIFIER_DETECT_DIALECT),
    ("clm.core.baldwin_apply", OP_CORE_BALDWIN_APPLY), ("clm.core.cpn_simulate", OP_CORE_CPN_SIMULATE), ("clm.core.memorize_file", OP_CORE_MEMORIZE_FILE), ("clm.core.meta_eval", OP_CORE_META_EVAL),
    ("clm.core.tridb_init", OP_CORE_TRIDB_INIT), ("clm.core.yaml_classify", OP_CORE_YAML_CLASSIFY), ("clm.cpn.compose_nets", OP_CPN_COMPOSE_NETS), ("clm.cpn.exec_polyglot", OP_CPN_EXEC_POLYGLOT),
    ("clm.cpn.petri_run_net", OP_CPN_PETRI_RUN_NET), ("clm.db.handle_delete_batch", OP_DB_HANDLE_DELETE_BATCH), ("clm.db.handle_register_batch", OP_DB_HANDLE_REGISTER_BATCH), ("clm.db.sql_query_parameterized", OP_DB_SQL_QUERY_PARAMETERIZED),
    ("clm.discovery_engine.discover", OP_DISCOVERY_ENGINE_DISCOVER), ("clm.discovery_engine.discovery_node", OP_DISCOVERY_ENGINE_DISCOVERY_NODE), ("clm.discovery_engine.mdns_discovery", OP_DISCOVERY_ENGINE_MDNS_DISCOVERY), ("clm.evaluator.run_evaluation", OP_EVALUATOR_RUN_EVALUATION),
    ("clm.fallback.legacy_shell_adapter", OP_FALLBACK_LEGACY_SHELL_ADAPTER), ("clm.fs_utils.get_file_handle", OP_FS_UTILS_GET_FILE_HANDLE), ("clm.health.version_probe", OP_HEALTH_VERSION_PROBE), ("clm.invariants.assess_equivalence", OP_INVARIANTS_ASSESS_EQUIVALENCE),
    ("clm.jsonl.jsonl_emit", OP_JSONL_JSONL_EMIT), ("clm.mcard_encoder.file_to_mcard", OP_MCARD_ENCODER_FILE_TO_MCARD), ("clm.memorize.check_and_register_file_mcard", OP_MEMORIZE_CHECK_AND_REGISTER_FILE_MCARD), ("clm.memorize.directory_fs_scan", OP_MEMORIZE_DIRECTORY_FS_SCAN),
    ("clm.memorize.directory_to_db", OP_MEMORIZE_DIRECTORY_TO_DB), ("clm.memorize.memorize_mcard", OP_MEMORIZE_MEMORIZE_MCARD), ("clm.network_gateway.chat_gateway", OP_NETWORK_GATEWAY_CHAT_GATEWAY), ("clm.normalizer.normalize_syntax", OP_NORMALIZER_NORMALIZE_SYNTAX),
    ("clm.operation.arithmetic", OP_OPERATION_ARITHMETIC), ("clm.operation.augment", OP_OPERATION_AUGMENT), ("clm.operation.exclude", OP_OPERATION_EXCLUDE), ("clm.operation.fetch_url", OP_OPERATION_FETCH_URL),
    ("clm.operation.handle_prune", OP_OPERATION_HANDLE_PRUNE), ("clm.operation.handle_version", OP_OPERATION_HANDLE_VERSION), ("clm.operation.identity", OP_OPERATION_IDENTITY), ("clm.operation.insert", OP_OPERATION_INSERT),
    ("clm.operation.invert", OP_OPERATION_INVERT), ("clm.operation.invoke_library", OP_OPERATION_INVOKE_LIBRARY), ("clm.operation.load_file", OP_OPERATION_LOAD_FILE), ("clm.operation.loader", OP_OPERATION_LOADER),
    ("clm.operation.port", OP_OPERATION_PORT), ("clm.operation.postcondition_witness", OP_OPERATION_POSTCONDITION_WITNESS), ("clm.operation.precondition_witness", OP_OPERATION_PRECONDITION_WITNESS), ("clm.operation.provision_genesis_ca", OP_OPERATION_PROVISION_GENESIS_CA),
    ("clm.operation.provision_genesis_eoa", OP_OPERATION_PROVISION_GENESIS_EOA), ("clm.operation.session_record", OP_OPERATION_SESSION_RECORD), ("clm.operation.split", OP_OPERATION_SPLIT), ("clm.operation.static_server", OP_OPERATION_STATIC_SERVER),
    ("clm.operation.string_op", OP_OPERATION_STRING_OP), ("clm.operation.substitute", OP_OPERATION_SUBSTITUTE), ("clm.operation.transform", OP_OPERATION_TRANSFORM), ("clm.operation.websocket_server", OP_OPERATION_WEBSOCKET_SERVER),
    ("clm.operator.document.augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("clm.operator.document.exclude", OP_OPERATOR_DOCUMENT_EXCLUDE), ("clm.operator.document.invert", OP_OPERATOR_DOCUMENT_INVERT), ("clm.operator.document.port", OP_OPERATOR_DOCUMENT_PORT),
    ("clm.operator.document.split", OP_OPERATOR_DOCUMENT_SPLIT), ("clm.operator.document.substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE), ("clm.operator.media.augment", OP_OPERATOR_MEDIA_AUGMENT), ("clm.operator.media.exclude", OP_OPERATOR_MEDIA_EXCLUDE),
    ("clm.operator.media.invert", OP_OPERATOR_MEDIA_INVERT), ("clm.operator.media.port", OP_OPERATOR_MEDIA_PORT), ("clm.operator.media.split", OP_OPERATOR_MEDIA_SPLIT), ("clm.operator.media.substitute", OP_OPERATOR_MEDIA_SUBSTITUTE),
    ("clm.operator.structured.augment", OP_OPERATOR_STRUCTURED_AUGMENT), ("clm.operator.structured.exclude", OP_OPERATOR_STRUCTURED_EXCLUDE), ("clm.operator.structured.invert", OP_OPERATOR_STRUCTURED_INVERT), ("clm.operator.structured.port", OP_OPERATOR_STRUCTURED_PORT),
    ("clm.operator.structured.split", OP_OPERATOR_STRUCTURED_SPLIT), ("clm.operator.structured.substitute", OP_OPERATOR_STRUCTURED_SUBSTITUTE), ("clm.operator.tabular.augment", OP_OPERATOR_TABULAR_AUGMENT), ("clm.operator.tabular.exclude", OP_OPERATOR_TABULAR_EXCLUDE),
    ("clm.operator.tabular.invert", OP_OPERATOR_TABULAR_INVERT), ("clm.operator.tabular.port", OP_OPERATOR_TABULAR_PORT), ("clm.operator.tabular.split", OP_OPERATOR_TABULAR_SPLIT), ("clm.operator.tabular.substitute", OP_OPERATOR_TABULAR_SUBSTITUTE),
    ("clm.yaml.yaml_get_array_item", OP_YAML_YAML_GET_ARRAY_ITEM), ("clm.yaml.yaml_get_array_length", OP_YAML_YAML_GET_ARRAY_LENGTH), ("clm.yaml.yaml_get_field", OP_YAML_YAML_GET_FIELD), ("clm.yaml.yaml_load_once", OP_YAML_YAML_LOAD_ONCE),
    ("clm_rust_core::baldwin::apply", OP_CORE_BALDWIN_APPLY), ("clm_rust_core::baldwin::merge", OP_BALDWIN_MERGE), ("clm_rust_core::baldwin::split", OP_BALDWIN_SPLIT), ("clm_rust_core::classifier::classify", OP_CLASSIFIER_CLASSIFY),
    ("clm_rust_core::classifier::detect_dialect", OP_CLASSIFIER_DETECT_DIALECT), ("clm_rust_core::cli::version", OP_HEALTH_VERSION_PROBE), ("clm_rust_core::cpn::compose_nets", OP_CPN_COMPOSE_NETS), ("clm_rust_core::cpn::exec_polyglot", OP_CPN_EXEC_POLYGLOT),
    ("clm_rust_core::cpn::petri_run_net", OP_CPN_PETRI_RUN_NET), ("clm_rust_core::cpn::simulate", OP_CORE_CPN_SIMULATE), ("clm_rust_core::db::handle_delete_batch", OP_DB_HANDLE_DELETE_BATCH), ("clm_rust_core::db::handle_register_batch", OP_DB_HANDLE_REGISTER_BATCH),
    ("clm_rust_core::db::init_tridb", OP_CORE_TRIDB_INIT), ("clm_rust_core::db::sql_query_parameterized", OP_DB_SQL_QUERY_PARAMETERIZED), ("clm_rust_core::discovery_engine::discover", OP_DISCOVERY_ENGINE_DISCOVER), ("clm_rust_core::discovery_engine::discovery_node", OP_DISCOVERY_ENGINE_DISCOVERY_NODE),
    ("clm_rust_core::discovery_engine::mdns_discovery", OP_DISCOVERY_ENGINE_MDNS_DISCOVERY), ("clm_rust_core::evaluator::run_evaluation", OP_EVALUATOR_RUN_EVALUATION), ("clm_rust_core::file::memorize", OP_CORE_MEMORIZE_FILE), ("clm_rust_core::fs_utils::get_file_handle", OP_FS_UTILS_GET_FILE_HANDLE),
    ("clm_rust_core::integration::shell_runner", OP_FALLBACK_LEGACY_SHELL_ADAPTER), ("clm_rust_core::invariants::assess_equivalence", OP_INVARIANTS_ASSESS_EQUIVALENCE), ("clm_rust_core::jsonl::jsonl_emit", OP_JSONL_JSONL_EMIT), ("clm_rust_core::mcard_encoder::file_to_mcard", OP_MCARD_ENCODER_FILE_TO_MCARD),
    ("clm_rust_core::memorize::check_and_register_file_mcard", OP_MEMORIZE_CHECK_AND_REGISTER_FILE_MCARD), ("clm_rust_core::memorize::directory_fs_scan", OP_MEMORIZE_DIRECTORY_FS_SCAN), ("clm_rust_core::memorize::directory_to_db", OP_MEMORIZE_DIRECTORY_TO_DB), ("clm_rust_core::memorize::memorize_mcard", OP_MEMORIZE_MEMORIZE_MCARD),
    ("clm_rust_core::meta_eval::evaluate", OP_CORE_META_EVAL), ("clm_rust_core::network_gateway::chat_gateway", OP_NETWORK_GATEWAY_CHAT_GATEWAY), ("clm_rust_core::normalizer::normalize_syntax", OP_NORMALIZER_NORMALIZE_SYNTAX), ("clm_rust_core::yaml::classify", OP_CORE_YAML_CLASSIFY),
    ("clm_rust_core::yaml::yaml_get_array_item", OP_YAML_YAML_GET_ARRAY_ITEM), ("clm_rust_core::yaml::yaml_get_array_length", OP_YAML_YAML_GET_ARRAY_LENGTH), ("clm_rust_core::yaml::yaml_get_field", OP_YAML_YAML_GET_FIELD), ("clm_rust_core::yaml::yaml_load_once", OP_YAML_YAML_LOAD_ONCE),
    ("compare", OP_CEL_COMPARE), ("contains", OP_CEL_CONTAINS), ("copy_file", OP_CEL_COPY_FILE), ("cpn:simulate", OP_CORE_CPN_SIMULATE),
    ("db_query", OP_CEL_DB_QUERY), ("dict_get", OP_CEL_DICT_GET), ("exclude", OP_OPERATION_EXCLUDE), ("fallback:shell_adapter", OP_FALLBACK_LEGACY_SHELL_ADAPTER),
    ("fetch_url", OP_OPERATION_FETCH_URL), ("handle:get_history", OP_CEL_HANDLE_GET_HISTORY), ("handle:resolve", OP_CEL_HANDLE_RESOLVE), ("handle_prune", OP_OPERATION_HANDLE_PRUNE),
    ("handle_version", OP_OPERATION_HANDLE_VERSION), ("health:version", OP_HEALTH_VERSION_PROBE), ("identity", OP_OPERATION_IDENTITY), ("index", OP_CEL_INDEX),
    ("ingest_files", OP_OPERATION_LOADER), ("insert", OP_OPERATION_INSERT), ("int_cast", OP_CEL_INT_CAST), ("invert", OP_OPERATION_INVERT),
    ("invoke_library", OP_OPERATION_INVOKE_LIBRARY), ("json_parse", OP_CEL_JSON_PARSE), ("len", OP_CEL_LEN), ("load_file", OP_OPERATION_LOAD_FILE),
    ("load_files", OP_OPERATION_LOADER), ("loader", OP_OPERATION_LOADER), ("make_mcard_content", OP_CEL_MAKE_MCARD_CONTENT), ("memorize:file", OP_CORE_MEMORIZE_FILE),
    ("meta:eval", OP_CORE_META_EVAL), ("not_null", OP_CEL_NOT_NULL), ("operator:audio:augment", OP_OPERATOR_MEDIA_AUGMENT), ("operator:audio:exclude", OP_OPERATOR_MEDIA_EXCLUDE),
    ("operator:audio:invert", OP_OPERATOR_MEDIA_INVERT), ("operator:audio:port", OP_OPERATOR_MEDIA_PORT), ("operator:audio:split", OP_OPERATOR_MEDIA_SPLIT), ("operator:audio:substitute", OP_OPERATOR_MEDIA_SUBSTITUTE),
    ("operator:binary:augment", OP_OPERATOR_MEDIA_AUGMENT), ("operator:binary:exclude", OP_OPERATOR_MEDIA_EXCLUDE), ("operator:binary:invert", OP_OPERATOR_MEDIA_INVERT), ("operator:binary:port", OP_OPERATOR_MEDIA_PORT),
    ("operator:binary:split", OP_OPERATOR_MEDIA_SPLIT), ("operator:binary:substitute", OP_OPERATOR_MEDIA_SUBSTITUTE), ("operator:csv:augment", OP_OPERATOR_TABULAR_AUGMENT), ("operator:csv:exclude", OP_OPERATOR_TABULAR_EXCLUDE),
    ("operator:csv:invert", OP_OPERATOR_TABULAR_INVERT), ("operator:csv:port", OP_OPERATOR_TABULAR_PORT), ("operator:csv:split", OP_OPERATOR_TABULAR_SPLIT), ("operator:csv:substitute", OP_OPERATOR_TABULAR_SUBSTITUTE),
    ("operator:document:augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("operator:document:exclude", OP_OPERATOR_DOCUMENT_EXCLUDE), ("operator:document:invert", OP_OPERATOR_DOCUMENT_INVERT), ("operator:document:port", OP_OPERATOR_DOCUMENT_PORT),
    ("operator:document:split", OP_OPERATOR_DOCUMENT_SPLIT), ("operator:document:substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE), ("operator:image:augment", OP_OPERATOR_MEDIA_AUGMENT), ("operator:image:exclude", OP_OPERATOR_MEDIA_EXCLUDE),
    ("operator:image:invert", OP_OPERATOR_MEDIA_INVERT), ("operator:image:port", OP_OPERATOR_MEDIA_PORT), ("operator:image:split", OP_OPERATOR_MEDIA_SPLIT), ("operator:image:substitute", OP_OPERATOR_MEDIA_SUBSTITUTE),
    ("operator:json:augment", OP_OPERATOR_STRUCTURED_AUGMENT), ("operator:json:exclude", OP_OPERATOR_STRUCTURED_EXCLUDE), ("operator:json:invert", OP_OPERATOR_STRUCTURED_INVERT), ("operator:json:port", OP_OPERATOR_STRUCTURED_PORT),
    ("operator:json:split", OP_OPERATOR_STRUCTURED_SPLIT), ("operator:json:substitute", OP_OPERATOR_STRUCTURED_SUBSTITUTE), ("operator:markdown:augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("operator:markdown:exclude", OP_OPERATOR_DOCUMENT_EXCLUDE),
    ("operator:markdown:invert", OP_OPERATOR_DOCUMENT_INVERT), ("operator:markdown:port", OP_OPERATOR_DOCUMENT_PORT), ("operator:markdown:split", OP_OPERATOR_DOCUMENT_SPLIT), ("operator:markdown:substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE),
    ("operator:md:augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("operator:md:exclude", OP_OPERATOR_DOCUMENT_EXCLUDE), ("operator:md:invert", OP_OPERATOR_DOCUMENT_INVERT), ("operator:md:port", OP_OPERATOR_DOCUMENT_PORT),
    ("operator:md:split", OP_OPERATOR_DOCUMENT_SPLIT), ("operator:md:substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE), ("operator:media:augment", OP_OPERATOR_MEDIA_AUGMENT), ("operator:media:exclude", OP_OPERATOR_MEDIA_EXCLUDE),
    ("operator:media:invert", OP_OPERATOR_MEDIA_INVERT), ("operator:media:port", OP_OPERATOR_MEDIA_PORT), ("operator:media:split", OP_OPERATOR_MEDIA_SPLIT), ("operator:media:substitute", OP_OPERATOR_MEDIA_SUBSTITUTE),
    ("operator:model3d:augment", OP_OPERATOR_MEDIA_AUGMENT), ("operator:model3d:exclude", OP_OPERATOR_MEDIA_EXCLUDE), ("operator:model3d:invert", OP_OPERATOR_MEDIA_INVERT), ("operator:model3d:port", OP_OPERATOR_MEDIA_PORT),
    ("operator:model3d:split", OP_OPERATOR_MEDIA_SPLIT), ("operator:model3d:substitute", OP_OPERATOR_MEDIA_SUBSTITUTE), ("operator:structured:augment", OP_OPERATOR_STRUCTURED_AUGMENT), ("operator:structured:exclude", OP_OPERATOR_STRUCTURED_EXCLUDE),
    ("operator:structured:invert", OP_OPERATOR_STRUCTURED_INVERT), ("operator:structured:port", OP_OPERATOR_STRUCTURED_PORT), ("operator:structured:split", OP_OPERATOR_STRUCTURED_SPLIT), ("operator:structured:substitute", OP_OPERATOR_STRUCTURED_SUBSTITUTE),
    ("operator:tabular:augment", OP_OPERATOR_TABULAR_AUGMENT), ("operator:tabular:exclude", OP_OPERATOR_TABULAR_EXCLUDE), ("operator:tabular:invert", OP_OPERATOR_TABULAR_INVERT), ("operator:tabular:port", OP_OPERATOR_TABULAR_PORT),
    ("operator:tabular:split", OP_OPERATOR_TABULAR_SPLIT), ("operator:tabular:substitute", OP_OPERATOR_TABULAR_SUBSTITUTE), ("operator:text:augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("operator:text:exclude", OP_OPERATOR_DOCUMENT_EXCLUDE),
    ("operator:text:invert", OP_OPERATOR_DOCUMENT_INVERT), ("operator:text:port", OP_OPERATOR_DOCUMENT_PORT), ("operator:text:split", OP_OPERATOR_DOCUMENT_SPLIT), ("operator:text:substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE),
    ("operator:tsv:augment", OP_OPERATOR_TABULAR_AUGMENT), ("operator:tsv:exclude", OP_OPERATOR_TABULAR_EXCLUDE), ("operator:tsv:invert", OP_OPERATOR_TABULAR_INVERT), ("operator:tsv:port", OP_OPERATOR_TABULAR_PORT),
    ("operator:tsv:split", OP_OPERATOR_TABULAR_SPLIT), ("operator:tsv:substitute", OP_OPERATOR_TABULAR_SUBSTITUTE), ("operator:txt:augment", OP_OPERATOR_DOCUMENT_AUGMENT), ("operator:txt:exclude", OP_OPERATOR_DOCUMENT_EXCLUDE),
    ("operator:txt:invert", OP_OPERATOR_DOCUMENT_INVERT), ("operator:txt:port", OP_OPERATOR_DOCUMENT_PORT), ("operator:txt:split", OP_OPERATOR_DOCUMENT_SPLIT), ("operator:txt:substitute", OP_OPERATOR_DOCUMENT_SUBSTITUTE),
    ("operator:yaml:augment", OP_OPERATOR_STRUCTURED_AUGMENT), ("operator:yaml:exclude", OP_OPERATOR_STRUCTURED_EXCLUDE), ("operator:yaml:invert", OP_OPERATOR_STRUCTURED_INVERT), ("operator:yaml:port", OP_OPERATOR_STRUCTURED_PORT),
    ("operator:yaml:split", OP_OPERATOR_STRUCTURED_SPLIT), ("operator:yaml:substitute", OP_OPERATOR_STRUCTURED_SUBSTITUTE), ("operator:yml:augment", OP_OPERATOR_STRUCTURED_AUGMENT), ("operator:yml:exclude", OP_OPERATOR_STRUCTURED_EXCLUDE),
    ("operator:yml:invert", OP_OPERATOR_STRUCTURED_INVERT), ("operator:yml:port", OP_OPERATOR_STRUCTURED_PORT), ("operator:yml:split", OP_OPERATOR_STRUCTURED_SPLIT), ("operator:yml:substitute", OP_OPERATOR_STRUCTURED_SUBSTITUTE),
    ("or_fallback", OP_CEL_OR_FALLBACK), ("path_basename", OP_CEL_PATH_BASENAME), ("path_join", OP_CEL_PATH_JOIN), ("port", OP_OPERATION_PORT),
    ("postcondition_witness", OP_OPERATION_POSTCONDITION_WITNESS), ("precondition_witness", OP_OPERATION_PRECONDITION_WITNESS), ("provision_genesis_ca", OP_OPERATION_PROVISION_GENESIS_CA), ("provision_genesis_eoa", OP_OPERATION_PROVISION_GENESIS_EOA),
    ("read_file", OP_CEL_READ_FILE), ("replace", OP_CEL_REPLACE), ("retrieve", OP_CEL_RETRIEVE), ("run_test_suite", OP_CEL_RUN_TEST_SUITE),
    ("sequence", OP_CEL_SEQUENCE), ("session_record", OP_OPERATION_SESSION_RECORD), ("set_env", OP_CEL_SET_ENV), ("sleep", OP_CEL_SLEEP),
    ("split", OP_OPERATION_SPLIT), ("static_server", OP_OPERATION_STATIC_SERVER), ("store", OP_CEL_STORE), ("string_concat", OP_CEL_STRING_CONCAT),
    ("string_join", OP_CEL_STRING_JOIN), ("string_op", OP_OPERATION_STRING_OP), ("substitute", OP_OPERATION_SUBSTITUTE), ("transform", OP_OPERATION_TRANSFORM),
    ("tridb:init", OP_CORE_TRIDB_INIT), ("unset_env", OP_CEL_UNSET_ENV), ("value_ref", OP_CEL_VALUE_REF), ("websocket_server", OP_OPERATION_WEBSOCKET_SERVER),
    ("write_file", OP_CEL_WRITE_FILE), ("yaml:classify", OP_CORE_YAML_CLASSIFY),
];

/// The canonical id for an op id or any of its catalog aliases.
pub fn op_id_for(route: &str) -> Option<&'static str> {
    ROUTES.binary_search_by_key(&route, |(r, _)| r).ok().map(|i| ROUTES[i].1)
}