diff --git a/Cargo.lock b/Cargo.lock index 0edb4a43f..39eff5466 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1939,8 +1939,6 @@ dependencies = [ name = "hive-jobq-wire" version = "0.1.0" dependencies = [ - "chrono", - "enumflags2", "hive-jobq", "serde", "serde_json", diff --git a/docs/4-implementation/agent-state/persistence.md b/docs/4-implementation/agent-state/persistence.md index 0f7b1f3e5..ecabda264 100644 --- a/docs/4-implementation/agent-state/persistence.md +++ b/docs/4-implementation/agent-state/persistence.md @@ -127,7 +127,7 @@ Shape: - `needs_login` — set when a turn hits 401 (expired OAuth credentials); cleared by `"online"` status (re-auth completed). Drives the `needs_login` flag alongside the `claude_has_session` check. -- `active_model` — the resolved Claude model for the dashboard badge. +- `active_model` — the resolved Claude model. The turn loop is the only writer today, but it still goes read-modify-write under a shared in-process lock and merges into the diff --git a/docs/4-implementation/scheduler/coordinator.md b/docs/4-implementation/scheduler/coordinator.md index 423c39d48..b8d62a81e 100644 --- a/docs/4-implementation/scheduler/coordinator.md +++ b/docs/4-implementation/scheduler/coordinator.md @@ -256,7 +256,7 @@ the dashboard renders one recent-builds list and one number bounds it. ### Wire shape -`RebuildQueueChanged { seq }` (event name kept) — **a bare trigger, no +`RebuildQueueChanged` (event name kept) — **a bare trigger, no payload.** It says _the queue changed_; a client that wants to know how re-fetches `GET /api/jobq/graph`. diff --git a/docs/4-implementation/turn-loop/claude-invocation.md b/docs/4-implementation/turn-loop/claude-invocation.md index 231968fc9..d28766955 100644 --- a/docs/4-implementation/turn-loop/claude-invocation.md +++ b/docs/4-implementation/turn-loop/claude-invocation.md @@ -73,9 +73,7 @@ match wins): Once a turn completes, the window the model reports (`modelUsage.*.contextWindow`) replaces this value. -The effective window drives watermarks; the harness exposes it at -runtime via `/api/state.context_window_tokens` so the UI can show a -percentage-of-window ctx badge. +The effective window drives watermarks; no web endpoint serves it. **Session identity — a constant title.** Every turn keys on one fixed, harness-owned session title (`turn::session_title()`, default diff --git a/docs/4-implementation/web-ui/agent-page.md b/docs/4-implementation/web-ui/agent-page.md index cf3b83252..68c415b6b 100644 --- a/docs/4-implementation/web-ui/agent-page.md +++ b/docs/4-implementation/web-ui/agent-page.md @@ -99,7 +99,7 @@ at a given viewport width. Two columns: Values throughout come from `GET /api/state`'s cold-load snapshot, kept in sync afterwards by the SSE stream (see Live view below) — -`context_window_tokens` for the ctx badge tooltip, `qualified_label` +`qualified_label` (the hive-qualified `name@domain` form, used for the browser tab title so two tabs from different hives are distinguishable; the header's own `◆