hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 684c85686e feat(stats): add an 'all' time range to agent + hive stats
Adds a Window::All option to the per-agent stats page and the hive-wide
rollup, selectable as a new 'all' tab on both.

- hive-ag3nt (per-agent, time-bucketed): All ranges from MIN(started_at)
  to now (fallback to now on an empty table) with an adaptive bucket
  width laddered by span — hourly <=2d, daily <=90d, weekly <=2y, 30-day
  beyond — so the trend series stays bounded (~<=104 buckets) at any age.
- hive-c0re (swarm rollup, not time-bucketed): All sets from=0 so the
  aggregate covers every recorded turn across all agents.
- frontend: an 'all' button on both the agent stats and dashboard hive
  stats window selectors (createTabStrip + fetch already pass the window
  string through, so no JS change needed).

cargo check passes on both crates; FE builds clean. Fixes #1919.
2026-06-22 23:47:20 +02:00
..
bin feat(#1867): make the internal forge mandatory (remove forge.enable) 2026-06-22 19:26:34 +02:00
dashboard dashboard: return problem details directly from client-error handlers 2026-06-22 16:04:22 +02:00
actions.rs meta: non-mutating verify_commit + pre-flight eval before apply 2026-06-22 19:48:59 +02:00
agent_sockets.rs remove vestigial agent-ports.json tcp web-port map 2026-06-22 11:59:14 +02:00
approvals.rs refactor(#1474): replace approvals lookup 7-tuple with named struct, drop type_complexity allow 2026-06-08 19:56:32 +02:00
audit_log.rs refactor(#1865): rename agent_server module to socket_server 2026-06-22 13:58:52 +02:00
auto_update.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
bash_tasks_vacuum.rs feat: type-scope events vacuum to prune only stream rows (14d) + drop turn-stats vacuum 2026-06-06 07:57:27 +02:00
broker.rs refactor(#1834): derive cancel-loose-end privilege from the socket, not the MANAGER_AGENT name 2026-06-22 02:07:14 +02:00
build_logs.rs feat: type-scope events vacuum to prune only stream rows (14d) + drop turn-stats vacuum 2026-06-06 07:57:27 +02:00
capabilities.rs fix: update stale doc comment example root→ruth in capabilities.rs 2026-06-02 18:18:06 +02:00
client.rs hive-c0re: admin socket server + client (stub dispatch) 2026-05-14 20:49:11 +02:00
container_stats.rs fix agent disk usage reading container-internal state path on the host 2026-06-18 14:01:22 +02:00
container_view.rs refactor(#1865): consolidate agent + manager socket servers into one 2026-06-22 13:58:52 +02:00
coordinator.rs refactor(#1865): consolidate agent + manager socket servers into one 2026-06-22 13:58:52 +02:00
crash_watch.rs feat(#1591): surface pending-login + crashing-agent banner warnings 2026-06-10 13:19:32 +02:00
dashboard.rs dashboard: return problem details directly from client-error handlers 2026-06-22 16:04:22 +02:00
dashboard_events.rs fix(#1661): show default-perms agents with effective values in perms tab 2026-06-14 21:20:03 +02:00
events_vacuum.rs feat: type-scope events vacuum to prune only stream rows (14d) + drop turn-stats vacuum 2026-06-06 07:57:27 +02:00
flake_check.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
forge.rs forge.rs: reword merge-primitives comment to prose (drop tracker tag from code per hive rule) 2026-06-22 22:12:26 +02:00
gateway_nginx.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
hive_stats.rs feat(stats): add an 'all' time range to agent + hive stats 2026-06-22 23:47:20 +02:00
host_stats.rs style(#1591): wrap over-long assert line to satisfy rustfmt 2026-06-10 13:19:32 +02:00
knowledge.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
lib.rs refactor(#1865): consolidate agent + manager socket servers into one 2026-06-22 13:58:52 +02:00
lifecycle.rs btrfs subvols: scrub tracker tags from comments; harden subvol chown 2026-06-19 13:46:39 +02:00
limits.rs refactor(#1865): rename agent_server module to socket_server 2026-06-22 13:58:52 +02:00
loose_ends.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
main.rs refactor(#1865): consolidate agent + manager socket servers into one 2026-06-22 13:58:52 +02:00
matrix.rs dashboard: POST /matrix-account-login + account-aware hive-priv matrix-token write (BE-2) 2026-06-16 11:18:18 +02:00
meta.rs meta: non-mutating verify_commit + pre-flight eval before apply 2026-06-22 19:48:59 +02:00
migrate.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
operator_questions.rs refactor(#1834): derive cancel-loose-end privilege from the socket, not the MANAGER_AGENT name 2026-06-22 02:07:14 +02:00
paths.rs remove vestigial agent-ports.json tcp web-port map 2026-06-22 11:59:14 +02:00
priv_client.rs hive-sh4re: type infra containers as an InfraContainer enum 2026-06-21 21:05:52 +02:00
questions.rs refactor(#1865): replace the privileged flag with topology + capability gating 2026-06-22 13:58:52 +02:00
rebuild_queue.rs hive-c0re: fast lane for dashboard start/stop queue ops 2026-06-21 22:04:19 +02:00
reminder_scheduler.rs refactor(#1865): rename agent_server module to socket_server 2026-06-22 13:58:52 +02:00
scheduled_prompts.rs hive-c0re: optional reset-timer on manual fire-now for recurring schedules 2026-06-22 00:32:49 +02:00
scheduled_prompts_worker.rs hive-c0re: optional reset-timer on manual fire-now for recurring schedules 2026-06-22 00:32:49 +02:00
server.rs fix(#1897): treat empty HYPERHIVE_HIVE_DOMAIN as unset in HiveDomain 2026-06-22 19:07:56 +02:00
socket_server.rs refactor(#1865): drop stray issue-ref from start_manager doc (tracker-tag lint) 2026-06-22 13:58:52 +02:00
tool_groups.rs fix: address argus+mara review on #1243 — stale docs, MANAGER_DEFAULT refs, ruth migration 2026-06-04 12:15:03 +02:00
topology.rs refactor(#1865): consolidate agent + manager socket servers into one 2026-06-22 13:58:52 +02:00