(name: str, default: bool = False)
| 357 | } |
| 358 | |
| 359 | |
| 360 | def _env_bool(name: str, default: bool = False) -> bool: |
| 361 | """Delegate to the shared parser. |
| 362 | |
| 363 | This used to be an allowlist (`in {"1","true","yes","on"}`) while the agents |
| 364 | that act on the same variables used a denylist, so the settings panel could |
| 365 | report a feature as disabled while the agents had it enabled -- most visibly |
| 366 | for PAPERFLOW_WIKI_INGEST with a blank value. |
no test coverage detected