evo-engineering: Enabling Multi-Turn Improvement of Arbitrary Artifacts by Agents via a Fixed-Turn Protocol

Introduction

In DeepSeek Harness (DSH), a common practice for letting an agent modify documents, code, or skills is to make a change, read it over, feel like “it’s maybe a bit better,” and then make another change. After many rounds, it becomes hard to explain which version is the best, why it is better, or how to revert to a specific version. If you start over in a new session, the conclusions might change. If two models each produce a modified version, you often have to choose based on a hunch.

Below is an introduction to the community plugin evo-engineering (Maintainer: vlln, Category: Workflow). It writes “what counts as better” into files and uses a round protocol of propose → act → critique → select → regression → commit to automatically run improvements and independent reviews. It selects the best version based on a “champion line”; humans operate at the meta-layer to define criteria, view results, intervene at any time, halt, or roll back. The plugin currently has approximately 1 star on GitHub, version 0.1.0, and is MIT licensed.

What is this

evo-engineering treats self-evolution / Recursive Self-Improvement (RSI) as a verb: tell it “evolve it” regarding a specific artifact, and leave the rest to a fixed round protocol.

Meta-layer (You + Current Session): Define Criteria → View Results → Intervene Anytime
Task-layer (Sub-agents): propose → act (isolated implementation) → critique (independent review) → select (champion line) → regress → commit

The same logic is delivered in three forms, so the protocol is not tied to a specific harness:

Layer Form Who Can Use
Portable Manual skills/evo/ (SKILL.md + references) Any agent harness; just copy into the skill directory
Deterministic Engine workflow/evo-round.mjs dsh sessions with the official workflow engine
Plugin /evo command + evo_init / evo_round / evo_status / evo_rollback dsh users (automatic ledger, git checkpointing per round, rollback support)

Compared to manual iterative editing, scheduled loop plugins (like dsh-loop), or one-shot check-fix loops (like dsh-inspect), evo-engineering is initiated by you saying “evolve it”: set the criteria once, then review results every round and intervene if necessary.

It does not decide “what is worth evolving” for you, nor does it guarantee improvement; if the changes are not significant, it will choose not to adopt them. If the criteria are too vague for language models to judge, human adjudication is still required; if critics disagree, it will actively stop and ask you.

Core Functions

Criteria and Regression

  • evals/criteria.md: How to define “better”; each item should be written as an observable behavior as much as possible.
  • evals/regression.md: Behaviors that the previous champion must maintain; re-run every round, and if any fail, the new version is rejected.

One-Round Flow

  • Automatic or manual proposal → Multiple actors implement in isolation (invisible to each other) → Each candidate is scored and evidence provided by multiple independent critics → Selection via champion line (a new version is adopted only if it strictly exceeds the previous champion) → Regression probes → Write ledger, git checkpoint.

Commands and Tools

Command Description
/evo init <target> [workspace] Create workspace: Snapshot to baseline/, generate evals/ and ledger.md, git init
/evo round [count \| "proposal text"] Run one round; quoted text acts as a specified proposal, skipping brainstorming
/evo status Round count, current champion, latest round
/evo rollback [round] Roll back to a checkpoint (defaults to the latest round)
/evo help Usage

Corresponding tools: evo_init, evo_round, evo_status, evo_rollback. evo_round automatically writes the ledger and creates a git checkpoint upon completion.

Common Parameters for evo_round (See ROUND_ARGS_DOC in workflow/evo-round.mjs for the full table):

Parameter Default Function
proposals None Specified improvement proposals (if provided, automatic brainstorming is skipped)
own_proposals 2 Number of sub-agents for automatic proposals
actors 2 Number of sub-agents for parallel implementation
critics 2 Number of independent reviews per candidate
threshold 7 Minimum average score for selection (0–10)
note None Notes for this round, written into the ledger

Bundled Skill

skills/evo/SKILL.md describes the cross-harness evolution protocol: workspace layout, six-stage rounds, critic scoring, anti-degradation, and recursive ladders, etc.

The plugin runs on the official workflow engine (service name workflowEngine, included in the official base composition). If this service is missing, the plugin can still start, but calling the tools will report an actionable error without crashing the profile startup. Node requirement: >=22.19.0.

Installation and Activation

1) Install the dsh plugin

After installation, the web tier needs to be restarted (the bundle assembles the layer stack at startup). The repository is zero-build; installation from a git source does not trigger a build.

dsh plugin --profile web add "github:vlln/evo-engineering#main"   # Install
dsh plugin --profile web remove @vlln/evo-engineering              # Uninstall

2) Optional: Mount the evo skill

SKILL.md is a general specification; just place it in a skill discovery path. Discovery paths include project <project>/.dsh/skills, <project>/.agents/skills, and user $DSH_HOME/skills, ~/.agents/skills.

# User-level (so the current DSH_HOME recognizes it)
mkdir -p "$DSH_HOME/skills"
ln -s "$DSH_HOME/profiles/web/node_modules/@vlln/evo-engineering/skills/evo" "$DSH_HOME/skills/evo"

# Or Project-level (choose one)
ln -s "$PWD/skills/evo" <your_project>/.agents/skills/evo

It is recommended to review the GitHub repository source code and MIT license yourself before installing. The plugin runs with the permissions of the current dsh process and only affects artifacts within the specified workspace; it does not scan or modify files outside the workspace.

Typical Usage

First, initialize the workspace, then align on criteria with humans (editing evals/criteria.md is the only core step that must be done by a human), and then evolve in rounds.

/evo init README.md        # Snapshot target to baseline/, generate criteria and regression probe placeholders
# Edit <workspace>/evals/criteria.md, maintain evals/regression.md if necessary
/evo round                 # 2 proposals → Isolated implementation → 2 independent reviews per proposal → Selection → Regression → Ledger + Checkpoint
/evo status                # Rounds / Current champion / Latest round
/evo round "Replace the introduction with a personal story"   # Meta-layer specified proposal, skipping brainstorm
/evo rollback              # Roll back to the latest checkpoint

After a round ends, the report lists candidate average scores, whether they were adopted, and regression probe results. If a challenger’s score is above the threshold but does not exceed the current champion, the engine will refuse adoption, and the champion remains unchanged. Scoring and rationale are saved in runs/<round>/candidate-*/verdict-*.json; each round is recorded in ledger.md, and you can roll back using git tags.

Applicable Scenarios & Cautions

Suitable For

  • Documents, code, skills, or prompts that require multi-round improvement with traceable versions, comparable candidates, and rollback capabilities.
  • Users already using the dsh web profile with a workflow engine, who can accept the cost of approximately 2×2 sub-agents per round by default.

Limitations & Cautions

  • Requires the workflow engine provided by the profile; tools will report a clear error if it is absent.
  • Actor working directories are not restricted; currently, this is mitigated by absorbing artifacts into runs/N/ after the round.
  • A very small score difference may be evaluation noise; when candidates are of the same magnitude, evolution may resemble a random walk (see docs/known-issues.md in the repository).
  • needsHuman will be common under vague criteria; critic disagreement triggers escalation to humans, which is a design trade-off.
  • Cost per round is approximately P×C sub-agents (default 2×2); please adjust parameters based on the target scale.

Conclusion

evo-engineering transforms “editing for the better” from repeated verbal instructions into documented criteria, isolated candidates, independent reviews, a champion line, and git checkpoints. If you need this type of multi-round optimization in your DSH workflow, you can install it via the commands above and use /evo round after aligning on criteria.md.

The community directory is an independent site and has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem philosophy is “Everything is a Plugin.” Please evaluate permissions and costs yourself before installing and using.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye