Skip to content

Latest commit

 

History

History
238 lines (150 loc) · 22.4 KB

README.en.md

File metadata and controls

238 lines (150 loc) · 22.4 KB

SoloPup Memory

English site · 中文官网

Get 0.30.0 on npm · DSH Go mobile guide & feedback · Read the 0.29 engineering overview · Three-minute companion guide · 0.30.0 release and checksums

Help DSH remember your preferences and project decisions, so you have less to repeat next time.

SoloPup is a text-memory plugin for DeepSeek Harness (DSH). It attempts to save useful long-term context for DSH to recall and consider later. Check important details, since saving or recall can fail.

Install the stable release · DSH Go mobile guide & feedback · Earlier 0.29.0-beta.2 preview · 0.29 Positioning & Engineering Overview · 0.28 Review & Claude Code Comparison · What Is Memory & Harness · Historical evaluation · Historical 12-task scores · Earlier 0.24 Dreaming study · More fictional examples · FAQ · 中文

npm downloads in the last week GitHub stars

🎉 5,000 npm downloads and counting! Thanks to everyone who tried SoloPup Memory and shared feedback. npm recorded 5,141 downloads from October 30 through November 29, 2026 (UTC). Downloads are not unique users. If the plugin helped you, give it a star on GitHub ⭐ so more DSH users can find it.

Review explicit corrections while idle (default-ON in 0.30)

Carry an explicit correction into your next chat. Starting in 0.30.0, Dream and automatic application (dream.autoApply) are enabled by default, automatically enrolling active owner workspaces and reusing the host's active model route when not explicitly configured. SoloPup revisits explicit corrections—including narrow, unambiguous oral single-value updates—once DSH is idle, updates the supported value with source checks, and carries forward existing conditions and exceptions. You can disable or withdraw via receipts at any time. Setup, receipts, and source withdrawal (Chinese)

In one comparison on the same Mac with DSH and DeepSeek Flash, report-only review used 600 background tokens. A fresh chat after restarting DSH still answered “Chinese for formal deliveries.” Automatic application used 605 background tokens, and the fresh chat answered “English for formal deliveries.” Both kept Chinese for internal review notes. This was one language correction in ordinary DSH on 0.27.0-beta.2, not acceptance of this archive. Test setup, background and foreground usage, and results · 0.27.0 desktop acceptance receipt

Version 0.27.0 also lets you open the original DSH message on supported hosts and see what was saved, sent to the model, or verified in a file. 0.27.0 release notes

Back up before upgrading. While 0.30 enables Dream and narrow oral single-value corrections by default, you can opt out or withdraw via receipts; other changes remain for review. Setup and withdrawal · Rollback

0.30 highlights (zero-config invisible memory)

  • Three-tier casual workspace routing: Marked projects stay isolated, casual/default folders share casual/, and 4-character daily notes filter filler with weekly rollups (daily/weekly/YYYY-Wxx.md) and zero-LLM memory:bridge handover cards.
  • Default-ON Dream & oral single-value corrections: Zero-config enrollment and host route reuse with source checks and exception preservation.
  • Cross-session 4.1flash harness: Anchor-preserving relaxed history search, persistent WAL SQLite FTS5 cache with auto-rebuild, federated memory_search, <source-card> envelopes, memory:closing-checklist, and conservative KV-cache prefix pinning.
  • Read-only ecosystem bridge: Non-destructive read-only lookup for public whale-diary.md (excluding whale-diary-private.md) and supported dsh-fish-memory files.
  • DSH Go mobile support: 100% compatible in Remote mode; statically verified for Android PRoot Ubuntu 24.04 + Node 24+ (call for real-device testers in docs/guides/dsh-go.md).

0.29 features for DSH companion chats

  • Low-authority daily notes are stored in daily/YYYY-MM-DD.md and shown with relative day labels such as [今天 YYYY-MM-DD] (today), [昨天 YYYY-MM-DD] (yesterday), and [N天前 YYYY-MM-DD] (N days ago).
  • Chinese conversational recall uses native Intl.Segmenter('zh', { granularity: 'word' }), a bilingual concept synonym bridge, and freshness weighting with a 30-day half-life.
  • Ecosystem event hygiene filters out cron, schedule, notice, and events carrying an external principal when collecting daily observations.
