yoi/crates/session-metrics
2026-06-01 20:59:32 +09:00
..
src feat: protect prune tail by token budget 2026-05-23 05:00:06 +09:00
Cargo.toml feat: session-metrics実装 2026-05-03 15:10:43 +09:00
README.md docs: reorganize developer documentation 2026-06-01 20:59:32 +09:00

session-metrics

Role

session-metrics records usage and memory/session metrics that are useful for diagnostics and maintenance.

Boundaries

Owns:

  • metric record types and persistence helpers
  • explicit memory usage/read/reference observations where applicable
  • lightweight diagnostic data that should not become model context by itself

Does not own:

  • prompt context packing (llm-worker)
  • generated memory contents (memory)
  • provider billing semantics (provider)
  • UI status rendering (tui)

Design notes

Metrics are observations. They may guide compaction, memory effectiveness analysis, or UX, but they are not authoritative conversation history and should not smuggle hidden state into model input.

See also