AI Agent Hub
Back to plugins
🧩

dsh-file-claim

admin-security Updated 2026.08.17

Run the following command in DeepSeek Harness:

dsh plugin install Nwflower/dsh-file-claim

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run `dsh plugin install Nwflower/dsh-file-claim` or visit the open-source repository at https://github.com/Nwflower/dsh-file-claim for details.

About this plugin

When multiple DeepSeek Harness sessions run in parallel on the same workspace, they operate in isolation, leading to file overwrites, stale state remnants, and coordination headaches. The dsh-file-claim plugin addresses these issues by introducing a declarative file protection mechanism: sessions must explicitly 'claim' file ownership before editing, which blocks other sessions from writing to those files, thus preventing conflicts. It also integrates automatic heartbeat refreshes, immediate cleanup of crashed sessions, and an asynchronous pending merge area, allowing file edits to proceed safely without blocking, with automatic Git three-way merges once the owner releases.

Its core capabilities include: claiming and releasing file paths, heartbeat-driven state management, a write guard to intercept unauthorized operations, and comprehensive audit logging for traceability. Ideal for use in continuous integration environments, collaborative team development, or any scenario requiring parallel AI agent work, this zero-dependency, cross-platform DSH-native coordination tool transforms interfering parallel sessions into orderly collaboration for developers and system administrators.

Use Cases

  • Multiple AI agent sessions editing the same workspace concurrently
  • Team collaboration in continuous integration environments
  • Preventing file conflicts and stale states in automated workflows

Best For

  • Developers using DeepSeek Harness
  • System administrators needing to manage parallel file operations
  • Engineers coordinating multiple AI sessions in teams