WIP next tracks planing

This commit is contained in:
2026-03-06 14:52:10 -05:00
parent 3336959e02
commit 2c90020682
28 changed files with 482 additions and 540 deletions

View File

@@ -1,33 +1,28 @@
# Track Specification: Cost & Token Analytics Panel
## Overview
Implement cost & token analytics panel for Manual Slop application.
Real-time cost tracking panel for API usage by model and tier.
## Current State Audit
### Already Implemented (DO NOT re-implement)
- Existing backend functionality in src/ modules
- Test coverage for core features
### Already Implemented
- cost_tracker.py with MODEL_PRICING
- estimate_cost() function
- Token tracking in ai_client.py
### Gaps to Fill (This Track Scope)
This track addresses the gap between backend implementation and user-facing GUI/control.
### Gaps to Fill
- No GUI panel for cost display
- No session totals
## Goals
- Implement cost & token analytics panel
- Ensure test coverage
- Follow existing code patterns
- Cost per model display
- Session totals
- Breakdown by tier
## Functional Requirements
- User-facing functionality as described in TASKS.md
- Integration with existing backend
- Real-time cost updates
- Per-model breakdown
- Tier breakdown
## Non-Functional Requirements
- Performance: Maintain UI responsiveness
- Tests: >80% coverage for new code
## Architecture Reference
- docs/guide_architecture.md
- docs/guide_mma.md
- docs/guide_tools.md
## Out of Scope
- Major refactoring of unrelated systems
- <10ms update latency
- Clear visual formatting