Skip to content

Releases

v1.13.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:24

Added

  • Memory Library includes an event timeline with monthly counts, filtering for undated events, and source excerpts. Event occurrence dates appear separately from update and effective dates.
  • Automatic consolidation saves separate occurrences when users explicitly track a topic. Each event retains a quote from the user. Replayed evidence avoids duplicate entries, and explicit corrections can update the relevant draft.
  • memory_search supports eventOnly, occurredFrom, and occurredThrough. Event ranking also uses the original quote, so it can match when the saved summary uses a different language.

Evaluation

  • Archived a paired six-question LongMemEval-S replay for v1.12.0 with 4 KiB, 16 KiB, and untruncated index budgets.

v1.12.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 19:39

Changed

  • Evaluation entry points now use task names. Current budget checks use the product’s 16 KiB default, and live model smoke is limited to eight requests on fixed synthetic fixtures. Earlier results are kept in the evaluation archive.
  • Project memory uses a versioned key derived from the full normalized workspace path. In Memory Library, confirm ownership of a matching legacy directory to copy its records into the current workspace. The original Markdown and existing destination records are preserved. New audit events store the actual project key.
  • memory_read now includes the saved source session ID and excerpt when evidence is available.
  • memory_read accepts includeSourceContext to look up a bounded, redacted window in the saved source session through DSH's optional persistence service. Full source lookup is limited to the receiving workspace.
  • memory_search(currentOnly: true) excludes superseded, disputed, disabled and expired records before ranking. Maintenance replay on DSH's native tools and JSONL archives measures stale reads and source coverage.
  • Search results and explicit reads now have separate counters. The old combined count is retained as legacyReads. Only explicit reads update ranking and staleness signals.
  • Agents can use the read-only cross_project scope to find examples from other workspaces on demand in default memory mode. Results include the source project ID for follow-up reads. Automatic injection and ordinary searches use the current project and enabled user memory.
  • Session memory modes can be saved before the first turn. Workspace-only mode limits this plugin to the current workspace. Disabled mode skips injection, tools, and consolidation. Resuming the same session retains its mode, and managed subagents inherit it.
  • Memory Library can persist a one-way read-only link to another registered worktree of the same local Git repository. Default-mode sessions use scope: "worktree" for explicit searches and reads from that source.
  • Structured feedback procedures capture preconditions, steps, verification, and source. Memory Library reviews the exact saved version before Agent reuse, and memory_search(procedureOnly: true) returns eligible procedures.
  • Version history in Memory Library and memory_read(includeHistory: true) shows linked records, source evidence, expiry, and broken or conflicting links within the selected scope.
  • Memory Library accepts a user-confirmed effective time. The version history dialog and memory_read(at: "2024-04-02T09:00+08:00") find the saved version for a specific past instant and report gaps, uncertain dates, and disputed versions.
  • Consolidation saves a replacement in the original record's scope and respects disabled user memory when matching existing records.

v1.11.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 19:35

Changed

  • Default injection budget 4 KB β†’ 16 KB (Claude-Code-scale: their
    auto-memory hard cap is 200 lines / 25 KB β‰ˆ 10-14 KB of actual index
    content; our 16 KB yields ~14.6 KB net β‰ˆ 200-290 index lines). Motivated
    by our own capacity-vs-product measurement: at 4 KB, an 80-memory library
    silently loses 23pp of answerable questions (knowledge-update 0/5β†’4/5
    when unconstrained) β€” a default should be safe for the library the user
    will have, not the one they start with. The Focus preset keeps 4 KB
    (signal-first, one click back); the Companion preset moves to 32 KB.
    Existing installs are unaffected unless they relied on the schema default
    (no settings.json override and no explicit profile config); those will
    see larger injections after upgrading β€” tune down via the settings
    center if unwanted.

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 20:19

