Skip to content

BrainPalace 26.6.18

Choose a tag to compare

@bxw91 bxw91 released this 04 Jun 18:39
· 41 commits to main since this release

BrainPalace 26.6.18

Added

  • Opt-in time-driven session summarization (subagent path). brainpalace drain-tick + /brainpalace-drain enable an idle-time babysitter (claude --model haiku + /loop 5m /brainpalace-drain). Mode-gated, single-drainer locked, self-terminating after 3 empty drains so it never silently holds the 5-hour usage window. No automatic trigger; default behavior unchanged.

Changed

  • Session summarization is archive-driven. The free subagent path summarizes archived sessions that are new, resumed-and-grown, or late-copied (gap = archive minus fresh .done markers), reading the archived file (not ~/.claude). Resumed sessions are re-summarized in full. The SessionEnd extract-queue is retired (sessionend-hook.sh is now a no-op); new brainpalace session-path resolves a session's archived transcript.
  • Archive copy is a periodic sweep; quiescence is configurable. Sessions are copied every session_archive.reconcile_seconds (default 600 s) instead of per-turn — re-copied at most once per interval, final tail still captured, unchanged files never re-copied/re-summarized. Idle gate is now session_extraction.quiescence_seconds (default 1800 s = 30 min), honored by the subagent drain and the provider distiller. Env: SESSION_ARCHIVE_RECONCILE_SECONDS, SESSION_QUIESCENCE_SECONDS. Per-event SessionWatcher retired (replaced by SessionReconciler).
  • brainpalace uninstall groups all optional/manual leftovers at the very end.