docs/hive-c0re: fix ask/answer removal doc gaps argus caught on #3741
This commit is contained in:
parent
2850270829
commit
16ac84ca63
10 changed files with 37 additions and 49 deletions
|
|
@ -10,8 +10,8 @@
|
|||
//! about it — oversized reminder bodies get persisted to disk
|
||||
//! transparently and the inbox sees a pointer.
|
||||
|
||||
/// Per-message body cap. Applies to `send`, `ask` question text,
|
||||
/// `answer` body, and the stored inline form of a reminder. 4 KiB
|
||||
/// Per-message body cap. Applies to `send` bodies and the stored
|
||||
/// inline form of a reminder. 4 KiB
|
||||
/// catches the bulk of conversational overflow (status reports,
|
||||
/// bullet-list summaries, short proposals) while staying small
|
||||
/// enough that a backed-up inbox of ~10 unread messages only adds
|
||||
|
|
@ -112,8 +112,8 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn label_threads_through() {
|
||||
let err = check_size("question", &"x".repeat(MESSAGE_MAX_BYTES + 1)).unwrap_err();
|
||||
assert!(err.starts_with("question body too long"));
|
||||
let err = check_size("broadcast", &"x".repeat(MESSAGE_MAX_BYTES + 1)).unwrap_err();
|
||||
assert!(err.starts_with("broadcast body too long"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
|
|
@ -2,17 +2,14 @@
|
|||
//! assembles a `Vec<LooseEnd>` for either a single agent (`for_agent`) or
|
||||
//! the whole hive (`hive_wide`). `Request::GetLooseEnds` from either the
|
||||
//! agent or manager socket lands here so the routing logic + age-seconds
|
||||
//! derivation stay in one place. Reminders AND questions are agent-local
|
||||
//! (in-container stores, `hive-agent::reminders` / `hive-agent::questions`)
|
||||
//! and no longer sourced from here (loose-ends-v2's questions phase) —
|
||||
//! c0re remains the `Ask`/`Answer` routing + delivery rendezvous
|
||||
//! (`coord.questions`), it just isn't asked for the *pending-view*
|
||||
//! rendering anymore. ⚠️ The operator dashboard no longer has any
|
||||
//! question-pending view either — its whole questions pane, the
|
||||
//! `pending_all()`/`recent_answered_all()` reads that fed it, and the
|
||||
//! `/api/answer-question`/`/api/cancel-question` endpoints are gone
|
||||
//! (removed along with the rest of the dashboard's ask/answer surface).
|
||||
//! An operator-targeted `ask()` now has no reader anywhere.
|
||||
//! derivation stay in one place. Reminders are agent-local (in-container
|
||||
//! `hive-agent::reminders` store) and never sourced from here. The
|
||||
//! `ask`/`answer` MCP tools, their wire protocol (`hive-c0re::questions`,
|
||||
//! `stores::operator_questions`), and the operator dashboard's questions
|
||||
//! pane have all been removed entirely — this file never had a
|
||||
//! `Question` loose-end path to begin with (it only ever emitted
|
||||
//! `PendingMessages`/`Approval`), so nothing here changed shape when
|
||||
//! that removal landed.
|
||||
//!
|
||||
//! Call frequency is low (an agent doing self-introspection between
|
||||
//! turns), so the sweep happens fresh every time — no caching, no
|
||||
|
|
|
|||
Loading…
Reference in a new issue