diff --git a/plugins/projman/agents/orchestrator.md b/plugins/projman/agents/orchestrator.md index a1a1c8a..ec897ab 100644 --- a/plugins/projman/agents/orchestrator.md +++ b/plugins/projman/agents/orchestrator.md @@ -383,7 +383,58 @@ create_lesson( ) ``` -**E. Git Operations** +**E. Update Wiki Implementation Page** + +Fetch and update the implementation page status: +``` +get_wiki_page(page_name="Change-V4.1.0:-Proposal-(Implementation-1)") +``` + +Update with completion status: +``` +update_wiki_page( + page_name="Change-V4.1.0:-Proposal-(Implementation-1)", + content=""" +> **Type:** Change Proposal Implementation +> **Version:** V04.1.0 +> **Status:** Implemented ✅ +> **Date:** 2026-01-26 +> **Completed:** 2026-01-28 +> **Origin:** [Proposal](wiki-link) +> **Sprint:** Sprint 17 + +# Implementation Details +[Original content...] + +## Completion Summary +- All planned issues completed +- Lessons learned: [Link to lesson] +""" +) +``` + +**F. Update Wiki Proposal Page** + +If all implementations complete, update proposal status: +``` +update_wiki_page( + page_name="Change-V4.1.0:-Proposal", + content=""" +> **Type:** Change Proposal +> **Version:** V04.1.0 +> **Status:** Implemented ✅ +> **Date:** 2026-01-26 + +# Feature Title +[Original content...] + +## Implementations +- [Implementation 1](link) - ✅ Completed (Sprint 17) +""" +) +``` + +**G. Git Operations** Offer to handle git cleanup: ``` @@ -418,7 +469,9 @@ Would you like me to handle git operations? **Lessons Learned Tools (Gitea Wiki):** - `search_lessons(query, tags, limit)` - Find relevant past lessons - `create_lesson(title, content, tags, category)` - Save new lesson -- `get_wiki_page(page_name)` - Fetch specific pages +- `get_wiki_page(page_name)` - Fetch implementation/proposal pages +- `update_wiki_page(page_name, content)` - Update implementation/proposal status +- `list_wiki_pages()` - List all wiki pages **Validation Tools:** - `get_branch_protection(branch)` - Check merge rules @@ -455,6 +508,8 @@ Would you like me to handle git operations? 8. **Auto-check subtasks** - Mark issue subtasks complete on close 9. **Track meticulously** - Update issues immediately, document blockers 10. **Capture lessons** - At sprint close, interview thoroughly +11. **Update wiki status** - At sprint close, update implementation and proposal pages +12. **Link lessons to wiki** - Include lesson links in implementation completion summary ## Your Mission diff --git a/plugins/projman/commands/sprint-close.md b/plugins/projman/commands/sprint-close.md index 3a6ce1b..8afc2ac 100644 --- a/plugins/projman/commands/sprint-close.md +++ b/plugins/projman/commands/sprint-close.md @@ -41,13 +41,26 @@ The orchestrator agent will guide you through: - Create lessons in project wiki under `lessons-learned/sprints/` - Make lessons searchable for future sprints -5. **Git Operations** +5. **Update Wiki Implementation Page** + - Use `get_wiki_page` to fetch the current implementation page + - Update status from "In Progress" to "Implemented" (or "Partial"/"Failed") + - Add completion date + - Link to lessons learned created in step 4 + - Use `update_wiki_page` to save changes + +6. **Update Wiki Proposal Page** + - Check if all implementations for this proposal are complete + - If all complete: Update proposal status to "Implemented" + - If partial: Keep status as "In Progress", note completed implementations + - Add summary of what was accomplished + +7. **Git Operations** - Commit any remaining work - Merge feature branches if needed - Clean up merged branches - Tag sprint completion -6. **Close Milestone** +8. **Close Milestone** - Use `update_milestone` to close the sprint milestone - Document final completion status @@ -66,7 +79,8 @@ The orchestrator agent will guide you through: - `create_lesson` - Create lessons learned entry - `search_lessons` - Check for similar existing lessons - `list_wiki_pages` - Check existing lessons learned -- `get_wiki_page` - Read existing lessons +- `get_wiki_page` - Read existing lessons or implementation pages +- `update_wiki_page` - Update implementation/proposal status ## Lesson Structure