[Sprint 5] docs: Document Sprint 4 lessons learned and plugin behavior clarifications #266

Closed
opened 2026-01-28 19:11:29 +00:00 by lmiranda · 0 comments
Owner

Summary

Capture lessons learned from Sprint 4 execution and document plugin behavior clarifications discovered during sprint planning and execution.

Items to Document

1. MCP Branch Detection Pattern

  • Document that MCP servers run from their installation directory, not the user's project directory
  • Explain the CLAUDE_PROJECT_DIR capture pattern in run.sh scripts
  • Add to troubleshooting docs

2. GITEA_REPO Format

  • Already fixed in PR #264
  • Ensure all examples show owner/repo format consistently

3. Gitea Auto-Close Behavior

  • Document that Gitea only auto-closes issues when merging to the default branch (main)
  • Merging to development with Closes #XX keywords does NOT auto-close
  • Add workaround: manually close issues or set development as default during sprints

4. Session Restart Requirements

  • Document that MCP server changes require Claude Code session restart
  • Add to docs/DEBUGGING-CHECKLIST.md troubleshooting section

5. Plugin Issues from CLAUDE.md (Pending Issues section)

  • doc-guardian hook incorrectly stops workflow (should not block)
  • doc-guardian hook should spawn agent instead of blocking
  • Hook fired multiple times for related edits in same task
  • Hook blocked edit with overly restrictive URL warning

Acceptance Criteria

  • Add "Gitea Auto-Close Behavior" section to sprint workflow docs
  • Add "MCP Session Restart" note to debugging checklist
  • Create Gitea issue for doc-guardian hook improvements
  • Capture lessons in wiki under lessons-learned/sprints/sprint-4

Context

These items were identified during Sprint 4 but not addressed to avoid scope creep. Scheduled for post-Sprint 5.

## Summary Capture lessons learned from Sprint 4 execution and document plugin behavior clarifications discovered during sprint planning and execution. ## Items to Document ### 1. MCP Branch Detection Pattern - Document that MCP servers run from their installation directory, not the user's project directory - Explain the `CLAUDE_PROJECT_DIR` capture pattern in `run.sh` scripts - Add to troubleshooting docs ### 2. GITEA_REPO Format - ✅ Already fixed in PR #264 - Ensure all examples show `owner/repo` format consistently ### 3. Gitea Auto-Close Behavior - Document that Gitea only auto-closes issues when merging to the **default branch** (main) - Merging to `development` with `Closes #XX` keywords does NOT auto-close - Add workaround: manually close issues or set development as default during sprints ### 4. Session Restart Requirements - Document that MCP server changes require Claude Code session restart - Add to `docs/DEBUGGING-CHECKLIST.md` troubleshooting section ### 5. Plugin Issues from CLAUDE.md (Pending Issues section) - doc-guardian hook incorrectly stops workflow (should not block) - doc-guardian hook should spawn agent instead of blocking - Hook fired multiple times for related edits in same task - Hook blocked edit with overly restrictive URL warning ## Acceptance Criteria - [ ] Add "Gitea Auto-Close Behavior" section to sprint workflow docs - [ ] Add "MCP Session Restart" note to debugging checklist - [ ] Create Gitea issue for doc-guardian hook improvements - [ ] Capture lessons in wiki under `lessons-learned/sprints/sprint-4` ## Context These items were identified during Sprint 4 but not addressed to avoid scope creep. Scheduled for post-Sprint 5.
lmiranda added the Type/DocumentationComplexity/SimplePriority/MediumEffort/M labels 2026-01-28 19:11:29 +00:00
lmiranda changed title from [Backlog] docs: Document Sprint 4 lessons learned and plugin behavior clarifications to [Sprint 5] docs: Document Sprint 4 lessons learned and plugin behavior clarifications 2026-01-28 19:16:37 +00:00
lmiranda added this to the Sprint 5 - Documentation milestone 2026-01-28 19:19:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#266