DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Continuum — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-continuum

Continuum

Persistent project memory, context-safe agent handoffs, checkpointing, evidence tracking, and long-running task continuity for DeepSeek Harness

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:QuantumKuba/dsh-coninuum#890060b9cb946ff04010b19943473d6de3e9ebb8
READMECompatibilityVersions

Compatibility and provenance

Continuum is published as dsh-continuum and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/2/2026

Versions

0.1.0stable
9/2/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in memory-context.

Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessContextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Weknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.

README

dsh-continuum

Agents are temporary. The project is continuous.

dsh-continuum is a production-grade marketplace plugin for DeepSeek Harness (DSH). It provides persistent project memory, context-safe agent handoffs, checkpointing, evidence tracking, and long-running task continuity across ephemeral LLM agent sessions.


The Problem: Ephemeral Agent Amnesia

In multi-agent and long-running workflows, individual agent processes are inherently temporary:

  • Context windows fill up, forcing context wipes or aggressive summarization.
  • Subagents die or time out, losing critical reasoning, rejected hypotheses, and uncommitted findings.
  • Successive agents repeat expensive literature/codebase research or regress already-solved bugs.
  • Uncoordinated agents overwrite each other's work or self-verify incomplete implementations.

dsh-continuum turns DeepSeek Harness from a stateless prompt runner into a resilient, state-preserving software engineering environment.


Key Capabilities

graph TD
    subgraph DSH_Runtime["DeepSeek Harness Runtime"]
        Agent["Ephemeral Agent Session"]
        Prompt["Prompt Section (order: 200)"]
        Tools["7 First-Party Tools"]
    end

    subgraph Continuum["dsh-continuum Core Engine"]
        OCC["Optimistic Concurrency (OCC)"]
        Leases["Renewable Task Leases"]
        SoD["Separation of Duty (4-Eyes)"]
        ContextEng["10-Tier Context Budgeter"]
        Lock["Liveness File Lock (PID check)"]
    end

    subgraph Storage[".continuum/ Storage Layer"]
        Log["events.jsonl (Append-Only)"]
        Snap["checkpoints/ (Snapshots)"]
        Arts["artifacts/ (Large Spilled Outputs >10KB)"]
        Backup["Backup & Restore (.continuum-backup)"]
    end

    Agent -->|Invokes| Tools
    Tools --> OCC
    OCC --> Lock
    Lock --> Log
    Log --> Snap
    Log --> Arts
    Snap --> ContextEng
    ContextEng -->|Injects Context Pack| Prompt
  1. Deterministic Event Sourcing (events.jsonl): Every state change (project creation, task claim, finding, decision, evidence, verification) is modeled as an immutable, strictly monotonically sequenced event. System state is derived deterministically by replaying the event log.
  2. Crash Resilience & Partial Line Recovery: If a host process dies mid-write (SIGKILL or power loss), Continuum automatically detects incomplete trailing JSON fragments, safely truncates to the last committed event, and continues operations without data loss.
  3. Liveness-Checked Cooperative Locking: Serializes concurrent process writes using cooperative lockfiles with defensive PID existence validation (process.kill(pid, 0)). Stale locks from terminated processes are safely broken without dangerous arbitrary timeouts.
  4. Optimistic Concurrency Control (OCC): Entity updates enforce strict version matching (expectedVersion). Concurrent writes with stale assumptions are rejected with typed VersionConflictError rather than silently overwriting state.
  5. Strict Mutation Idempotency: Retrying a network-dropped or replayed tool call with identical idempotencyKey returns the cached result without duplicating side effects. Accidental key collisions across different actions trigger an immediate IdempotencyMismatchError.
  6. Renewable Execution Leases: Tasks claimed by agents issue time-bound leases (e.g., 10 minutes). If an agent crashes or abandons a task without renewing its lease, Continuum's lease reconciler automatically releases the task back to ready with an incremented attempt counter.
  7. Four-Eyes Separation of Duty: Configurable task verification policies (independent, dual, redteam) mathematically forbid the agent who implemented a task from self-verifying it.
  8. Deterministic 10-Tier Context Budgeting: Builds token-capped system prompt sections using strict priority ranking (active task $\to$ North Star $\to$ blocker conflicts $\to$ key findings $\to$ recent handoffs). Large outputs (>10KB) are automatically spilled to disk artifacts to protect prompt budgets.
  9. Untrusted Content Encapsulation: External web scrapes, user inputs, and finding contents are sanitized and sealed in strict <continuum:untrusted-finding> boundaries to prevent prompt breakout attacks.
  10. Cryptographic Backup & Verified Restore: Exports the entire project into a self-contained .continuum-backup archive with SHA-256 integrity verification.

Installation

Install into your DeepSeek Harness project:

