You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracer: Filter model usage and show retained totals in Profile #507
#39 — Usage read model / Typert remote / Profile contract; part of #34.
What to build
The PersonaBot Profile lets a Human filter actual model usage by provider/model, execution role, and bounded date range, see all-time totals, and distinguish no activity from unknown or temporarily degraded usage.
Acceptance criteria
The activity chart defaults to the last 7 days (Human-confirmed in UIUX: Coordinate daily usage and actual-model charts with one time range #592) and offers bounded selectable ranges; totals and daily points stay consistent with the selected provider/model and Orchestrator, Assignment, or DSH Subagent role filters.
All-time totals remain available separately from the selected chart range and include retained usage after ordinary Session deletion.
Missing provider usage is visibly unknown rather than zero; empty, partial, stale, and degraded query results have distinct, accessible Profile states.
Detailed Host queries are bounded or paginated, expose freshness, and use the existing API Gateway; Browser code does not derive totals from private Session logs.
Focused Host query and Client interaction tests cover filters and states; an isolated DSH Profile with more than one used route and role is Human-testable, with screenshots in the UI PR.
Task: codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21 (not a DSH Session)
Issue scope: bounded public Usage queries, actual model/provider and execution-role filters, separate retained all-time totals, observable freshness and Profile states, real DSH E2E evidence.
Branch: codex/507-usage-filters
Started: 2026-10-01 UTC
State: active
The chart defaults to the Human-confirmed last 7 days (#592), replacing the older 26-week default. Execution categories remain in collapsed details; model/provider views remain separate and compact. Session deletion does not delete statistics (#502).
Delivered: bounded actual-model/provider/date/execution-role filters, independently retained all-time totals, explicit empty/unknown/stale/degraded states, and manual Refresh without polling or timed expiry.
Verification: 46 focused tests, typecheck, build, bilingual Release Ledger, full Linux CI and real isolated DSH E2E pass. CodeRabbit reviewed the final head; no new actionable findings and both earlier review threads are resolved.
Evidence: five immutable, accessible real-DSH screenshots and public verification packets in the PR. A genuinely incomplete provider report remains unknown; known Flash total is 68,166 and Subagent total is 7,834. An empty selected period has zero activity while all-time remains 68,166.
Remaining: Human QA and authorization to merge. Tracer: Preserve model plans in Profile Backup only #505 remains deferred on the complete Backup/Export prerequisites; ordinary Session deletion does not erase token statistics.
Verification: final-head full Linux CI and real isolated DSH E2E pass; CodeRabbit final-head reviews have no outstanding actionable threads. Screenshot evidence remains accessible in the PR.
Delivered: date, actual model/provider and execution-role filters; retained all-time totals; explicit unknown/empty/failure states; manual Refresh without polling or timed expiry.
Activity
DoodleBears commentedon Oct 1, 2026
Agent work claim
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21(not a DSH Session)codex/507-usage-filtersThe chart defaults to the Human-confirmed last 7 days (#592), replacing the older 26-week default. Execution categories remain in collapsed details; model/provider views remain separate and compact. Session deletion does not delete statistics (#502).
test(usage): include filtered Profile query in Host registration cont…
fix(profile): preserve the heatmap accessibility separator
fix(usage): refresh Profile usage only on demand
merge: integrate main for usage filter QA
DoodleBears commentedon Oct 1, 2026
Agent work outcome
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa213e412b8c5001a0f5443c721ab9369c5fb5e61177.DoodleBears commentedon Oct 1, 2026
Agent work outcome
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21dfe8b637b0515959e1ab706d9b99dbb0c1c9024c.