diff --git a/src-tauri/src/storage/mod.rs b/src-tauri/src/storage/mod.rs index e216d1d..73f47f1 100644 --- a/src-tauri/src/storage/mod.rs +++ b/src-tauri/src/storage/mod.rs @@ -302,7 +302,10 @@ pub trait Store: Send + Sync { /// Confirmed action items for a meeting (FR-MCP-2 `get_action_items`) — /// distinct from `list_pending_reminders` (which is filtered to /// unfired-reminder rows across *all* meetings for the startup reconcile). - async fn list_action_items(&self, meeting_id: &MeetingId) -> Result, StoreError>; + async fn list_action_items( + &self, + meeting_id: &MeetingId, + ) -> Result, StoreError>; /// Appends one row to the audit log (FR-MCP-5). Every MCP tool read calls /// this, regardless of whether the read was actually allowed to see /// anything — the audit trail is "what an agent asked for", not just @@ -314,7 +317,10 @@ pub trait Store: Send + Sync { client: Option<&str>, ) -> Result<(), StoreError>; /// Most recent audit rows first, optionally capped (`mcp_access_log` command). - async fn list_mcp_access_log(&self, limit: Option) -> Result, StoreError>; + async fn list_mcp_access_log( + &self, + limit: Option, + ) -> Result, StoreError>; } /// SQLite-backed store. Migrations live in `migrations/` (`sqlx::migrate!`). @@ -1503,7 +1509,10 @@ impl Store for SqliteStore { Ok(rows) } - async fn list_action_items(&self, meeting_id: &MeetingId) -> Result, StoreError> { + async fn list_action_items( + &self, + meeting_id: &MeetingId, + ) -> Result, StoreError> { let rows = sqlx::query( "SELECT id, text, owner, due_at, confirmed, reminder_set FROM action_items \ WHERE meeting_id = ? ORDER BY created_at ASC", @@ -1543,7 +1552,10 @@ impl Store for SqliteStore { Ok(()) } - async fn list_mcp_access_log(&self, limit: Option) -> Result, StoreError> { + async fn list_mcp_access_log( + &self, + limit: Option, + ) -> Result, StoreError> { let cap: i64 = limit.map(i64::from).unwrap_or(200).max(1); let rows = sqlx::query( "SELECT at, tool, meeting_id, client FROM mcp_access_log ORDER BY at DESC LIMIT ?",