ZK-Andy/dsh-continual-evolve ↗★ 11
dsh-continual-evolve
Continual self-evolution plugin for DeepSeek Harness: versioned, auditable, rollback-safe harness state (prompt notes, memories, skills, subagent specs) refined from session trajectories.
AI Analysis
核心用途是让智能体在长期使用中自我迭代和积累经验。适合希望 AI 能够记住习惯、沉淀技能并持续优化自身表现的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZK-Andy/dsh-continual-evolveREADME
Read the full README ↗In-session usage (after restart)
/evolve help + current local store
/evolve list [global] list entries
/evolve history applied refinements (ids for rollback)
/evolve rollback deterministically revert a refinement
/evolve plan [msg] LLM planner against the current store
/evolve wrapup assess this session's local entries: promote reusable ones to the
global store (approval required), archive session-specific ones
/evolve archive hide an entry from injection (data kept, restorable)
/evolve unarchive restore an archived entry
/evolve log [tail N] [session ] show the recent plugin log (default 50 lines; optional per-session filter)
/evolve export
backup the local store to JSON
/evolve import
restore a store from an export file
/evolve mount hot-mount a skill entry as a live cordis plugin (tool: skill_)
/evolve mount list list hot-mounted plugins (restored on boot)
/evolve unmount remove a hot-mounted plugin
/evolve goal show the evolution goal (round-driven auto-review)
/evolve goal create/update the evolution goal — while active, the review gate runs EVERY round
/evolve goal done complete the evolution goal
Model-facing tools: evolve_list, evolve_add, evolve_update, evolve_delete, evolve_rollback.
Configuration
| Key | Default | Meaning |
|---|---|---|
baseDir | resolved DSH home | root for the evolve/ stores |
sectionOrder | 118 | system-prompt section order |
autoReview | false | enable the automatic review gate (costs a cheap model call per interval) |
reviewIntervalTurns | 6 | gate runs when this many turns passed since the last review |
maxReviewInputChars | 40000 | trajectory slice handed to the gate |
reviewBudgetTokens | 4096 | output budget for the gate call |
notifyOnAutoReview | true | after an approved gate run that applied edits, queue a visible follow-up notice in the session (persisted entries + rollback command) |
requireGlobalApproval | true | cross-session (global) edits ask the user for "批准" before applying |
skillsDir | /skills | root where skill entries materialize as SKILL.md bundles |
rubricKey | auto-generated local key file (/evolve/rubric.key, 0600) → dev fallback | passphrase for AES-256-GCM rubric encryption (benchmark rubrics never touch the disk in plaintext). When unset, the plugin generates a random per-installation key file on first use — every install gets its own key, no setup needed; DSH_EVOLVE_RUBRIC_KEY is the environment-variable override |
logToFile | true | write all cordis log messages to /evolve/plugin.log (JSONL, 0600) — plugin-owned logging works with any launch method, no extra component to install |
logLevel | 1 | file log level: 0=error, 1=info, 2=warn, 3=debug |
logMaxBytes | 5 MiB | rotate the log to plugin.log.1 when it exceeds this size |
autoRollbackOnReject | true | after a benchmark decision rejects a candidate, roll the refinement back automatically (same engine path as /evolve rollback — deterministic, snapshotted, audited) |
Example (profile cordis.patch.yml):
- insert:
- id: continual-evolve
name: 'dsh-continual-evolve'
config:
autoReview: true
reviewIntervalTurns: 6