← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-worktree

Git worktree filesystem isolation for DeepSeek Harness subagents and plugin workflows.

Developer ToolsSecurity & Policy
1GitHub Stars0ForksUpdated2026-08-14

Install

$ dsh plugin --profile default add github:you/dsh-worktree

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-worktree is a DeepSeek Harness plugin that provides a worktree service and optional slash commands for creating, restoring, listing, and removing isolated Git worktrees. It keeps clean temporary worktrees removable while retaining changed worktrees for review.

Key Capabilities

  • Provides the ctx.worktree service for acquiring and releasing isolated Git worktrees.
  • Exposes /worktree create, list, and remove commands through the dsh-worktree/commands entry.
  • Creates worktrees under <repoRoot>/.dsh/worktrees/ and uses validated, flattened slugs for paths and branches.
  • Refuses normal removal of dirty worktrees; --discard can force removal.
  • Performs best-effort setup including project .dsh configuration, hooks-path inheritance, dependency-directory symlinks, and configured ignored-file copies.
  • Periodically sweeps stale agent-* temporary worktrees.
  • Serializes per-repository mutations and makes concurrent acquisition of the same slug idempotent.

Useful For

  • Give an in-process DeepSeek Harness child agent a private working tree.
  • Build plugin workflows that manually acquire a worktree and set a child session working directory.
  • Create, inspect, and clean up worktrees interactively with slash commands.
  • Keep modified agent worktrees available for human review and later merging.

Who It Fits

  • DeepSeek Harness plugin authors
  • Developers orchestrating subagent workflows in Git repositories
  • Teams that need isolated working trees for concurrent agent tasks

Documented Limitations

  • Automatic subagent(..., worktree: true) integration depends on an upstream dsh-subagent/dsh-tool-subagent capability that is not yet accepted.
  • Child-session cwd overrides work only with in-process backends; listed out-of-process backends ignore them.
  • Worktrees are owned by one DSH instance; cross-process sharing is not supported.
  • The plugin does not merge retained worktrees; the delegating agent must merge the worktree branch.
  • Post-creation setup is best-effort, and Windows symlink failures degrade to warnings.

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 1 runtime, 7 development, 2 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
CSY656/dsh-worktree
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
a4bd869 · 2026-08-16

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
1GitHub stars
Forks
0
Open issues
0
Last commit
2026-08-14
Last release
No release detected
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app