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
feat(assistant): record cost and outcome of discovery runs and Matter activations #6309
The assistant's discovery Session and its Matters have no cost visibility. The decision on #6247 (item 4) is to add observability first and keep hard Matter round or time limits removed, because earlier limits left useful work unfinished.
Proposal
Record and expose, per day and per run:
model calls
input, cache and output tokens
run duration
activations per Matter
whether each run reported anything (DiscoveryReport or equivalent)
Scope is observability only. No limits, budgets or behaviour change. User-configured budgets remain a separate policy discussion.
Why
Without these numbers we cannot evaluate whether discovery is worth its cost, or measure the two failure modes named in #6247 item 6: repeated notifications and loss of initiative.
Acceptance
The five measures above are recorded for discovery runs and Matter activations.
Activity
fix(assistant): record an automatic Matter retry as retried, not inte…