Commits
Marek Vsechovsky committed 4e9eec35bdb
Session 170, Step 1: Record issue attempts and model complexity retries during step import - AIM-3193 Record issue attempts and model complexity retries during step import - AIM-3194 Persist ratings and adjust issue and agent aggregates - AIM-3195 Add user rating preferences and project cost and rating switches - AIM-3196 Rate previous AI attempts while saving or editing issue notes - AIM-3197 Apply configurable final ratings through Done buttons and shortcuts - AIM-3198 Maintain monthly AI cost totals and generate historical backfill - AIM-3199 Expose user-filtered model productivity statistics and monthly costs - AIM-3200 Select models to inspect monthly costs and pricing metadata - AIM-3201 Merge and unmerge model aliases without rewriting stored statistics - AIM-3202 Show average issue rating and correctly pluralized session counters - AIM-3203 Stamp imported issue attempts with the incremented step count - AIM-3204 Identify prior issue attempts by the importing AI agent - AIM-3205 Create missing model complexity retry aggregate rows - AIM-3206 Increment model complexity attempt totals on step import - AIM-3207 Count each issue once in model complexity aggregates - AIM-3208 Count distinct processed issues in model rating aggregates - AIM-3209 Save a rating against the targeted AI implementation attempt - AIM-3210 Increment issue rating count and total on a first attempt rating - AIM-3211 Adjust issue rating total without recounting edited ratings - AIM-3212 Update model rated-issue and rated-step counters on first ratings - AIM-3213 Maintain model total rating using first values and edit deltas - AIM-3214 Seed the opt-in user implementation rating setting - AIM-3215 Seed the Done-button rating behavior radio group - AIM-3216 Seed the Done-shortcut rating behavior radio group - AIM-3217 Persist and expose the project cost-tracking switch - AIM-3218 Persist and expose the project implementation-rating switch - AIM-3219 Gate issue-detail and workflow-step-one ratings by user and project - AIM-3220 Gate workflow-step-four credit fields by user and project - AIM-3221 Save steering notes and status with one of five rating buttons - AIM-3222 Display saved attempt stars in the AI note header - AIM-3223 Restore the previous AI rating when editing a steering note - AIM-3224 Submit rated notes with Alt+1 through Alt+5 - AIM-3225 Preserve attempt ratings when saving note edits normally - AIM-3226 Require a rating dialog for Done-button clicks when configured - AIM-3227 Assign five stars directly on configured Done-button clicks - AIM-3228 Complete issues without recording a final rating when configured - AIM-3229 Render five-to-one star radio choices in the Done dialog - AIM-3230 Enforce required final ratings for the Implemented button and D key - AIM-3231 Apply five-star-default and optional-rating shortcut dialog modes - AIM-3232 Confirm the Done dialog immediately using number keys 1 to 5 - AIM-3233 Accumulate new AI costs into the existing current-month row - AIM-3234 Create separate monthly cost rows at month and year rollover - AIM-3235 Generate last-full-month per-project-user-agent cost backfill - AIM-3236 Expose optional model cache-read and cache-write prices - AIM-3237 Rename the project AI tab and add the default personal-stats filter - AIM-3238 Calculate personal model cost totals from monthly agent rows - AIM-3239 Replace token columns with weighted average model retries - AIM-3240 Display processed-issue and rated-issue and step model counts - AIM-3241 Render average model ratings with full and half stars - AIM-3242 Display total monthly agent costs beside the model table - AIM-3243 Toggle model selection to filter the monthly costs table - AIM-3244 Connect the selected model row visually to its monthly table - AIM-3245 Show selected-model prices and notes in a metadata tooltip - AIM-3246 Enable row drag-and-drop only in AI model merge mode - AIM-3247 Confirm and persist a project-scoped model alias merge - AIM-3248 Load raw model facts and project aliases for client-side aggregation - AIM-3249 Combine aliased model costs and statistics immediately on the client - AIM-3250 Show merged child rows and restore models using Unmerge - AIM-3251 Reject merges onto children and prevent invalid alias relationships - AIM-3252 Reparent all children when merging a model parent - AIM-3253 Expose issue rating count and total with issue detail data - AIM-3254 Replace the issue note-count badge with average implementation rating - AIM-3255 Pluralize issue session and session-step counters using the shared helper Outcome: Implemented the 10 parent areas and 53 child issues covering attempt/rating accounting, preferences, note and Done workflows, monthly costs, statistics and reversible aliases. Verification: application build reports 0 errors; all 14 dashboard inputs parse; focused rating and weighted-statistics behavior checks pass; CSS and production JavaScript regenerated. Database migrations 137 through 140 require execution in order. SQL tooling has no configured connection, so database execution is unverified. The local dashboard redirects to sign-in, so authenticated end-to-end and viewport checks require a signed-in session. Backfill attribution: user shares are derived from recorded session-step costs and scaled to lifetime agent totals, avoiding duplication across users. Session 170, Step 2: Restore AI statistics summary and table sorting - AIM-3210 Restore project total spend above AI statistics tables - AIM-3211 Explain AI statistics checkboxes with descriptive tooltips - AIM-3212 Restore sorting on every AI statistics table column - AIM-3213 Display named months while retaining chronological cost sorting - AIM-3214 Reorder model statistics columns with cost last - AIM-3215 Preserve model names with progressive statistics column hiding - AIM-3216 Align statistics checkboxes beside the project spend panel - AIM-3217 Prevent monthly cost labels from wrapping - AIM-3218 Stack statistics panels at the narrowest container widths Outcome: Restored project total spend (-3847), checkbox tooltips (-3848), all nine sortable columns (-3849) and named chronological months (-3850). Focused renderer checks passed for placement, every model column, monthly sorting, direction toggling and merged children. All 14 dashboard inputs parse and the production bundle was regenerated. Authenticated visual verification was not performed. Session 170, Step 3: Restore effective project cost tracking in Wf S4 and imports - AIM-3210 Restore effective project cost tracking in Wf S4 and imports - AIM-3211 Backfill session 170 step 1 cost from DevPass usage - AIM-3212 Remap all temporary issue references during number correction - AIM-3213 Reject ambiguous temporary parent and relation imports - AIM-3214 Repair session 170 step 1 issue parent links - AIM-3215 Document atomic temp-number reference corrections Outcome: Fixed missing cost flags on bootstrap/project replacements and restored zero-used-credit provider prompts (-3856). Prepared preview-first DevPass cost repair 142 (-3857) and exact parent repair 141 (-3860). Fixed stale numeric-parent renumbering, added strict preflight and parent ordering, and updated canonical guidance (-3858, -3859, -3861). Verification: application build 0 errors; all 14 JavaScript bundle inputs parse; processed-file remapping, all 63 parent mappings, cost-gate combinations and FIFO fixture checks pass. SQL scripts have not been executed against the database. ### 000_170-04.json Session 170, Step 4: Capture parent-repair output safely with enabled SQL triggers - AIM-3210 Capture parent-repair output safely with enabled SQL triggers - AIM-3211 Accept DevPass virtual-dollar usage with purchase conversion rates Outcome: Corrected script 141 with trigger-safe OUTPUT INTO (-3862) and script 142 with authorized native-unit virtual-dollar conversion (-3863). SQL diagnostics and focused structure/arithmetic checks pass. Scripts were not executed against the database.