Conversation
Empty on purpose: this branch is the root of the statistics review chain. It stays at the default branch and accumulates the review slices.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi — a short note from my side, and a question, because I'd rather not assume. This is the draft tracker I opened for the work in #1583. I split the change into 27 PRs in my fork ( While doing that I realised I'd probably gotten part of the process wrong, and I'd appreciate your help with it:
So I'm a bit stuck on what you'd prefer, and I'd rather ask than guess:
Thank you, and sorry for the extra noise. The fuller context is in #1583. |
|
Pulling this tracker back while the per-session statistics module is still under active development. I will reopen it (or a replacement tracker) once the module is in a reviewable state. No impact on main. |
Integration PR — do not merge yet (draft)
This is the root of the per-session statistics module for issue #1583. The branch stays at the verified default branch and accumulates the review slices as they are approved, so the review really happens slice by slice and this PR is the integration record.
What this delivers
A self-contained per-session statistics module: what the session cost, what each subagent and each model cost, and where the time went — plus an hours report for people who bill.
$0and an unreported value stay different states, for cost and now for tokens too; an unavailable value renders as unavailable, never as0.+marker while the total is partial.cd <cwd> &&prefix normalized.DO_NOT_TRACK/CIopt-out, nothing ever transmitted.gentle-shell.statistics/v1on its own widget key, plus markdown/CSV/JSON rendered from the same aggregate./gentle:statistics, with the panel reading a cached snapshot instead of recomputing per frame.Review slices (27, in order)
Why the slices live in the fork
GitHub requires a PR's base branch to exist in the destination repository, so with read-only access here the nested chain could not be opened on this repository. Each slice is ≤400 changed lines and keeps its tests and docs with the unit they verify.
Integration
Once the chain is reviewed, the fork tracker branch (
upstream/statistics-tracker) carries the integrated result and this PR's diff becomes the whole feature. Because that diff exceeds 400 changed lines, this PR would need the repository'ssize:exceptionroute at that point — the review has already happened slice by slice.The architecture, data catalog and settled decisions are in issue #1583 and its epic.