@@ -541,7 +541,7 @@ def list_verified_identity_mappings(self) -> list[IdentityMapping]:
541541
542542 def get_identity_links_for_discord_user (self , discord_user_id : str ) -> list [dict ]:
543543 """Return all identity link rows for a Discord user (verified and pending).
544- Optional method; not part of the Storage protocol. Used for /verify and /status.
544+ Used for /verify and /status.
545545 """
546546 with self ._connect () as conn :
547547 rows = conn .execute (
@@ -657,9 +657,7 @@ def update_issue_request_status(self, request_id: str, status: str) -> None:
657657 conn .execute ("UPDATE issue_requests SET status = ? WHERE request_id = ?" , (status , request_id ))
658658
659659 def append_audit_event (self , event : dict ) -> None :
660- """Append a single audit event (append-only) to data_dir/audit_events.jsonl.
661- Optional method; not part of the Storage protocol.
662- """
660+ """Append a single audit event (append-only) to data_dir/audit_events.jsonl."""
663661 path = self ._db_path .parent / "audit_events.jsonl"
664662 payload = dict (event )
665663 if "timestamp" not in payload :
@@ -670,7 +668,6 @@ def append_audit_event(self, event: dict) -> None:
670668 def list_audit_events (self ) -> list [dict ]:
671669 """Read-only: return all audit events from audit_events.jsonl.
672670 Returns empty list if file doesn't exist. Does not modify data.
673- Optional method; not part of the Storage protocol.
674671 """
675672 path = self ._db_path .parent / "audit_events.jsonl"
676673 events = []
@@ -729,7 +726,6 @@ def mark_notification_sent(
729726 def list_recent_notifications (self , limit : int = 1000 ) -> list [dict ]:
730727 """List recent notifications (for snapshot export).
731728 Returns list of notification dicts, ordered by sent_at DESC.
732- Optional method; not part of the Storage protocol.
733729 """
734730 with self ._connect () as conn :
735731 rows = conn .execute (
0 commit comments