Skip to content

docs: explain what Cortex shows and why it is worth running — interpreting the metrics and the value case #963

Closed

Description

@huang195

Feature Description

The docs will say how to install Cortex and how to drive it, but not what to do with what you
see. Someone looking at a session's token counts, its cache-read versus cache-write split, a cost
figure and latency percentiles has no page telling them what any of it means, which numbers
matter, or why leaving Cortex running is worth it.

This backs exit criterion 5 of the v0.9.0 release: a new user can self-serve on a typical
workstation, using the docs alone.

Proposed Solution

  • What Cortex is for, readable before installing: what it shows you that you cannot
    otherwise see
  • The value case in concrete terms — what decisions the numbers support: spotting an
    expensive prompt, seeing whether caching is working, catching a runaway session, deciding
    whether pruning is worth enabling
  • How to read a session: what each token category means, and why cache-read and cache-write
    are priced differently rather than being one number
  • How to read cost: what is included, what is estimated, and where the rates come from
  • How to read latency: time to first token versus total response time, and what the
    percentiles actually tell you
  • How to read the tool-pruning savings figure, including what a zero means for an agent with
    no tool inventory
  • A worked example on a real session, with real output rather than paraphrase
  • Verified by someone outside the team reading only the docs

Additional Context

Part of the Cortex v0.9.0 release. Complements #959 (the first-run path — how to get there) and
#960 (troubleshooting — what to do when it breaks); this issue is what the results mean once you
are there, and why they are worth having.

Depends on the metrics work landing: #950, #951, #952.

Activity

  1. added this to the Release V0.9.0 milestone on Sep 10, 2026
  2. added
    documentation
    on Sep 10, 2026
  3. added
    high priority
    on Sep 10, 2026
  4. mrsabath commented on Oct 2, 2026

    @mrsabath
    Member

    Current state — prose complete, staying open on one upstream dependency.

    The page exists as docs/get-started/reading-the-numbers.md (~400 lines) and the writing is done. Verification retargeted from v0.9.0 to v0.8.1 in rossoctl/rossoctl#2615, since v0.9.0 is now planned for end of October.

    Six of the eight boxes are met and verified against v0.8.1:

    Box Where
    What Cortex is for, before installing ## What the numbers tell you
    The value case in concrete terms ## Why leave Cortex running
    How to read a session; cache-read vs cache-write ## Read the tokens + ### Why cache read and cache write are two numbers
    How to read cost — included, estimated, rate source ## Read the cost, ## How precise a money figure is
    How to read the pruning savings, incl. what a zero means ## Read the pruning savings
    A worked example ## A worked example

    Why this stays open:

    1. Latency content depends on feature: latency metrics — time to first token, total response time, session percentiles #951. The section previously documented time-to-first-token and p50/p95/p99 percentiles. v0.8.1 implements none of that — it reports a mean per bucket with whiskers, and there is no TTFT or percentile code in the tree. docs: retarget laptop-docs verification from v0.9.0 to v0.8.1 rossoctl#2615 rewrites the section to what ships and marks the rest as planned, so the docs are no longer wrong — but the box as written is not satisfied until feature: latency metrics — time to first token, total response time, session percentiles #951 lands.
    2. The worked example is still an illustration, not a capture. The field set matches v0.8.1, the values do not come from a real session. A capture that includes the latency rows cannot be taken until feature: latency metrics — time to first token, total response time, session percentiles #951 lands either.
    3. Outside-reader verification has not run — exit criterion 5 of epic: Cortex v0.9.0 — stable local tool for coding agents #962. Needs a person lined up, not a doc change.

    So: unblocked by #951, plus one reader. Nothing else outstanding.

  5. huang195 commented on Nov 8, 2026

    @huang195
    MemberAuthor

    we're documenting it, and we have to figure out what is useful and what's not as we go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationhigh priority

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions