Tasks: File Naming Convention Change
Project: ai-plans PRD: link to PRD Progress: 20/24
Task 1: Update publish_prd Tool
- Status: done
- Description: Change filename from
PRD.mdtoprd-task.md(keep folder structure) - Files: mcp-server/src/tools/publish-prd.ts
- Subtasks:
- Update filename generation:
prd-${task}.md - Update URL return value
- Test file creation
Task 2: Update publish_tasks Tool
- Status: done
- Description: Change filename from
TASKS.mdtotasks-task.md - Files: mcp-server/src/tools/publish-tasks.ts
- Subtasks:
- Update filename generation:
tasks-${task}.md - Update URL return value
- Test file creation
Task 3: Update publish_notes Tool
- Status: done
- Description: Change filename from
NOTES.mdtonotes-task.md - Files: mcp-server/src/tools/publish-notes.ts
- Subtasks:
- Update filename generation:
notes-${task}.md - Update URL return value
- Test file creation
Task 4: Update update_task_status Tool
- Status: done
- Description: Update to read from new file path
- Files: mcp-server/src/tools/update-task-status.ts
- Subtasks:
- Update file path resolution
- Test status updates
Task 5: Update list_plans Tool
- Status: done
- Description: Detect new filename pattern (
prd-*.md,tasks-*.md) - Files: mcp-server/src/tools/list-plans.ts
- Subtasks:
- Update file detection logic
- Check for
prd-${task}.mdinstead ofPRD.md - Test listing
Task 6: Update Index Generation
- Status: done
- Description: Generate correct links for flat structure
- Files: mcp-server/src/tools/update-index.ts
- Subtasks:
- Update link generation
- Test index page updates
Task 7: Update Tests
- Status: in-progress
- Description: Update all test files to use new structure
- Files: mcp-server/test-*.ts
- Subtasks:
- Update test-manual.ts
- Update test-all-tools.ts
- Update demo-plan.ts
- Run all tests
Task 8: Migrate Existing Plans
- Status: done
- Description: Recreate existing demo plan with new structure
- Files: docs/ai-plans/
- Subtasks:
- Delete old structure
- Recreate with new tools
- Verify MkDocs rendering
- Update documentation