__init__.py file-level

at sha256:8 · View file ↗ · Intel ↗

History
1 files
1 commits
0 hotspots
0 🧊 dead
0 💥 blast risk
sha256:2 fix(muse): use rev-parse for muse-only branch status · · Sep 22, 2026
1 """Governance Hygiene Agent (Phase 9A-5)."""
2
3 from __future__ import annotations
4
5 __all__ = [
6 "DriftReport",
7 "GovernanceSyncResult",
8 "VerifiedReads",
9 "detect_drift",
10 "run_governance_sync",
11 ]
12
13
14 def __getattr__(name: str):
15 if name == "detect_drift":
16 from tools.governance_hygiene.drift import detect_drift
17
18 return detect_drift
19 if name == "run_governance_sync":
20 from tools.governance_hygiene.engine import run_governance_sync
21
22 return run_governance_sync
23 if name in {"DriftReport", "GovernanceSyncResult", "VerifiedReads"}:
24 from tools.governance_hygiene import types as _types
25
26 return getattr(_types, name)
27 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")