dsh-artel: Run Coding Agents in Isolated Clones and Review Diffs

Introduction

When running agents directly on a project in DeepSeek Harness (DSH), you often worry about unintended modifications to working code. The Artel plugin runs development tasks in a copy of the project, allowing you to observe the entire process, review diffs line by line, and manually apply changes at the end. It never touches the original project directory until you confirm and execute the apply.

What It Is

dsh-artel is a DSH plugin that runs coding agents in an isolated project copy, supporting modes such as Solo, Swarm, Conductor, Fusion, and Orchestrator. The plugin adds an Artel icon to the DSH chat toolbar; clicking it opens an overlay panel with session navigation on the left and a new-task or live-run view on the right. The project directory remains untouched before execution and is only written to upon application.

Core Features

  • Task Isolation: Artel creates a copy of the project under the DSH home directory. node_modules is preserved as a symbolic link so that agents can still run the project’s checks.
  • Multi-mode Execution:
  • Solo: A single agent completes the entire task in the copy.
  • Swarm: Multiple agents share a single copy and conversation tree, with the ability to send messages to each other. Defaults to 3 agents.
  • Conductor: A conductor agent leads a group of workers in a shared copy. The conductor assigns task scopes before work begins and reviews results upon completion.
  • Fusion: Three models answer the same question in parallel (invisible to each other), a judge model merges the answers, and an implementer model performs the work.
  • Orchestrator: A large task is split into multiple independent parts, each completed in its own copy and verified against condition checks. Only the merged copy is presented for your review.
  • Diff Review: After a run completes, Artel displays the added/removed line counts and line-by-line diffs for each changed file in the Changes card on the run page. In Orchestrator mode, diffs are also shown after each partial acceptance and assembly.
  • Apply Control: After confirming the changes, click Apply. The plugin validates the state of each file at the start of the run; if any file was manually modified during the run, the apply is rejected, ensuring only reviewed changes are written.
  • Agent Execution Policy: Artel uses the never approval policy for all agents and inherits the session sandbox mode (the Fusion panel and judge model are fixed to read-only), preventing mid-run stalls due to approval prompts.

Installation & Enablement

Artel is a DSH bundle that requires no build step for installation.

  • Install from npm:
dsh plugin --profile <profile> add dsh-artel

To specify a version:

dsh plugin --profile <profile> add dsh-artel@0.15.0
  • Install from a release tarball (after downloading dsh-artel.tgz):
dsh plugin --profile <profile> add C:/path/to/dsh-artel.tgz
  • Install from a directory:
dsh plugin --profile <profile> add C:/path/to/dsh-artel

After installation, restart DSH (or refresh the page to reload the client bootstrap graph). Open a chat session with a project directory associated, then click the Artel icon in the chat toolbar to get started.

Typical Usage

Using Solo mode as an example:

  1. Enter a task description in the Artel panel, e.g., “Fix the validation logic for the username input on the login page.”
  2. Click Go. Artel creates a session titled Artel · <task>. This session belongs to the project group, is read-only, and appears in the left-side session track.
  3. The agent reads code, makes modifications, and runs project checks in the isolated copy. Upon completion, the run stops and the Changes card displays the diff.
  4. After reviewing the diff, click Apply to write the changes to the original project directory.

Swarm mode is suitable for tasks that can be split into multiple independent file modifications. Conductor is ideal for scenarios requiring a lead to coordinate assignments and perform final review. Fusion works well when parallel multi-model reasoning is needed. Orchestrator is designed for large tasks broken down into multiple independent parts.

Use Cases & Caveats

Ideal for developers who need to safely let agents work on a project copy and want to review changes line by line before they are committed. The plugin runs with the permissions of the current DSH process; it is recommended to review the source code and license before installing. The plugin communicates with the host via a local-loopback-only HTTP API, requiring the host and plugin to run on the same machine.

Conclusion

Artel provides a controlled approach to agent-based development: coding agents execute in an isolated copy, and you review diffs line by line before applying them. Project directory and official catalog page: https://www.skillhub.cn/plugins/ksolodev/dsh-artel; Source repository: https://github.com/ksolodev/dsh-artel

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

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

Xiaoye