# Regex-engine allowlist (see scripts/check_regex_engine.py, ENG-4056).
#
# Each line is a file still importing a backtracking regex engine (stdlib
# `re` or the `regex` package), grandfathered in when the RE2 migration
# started. This file is a RATCHET: it may only shrink.
#
# - New imports are NOT added here. Use runlayer_cli.regex_safe instead.
# - When you migrate a file, delete its line (the check fails on stale lines).
#
# Format: <path relative to cli/> -> <banned module>

runlayer_cli/command_contract.py -> re
runlayer_cli/commands/setup.py -> re
runlayer_cli/deploy/config.py -> re
runlayer_cli/deploy/docker_builder.py -> re
runlayer_cli/deploy/service.py -> re
runlayer_cli/env_substitution.py -> re
runlayer_cli/hook/dispatch.py -> re
runlayer_cli/hook/file_policy.py -> re
runlayer_cli/hook/mcp_lookup.py -> re
runlayer_cli/hook/transcript_stream.py -> re
runlayer_cli/hook_install/browser_extension.py -> re
runlayer_cli/hook_install/clients.py -> re
runlayer_cli/hook_install/tolerant_json.py -> re
runlayer_cli/macos_installer.py -> re
runlayer_cli/mdm_config.py -> re
runlayer_cli/plugins/discovery.py -> re
runlayer_cli/plugins/installer.py -> re
runlayer_cli/scan/agents/detect.py -> re
runlayer_cli/scan/agents/manifests/__init__.py -> re
runlayer_cli/scan/agents/manifests/_common.py -> re
runlayer_cli/scan/agents/manifests/go.py -> re
runlayer_cli/scan/agents/manifests/jvm.py -> re
runlayer_cli/scan/agents/manifests/npm.py -> re
runlayer_cli/scan/agents/redact.py -> re
runlayer_cli/scan/client_presence.py -> re
runlayer_cli/scan/config_redact.py -> re
runlayer_cli/scan/containers/inspect_parse.py -> re
runlayer_cli/scan/device.py -> re
runlayer_cli/scan/plugin_scanner.py -> re
runlayer_cli/scan/processes/probes.py -> re
runlayer_cli/scan/warp_sqlite.py -> re
runlayer_cli/scan/windows_users.py -> re
runlayer_cli/skills/device_sync.py -> re
runlayer_cli/skills/frontmatter.py -> re
runlayer_cli/terraform_export.py -> re
runlayer_cli/update_source.py -> re
runlayer_cli/updater.py -> re
runlayer_cli/verified_local_proxy/verification/macos.py -> re
runlayer_cli/windows_installer_verifier.py -> re
tests/e2e/conftest.py -> re
tests/test_aiwatch_imports.py -> re
tests/test_cache.py -> re
tests/test_cli.py -> re
tests/test_cli_backwards_compat.py -> re
tests/test_credentials_commands.py -> re
tests/test_docs_client_sync.py -> re
tests/test_linux_cron_assets.py -> re
tests/test_manylinux2014_lock_floor.py -> re
tests/test_plugins_commands.py -> re
tests/test_setup_hooks.py -> re
tests/test_version_file.py -> re
