simplify(compat): doctor/status — drop 13 re-exports + the doctor_* globals() facade (97 names), repoint 6 callers / 13 tests

This commit is contained in:
Teknium
2026-09-03 13:10:52 -07:00
parent 92d0bd0d73
commit b818085298
111 changed files with 575 additions and 433 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ def apply_v4a_operations(operations: List[PatchOperation], file_ops: Any) -> 'Pa
"""Two-phase: validate everything, then apply (atomic on validation failure). A phase-2
failure (validate/apply race) carries a ``git diff`` note since state may be inconsistent.
``file_ops`` needs read_file_raw/write_file/delete_file/move_file."""
from tools.file_operations import PatchResult # avoid circular import
from tools.file_operations_common import PatchResult # avoid circular import
def _bullets(errs: List[str]) -> str:
return "\n".join(f" • {e}" for e in errs)