Repository navigation
Description
Parent and scope
Parent #541; related #126. This is the next Overview tracer after #705/#706.
Observable behavior
In Activity Center → Overview → Statistics, the Human sees today's reported token total across PersonaBots and a per-Bot breakdown, then switches to the last seven Host-local calendar days to inspect the trend. Bot activity state never filters reported statistics: idle Bots with usage in the selected period remain included; a period with no recorded calls has no per-Bot usage rows. Retained usage from Bots no longer in the current Registry is included and labeled; current names resolve from Registry and other rows retain the stable Bot ID. The top action/work area and message unread are unchanged.
Implementation
- Reuse the canonical Usage daily projection and explicit Session ownership from Usage read model / Typert remote / Profile contract #39 / ADR-0094. Aggregate observed Orchestrator, Assignment and Subagent attempts, all actual providers/models, exactly once. No costs or Channel token attribution.
- Add a bounded read-only Usage summary through the existing Host Bridge / Typert Remote / API Gateway: global totals and daily series independent of per-Bot pagination, with current names resolved by Registry. The browser never reads Session logs or database tables.
- Keep reported input, output, cache-read and cache-write buckets and totals nullable. Missing provider reports, reconciling/degraded state and legacy baseline are explicit; unknown never becomes zero. A genuinely empty ready interval can show zero.
- Default today; seven-day mode includes today plus six earlier Host-local dates. Reuse the existing TanStack UsageChart/theme, native controls, numeric daily and Bot detail, and the existing Statistics disclosure. Bot detail opens its PersonaBot Profile.
- Manual refresh and bounded polling update settled usage; late source corrections and restart use the same retained projection. Dispose polling on leaving the view.
Acceptance / testing
- Today/seven-day global total and paginated per-Bot rows agree with the canonical Profile usage query; all-time history does not leak into the selected range.
- Unknown buckets/totals and unavailable/degraded states stay explicit; fresh zero differs from unavailable. No truncation/page can falsify global totals.
- Native switch/refresh, real TanStack chart and Profile navigation work without answering requests or changing read receipts.
- Focused owning Usage / public Host Bridge and mounted Client coverage exercises multiple Bots, roles/routes, local date boundaries, paging, duplicate/late source facts, stale queries and cleanup.
- A real DSH model reply produces usage visible in Overview and matching Profile. Capture desktop/narrow light/dark screenshots, verify a subsequent model reply and restart, include evidence in one PR, then await Human QA.
Memory activity is a separate follow-up tracer. No new usage persistence, monetary estimate, provider route policy, or wake semantics.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
DoodleBears commentedon Oct 2, 2026
Agent work claim
codex/local/01a0f083-4337-71d2-8639-dec84699b8d9(not a DSH Session)codex/overview-usage-seven-daysMerge latest Activity source roles into Overview usage slice
DoodleBears commentedon Oct 2, 2026
Agent work outcome
codex/local/01a0f083-4337-71d2-8639-dec84699b8d9(not a DSH Session)093f4e9e3ea7b548c1e2f87a2ce9a7cd75e0cd9c, includes current main.DoodleBears commentedon Oct 2, 2026
Agent work claim — Human QA follow-up
codex/local/01a0f083-4337-71d2-8639-dec84699b8d9(not a DSH Session)codex/overview-usage-seven-daysfix: align Overview token usage with compact PersonaBot Profile
Merge latest Activity public detail into compact Overview usage
docs: map reproducible Overview captures to published evidence
DoodleBears commentedon Oct 2, 2026
Agent work outcome — Human QA compact alignment
codex/local/01a0f083-4337-71d2-8639-dec84699b8d9(not a DSH Session)02314ed4819f017df5e182e02b68d0998c0f15de, includes main feat(activity): show Provider-declared public tool detail #710.963b87d4; its one minor evidence-name comment is addressed by the explicit capture/public-name copy mapping and the thread is resolved. Final02314ed4is evidence-only; no claim of a new full review of that documentation delta.feat: Overview token totals and seven-day usage (#709) (#711)
DoodleBears commentedon Oct 2, 2026
Completed: PR #711 merged as a86e1f9 after Human QA. Compact Token usage now follows the PersonaBot Profile pattern, with real DSH E2E evidence and passing CI. Agent task: codex/local/01a0f083-4337-71d2-8639-dec84699b8d9.