Skip to content

New Updates closes #491 #517 #521 - #709

Merged
Nanle-code merged 1 commit into
Nanle-code:masterfrom
Enniwealth:nano
Jul 30, 2026
Merged

New Updates closes #491 #517 #521#709
Nanle-code merged 1 commit into
Nanle-code:masterfrom
Enniwealth:nano

Conversation

@Enniwealth

Copy link
Copy Markdown
Contributor

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

Command Description
starforge ai-route classify <prompt> Classify task complexity and category
starforge ai-route select <prompt> Select optimal model for a task
starforge ai-route preferences show/set View or update routing preferences
starforge ai-route stats Model performance metrics from telemetry
starforge ai-route learn <category> <model> Record learned category preference
starforge ai-plan analyze <description> Analyze project requirements
starforge ai-plan architecture <description> Suggest contract architectures
starforge ai-plan breakdown <description> Generate task breakdown
starforge ai-plan timeline <description> Estimate timeline with milestones
starforge ai-plan resources <description> Plan team resources
starforge ai-plan risks <description> Identify project risks
starforge ai-plan generate <name> <description> Generate full project plan
starforge ai-accessibility configure Configure accessibility settings
starforge ai-accessibility simplify <text> Simplify text for readability
starforge ai-accessibility voice list/match Voice command support
starforge ai-accessibility shortcuts List keyboard shortcuts
starforge ai-accessibility wcag-check <text> WCAG compliance check

Files added

  • src/utils/ai_model_router.rs — Model routing engine
  • src/utils/ai_project_planner.rs — Project planning engine
  • src/utils/ai_accessibility.rs — Accessibility engine
  • src/commands/ai_model_router.rsai-route CLI
  • src/commands/ai_plan.rsai-plan CLI
  • src/commands/ai_accessibility.rsai-accessibility CLI

Test plan

  • starforge ai-route classify "generate a token contract" → category code_generation
  • starforge ai-route select "audit for vulnerabilities" → routes to capable model
  • starforge ai-route preferences set --cost-sensitive true --prefer-local true
  • starforge 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 true

closes #491
closes #517
closes #521

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@Nanle-code
Nanle-code merged commit 9baa359 into Nanle-code:master Jul 30, 2026
6 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI Accessibility Features AI Project Planning Assistant Implement AI Model Selection and Routing

2 participants