Conversation
…ion) Add score-weighted backend selection replacing pure round-robin, with periodic scoring based on cost efficiency, speed, reliability, and quality metrics. Add configurable spending budgets (global/per-project, daily/weekly/ monthly) with warn/critical threshold alerts and auto-pause when exceeded. Swift: v22 migration, 3 models (BackendScore, CostBudget, BudgetAlert), BackendScoringService actor (5-min polling), BudgetMonitorService actor (60s polling), weighted selection in BackendRouter, budget-aware dispatch in Orchestrator, Efficiency + Budgets tabs in CostDashboardView, score badges in SettingsView. Rust/React: v23 migration, model structs with CRUD, 6 Tauri commands, TypeScript types + invoke wrappers, Zustand store, BackendScoreBadge + CostEfficiencyTab + CostBudgetTab components, i18n (en + tr). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 7, 2026
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
Changes
backendScore,costBudget,budgetAlerttables (Swift v22 / Rust v23)BackendScoringServiceactor (composite scoring algorithm),BudgetMonitorServiceactor (threshold detection + pause signaling), weighted selection inBackendRouter, budget-aware dispatch inOrchestrator, Efficiency + Budgets tabs inCostDashboardView, score badges inSettingsViewNotificationCategory::BudgetBackendScoreBadge,CostEfficiencyTab,CostBudgetTabcomponents, updatedCostDashboard+BackendSettingscostStorewith scores, budgets, utilizations state + actionscosts.efficiency.*andcosts.budget.*keys in en.json + tr.jsonTest plan
cd CreedFlow && swift build— 0 errorscd creedflow-desktop/src-tauri && cargo build— 0 errorscd creedflow-desktop && npx tsc --noEmit— 0 errors🤖 Generated with Claude Code