Adds hermes_cli/model_selection_guards.py: a single evaluation point that runs every selection guard (cost + the new data-policy guard) and returns the warnings that fired. All seven model-selection surfaces (CLI picker, cli.py TUI modal, gateway typed /model, dashboard web_server, TUI gateway, Telegram and Discord pickers) now call the registry instead of importing model_cost_guard directly — so the data-training-tier warning from PR #81416 fires everywhere at once, and future guards need zero surface wiring. Guard modules keep their public APIs; existing mock patch points (hermes_cli.model_cost_guard.expensive_model_warning) remain valid. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _stdin_recovery.py | ||
| compute_host.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| host_supervisor.py | ||
| loop_noise.py | ||
| method_ctx.py | ||
| methods_complete.py | ||
| methods_config.py | ||
| methods_images.py | ||
| methods_profiles.py | ||
| methods_prompt.py | ||
| methods_session.py | ||
| methods_tools.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_fuzzy.py | ||
| slash_worker.py | ||
| synthetic_turn.py | ||
| transport.py | ||
| turn_marker.py | ||
| ws.py | ||