From c6639fe093a2100105f33b8770fd713d6cd96f77 Mon Sep 17 00:00:00 2001 From: iris Date: Sat, 27 Jun 2026 21:14:07 +0200 Subject: [PATCH] docs: fix stale field doc for ContainerView::active_model The field was originally backed by harness/hyperhive-model; after the rework (fab6259d) it reads from state/hyperhive-harness.json. Update the struct-level doc comment to match. --- hive-c0re/src/container_view.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hive-c0re/src/container_view.rs b/hive-c0re/src/container_view.rs index 2b11bea1..74c41dd1 100644 --- a/hive-c0re/src/container_view.rs +++ b/hive-c0re/src/container_view.rs @@ -45,9 +45,10 @@ pub struct ContainerView { #[serde(default, skip_serializing_if = "Option::is_none")] pub parent: Option, /// The Claude model the agent's harness is currently using, read from - /// `harness/hyperhive-model`. `None` when the agent has never started - /// a turn or the file is absent. Only meaningful when `running` is - /// true; the dashboard skips the badge for stopped containers. + /// `state/hyperhive-harness.json["active_model"]`. `None` when the + /// agent has never started a turn or the field is absent. Only + /// meaningful when `running` is true; the dashboard skips the badge + /// for stopped containers. #[serde(default, skip_serializing_if = "Option::is_none")] pub active_model: Option, }