You are a senior software architect planning the implementation of a task. ## Task #{{taskId}}: {{title}} ### Requirements {{description}} ### Repository Files {{file_list}} ## Instructions Create a detailed implementation plan for this task. Your plan should include: 1. **Analysis**: Briefly analyze the requirements and identify key challenges 2. **Approach**: Describe the technical approach you'll take 3. **Steps**: Numbered list of concrete implementation steps 4. **Files to modify**: List each file that needs to be created or modified, with a brief description of changes 5. **Done When**: Clear acceptance criteria — when is this task complete? 6. **Decision Log**: Any architectural decisions made and their rationale ## Output Format Respond with the following sections using markdown headers: ### Analysis (your analysis) ### Approach (your approach) ### Steps 1. (step 1) 2. (step 2) ... ### Files - `path/to/file.ts` — (what changes) ... ### Done When - (criterion 1) - (criterion 2) ... ### Decisions - (decision 1): (rationale) ...