@@ -108,6 +108,9 @@ CastQuest Ecosystem
108108
109109# Auto-deploy with validation
110110.smartbrain/brain.sh auto
111+
112+ # Run Smart Brain Oracle for insights
113+ .smartbrain/oracle.sh all
111114```
112115
113116### Full Auto-Deploy Workflow
@@ -200,18 +203,81 @@ Protected Paths:
200203
201204## Integration with Master.sh
202205
203- The Smart Brain works seamlessly with ` scripts/master.sh ` :
206+ The Smart Brain works seamlessly with ` scripts/master.sh ` and the Oracle :
204207
205208``` bash
206209# Use Smart Brain for git operations
207210.smartbrain/brain.sh auto
208211
212+ # Use Oracle for dependency insights
213+ .smartbrain/oracle.sh all
214+
209215# Use master.sh for system operations
210216scripts/master.sh deploy production
211217scripts/master.sh workers start
212218scripts/master.sh monitor
219+
220+ # Combined health workflow
221+ .smartbrain/oracle.sh all && scripts/master.sh health
222+ ```
223+
224+ ## Smart Brain Oracle
225+
226+ The Smart Brain Oracle provides AI-powered repository insights:
227+
228+ ### Features
229+
230+ - ** Dependency Health Analysis** : Version consistency and compatibility checks
231+ - ** Security Vulnerability Detection** : Automated scanning for known issues
232+ - ** Version Upgrade Recommendations** : Intelligent upgrade suggestions with compatibility analysis
233+ - ** Deprecated Package Monitoring** : Track and alert on obsolete packages
234+ - ** Performance Improvement Suggestions** : Optimization recommendations
235+ - ** Monorepo Structure Analysis** : Architecture insights and improvements
236+ - ** Predictive Maintenance Warnings** : Proactive alerts before issues arise
237+ - ** Dependency Graph Visualization** : Visual representation of relationships
238+ - ** Smart Conflict Resolution** : Intelligent dependency conflict fixing
239+
240+ ### Oracle Usage
241+
242+ ``` bash
243+ # Run all analyses
244+ .smartbrain/oracle.sh all
245+
246+ # Specific analyses
247+ .smartbrain/oracle.sh analyze # Dependency health
248+ .smartbrain/oracle.sh security # Security scan
249+ .smartbrain/oracle.sh upgrades # Upgrade recommendations
250+ .smartbrain/oracle.sh deprecated # Deprecated packages
251+ .smartbrain/oracle.sh performance # Performance tips
252+ .smartbrain/oracle.sh structure # Monorepo analysis
253+ .smartbrain/oracle.sh warnings # Predictive warnings
254+ .smartbrain/oracle.sh graph # Dependency graph
255+ .smartbrain/oracle.sh conflicts # Conflict resolution
256+ .smartbrain/oracle.sh integration # System integration status
257+ .smartbrain/oracle.sh report # Comprehensive report
258+
259+ # View generated report
260+ cat ORACLE-REPORT.md
213261```
214262
263+ ### Oracle Integration with CI/CD
264+
265+ The Oracle is integrated into the GitHub Actions workflow:
266+
267+ ``` yaml
268+ # .github/workflows/dependency-health.yml
269+ - name : Run Smart Brain Oracle
270+ run : .smartbrain/oracle.sh report
271+
272+ - name : Upload Oracle Report
273+ uses : actions/upload-artifact@v3
274+ with :
275+ name : oracle-report
276+ path : ORACLE-REPORT.md
277+ ` ` `
278+
279+ See [docs/DEPENDENCY-HEALTH.md](../docs/DEPENDENCY-HEALTH.md) for comprehensive documentation.
280+
215281## Configuration
216282
217283Configuration is stored in ` .smartbrain/config.json`:
0 commit comments