Added

  • Dreaming proposals (periodic whole-library consolidation review, borrow
    sage-mem's cheapest-first gating and hub's merge-proposal shape β€” proposal
    only, never auto-applied): after β‰₯24h and β‰₯3 ended sessions (and a library
    of β‰₯8 memories), a background LLM call reviews every active memory and
    writes proposals.json β€” merge duplicates / promote anchors / retire
    stale, each with a reason. A deterministic near-duplicate check
    (description similarity β‰₯0.9, same engine as the health board) supplements
    the LLM pass so merge candidates surface even when the model proposes
    nothing. Proposals carry a library fingerprint and expire the moment the
    library changes. The health tab gains a "Maintenance proposals" section β€”
    one explicit Apply button per proposal (merge keeps the first target's
    identity, concatenates bodies, sums reads, and supersedes the rest with
    full lineage; promote/retire are pin/mute); no select-all, no auto-apply.
    Everything failure-silent, gated on autoSummarize.

v1.9.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 14:11

Changed

  • Session injection snapshot (the injection-timing answer, unifying and
    replacing 1.6.0's lazy query freezing): the assembly right after the first
    user message makes a one-time selection (relevance re-rank from the task
    statement when over budget) and freezes it as the session snapshot β€”
    from then on the session's injection is byte-identical no matter what
    .
    Writes land but take effect on the next session (tools can read them
    immediately β€” same semantics as Claude Code's official auto-memory); on
    dsh 0.2.x, where a section change appends a whole new system message to
    the cached history, the snapshot makes that zero-appends; day-crossing
    re-orders no longer touch an active session. docs/injection-design.md
    records the channel decision (stay in systemPrompt.section for compaction
    immunity via the protected node 0, vs the context channel's compactable
    user snapshots) with a five-implementation ecosystem comparison.
  • Two-layer budget quota: when truncating, project-layer (current
    workspace) rows get a guaranteed 60% of the net budget; user rows compete
    for the rest plus leftovers β€” a large user library can no longer crowd out
    the memories of the workspace the session is actually in.

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:06

Added

  • External-context pollution marking (Codex disable_on_external_context
    signal-source port, soft form): sessions that ran web/search/MCP-class tools
    are flagged from the host's tool/call event metadata (pure name matching,
    no content heuristics). Flagged sessions get a consolidation-prompt guard
    ("only persist facts the USER themselves stated") and candidates are
    importance-capped at 6 β€” identity-grade authority must come from the user's
    own words, not from web pages. Soft by design: "search the web, then
    remember my conclusion" stays a legal flow.
  • Two-tier index receipts (inspired by Claude Code auto-memory's near-limit advisories):
    writes now report getting-full at 75% budget and near-cap at 90% β€”
    advisory, never blocking.
  • dsh 0.2.2-rc.3 host alignment: dev dependency tree pinned to one
    version line (resolves the legacy dsh-agent@0.1.5-rc.3 exact-peer
    conflict), event-handler signatures adapted to the tightened
    undefined | Promise<undefined> contract, integration tests provide a
    minimal tool executor for the new assemble path. Peer range unchanged
    (>=0.1.5-rc.2 <0.3.0) β€” no release required for compat, this ships the
    verified matrix.

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:23

Added

  • Retrieval keywords (A-MEM-inspired, vector-free semantic generalization):
    consolidation and memory_write can attach 3-5 synonyms/aliases per memory;
    they feed both memory_search scoring and relevance-ranked truncation β€”
    recall survives wording differences without embeddings.
  • Aging tier (dsh-memory-hub-inspired): candidates left unverified for 90+
    days get a gentle Γ—0.85 ranking decay and an "unconfirmed" badge β€” a middle
    ground between fresh and expired, feeding the health board loop.
  • Citation discipline (sage-mem-inspired): the injected policy now tells
    the model that citing a memory does not make it truer β€” verify paths and
    functions against the current workspace; observations beat stale memories.
  • Freshness banners on recall (memory_read): "saved N days ago" (30+)
    and "treat as a lead, not a fact" (180+) β€” the model self-discounts old
    information instead of lending it authority by citing it.
  • Dead-link health check (Letta /doctor-inspired): [[name]] references
    to nonexistent memories surface on a fifth health board.
  • Index near-cap receipt: when a write pushes the index past 90% of
    budget, the memory_write result suggests merging related memories β€”
    advisory, never blocking.
  • Capability contract (docs/CONTRACT.md, sage-mem contract-inspired):
    every public guarantee is graded into four frozen tiers β€” guaranteed
    (assertion-backed), best-effort, known-limitation, out-of-scope β€” and
    changing a tier is a breaking change.

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 18:34

Added

  • Memory shelf life (validUntil, the "still-true" answer): time-sensitive
    facts β€” plans with dates, prices, versions, schedules β€” can carry an expiry.
    Expired memories stop being injected (hidden, not deleted β€” same family as
    mute/stale), surface on a fourth health board with one-click renew 90d,
    and the editor gained a shelf-life field. Consolidation prompts the model to
    set days only for genuinely time-sensitive facts; memory_write takes
    validUntilDays (0 clears). Session-start index refresh is now
    unconditional so expiries take effect without new writes.
  • Recall-feedback ranking: the reads counter now feeds back into injection
    ordering β€” a gentle multiplier (1 + 0.15Γ—reads, capped Γ—4) promotes memories
    the model actually keeps pulling, without letting hot items bury fresh ones.
    KV-safe: scores only change on file writes.
  • Secret-write transparency: writes carrying high-confidence secrets were
    already redacted at the store choke point β€” the model now gets an explicit
    receipt ("N secret(s) detected and redacted; do not store credentials"),
    turning silent sanitization into a teachable moment.
  • CJK contradiction fixtures: the evolution-lineage contradiction detector
    gained common CJK units (ε…ƒ/岁/δΊΊ/村/δΈ‡ β€” Chinese date sets were already
    supported) plus fixtures pinning both, closing a real gap in the plugin's
    home language.
  • Lazy query freezing for relevance-ranked truncation: the frozen
    per-session word set is now captured at the first truncation instead of
    right after the first user message β€” budget-fitting sessions never freeze
    at all, and the intended "last 6 user messages" window finally sees more
    than one line. Same KV semantics (the injected text still changes exactly
    once per session).
  • Eval system restructured around budget decoupling: capability
    measurements no longer contaminated by truncation effects, and budget
    research is an explicit axis. L2 runners take --budget capacity|product
    (256KB unconstrained vs the real 4096 default) and write to separate
    result files; the LongMemEval runner also gained --concurrency
    (question-level parallelism, 30 questions in ~22 min). The capacity
    re-run delivered the decisive split: 43.3% overall vs 20.0% product
    β€” budget truncation costs a quantified 23pp; knowledge-update flips
    0/5β†’4/5 (needles were consolidated but truncated out), while
    multi-session stays 0/8 (consolidation-layer boundary, budget-independent).
    evals/README rewritten as a three-axis model with per-axis questions,
    metrics, known boundaries, and a gap roadmap.

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 11:21

Changed

  • Tabbed panel β€” the page is no longer one long scroll with the memory
    list buried under four collapsible cards. A compact top bar (title +
    global actions + an always-visible index-usage signal) sits above an
    underline-style tab navigation: Memories (the default β€” search,
    filters and the memory cards are the first screen), Insights
    (injection stats and the recall funnel side by side in a two-column
    grid), Health (the three checkup lists, badge-counted, every row
    clickable to jump straight to that memory's card), and Settings.
    Old hosts degrade exactly as before: a tab disappears when its data
    source is missing; with none available the tab bar itself vanishes and
    the panel falls back to the plain list. Tab panes stay mounted and are
    hidden with CSS β€” an unsaved editor draft, slider positions and scroll
    state survive tab switches.
  • Visual system, tightened (adversarially reviewed design): all emoji
    UI glyphs replaced by monochrome SVG icons (theme-following); identity
    recolored to a color-blind-checked pair β€” user = brand blue, project =
    teal (the old purple was indistinguishable from blue under deuteranopia),
    both = blue/teal gradient, missing = hollow; type tags neutralized to
    monospace chips (color budget now goes to scope identity and chart
    marks only); the six-color project rotation and the stats-card gradient
    are gone β€” the activity chart is a single blue measure with the latest
    bar emphasized; the dual recall bar is blue/green with a visible legend;
    font sizes below 10px eliminated.

Fixed

  • Adversarial-review findings (29-agent workflow, 24 raw β†’ 21 confirmed,
    deduplicated to 6 root causes, all fixed): health-row and lineage jumps
    to memories in non-current workspaces silently failed (the jump reset
    all group collapse state, leaving the target card unrendered with no
    retry path β€” jumps now explicitly expand the target group); tab
    switching unmounted in-progress inputs (unsaved editor bodies and
    settings sliders silently reverted); the index-usage signal vanished
    with the tab bar on old hosts; the import-hint button was labeled
    "locate" but opened the import dialog; narrow-container grid overflow;
    focus loss after health-row jumps; assorted dead CSS and locale
    mismatches.

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 20:52

Added

  • Consolidation value filter (#17): a configurable minImportance gate
    (default 4) drops low-value candidates before they hit disk, and a
    chitchat suppressor intercepts pure pleasantries β€” strong-greeting
    signal AND no substantive content after stripping the greeting. The CJK
    side deliberately uses a length gate instead of a closed word list: the
    adversarial review measured a 45% false-positive rate on the first
    word-list cut (function/thread/memory/exception were all missing; 3-char
    entries never match the bigram tokenizer; unpunctuated CJK+Latin runs
    glue into single tokens) β€” the redesign intercepts only true
    pleasantries (≀5 CJK chars after stripping, no Latin tokens), at the
    cost of letting short-but-real sentences through (miss over false
    positive, per the DIRECTIVE_PATTERNS 40%-FP lesson).
  • Relevance-ranked truncation (#18) β€” the last "known limitation" from
    the README is gone. When the injection budget overflows, memory rows are
    scored by query-term coverage (the frozen per-session query built from
    the latest real user turns) and the most relevant survive; pinned rows
    still lead. Direction fixed per adversarial review (query as gold β€”
    the first cut had it backwards, letting an off-topic one-word row beat
    a precise 30-word row). The query is frozen per session (first non-empty
    set) so KV-prefix stability holds β€” asserted by tests; user captures
    now run even when autoSummarize is off, since the injection side
    needs them.
  • Memory evolution (#19): when a consolidation candidate matches an
    existing memory AND carries a hard contradiction (date sets disjoint,
    or same-unit numbers differ), the update no longer overwrites β€” the old
    memory becomes superseded with a supersededBy back-pointer and the
    new one lands under a -v2 name with a supersedes forward-pointer
    (both capped to the 64-char name limit). memory_read of a superseded
    memory carries a banner telling the model to read the successor;
    the panel renders clickable lineage badges with scroll-and-flash jump.
    Superseded files can never be revived by consolidation (store-level
    guard); restoring from the panel clears both sides of the chain.
  • Tests 188 β†’ 202; L2 (+77.8% lift) and L3 (recall 100%) re-run to
    confirm no regression.

Fixed

  • Hardened by an adversarial review (17 agents, ~950k tokens, every
    finding reproduced): chitchat false-positive redesign (above);
    relevance direction inversion (above); same-name candidates could
    revive superseded files through the create path; -v2 suffixes could
    exceed the 64-char name cap creating ghost files; lineage jump could
    navigate to the wrong card on name-suffix collisions; restore left a
    dangling supersedes badge; duplicate per-candidate match computation.