Files
silverbullet-icalendar/conductor/tracks/fix_recurring_visibility_20260219/plan.md

1.4 KiB

Implementation Plan - Fix Recurring Meetings Visibility

Phase 1: Investigation & Reproduction [checkpoint: pending]

  • Task: Create validation test case 6122599
    • Add a test in icalendar_test.ts with a valid weekly recurring event starting in the past.
    • Assert that it returns multiple occurrences within the 30-day window.
    • Run the test to see if it fails (confirming the bug).
  • Task: Investigate Object RRULE 6122599
    • The logs show Invalid rrule type (object). This means ts-ics is parsing RRULE into an object, not a string.
    • Create a test case where rrule is an object (mocking ts-ics output).
    • Verify that it returns only 1 event (the bug).
  • Task: Conductor - User Manual Verification 'Investigation & Reproduction' (Protocol in workflow.md)

Phase 2: Fix Logic

  • Task: Support Object RRULE in expandRecurrences
    • Modify expandRecurrences to handle rrule as an object.
    • It likely needs to be converted back to a string or used directly if rrule library supports it.
    • Run the new test case to confirm the fix.
  • Task: Conductor - User Manual Verification 'Fix Logic' (Protocol in workflow.md)

Phase 3: Cleanup & Verification

  • Task: Full Regression Check
    • Run all tests in icalendar_test.ts.
  • Task: Conductor - User Manual Verification 'Cleanup & Verification' (Protocol in workflow.md)