Watch
0
0
Fork
You've already forked hyperhive
0

drop the sqlite event log nothing reads, and the comments naming routes that are gone

This commit is contained in:
iris 2026-11-16 04:40:22 +01:00 • committed by mara
commit cbda9c162f
2 changed files with 71 additions and 305 deletions

View file

@ -14,7 +14,7 @@ pub const REDELIVERY_HINT: &str = "[redelivered after harness restart — may al
/// Banner prepended to a wake prompt when the previous turn was cut off by
/// an explicit operator `/cancel` (SIGINT) rather than ending normally. Set
/// once, read-and-cleared by the next turn's wake-prompt build — see
/// `hive-agent`'s `post_cancel_turn` (sets it) and `handle_turn` (clears
/// `hive-agent`'s cancel (sets it) and `handle_turn` (clears
/// it). Lives here for the same reason as `REDELIVERY_HINT`: a single
/// phrasing, not duplicated between call sites.
pub const INTERRUPTED_HINT: &str = "[your previous turn was interrupted by the operator (/cancel) \

View file

@ -3,9 +3,9 @@
//!
//! [`classify_stream_value`] is the entry point — it walks one raw claude
//! `stream-json` line and returns zero or more terminal rows. Two callers:
//! `hive-agent` applies it at SSE-emit time, so both the live tail
//! (`events/stream`) and the history replay (`events/history`) deliver the
//! same classified shape while the sqlite event log keeps the raw event; and
//! `hive-agent` applies it at SSE-emit time, so the live tail
//! (`events/stream`) delivers the same classified shape the swarm queue
//! carries; and
//! `hive-subagent-mcp` applies it to each subagent's output before publishing
//! it to the swarm queue.
//!