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

View file

@ -427,7 +427,7 @@ fn acp_permits(ask: &PermissionAsk<'_>, web: bool) -> bool {
/// the percent policy — including the pre-compaction checkpoint turn). This
/// layer wraps it with the two hyperhive-specific concerns:
///
/// - **Session reset (pre-turn)** — an operator reset (`/api/new-session`) or
/// - **Session reset (pre-turn)** — an operator reset (the swarm UI's `/clear`) or
/// the auto-reset heuristic (context large AND prompt cache gone cold)
/// archives the current session at this turn boundary so the run starts
/// fresh. The two are mutually exclusive. This is deliberately *not* part of
@ -445,7 +445,7 @@ pub async fn drive_turn(
session: &AgentSession,
) -> TurnOutcome {
if bus.take_session_reset() {
// Operator-requested (deferred from `POST /api/new-session`).
// Operator-requested (deferred from the swarm UI's `/clear`).
bus.emit(LiveEvent::Note {
text: "operator: resetting session — archiving before this turn".into(),
});