Watch
0
0
Fork
You've already forked hyperhive
0

remove the unused reminder rollup request and the stale references to the stats page

This commit is contained in:
iris 2026-11-16 19:07:08 +01:00
commit 37f036ee7d

View file

@ -3,15 +3,15 @@
//! `ended_at`, `duration_ms`), cost (token counts), and behaviour (tool-call
//! count + per-tool breakdown).
//!
//! **Captured but not yet read** (written every turn, no reader today —
//! kept for a future chart / backfill, not consumed by `stats::snapshot`
//! or the host rollup): `tool_call_count` (the snapshot recomputes tool
//! totals from `tool_call_breakdown_json` instead), `open_threads_count` +
//! **Captured but not yet read** (written every turn, no reader in this
//! repository — kept for a future chart / backfill): `tool_call_count` (a
//! reader recomputes tool totals from `tool_call_breakdown_json` instead),
//! `open_threads_count` +
//! `open_reminders_count` (planned: a loose-ends-over-time trend), and
//! `note` (failure detail for `result_kind = "failed"`).
//!
//! Lives in the harness dir (`HYPERHIVE_HARNESS_DIR`) as
//! `hyperhive-turn-stats.sqlite`; the agent's own `/stats` page reads it
//! `hyperhive-turn-stats.sqlite`; the standalone legacy stats viewer reads it
//! and no vacuum sweeps it. Schema is
//! intentionally append-only — every column has a default so future
//! additions don't break old readers; new columns land via
@ -118,7 +118,7 @@ pub struct TurnStatRow {
/// when no tools were called (saves a sqlite write of `"{}"`).
pub tool_call_breakdown_json: Option<String>,
/// Post-turn loose-ends snapshot. Captured, not yet read — planned to
/// feed a loose-ends-over-time trend on the stats page.
/// feed a loose-ends-over-time trend.
pub open_threads_count: Option<u64>,
pub open_reminders_count: Option<u64>,
/// `"ok" | "failed" | "prompt_too_long"`.