New Updates closes #491 #517 #521 - #709
Merged
Merged
Conversation
|
@Enniwealth Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds three AI-powered feature sets to StarForge:
AI Model Selection and Routing (
starforge ai-route) — Classifies tasks by complexity and category, routes to the optimal provider/model (fast/cheap for simple tasks, capable models for complex work, CodeLlama for code, Ollama when local preference is set), learns category preferences over time, and surfaces performance metrics from AI telemetry.AI Project Planning Assistant (
starforge ai-plan) — Helps plan Soroban projects with requirement analysis, architecture suggestions (monolithic vs modular), detailed task breakdown, timeline estimation with milestones, team resource allocation, risk identification with mitigations, testing strategy, and deployment planning. Optional Ollama AI enhancement for plan review.AI Accessibility Features (
starforge ai-accessibility) — Makes StarForge usable for developers with disabilities via screen reader optimization, 14 voice commands covering all major operations, rule-based and AI text simplification, high contrast mode, keyboard shortcuts, customizable settings persisted to disk, and WCAG A/AA/AAA compliance checking.New commands
starforge ai-route classify <prompt>starforge ai-route select <prompt>starforge ai-route preferences show/setstarforge ai-route statsstarforge ai-route learn <category> <model>starforge ai-plan analyze <description>starforge ai-plan architecture <description>starforge ai-plan breakdown <description>starforge ai-plan timeline <description>starforge ai-plan resources <description>starforge ai-plan risks <description>starforge ai-plan generate <name> <description>starforge ai-accessibility configurestarforge ai-accessibility simplify <text>starforge ai-accessibility voice list/matchstarforge ai-accessibility shortcutsstarforge ai-accessibility wcag-check <text>Files added
src/utils/ai_model_router.rs— Model routing enginesrc/utils/ai_project_planner.rs— Project planning enginesrc/utils/ai_accessibility.rs— Accessibility enginesrc/commands/ai_model_router.rs—ai-routeCLIsrc/commands/ai_plan.rs—ai-planCLIsrc/commands/ai_accessibility.rs—ai-accessibilityCLITest plan
starforge ai-route classify "generate a token contract"→ categorycode_generationstarforge ai-route select "audit for vulnerabilities"→ routes to capable modelstarforge ai-route preferences set --cost-sensitive true --prefer-local truestarforge ai-plan generate my-token "SEP-41 fungible token with mint and burn"starforge ai-plan risks "upgradeable DAO governance contract"starforge ai-accessibility voice match "deploy contract"starforge ai-accessibility simplify "We will utilize comprehensive deployment"starforge ai-accessibility wcag-check --level aa "sample output text"starforge ai-accessibility configure --screen-reader true --high-contrast truecloses #491
closes #517
closes #521