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

1.5 KiB

Implementation Plan - Fix Recurring Meetings Visibility

Phase 1: Investigation & Reproduction [checkpoint: 8137d63]

  • 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 [checkpoint: a4acfa1]

  • Task: Support Object RRULE in expandRecurrences f7f6028
    • 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 [checkpoint: 9d07e7a]

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