The persistable effort levels (``low, medium, high, max``) — the single source of truth ``VALID_EFFORT_VALUES`` minus the empty ``""`` (which is ``auto``). Imported lazily so a bare ``import src.command_system`` does not pull the settings stack at module-import time (the discipline used
()
| 109 | |
| 110 | |
| 111 | def _levels() -> tuple[str, ...]: |
| 112 | """The persistable effort levels (``low, medium, high, max``) — the single source |
| 113 | of truth ``VALID_EFFORT_VALUES`` minus the empty ``""`` (which is ``auto``). |
| 114 | |
| 115 | Imported lazily so a bare ``import src.command_system`` does not pull the settings |
| 116 | stack at module-import time (the discipline used by ``app.py``/the advisor hook).""" |
| 117 | from src.settings.constants import VALID_EFFORT_VALUES |
| 118 | |
| 119 | return tuple(v for v in VALID_EFFORT_VALUES if v) |
| 120 | |
| 121 | |
| 122 | def _settings_effort() -> str: |
no outgoing calls
no test coverage detected