huskies: merge 1033

This commit is contained in:
dave
2026-05-14 13:08:43 +00:00
parent 72d79deec9
commit c353c0a6be
3 changed files with 62 additions and 1 deletions
@@ -51,6 +51,13 @@ pub struct BotContext {
/// Used to proxy bot commands to the active project over WebSocket (`/ws`).
/// Empty in standalone mode.
pub gateway_project_urls: BTreeMap<String, String>,
/// Pipeline transition events buffered since the last LLM turn.
///
/// A background task appends one compact audit line per real stage
/// transition. `handle_message` drains this buffer and injects it as a
/// `<system-reminder>` block at the head of the next user prompt so Timmy
/// sees pipeline activity without requiring a separate message.
pub pending_pipeline_events: Arc<TokioMutex<Vec<String>>>,
}
impl BotContext {
@@ -236,6 +243,7 @@ mod tests {
gateway_active_project,
gateway_projects,
gateway_project_urls,
pending_pipeline_events: Arc::new(TokioMutex::new(Vec::new())),
}
}