Files
dsh-context/docs
bowenliang123 16e3a2083e feat(stats): second session-node row — skill loads & answers figures
The Current Session node now reads two figure rows: turns/steps above
skill loads/answers, each row's cells splitting the width evenly and
centering (one column pair whatever a label's length).

- Skill Loads (counts.skills): the distinct skill names among the
  retained skill-tagged inject events — `/name` invocations and
  `skill`-tool loads; the `<available_skills>` catalog digest rides an
  untagged inject event and never counts. Derived at view time, so no
  stateVersion bump: cached rows recompute the exact tally on serve.
- Answers (state.answers, head scalar): one per assistant message
  carrying a non-blank text block — tool-call-only steps are work, not
  replies. A running total over the complete log (the humanInputs
  precedent), so the timeline stateVersion bumps 26 → 27 and the v20
  warm-up rebuilds idle sessions' rows on the first dashboard open.
- The subagent count leaves the session node (the Agent Team ledger
  row still carries it); docs/compatibility.md records the bump.

Verified end to end: lint:fix + test (100% per-file coverage) + build.
2026-10-08 16:20:54 +08:00
..