todo: trim state-badge entry to what's left (compacting/napping)

This commit is contained in:
müde 2026-05-15 19:36:42 +02:00
parent 211599c589
commit a9ed33d94f

10
TODO.md
View file

@ -37,11 +37,11 @@ Pick anything from here when relevant. Cross-cutting design notes live in
turns, and so `/events/history` survives restart. Cap rows per
agent or auto-vacuum on age, same trade-off as the bounded broker
entry below.
- **Granular agent state badge** above the terminal: `idle 💤 / thinking 🧠 /
compacting 📦` with an age timer (`thinking · 12s`). Drives a state
channel from the harness: idle when waiting on the inbox, thinking
while claude's stream is open, compacting when `/compact` is in
flight. Replaces the binary "harness alive — turn loop running" line.
- **State badge: compacting + napping states.** Idle/thinking already
ship (driven from SSE turn_start/turn_end). Add `compacting 📦` and
`napping 😴` once the `/compact` trigger and `nap` tool exist —
both need a harness signal (an explicit `LiveEvent::StateChange`
variant or piggyback on Note).
- **Terminal: slash commands beyond /help and /clear.** Operator-facing
in-terminal commands still to add: `/model`, `/compact`, `/cancel`.
Each needs harness-side support (model override, force compaction,