ZK-Andy/dsh-continual-evolve11

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 分析

核心用途是让智能体在长期使用中自我迭代和积累经验。适合希望 AI 能够记住习惯、沉淀技能并持续优化自身表现的用户。

パッケージ
dsh-continual-evolve
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZK-Andy/dsh-continual-evolve

ドキュメント

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

KeyDefaultMeaning
baseDirresolved DSH homeroot for the evolve/ stores
sectionOrder118system-prompt section order
autoReviewfalseenable the automatic review gate (costs a cheap model call per interval)
reviewIntervalTurns6gate runs when this many turns passed since the last review
maxReviewInputChars40000trajectory slice handed to the gate
reviewBudgetTokens4096output budget for the gate call
notifyOnAutoReviewtrueafter an approved gate run that applied edits, queue a visible follow-up notice in the session (persisted entries + rollback command)
requireGlobalApprovaltruecross-session (global) edits ask the user for "批准" before applying
skillsDir/skillsroot where skill entries materialize as SKILL.md bundles
rubricKeyauto-generated local key file (/evolve/rubric.key, 0600) → dev fallbackpassphrase 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
logToFiletruewrite all cordis log messages to /evolve/plugin.log (JSONL, 0600) — plugin-owned logging works with any launch method, no extra component to install
logLevel1file log level: 0=error, 1=info, 2=warn, 3=debug
logMaxBytes5 MiBrotate the log to plugin.log.1 when it exceeds this size
autoRollbackOnRejecttrueafter 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