DSH Plugins Marketplace

DSH Plugins

Plugins

/

Workflow & Automation

/

dsh-continual-evolve

Z

dsh-continual-evolve

Manifest valid★ 24

Continual self-evolution plugin for DeepSeek Harness: versioned, auditable, rollback-safe harness state refined from session trajectories, with a benchmark-driven validation loop.

hasBundlePatch

dsh-continual-evolve

中文 | English

awesome · DSH plugin npm CI License: MIT Node Tests

Continual self-evolution for DeepSeek Harness: a versioned, auditable, rollback-safe harness state layer — prompt notes, memories, skills, subagent specs — refined from session trajectories.

The model proposes, the code guarantees. Every mechanical safety property — schema validation, atomic writes, snapshots, versioning, audit trail, acceptance decisions — is enforced in code, never by prompt discipline.

Why

Agents accumulate reusable experience (repeated failures, durable facts, reusable procedures) and forget it next session. This plugin turns that experience into first-class state:

  • Local scope per session; global scope across sessions with merge semantics — plus mechanical promotion guards so only portable, substantial, non-duplicate knowledge reaches global
  • Deterministic rollback: inverse edits generated from applied results — no LLM re-guessing
  • Benchmark loop: candidate refinements are evaluated against frozen cases by a separate scorer before acceptance (rubric encrypted at rest)
  • Store hygiene: /evolve consolidate turns write-time conflict hints and zero-use staleness into one approved, fully reversible batch of archives — with merge, near-duplicate content folds into the surviving original

How it works

  1. Sediment — the model creates entries via evolve_add, or the automatic review gate proposes them from the session trajectory (turn-interval + compaction checkpoints).
  2. Guard — code-enforced validation: edit schema, blast-radius/scope coherence, and the promotion policy (project-scoped markers, thin content, near-duplicate detection, credential screening keep the global store clean — secrets are rejected at every write sink, including mount materialization). Global creates that near-duplicate an existing entry are rejected at write time (≥0.8 similarity); moderate overlaps carry a conflictHint for later consolidation.
  3. Approve — global writes require explicit human approval; local-fate proposals are consulted before they land.
  4. Apply & inject — atomic apply with snapshot + audit event. Prompt notes and delegation specs inject into the system prompt (capped, relevance-ranked, contradicted entries demoted, zero tokens when empty); memories/skills appear as a capped directory index.
  5. Validate & roll back — benchmarks score candidates against frozen cases; rejected candidates roll back deterministically and are captured as draft regression cases (auto_regression benchmark).

Install

# from npm (installs and activates — ships its own bundle patch)
dsh plugin add dsh-continual-evolve

# or from source (first GitHub installs require approving the allowBuilds step)
dsh plugin add ZK-Andy/dsh-continual-evolve

Restart dsh web after installing or updating.

Usage

Commands (in-session):

CommandEffect
/evolvehelp + current local store
/evolve list · history · rollback <id>inspect and revert (add global for the cross-session store)
/evolve plan [msg]run the LLM planner against the store
/evolve wrapupassess this session's local entries: promote / archive / keep
/evolve archive · unarchive · demote <id>hide from injection (data kept, restorable) — demote targets global noise
/evolve consolidate [apply] [merge]report (or apply) one batch archive of conflict-hinted + stale zero-use global entries; merge folds near-duplicate content into the survivors
/evolve failuresaggregated failure classes (gate + benchmark)
/evolve log [tail N] [session <id>]plugin log
/evolve export · import <path>backup / restore a store
/evolve mount · unmount <skillId>hot-mount an executable skill as a live plugin
/evolve goal [objective · done · block]round-driven auto-review goal
/evolve benchmark …case lifecycle, runs, acceptance

Model tools: evolve_list / add / update / delete / rollback.

For third-party consumers: every applied evolution (gate or manual) appends a structured evolve_complete event to reviews.jsonl (src/evolve-event.ts defines the shape) alongside the human-readable audit records.

Injection shape: prompt notes and delegation specs inject with content (≤6/kind × 180 chars, relevance-ranked). Memories and skills appear as a directory index ([kind:id] title, capped at 15 lines with a fold counter) — full text via evolve_list. Empty store = zero injected tokens.

Configuration

