MCPcopy Create free account
hub / github.com/Emmimal/control-layer / __init__

Method __init__

control_layer.py:709–714  ·  view source on GitHub ↗
(self, log_path: str = "audit.jsonl")

Source from the content-addressed store, hash-verified

707 """
708
709 def __init__(self, log_path: str = "audit.jsonl"):
710 self._path = Path(log_path)
711 self._records: List[AuditRecord] = []
712 self._lock = threading.Lock()
713 # Load existing records on startup
714 self._load_existing()
715
716 def _load_existing(self) -> None:
717 if self._path.exists():

Callers

nothing calls this directly

Calls 1

_load_existingMethod · 0.95

Tested by

no test coverage detected