# Implementation Plan - Fix RRULE UNTIL Conversion

## Phase 1: Reproduction [checkpoint: 02fcb7e]
- [x] Task: Reproduce `Invalid UNTIL value` error 17de604
    - [x] Add a test case in `icalendar_test.ts` where `rrule` object has an `until` property as a `Date`.
    - [x] Run the test and confirm it fails with `Error: Invalid UNTIL value: [object Object]`.
- [x] Task: Conductor - User Manual Verification 'Reproduction' (Protocol in workflow.md)

## Phase 2: Fix Implementation [checkpoint: 0f334b2]
- [x] Task: Implement value formatting logic in `icalendar.ts` 331d0ab
    - [x] Update `expandRecurrences` to use a helper for property value conversion.
    - [x] Ensure `Date` objects are formatted as `YYYYMMDDTHHMMSSZ`.
    - [x] Run the test to confirm it passes.
- [x] Task: Conductor - User Manual Verification 'Fix Implementation' (Protocol in workflow.md)

## Phase 3: Verification & Cleanup
- [ ] Task: Full Regression Check
    - [ ] Run all tests in `icalendar_test.ts`.
- [ ] Task: Conductor - User Manual Verification 'Verification & Cleanup' (Protocol in workflow.md)
