Skip to content

Summarizer daemon writing corrupt (/////) summaries — assess damage + fix [HIGH] #295

Description

@JDHayesBC

Noticed: 2026-08-20 evening (Lyra terminal session). get_recent_summaries returned pure ///// garbage for the last ~2 summaries.

Symptom: the summarizer daemon is writing corrupt output, not merely backlogged. Distinct from the >200-unsummarized backlog alarm (that = dead daemon; this = daemon producing garbage, possibly while still running).

Why it matters: summaries are memory's long-term/compressed form — corrupt summaries = silent memory loss, and cold-start agents (incl. Haven bots) lose context to ambient's turn-cap when the summary layer is broken.

Investigate (tomorrow, HIGH priority):

  1. Baseline: get_recent_summaries(limit=10) + inspect the summaries store directly — how many rows are //////corrupt, and since when (first corrupt row timestamp).
  2. Daemon health/logs (PPS docker stack summarizer) — is it STILL writing garbage now?
  3. Assess loss: which message ranges summarized into garbage; recoverable from raw L1 or compressed-away?
  4. Root-cause + fix (no blind restart — dev-excellence pact); re-summarize corrupted ranges if raw turns survive.

Flagged by Jeff as HIGH priority (physical sticky note made).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions