hive-agent: trim narrative comment bloat in doc comments (#3901)
This commit is contained in:
parent
1f0b3cf0cc
commit
b8d3b95641
4 changed files with 21 additions and 31 deletions
|
|
@ -99,11 +99,10 @@ pub enum LiveEvent {
|
|||
/// Must be a struct variant (not `Note(String)`): internally-tagged
|
||||
/// enums can't flatten a tag onto a primitive newtype, and serde
|
||||
/// fails serialization at runtime — silently, because the SSE
|
||||
/// handler's `filter_map(... .ok()? ...)` swallows the error. From
|
||||
/// 2025-08 through 2026-05 every `Note` emission was a no-op + the
|
||||
/// sqlite history persisted them as the literal string `"null"`.
|
||||
/// The web UI's `note` renderer already reads `ev.text`, so the
|
||||
/// wire shape matches without a JS change.
|
||||
/// handler's `filter_map(... .ok()? ...)` swallows the error, so a
|
||||
/// regression here goes unnoticed until the sqlite history shows
|
||||
/// `"null"` rows. The web UI's `note` renderer already reads
|
||||
/// `ev.text`, so the wire shape matches without a JS change.
|
||||
Note { text: String },
|
||||
/// Turn finished. `ok=false` means claude exited non-zero or the
|
||||
/// harness hit a transport error.
|
||||
|
|
|
|||
Loading…
Reference in a new issue