Companion plugin Cordis ID Compatibility with solopup-memory
dsh-bili-whale dsh-bili-whale ✅ Can coexist
dsh-dafeiyu dsh-dafeiyu ✅ Can coexist
dsh-soul soul ✅ Can coexist
dsh-fish-memory memory ⚠️ Mutually exclusive because both use the same memory slot

Choose one plugin that uses id: memory per DSH profile. Use this command to install the stable release.

dsh plugin --profile desktop add solopup-memory --ignore-scripts

What could it look like?

Which draft are we editing, and does the file end on the agreed line? Start a normal DSH turn with Current edition: review to resolve edition-specific project rules for that turn. If you saved an exact ending in the supported format, DSH can check it against the named Markdown file and identify the revision it read. Manuscript example

This is a fictional illustration, not a tested conversation:

Today, you say: “Remember that I like emails short, polite, and not too formal.”
SoloPup: Checks and attempts to save the preference.

Later, you say: “Help me write a thank-you email after a meeting.”
DSH: If it recalls the preference, it might write: “Thanks for meeting today. Looking forward to working together!”

For a project, you might record a travel budget or an agreed character detail for a story. Whether memory helps depends on successful saving and recall; check original sources for important decisions.

How does memory help?

In 0.26, SoloPup surfaces a small set of current, source-linked conventions for the active task. On supported DSH hosts, after a successful edit, it can ask the model to review the deliverables once before the turn closes. The earlier evaluation lists the tested versions, scores, observed failures and reproduction steps. Download or fork the source to try it on your own DSH workflows. Historical evaluation · Source downloads · Fork

① You share something worth remembering
↓
② SoloPup checks and attempts to save it
↓
③ Later, DSH receives a summary or searches memory
↓
④ The AI considers it alongside the current task

Memory is context for the AI, and may not be saved, recalled, or interpreted correctly. You can also inspect sources and request revisions; see storage and limitations.

Can Super Agent use it?

Super Agent organizes and advances tasks. SoloPup’s experimental integration can pass saved project decisions to the AI doing the work.

Illustrative flow:

You ask Super Agent to continue a project
↓
Super Agent assigns a task to an AI Worker
↓
With the required setup, the Worker may receive a SoloPup project memory summary
↓
The AI considers the memory alongside the current task and continues working

This simplified illustration does not mean every task automatically receives memory or that the AI will always use it correctly.

With the required setup, Super Agent tasks can receive project context: worktrees in the same repository must first be explicitly linked, after which a Worker may receive a project memory summary.

In two fictional projects tested with 0.24, we restarted DSH and resumed the same Super Agent tasks via a follow-up in the original thread. The old checkpoints were still there. Both Workers kept the old default with dreaming off. After we manually confirmed and saved a correction, both used the new default and kept the original exception. We simulated the overnight interval with the task engine’s clock. Read the study

After a prepare failure, the prototype can retry without project memory. Tools depend on the Worker's configuration, and earlier session copies may retain withdrawn content. During 0.27 testing on DSH 0.2.2-rc.3, we found a compatibility issue that prevents the prototype from closing out a Worker turn. Setup, tests and limitations · DSH bug report

Review project memory while DSH is idle

In 0.30, Dream Review and restricted automatic application are enabled by default. Suppose you first say “Deliver reports as plain text” and later explicitly switch to PDF. A review records both statements and a suggested correction in a report. In 0.27.0, you can also opt in to automatic application for selected projects. SoloPup can apply a supported single-value change after checking its source and scope.

For longer projects, write the explicit correction as its own final paragraph. SoloPup can check that original statement after DSH compacts the chat. You can also bind an approved decision to a Markdown draft and heading, then reopen that section in a new chat with the version fingerprint checked. Reviewing long chats · Opening an approved Markdown draft · 0.25 host test results

  1. Enable dream for the projects you choose and select a configured model. Keep DSH running. By default, it checks after 20 minutes of foreground inactivity, with up to two model requests per day.
  2. In a fresh session for the same project, ask DSH to open the latest dream report. SoloPup rechecks the cited sources and displays suggestions it can still verify.
  3. Use the usual memory write flow to confirm a correction. If you enabled automatic application, use the report to see which corrections were applied and check their sources.

