From b55cfbbd433bed6035dfa228ee700e2cca060ca4 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 14 Aug 2026 08:12:29 +0000 Subject: Fix integration papercuts found in cross-source review getAtomDetails's gtasks case was a stub returning a hardcoded "Google Task" title, so every gtask completed via the web Tasks/Timeline tab or the Agent API logged into completed-tasks history with no real title or due date -- now calls findGoogleTask like every other gtasks call site already does. Gtasks completion also skipped cache invalidation in two call sites (HandleCompleteAtom, the Agent API's handleAgentTaskToggle) that already had it for trello; both now invalidate CacheKeyGoogleTasks the same way the widget handlers do. HandleTaskDetailPage (the widget deep-link fallback page) hand -duplicated loadTaskDetailData's lookup instead of calling it, so it never got this session's earlier gtasks-detail fix -- now delegates. Also deleted PlanToEatAPI.GetRecipes, dead code since its introduction ("for Phase 2," never called). Adds a running .agent/critiques.md tracking structural/process critiques surfaced in conversation, separate from a concrete plan. --- internal/api/interfaces.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/api/interfaces.go') diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go index e764130..02e0cb5 100644 --- a/internal/api/interfaces.go +++ b/internal/api/interfaces.go @@ -21,7 +21,6 @@ type TrelloAPI interface { type PlanToEatAPI interface { GetUpcomingMeals(ctx context.Context, days int) ([]models.Meal, error) GetShoppingList(ctx context.Context) ([]models.ShoppingItem, error) - GetRecipes(ctx context.Context) error } // GoogleCalendarAPI defines the interface for Google Calendar operations -- cgit v1.2.3