You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v1.3.0: AI Workflow Enhancement - The Golden Path
Major Features:
- 🎯 Golden Path Workflow: 6-step methodology for context-aware F&O development
- 🔧 Custom Code Discovery: AI now searches user's workspace for existing extensions
- 📊 Context-Aware Generation: Combines standard D365 with user's customizations
- ⚠️ Conflict Prevention: Ensures AI checks existing extensions before generating code
Enhancements:
- Complete rewrite of MCP instructions with 857-line AI-optimized document
- Visual emoji-based formatting for AI agent parsing
- ASCII workflow diagrams showing complete development process
- Structured presentation templates for clear output
- Critical warnings about common mistakes
Technical Changes:
- New instruction document: docs/MCP_instruction_doc/MCP_Tool_SearchFOArtifacts_Instructions.md
- Dynamic instruction loading with placeholder replacement
- Enhanced buildInstructions() function with fallback mechanism
- Updated README with Golden Path workflow examples
- Version bumped to 1.3.0 in package.json
Why This Matters:
Solves #1 problem - AI generating code that conflicts with existing F&O extensions.
AI now ALWAYS checks user's custom code before generating, ensuring seamless integration.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 📊 **Context-Aware Generation Guidance**: AI combines standard D365 patterns with user's existing customizations
16
+
- 💡 **Structured Presentation Templates**: AI presents findings with clear distinction between standard and custom code
17
+
- ⚠️ **Conflict Prevention Protocol**: Critical workflow ensures AI checks existing extensions before generating code
18
+
19
+
### Enhanced
20
+
-**MCP Server Instructions**: Complete rewrite with 857-line AI-optimized instruction document
21
+
-**Visual Formatting**: Added emoji-based visual hierarchy for AI agent parsing (🎯, ⭐, ✅, ❌, 🔧, 📦, 💡)
22
+
-**Workflow Documentation**: ASCII diagrams showing complete 6-step development workflow
23
+
-**Integration Patterns**: Detailed guidance on combining search_fo_artifacts with workspace file tools
24
+
-**Common Mistake Prevention**: Explicit warnings about skipping user code search (Steps 3 & 4)
25
+
26
+
### Changed
27
+
-**Instruction Loading**: Instructions now loaded from external markdown file (`docs/MCP_instruction_doc/MCP_Tool_SearchFOArtifacts_Instructions.md`)
28
+
-**Dynamic Configuration**: Local assets path dynamically injected into instructions at runtime
29
+
-**Fallback Mechanism**: Graceful degradation if instruction file cannot be read
30
+
31
+
### Why This Matters
32
+
**Problem Solved**: AI was generating code that conflicted with users' existing F&O extensions because it only searched standard D365 artifacts without checking user's custom code.
33
+
34
+
**Solution**: The Golden Path workflow ensures AI ALWAYS:
35
+
1. Searches standard D365 (this tool)
36
+
2. Reads standard implementation
37
+
3.**Searches user's workspace for existing extensions** (critical step)
38
+
4.**Reads user's customizations** (critical step)
39
+
5. Generates code that extends user's existing implementation
40
+
6. Presents with full context showing both standard and custom code
41
+
42
+
**Result**: Code that integrates seamlessly with existing customizations on first try.
43
+
44
+
### Technical Changes
45
+
- New file: `docs/MCP_instruction_doc/MCP_Tool_SearchFOArtifacts_Instructions.md` (29,171 bytes)
46
+
- Updated: `buildInstructions()` function to read from external file
47
+
- Enhanced: Placeholder replacement for dynamic configuration
48
+
- Improved: Error handling with fallback instructions
✅ **AI Summaries** - Understand artifact purpose without reading XML
@@ -29,11 +31,23 @@ Transform your F&O development workflow with AI-powered semantic search over 50,
29
31
-**Architects** understanding system patterns
30
32
-**Teams** accelerating development cycles
31
33
34
+
## 🚀 v1.3.0 - AI Workflow Enhancement
35
+
36
+
**AI-Optimized Instructions**: Enhanced MCP server instructions with proven 6-step development workflow ensuring AI always checks user's existing customizations before generating code.
37
+
38
+
**Key Features:**
39
+
-**🎯 Golden Path Workflow**: AI now follows structured 6-step methodology for every F&O development task
40
+
-**🔧 Custom Code Discovery**: AI automatically searches YOUR workspace for existing extensions before generating code
41
+
-**📊 Context-Aware Generation**: Combines standard D365 patterns with your existing customizations
42
+
-**⚠️ Prevents Conflicts**: Eliminates #1 problem - AI generating code that conflicts with your extensions
43
+
44
+
**Why This Matters**: AI never generates code blindly - it always checks your existing extensions first, ensuring generated code integrates seamlessly with your current implementation.
45
+
32
46
## 🔧 v1.2.1 - Critical Threshold Fix
33
47
34
48
**Resolved**: Fixed threshold settings that were filtering out exact matches. Updated all examples to use 0.5 threshold for reliable foName filter functionality.
35
49
36
-
## 🆕 New in v1.2.0
50
+
## 🆕 v1.2.0 - Exact Artifact Matching
37
51
38
52
**Exact Artifact Matching**: Added `foName` filter for precise artifact lookup when you know the exact F&O artifact name.
39
53
@@ -51,27 +65,71 @@ Transform your F&O development workflow with AI-powered semantic search over 50,
51
65
52
66
---
53
67
54
-
## 🔥 Real-World AI Assistant Scenarios
68
+
## 🤖 How AI Uses This Tool - The Golden Path Workflow
69
+
70
+
When you ask AI to help with F&O development, it now follows a **proven 6-step workflow** that ensures context-aware code generation:
71
+
72
+
### **The Workflow in Action:**
73
+
74
+
**You:** "Add a custom field to SalesTable form"
75
+
76
+
**AI follows Golden Path:**
77
+
```
78
+
Step 1: 🔍 Search Standard D365
79
+
→ Finds SalesTable form in Microsoft's implementation
80
+
81
+
Step 2: 📖 Read Standard Implementation
82
+
→ Reads Microsoft's XML to understand structure and patterns
83
+
84
+
Step 3: 🔧 Search YOUR Custom Code (Critical!)
85
+
→ Searches YOUR workspace for existing SalesTable extensions
86
+
87
+
Step 4: 📖 Read YOUR Customizations
88
+
→ Reads your current extensions to understand your style
89
+
90
+
Step 5: ✨ Generate Context-Aware Code
91
+
→ Creates extension that works with YOUR existing code
92
+
93
+
Step 6: 💡 Present with Full Context
94
+
→ Shows: Standard artifacts + Your extensions + Generated code
95
+
```
96
+
97
+
**Result:** Code that integrates perfectly with your existing customizations, not generic code that conflicts with your extensions.
98
+
99
+
### **Why This Matters:**
100
+
101
+
**❌ Old Way (Without Golden Path):**
102
+
```
103
+
You: "Add field to SalesTable"
104
+
AI: *searches standard only* → generates code → conflicts with your existing extensions
105
+
```
106
+
107
+
**✅ New Way (With Golden Path):**
108
+
```
109
+
You: "Add field to SalesTable"
110
+
AI: *searches standard + YOUR code* → generates code that extends YOUR implementation
111
+
```
112
+
113
+
## 🔥 Real-World Scenarios
55
114
56
115
**Extension Development:**
57
116
```
58
117
You: "I need to create a custom validation for sales orders"
59
-
AI: *automatically searches F&O artifacts* "I found SalesTable validation patterns. Let me read the XML files and show you 3 approaches..."
118
+
AI: Step 1-2: *searches + reads standard SalesTable validation*
119
+
Step 3-4: *finds + reads YOUR existing SalesTable extensions*
120
+
Step 5-6: "I see you already have SalesTable.Extension1. Here's validation
121
+
code that extends YOUR implementation..."
60
122
```
61
123
62
124
**Learning Existing Code:**
63
125
```
64
126
You: "How does inventory posting work?"
65
-
AI: *queries relevant artifacts* "Based on InventPosting class and related forms, here's the flow..." *reads actual source files*
66
-
```
67
-
68
-
**Best Practices:**
69
-
```
70
-
You: "What's the right way to extend purchase workflows?"
71
-
AI: *finds workflow examples* "Looking at PurchReqWorkflow implementations..." *analyzes local XML*
127
+
AI: *follows Golden Path* "In standard D365: [shows InventPosting]
128
+
In YOUR code: [shows your customizations]
129
+
Here's how they work together..."
72
130
```
73
131
74
-
**🚀 True AI pair programming for F&O** - your AI partner has instant access to the entire F&O codebase and becomes your expert development companion!
132
+
**🚀 True AI pair programming for F&O** - your AI partner has instant access to BOTH the entire F&O codebase AND your existing customizations!
75
133
76
134
## ⚡ Quick Start
77
135
@@ -84,11 +142,7 @@ Ensure you have **Node.js** installed:
84
142
### 2. Download & Setup
85
143
86
144
1. Download the latest release and extract it anywhere on your system
87
-
2. The package includes:
88
-
-`fo-semantic-mcp-win.cmd` - Windows launcher script
89
-
-`dist/` - Compiled server files
90
-
-`node_modules/` - Dependencies (pre-installed)
91
-
-`package.json` - Project configuration
145
+
2. Use correct file and folder path in mcp configuration json
92
146
93
147
**Windows:** Use the provided `fo-semantic-mcp-win.cmd` launcher
0 commit comments