-
Notifications
You must be signed in to change notification settings - Fork 1
Remove unused MCP servers, improve workflow execution #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ca8d749
fbd1a8a
04172b2
fe46cf2
29c8a0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -87,14 +87,12 @@ This enables Synthesizer to extract and resolve decisions across variants. | |||||||
|
|
||||||||
| | Trigger | Tool | Purpose | | ||||||||
| |---------|------|---------| | ||||||||
| | External library API | context7 | Current documentation | | ||||||||
| | Architecture patterns | deepwiki | Production examples | | ||||||||
|
|
||||||||
| ### Tool Selection Flowchart | ||||||||
|
|
||||||||
| ``` | ||||||||
| START → Using external library? | ||||||||
| YES → context7: resolve-library-id → get-library-docs | ||||||||
| NO → Continue | ||||||||
| ↓ | ||||||||
| Need production architecture example? | ||||||||
|
|
@@ -112,7 +110,6 @@ Monitor will validate written code | |||||||
|
|
||||||||
| ## Handling MCP Tool Responses | ||||||||
|
|
||||||||
|
||||||||
| ### deepwiki Results |
Copilot
AI
Mar 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Library Implementation chaining pattern lost its first step, leaving an orphaned continuation arrow. Restructure the pattern to start properly.
Copilot
AI
Mar 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The priority numbering jumps from 2 to 4 after removing item 3 ("Research tools"). Should be renumbered, and deepwiki should arguably still be listed in the priority order.
| 2. **Security constraints** (NEVER override) | |
| 2. **Security constraints** (NEVER override) | |
| 3. **Project-specific sources** (current repo, deepwiki, internal docs) |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -107,11 +107,9 @@ You are a technical documentation expert specialized in architecture reviews and | |||||||||||
|
|
||||||||||||
| ## Optional MCP Tools (with fallbacks) | ||||||||||||
| ``` | ||||||||||||
| IF mcp__context7__* available: | ||||||||||||
| → Use for library documentation verification | ||||||||||||
| ELSE: | ||||||||||||
| → Use Fetch to get raw documentation from official sources | ||||||||||||
| → Log: "context7 unavailable, using direct fetch" | ||||||||||||
|
|
||||||||||||
|
Comment on lines
110
to
113
|
||||||||||||
| IF mcp__deepwiki__* available: | ||||||||||||
| → Use for GitHub repository architecture questions | ||||||||||||
|
|
@@ -409,7 +407,6 @@ For External URL "https://project.io/": | |||||||||||
| │ | ||||||||||||
| └─ FAILURE (timeout/404/error) | ||||||||||||
| Is known library (npm/pypi/k8s)? | ||||||||||||
| ├─ YES → mcp__context7__resolve_library_id → get_library_docs | ||||||||||||
| └─ NO → Mark as "verification_needed", severity per criticality | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
|
|
@@ -423,9 +420,6 @@ Fetch( | |||||||||||
| ) | ||||||||||||
|
|
||||||||||||
| # 2. Verify library integration | ||||||||||||
| mcp__context7__resolve_library_id(libraryName="kyverno") | ||||||||||||
| mcp__context7__get_library_docs( | ||||||||||||
| context7CompatibleLibraryID="/kyverno/kyverno", | ||||||||||||
| topic="CRD installation and webhook requirements", | ||||||||||||
| tokens=3000 | ||||||||||||
|
Comment on lines
423
to
424
|
||||||||||||
| topic="CRD installation and webhook requirements", | |
| tokens=3000 | |
| Fetch( | |
| url="https://openreports.io/docs/kubernetes/", | |
| prompt="Verify CRD installation and webhook requirements" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -376,7 +376,6 @@ Thought 8: Generate recommendation balancing dimensions | |
| **Thought Structure Example**: | ||
| ``` | ||
| Thought 1: Identify knowledge gap areas (post-cutoff APIs, complex algorithms, security patterns) | ||
| Thought 2: Check Actor output for research documentation (context7, deepwiki citations) | ||
| Thought 3: Evaluate if research was appropriate (did gap require external knowledge?) | ||
| Thought 4: Assess implementation correctness against research sources or known patterns | ||
| Thought 5: Determine if research omission caused correctness issues (outdated API, wrong algorithm) | ||
|
|
@@ -397,13 +396,11 @@ Thought 7: Generate recommendation with research feedback | |
| **Initial hypothesis**: Completeness 7/10 (has tests, docs), Functionality 8/10 (works) | ||
|
|
||
| **Sequential-thinking discovery**: | ||
| - **Thought 1**: Next.js Server Actions released April 2023 (post-cutoff) → expect context7 research | ||
| - **Thought 2**: No research citations in Approach section → used training data (outdated) | ||
| - **Thought 4**: Implementation uses `getServerSideProps` → deprecated in Next.js 13+ (Functionality 6/10, uses old API) | ||
| - **Thought 5**: Should use async Server Components pattern → research would have caught this | ||
| - **Thought 6**: Completeness 5/10 (missing research step, outdated implementation approach) | ||
| - **Consolidated**: Functionality 6/10 (wrong pattern), Completeness 5/10 (no research), Code_quality 7/10 (clear but outdated) | ||
| - **Recommendation**: "improve" - use mcp__context7 to get Next.js 14 Server Actions docs, refactor to async Server Components pattern | ||
|
|
||
| --- | ||
|
|
||
|
|
@@ -425,11 +422,9 @@ Thought 7: Generate recommendation with research feedback | |
|
|
||
| **Value Add**: Sequential-thinking reveals dimension interactions that single-pass evaluation misses, leading to more accurate scores and actionable recommendations that address root trade-offs (not just symptoms). | ||
|
|
||
| ### 2. mcp__claude-reviewer__get_review_history | ||
| **Use When**: Check consistency with past implementations | ||
| **Rationale**: Maintain consistent standards (e.g., if past testability scored 8/10, use same criteria). Prevents score inflation/deflation. | ||
|
|
||
| ### 3. mcp__context7__get-library-docs | ||
| **Use When**: Solution uses external libraries/frameworks | ||
| **Process**: `resolve-library-id` → `get-library-docs(topics: best-practices, performance, security, testing)` | ||
| **Rationale**: Libraries define quality standards (React testing, Django security). Validate solutions follow these. | ||
|
Comment on lines
425
to
430
|
||
|
|
@@ -648,7 +643,6 @@ Untested code is broken code waiting to happen. Testability indicates design qua | |
| - [ ] Error handling complete? | ||
| - [ ] Logging added for debugging? | ||
| - [ ] Research performed when appropriate (unfamiliar libraries, complex algorithms)? | ||
| - IF subtask requires external knowledge (post-cutoff APIs, production patterns): Did Actor use research tools (context7/deepwiki) OR document skip justification? | ||
| - IF research performed: Are sources cited in output (Approach/Trade-offs sections)? | ||
| - Research completeness indicates thoroughness and reduces Monitor rejection risk | ||
| - [ ] Deployment considerations addressed? | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -487,7 +487,6 @@ Test Code: | |||||||
| → Verify coverage expectations | ||||||||
| ``` | ||||||||
|
|
||||||||
|
||||||||
| ### 1. mcp__claude-reviewer__request_review |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -73,7 +73,6 @@ TIER 2 (Standard - 1-2 min): | |||||||
| - Cross-validate results | ||||||||
|
|
||||||||
| TIER 3 (Deep - 3-5 min): | ||||||||
|
||||||||
| TIER 3 (Deep - 3-5 min): | |
| TIER 3 (Deep - 3-5 min): | |
| └── grep (deep dependency analysis + edge-case search) |
Copilot
AI
Mar 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same orphaned content issue as in the template. The ### 1. mcp__context7__get-library-docs heading was removed but lines 427-441 still contain all the body text for the removed section.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -27,7 +27,6 @@ You are an expert learning analyst who extracts reusable patterns and insights f | |||||
| → sequential-thinking for root cause analysis | ||||||
|
|
||||||
| 2. Error involves library/framework misuse? | ||||||
| → context7 (resolve-library-id → get-library-docs) | ||||||
|
|
||||||
|
||||||
| → deepwiki for library documentation |
Copilot
AI
Mar 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Orphaned bullet points after removing the **mcp__context7__resolve-library-id + get-library-docs** heading. Lines 42-44 still contain the body content for the removed context7 tool section without any heading. These should be removed or refactored.
Copilot
AI
Mar 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Orphaned fallback text. The IF context7 cannot resolve library: condition was removed, but its body remains as dangling text inside the code block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flowchart's first decision "START → Using external library?" now only has "NO → Continue" — the "YES" path was removed. This makes the decision node meaningless. Either remove the question or add deepwiki as the replacement "YES" action.