Phase 2: Make Provider-Native Usage Windows First-Class #37
Labels
No Label
admin
agent-api
api
api-client
audit
backend
boards
cost-accounting
database
design
forgejo
frontend
issues
metrics
mutation
navigation
optional
phase:1
phase:2
phase:3
phase:4
phase:5
phase:6
polish
priority:high
priority:low
priority:medium
service
sync
usage-accuracy
validation
webhooks
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Pipeline#37
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
References:
remaining-usage-accuracy-review-plan.md— Phase 2Summary
Pipeline has a Claude usage scraper, but it stores only one
current_pctand oneremaining_ms, then weekly messages/tokens/cost. The reference parser captures separate sections for current session, weekly all-model, and weekly Sonnet windows. The single-percent shape cannot represent the target display of independent bars with independent reset times.The scraper is also opt-in (
USAGE_SCRAPER_ENABLED=false) and its results are not wired into the dashboard priority path.Acceptance Criteria
/usagesample with current session and all-model weekly windows produces two separate bars with independent reset timesWork
ParsedClaudeUsageandProviderUsageScrapeResultto include an array of windows:current_session,weekly_all_models,weekly_sonnet,extra_usageparse-claude-usage.py) while keeping Pipeline's broader time parsing testsDo Not
weekly_all_modelsandweekly_sonnet— they answer different questionsPriority: High
Phase: 2