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: Show actual provider-model tokens in PersonaBot Profile #499
#39 — Usage read model / Typert remote / Profile contract; part of #34.
What to build
After one real PersonaBot Orchestrator model call, its Profile shows the actual provider/model and provider-reported input, output, cache-read, and cache-write token use through the Host usage read model.
Acceptance criteria
One real DSH Orchestrator attempt is attributed through trusted Session ownership to the PersonaBot and its exact provider/model, independently of the Bot's allowed Model Plan.
The Profile shows the four reported token buckets for that route and a correct total for the selected day; missing provider usage is not displayed as a fabricated zero.
The Browser reads a bounded Host query through the existing API Gateway rather than reading DSH logs or the operational database directly.
Focused tests cover the public usage query and Profile rendering; an isolated DSH request and screenshot provide a Human QA path.
Final head: 399abc09ba78679612249372ff1b8758ace7b893
Evidence: real isolated DSH Orchestrator reply, actual provider/model matched to native Session selection and token counts, refresh and unused-plan independence verified; light/dark screenshots use verified permanent commit links in the PR.
Verification: 161 focused tests, typecheck, lint, both release ledgers and build passed; final-head CI passed. Both CodeRabbit findings were fixed and resolved, and its final check reports Review completed.
Human path: open Actual model usage QA 1790787978277, expand PersonaBot Profile, inspect Token usage for 2026-10-01: deepseek-official / deepseek-flash, input 12,486 / output 67 / cache-read 14,464 / cache-write 0 / total 27,017. Select the preceding day for an empty state, return and refresh.
Verification: real DSH E2E and permanent light/dark screenshots; 161 focused tests; final CI and CodeRabbit checks passed; both review findings resolved.
Activity
DoodleBears commentedon Sep 30, 2026
Agent work claim
Agent: Codex
Task:
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21(not a DSH Session)Issue scope: one real owned Orchestrator attempt, bounded Host provider/model usage query, four reported token buckets and unknown reporting, visible PersonaBot Profile breakdown with isolated DSH E2E evidence.
Branch:
codex/499-provider-model-usageState: active
Started: 2026-09-30 15:44 UTC
Keep unreported Profile summaries unknown
Preserve exact totals and partial same-route usage reports
Merge current Memory file actions from main
DoodleBears commentedon Sep 30, 2026
Agent work outcome
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21(coding task, not a DSH Session)399abc09ba78679612249372ff1b8758ace7b893deepseek-official / deepseek-flash, input 12,486 / output 67 / cache-read 14,464 / cache-write 0 / total 27,017. Select the preceding day for an empty state, return and refresh.Show observed provider-model usage in PersonaBot Profile (#588)
DoodleBears commentedon Sep 30, 2026
Agent work outcome
codex/local/01a0e445-0c0f-70e1-bad4-fd99c8cfaa21(coding task, not a DSH Session)3548cbc28b8aae2c04526c8359a2f2ff433eeb7f