Ordinary DSH can run the entire review. An optional Super Agent Worker can run it with the same queue, evidence rules and reports. The earlier 0.24 tests used fictional projects, macOS with DSH 0.2.2-rc.1, and a pinned Super Agent prototype. In one fresh-session probe without the original messages, the adopted correction changed the answer. A separate test with the original messages attached fell short of its preset improvement criterion. Interactive demo in Chinese · Enable idle review · 0.27 automatic application test · Earlier 0.24 results and limits

Quick install

Requires an installed DeepSeek Harness and Node >=24.9. For the desktop profile:

dsh plugin --profile desktop add solopup-memory --ignore-scripts

If a DSH update leaves a conversation stuck with memory-context-render-mismatch, follow the upgrade guide to install the current stable release, restart DSH, and retry in the same conversation.

Restart that profile's host, then use memory_status to check the loaded version and status. If upgrading from dsh-memory, back up and remove the old plugin first; do not enable both. See installation details for exact versions, legacy-store review and removal.

What does a source-linked result look like?

These are actual offline script results from Linux x64 / Node v24.22.1 on 2026-11-07. They use a fictional message and production tool handlers in a scripted host, with a stubbed approval response. Write, same-project recall and other-project recall run in three separate Node processes; neither reader inherits old messages. This is not a real DSH conversation or a real-model semantic evaluation.

synthetic user: 记住:本项目的交付说明统一用中文。
memory_write: recorded (scope=project, meaning=decision)
fresh process / memory_search("交付说明"): 1 hit (scope=project)
current text: - [project] 本项目的交付说明统一用中文 — 索引摘要
history source: synthetic-demo-write:1; quote: 记住:本项目的交付说明统一用中文。
other project / current + history: 0 + 0 hits

The Chinese message asks to keep this project's delivery notes in Chinese. Current search returns its effective summary. A separate memory_search({query: "交付说明", mode: "exact", view: "history"}) returns the original quote and message identity; historical content is not a current instruction. The six lines summarize tool results. See the full receipt and limitations, or run node scripts/demo-source-recall.mjs from the checkout. Natural fresh-chat acceptance still needs a separate DSH run.

What it keeps

  • Separate global preferences from project decisions.
  • Keep original owner-message citations, conditions, exceptions and optional expiry.
  • Review native writes and automatic capture before making new records effective.
  • Keep corrections and historical values separate from current rules.
  • Represent preferences, decisions, claims, beliefs, values, references and episodes without treating memory as proof or permission to act.
  • Coordinate source withdrawal across managed stores and preserve withdrawal barriers during a reviewed restore. Search and new chat context also hide withdrawn daily notes, weekly rollups, and handover topics. After a withdrawal, older observations without message provenance are hidden too. Retained on-disk observations may still be visible through direct file access.

Install in DSH

Use the official plugin-manager command in Quick install.

dsh plugin --profile desktop add solopup-memory@0.30.0 --ignore-scripts

0.30.0 ships on npm’s latest channel. To install this exact version, specify solopup-memory@0.30.0. Git installation is available with github:OakcoderX/solopup-memory#v0.30.0. The release page supplies a full commit SHA for an immutable Git pin. This package ships executable ESM and has no dependency installation or build scripts. You can also download the release tarball and install it with dsh plugin --profile desktop add /absolute/path/to/solopup-memory-0.30.0.tgz --offline --ignore-scripts.

Restart the profile and use memory_status. Existing legacy stores may require explicit local review. Do not delete control files to bypass that review. If upgrading from dsh-memory, create a full private backup, stop the hosts using that data, remove the old package, then install SoloPup Memory. Do not run both packages together. The data location and legacy format identifiers are intentionally retained.

For DSH's experimental Custom plugin markets, add this source in Discover:

https://raw.githubusercontent.com/OakcoderX/solopup-memory/main/market/index.json

This is a self-hosted index using the official format, not an official endorsement or a default built-in listing.

Uninstall

Uninstalling preserves data:

dsh plugin --profile desktop remove solopup-memory

Storage and limitations

Markdown stores indexes and topic text. Local ledgers store sources, candidates, revisions and invocation history. A separate SQLite coordinator stores managed identity and source-withdrawal state. A Markdown-only copy is not a complete backup. Use scripts/backup.mjs; Chinese backup instructions describe reviewed restore and retained withdrawal controls.