KeyDefaultMeaning
baseDirresolved DSH homeroot for the evolve/ stores
autoReviewfalseenable the automatic review gate
reviewIntervalTurns6gate cadence on the turn-interval path
maxReviewInputChars40000trajectory slice handed to the gate
reviewBudgetTokens4096output budget for the gate call
notifyOnAutoReviewtruevisible follow-up notice after an applied gate run
requireGlobalApprovaltrueglobal edits ask for explicit approval
localFatetruegate audits local entries and proposes promote/archive (consulted, never silent)
fateIntervalTurnsfollows reviewIntervalTurnsminimum turns between fate assessments
goalBlockedWrapupTurns3consecutive blocked-goal gate runs trigger one fate assessment (0 disables)
promotionBlockPatternsPOSIX paths, session ids, ~/.dshcontent matching these is project-scoped and never promoted to global
promotionMinChars100whole promotions below this length stay local
injectionDirectoryLines15entry-directory lines per build before folding into a counter
sectionOrder118system-prompt section order
skillsDir<dshHome>/skillswhere skill entries materialize as SKILL.md bundles
rubricKeyauto-generated key fileAES-256-GCM passphrase for benchmark rubrics (DSH_EVOLVE_RUBRIC_KEY overrides)
logToFile / logLevel / logMaxBytestrue / 1 / 5 MiBplugin-owned JSONL file log with rotation
autoRollbackOnRejecttruedeterministic rollback after a benchmark rejection
autoCasetruefailed evolution attempts are captured as draft regression cases (auto_regression benchmark)
reviewModelagent's ownoptional cheaper model for the gate ("provider/model")

Example profile patch:

- id: continual-evolve
  config:
    autoReview: true
    reviewIntervalTurns: 6

Development

pnpm install && pnpm build   # deps + tsc -> lib/
pnpm test                    # vitest (573 tests)
pnpm test:coverage           # v8 coverage, thresholds enforced in CI
pnpm lint                    # oxlint src test

Project layout:

├── src/                   # engine, tools, commands, gate, fate, benchmark, usage…
├── test/                  # vitest suites (36 files)
├── lib/                   # build output (tsc)
├── docs/
│   ├── design.md          # full design doc (hardening matrix)
│   ├── FAQ.md             # real failure/fix records
│   ├── gap-analysis.md    # vs prime-agent /refine + penguin-harness
│   ├── research/pi-dsh-competitor-gap-analysis.md  # pi/dsh ecosystem competitors
│   ├── experiment-bootstrap.md
│   ├── archive/           # closed point-in-time reports
│   └── research/          # penguin report + prime-agent annotated source
├── examples/README.md     # seed benchmark cases
└── .agents/               # AI collaboration layer (AGENTS.md, skills, ADR notes)

Docs & provenance

License

MIT

Compatibility

DSH 0.1.5-rc.2: failedDSH 0.1.6-alpha.1: failedDSH 0.2.0-rc.1: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.2.0——
0.3.0——
0.4.0——
0.5.0——
0.6.0——
0.15.1——
0.6.1——
0.7.2——
0.7.3——
0.7.0——
0.7.6——
0.8.0——
0.9.0——
0.10.0——
0.15.6——
0.15.7——
0.11.0——
0.15.0——

Comments

Loading…

Similar plugins

dsh-auto-evolve

by lispking

A self-evolving plugin for DeepSeek Harness (dsh). It observes how the agent runs, proposes improvements to its own assets via the LLM, validates each proposal inside a sandboxed trial agent, and appl

Workflow & AutomationManifest valid

★ 4

↓ 418/wk

MIT

TypeScript

Oct 15, 2026

dsh plugin --profile web add dsh-auto-evolve

by GraySilver

让 Agent 的工作方式可组合、可审查、可持续改进,最终实现 Agent Self Evoling。 DeepSeek Harness Web plugin with composable task controls and isolated, human-reviewed self-evolution.

Workflow & AutomationManifest valid

★ 201

↓ 294/wk

MIT

TypeScript

Sep 14, 2026

dsh plugin --profile web add @graysilver/dsh-evolve-modes

by cofy-x

Auditable, verifier-gated self-evolution for DeepSeek Harness.

Manifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-evolver

by Missher12

Privacy-bounded self-improvement plugin for DeepSeek Harness

Workflow & AutomationTerminal & ClientsManifest valid

★ 0

MIT

TypeScript

Sep 8, 2026

dsh plugin --profile web add dsh-missher-evolution

by ZSeven-W

DeepSeek Harness (DSH) plugin: a read-only ledger for the plugins you already have installed — a capability inventory with file:line evidence, declared-vs-detected reconciliation, cross-profile versio

Security & AuditManifest valid

★ 25

↓ 101/wk

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add @zseven-w/dsh-harbor

by houlain

DeepSeek Harness plugin: workspace file browser + code viewer + session change diff + per-hunk partial revert (Trae-style). Windows verified only; Linux/macOS untested — use with caution.

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-workspace-studio