Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: stop writing active_model to the harness state file, nothing reads it

This commit is contained in:
damocles 2026-11-15 14:10:50 +01:00 • committed by mara
commit 05c193859f

View file

@ -118,7 +118,7 @@ Consolidated harness state file written atomically (`.tmp` + rename) by
Shape:
```json
{ "rate_limited": false, "needs_login": false, "active_model": "…" }
{ "rate_limited": false, "needs_login": false }
```
- `rate_limited` — set when the harness detects a 429 from the Claude
@ -127,7 +127,6 @@ 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.
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