Automatic capture normally attempts every four turns. Native memory_write also requires source review. Pending, rejected and unapplied proposals are not effective memories. Model review may miss information or misinterpret it. Check the original sources for important decisions.

Retrieval uses lexical matching, not embeddings; cross-language and synonym recall are limited. A user message must fit the current 2,000-character complete-source window. Long sources are refused rather than silently shortened into memory. Withdrawal covers tracked managed projections, not original chats, remote services, external backups or unknown copies. Memory does not authorize sending messages, buying, deleting or publishing. This is not a full probabilistic POMDP solver.

Verified locally on macOS with DSH Node 24. Other runtime/platform results must be read from actual CI and release receipts; registration or unit tests alone do not establish semantic quality or sustained-use acceptance.

Project memory across worktrees (0.23 beta)

This feature starts in 0.23.0-beta.1 and is not part of 0.22.0-beta.3. Project stores remain separate by default. To explicitly link a worker worktree to an existing project store in the same local Git repository, run from the source or installed package directory:

node scripts/projects.mjs link --cwd /path/to/worker-worktree --owner /path/to/project-worktree
# Inspect the preview and use its reviewed value:
node scripts/projects.mjs link --cwd /path/to/worker-worktree --owner /path/to/project-worktree --apply --reviewed-link <reviewed>

The owner must already have a project store. Linking refuses an existing separate worker store; it does not merge or overwrite it. Clones are not linked automatically, and moving or restoring a repository can require registration again. Unlink using the same preview-then-apply process; it does not delete memory:

node scripts/projects.mjs unlink --cwd /path/to/worker-worktree
node scripts/projects.mjs unlink --cwd /path/to/worker-worktree --apply --reviewed-link <reviewed>

Unlinking changes subsequent directory resolution; it is not immediate revocation for running work. Previously resolved store paths, in-flight capture jobs, and content already in sessions are not automatically invalidated or deleted. Stop the affected Workers and memory capture before unlinking, and review existing copies separately.

To opt in from a Super Agent prepare command, append the following after the worktree creation command, replacing paths with local absolute paths. The plugin does not alter the Super Agent configuration. If creating or linking fails, this launch stops. The Super Agent prototype can skip preparation on retry when the directory remains; do not retry until the leftover directory is inspected and preparation is certain to run again.

node /absolute/path/to/solopup-memory/scripts/superagent-worktree.mjs --owner /absolute/path/to/project-worktree --apply

The helper reads DSH_SUPERAGENT_DIR supplied by the Super Agent and retains same-repository and existing-store checks. --apply records the user’s opt-in through the trusted prepare configuration.

In the tested Super Agent prototype, default Worker tool restrictions do not expose memory_search or memory_write. A linked project can supply memory context to the Worker, but this does not enable direct use of those tools or establish Worker-initiated memory writes.

Linking does not remove copies already sent to a model or stored in ordinary session history. Real-model semantic quality and all platforms have not been validated.

Development

Requires Node >=24.9. No npm dependencies are needed for the test suite. Tests live in test/; runtime modules retain their existing paths. The full explicit test set is preserved in both npm test and the package archive.

npm test
node scripts/verify.mjs --no-accept
node accept.mjs --profile desktop

verify additionally requires a locally installed DSH and runs isolated load and mechanical gates. accept reads the selected profile and the live version marker; it does not certify natural-dialogue quality. See SECURITY.md, COMPATIBILITY.md and CHANGELOG.md.

MIT License. Copyright © 2026 oakfilm.

Explicit requests to remember durable information are directed to the native memory_write tool in the same turn. A separate protocol context is available even when the memory store is empty. Personal self-reports remain claims; assistant guesses are not confirmed facts. Automatic capture uses short, code-bound source labels before the original identity and quote checks. Check the actual write result. The model can miss or misunderstand an instruction.

Recognized private content is excluded from automatic memory projection and unrelated saved-memory context in capture/admission review. Current and historical search hide it by default; includePrivate=true enables explicit on-demand retrieval. These are conservative content rules, not exhaustive classification or a filesystem security boundary. Raw Markdown and provenance remain local plaintext. Explicit retrieval still enters session history and model requests. Existing session archives, exports, backups and already-sent data are not erased.