pnpm add dsh-continuum
# or
npm install dsh-continuum

DeepSeek Harness Configuration (cordis.patch.yml)

Add dsh-continuum to your Cordis configuration file:

plugins:
  dsh-continuum:
    storageMode: workspace # 'workspace' (.continuum/) | 'home' (~/.continuum/) | 'custom'
    autoInjectContext: true
    maxContextPackTokens: 8000
    defaultLeaseTtlMinutes: 10

The 7 First-Party Continuum Tools

dsh-continuum exposes 7 first-party tools defined using @deepseek-ai/dsh-tools:

ToolAction OptionsDescription
continuum_projectinit, get, status, history, exportInitializes projects, updates North Star requirements, and exports backup bundles.
continuum_taskcreate, claim, renew_lease, submit, verify, reopen, getManages task lifecycle, leases, deliverables, and 4-eyes verification.
continuum_memoryrecord_finding, record_decision, ask_question, raise_conflict, attach_evidence, getRecords facts, architectural choices (with supersession), conflicts, and evidence.
continuum_checkpointcreate, listCaptures named milestone snapshots for fast replay and rollback.
continuum_handoffcreate, get_latestTransfers state cleanly from one agent role to another with context notes.
continuum_contextrenderInspects or re-renders the active token-budgeted Context Pack.
continuum_statuscheckDiagnostics, lock status, lease expirations, and event log health.

Concurrency & Actor Safety

  • Authenticated Principal Enforcement: Actor identities (id, role) are derived securely from exec.agent.id and runtime context; caller JSON cannot spoof principal IDs.
  • Tool Concurrency Annotations: Safe read actions (get, history, render, check) are declared isConcurrencySafe: true, while mutating operations are serialized.

Programmatic API Usage

You can also use Continuum directly in standalone Node.js / TypeScript code:

import { ContinuumEngine, FileSystemStorageBackend, StorageResolver } from 'dsh-continuum'

// 1. Initialize storage backend
const resolver = new StorageResolver({ mode: 'workspace' })
const storage = new FileSystemStorageBackend(resolver)
const engine = new ContinuumEngine(storage)

// 2. Initialize project & North Star
await engine.initProject('proj-alpha', 'Project Alpha', 'Core Engine', {
  id: 'agent-orchestrator',
  role: 'orchestrator'
})

await engine.setNorthStar(
  'Build resilient distributed consensus',
  ['Linearizable reads', 'Crash recovery'],
  { id: 'agent-orchestrator', role: 'orchestrator' }
)

// 3. Create task with independent verification policy
const task = await engine.createTask({
  title: 'Implement WAL Appender',
  description: 'Write write-ahead log with fsync flush barrier',
  acceptanceCriteria: ['Pass crash fault tests'],
  verificationPolicy: 'independent' // Four-eyes principle
}, {
  actor: { id: 'agent-orchestrator', role: 'orchestrator' }
})

// 4. Implementer claims task (lease issued)
const claim = await engine.claimTask(task.data.id, {
  actor: { id: 'agent-implementer', role: 'implementer' }
})
console.log('Claimed task with lease:', claim.data.leaseId)

Task State Machine

Tasks strictly adhere to the following transition graph:

       ┌──────────┐
       │  queued  │
       └────┬─────┘
            │
       ┌────▼─────┐
       │  ready   │◄───────────────────────┐
       └────┬─────┘                        │
            │ claimTask                    │
       ┌────▼─────┐                        │
       │ claimed  │                        │
       └────┬─────┘                        │
            │ startTask                    │ (rejection / lease expired)
       ┌────▼─────┐                        │
       │ running  │                        │
       └────┬─────┘                        │
            │ submitTask                   │
       ┌────▼─────┐                        │
       │submitted │                        │
       └────┬─────┘                        │
            │ verifyTask                   │
            ├───────────────┐              │
            │ (passed)      │ (rejected)   │
       ┌────▼───────┐  ┌────┴────────┐     │
       │ completed  │  │  rejected   ├─────┘
       └────────────┘  └─────────────┘

Quality & Verification

dsh-continuum is thoroughly tested against the actual DeepSeek Harness runtime and Node.js 24:

  • 14 Test Suites, 31 Automated Tests: 100% passing across unit, property, integration, and E2E tiers.
  • Property-Based Invariant Testing (fast-check): Verified sequence monotonicity, deterministic replay, and snapshot-tail equivalence across 100 randomized event streams.
  • Zero Third-Party Code Bleed: Fully Permissive MIT License. Verified complete conceptual independence from non-permissive academic skills.

Run the test suite:

pnpm test

Inspect the full verification trace in docs/VERIFICATION.md and the end-to-end multi-agent scenario in docs/E2E-DEMO.md.


License

MIT License. See LICENSE and NOTICE.md for details.