dsh-plugins: bounded cross-session memory (MEMORY.md/USER.md) and skill lifecycle curation, ported from hermes-agent #525
hyls9527
started this conversation in
Show and tell
Replies: 2 comments
|
Update — the learning loop is now complete. A third plugin landed: @hyls9527/dsh-skill-create — skill authoring.
Together the three plugins form the full self-improving loop: remember ( dsh plugin --profile web add @hyls9527/dsh-skill-create |
0 replies
|
Archived. The repository is now archived and no longer maintained. The exercise concluded that these mechanisms are not useful for DeepSeek Harness: the harness deliberately keeps session state in the session log and treats skills as user-authored, vetted inputs, and the official repo has repeatedly, in writing, chosen not to build them. The code remains available for reference; thanks to anyone who read along. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Two ecosystem plugins porting the two mechanisms I consider the core of NousResearch/hermes-agent, reimplemented on dsh's own conventions.
Repo: https://github.com/hyls9527/dsh-plugins (tagged
dsh-plugin)@hyls9527/dsh-memory
Bounded, file-backed, cross-session self-maintained memory:
$DSH_HOME/memories/MEMORY.md(the agent's own notes) andUSER.md(what it knows about the user).memorytool:add/replace/remove/batch(atomic multi-op).user/messageat the first admitted step of each session — mid-session writes never touch it, so the prompt prefix stays stable for the whole session.nudgeIntervalpersistence reminders (default every 10 write-free turns)..bak.<ts>and refused).Model-visible ⟺ logged is satisfied without new session event vocabulary: the snapshot is a durable message with a
memorysource, and tool calls are logged by the harness itself.@hyls9527/dsh-skill-curator
Minimal skill lifecycle curation: every
skilltool call is recorded into one usage document, and askill_curatortool reports usage and staleness (derived from a configurable threshold, default 21 days), archives unused skills out of the catalog, and restores them.Install
Both are dsh bundles (a
cordis.patch.ymlinserting one row each), built against@deepseek-ai/dsh-*0.1.0-rc.6, with 100% per-file vitest coverage and verified end-to-end in a real profile (snapshot injection, a live memory write, and usage tracking). Feedback welcome.All reactions