drop the sqlite event log nothing reads, and the comments naming routes that are gone
This commit is contained in:
parent
6289b8d64b
commit
cbda9c162f
1 changed files with 71 additions and 305 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue