Skip to content

Tracking: hands-off memory hygiene for Perseus + Perseus Vault #698

Description

@tcconnally

Umbrella for the 2026-07-07 design review: the store stays signal-rich and small without the user ever running a command — hygiene is automatic, conservative, and reversible by default, built on the existing decay model (Ebbinghaus 7-day half-life, verified floor 0.2, shared 0.05 archive threshold) rather than replacing it.

Design decision

Foundation-first: (C) a one-shot Vault CLI verb composing the shipped autocohere + maintenance handlers, then (B) ride the existing perseus cron scheduler to run it nightly, with (A) an in-server loop as the Windows fallback. Everything unattended is a reversible archived=1 flip — purge (hard delete) is excluded from any unattended path; history retention stays env-gated no-op unless explicitly enabled.

Work items (dependency order)

Perseus Vault

Perseus

Rollout

  1. Land vault#490, validate --dry-run on a real store (cold model cache + concurrent with a live server).
  2. Land Add perseus vault maintain passthrough + hygiene: config block (default off) #691 + Generalize scheduler beyond hardcoded render — add --job maintain for scheduled memory hygiene #693; onboarding installs the job report-only for the first week, then flips live.
  3. Windows: Windows scheduling backend (schtasks) — close the win32 gap for scheduled jobs #694 (complete fix) and/or vault#492 (interim).

End state for the everyday user: perseus cron create --job maintain --every 1440 --install — or a single config flag — and never think about memory hygiene again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions