# Implementation Plan - Fix Recurring Meetings Visibility ## Phase 1: Investigation & Reproduction [checkpoint: 8137d63] - [x] Task: Create validation test case 6122599 - [x] Add a test in `icalendar_test.ts` with a valid weekly recurring event starting in the past. - [x] Assert that it returns multiple occurrences within the 30-day window. - [x] Run the test to see if it fails (confirming the bug). - [x] Task: Investigate Object RRULE 6122599 - [x] The logs show `Invalid rrule type (object)`. This means `ts-ics` is parsing RRULE into an object, not a string. - [x] Create a test case where `rrule` is an object (mocking `ts-ics` output). - [x] Verify that it returns only 1 event (the bug). - [x] Task: Conductor - User Manual Verification 'Investigation & Reproduction' (Protocol in workflow.md) ## Phase 2: Fix Logic [checkpoint: a4acfa1] - [x] Task: Support Object RRULE in `expandRecurrences` f7f6028 - [x] Modify `expandRecurrences` to handle `rrule` as an object. - [x] It likely needs to be converted back to a string or used directly if `rrule` library supports it. - [x] Run the new test case to confirm the fix. - [x] Task: Conductor - User Manual Verification 'Fix Logic' (Protocol in workflow.md) ## Phase 3: Cleanup & Verification [checkpoint: 9d07e7a] - [x] Task: Full Regression Check f1bafb6 - [x] Run all tests in `icalendar_test.ts`. - [x] Task: Conductor - User Manual Verification 'Cleanup & Verification' (Protocol in workflow.md)