Evidence snapshot reviewed Sep 9, 2026GitHub checked Aug 21, 2026
Evidence-verifiedPlugin BundleSecurity & GovernanceDeepseek Harness Profile

dsh-2origin

DeepSeek Harness plugin for inspecting, semantically comparing, and immutably freezing 2origin task-state documents.

At a glance

What it does

DeepSeek Harness plugin for inspecting, semantically comparing, and immutably freezing 2origin task-state documents.

Use cases
Security & GovernanceConfiguration
Works with
Deepseek HarnessNodejs
Compatibility

Deepseek Harness Profile
>=0.1.2-alpha.4; listed compatible through 0.1.2-rc.1

Trust & status

Evidence-verified
Checked Sep 6, 2026, 1:51 PM UTC

Code-evidenced contributions

What it adds to DSH

Model Tools2Origin state tools

Projects, semantically diffs, and freezes an existing 2origin/0.2 task-state document.

Mechanism evidence
Model ToolsProof-only MCP server

Checks bounded inline state documents and compares them without filesystem access.

Mechanism evidence

Before you choose it

dsh-2origin treats a task.origin.json document as the handoff artifact. Its DSH tools report state integrity, compare meaningful content while ignoring selected provenance fields, and freeze the exact status hash into a separate content-addressed snapshot.

Best for

DeepSeek Harness users who already maintain 2origin/0.2 task-state documents and need a controlled verification and snapshot step.

Common tasks

  • Check a configured task state’s recorded versus computed hash and summary counts.
  • Compare a complete candidate state without treating version, timestamps, actor, or stored hash as content changes.
  • Freeze the exact state previously observed by hash into a separate snapshot directory.
  • Use the proof-only MCP interface to validate bounded inline documents without filesystem access.

Permissions and data

The DSH/CLI surfaces read the configured task-state file; freeze writes only a separate snapshot. The MCP server is described as filesystem-free.

Permissions
  • Read access to the configured workspace state file.
  • Write access to the configured freeze directory when using freeze.
Data handling
  • Configured paths are relative to workspaceRoot; traversal and symlink escape are refused.
  • The MCP proof server accepts bounded inline documents, caps each at 1 MiB, rejects secret-shaped keys, and does not echo state prose.
Credentials
  • Freeze requires the hash just observed from status as an optimistic-lock credential.

Limitations

  • It is narrowly for existing 2origin/0.2 task-state documents, not a general memory store, trust scanner, or activity logger.
  • It does not update live state; freeze is its only write action.
  • Node.js 22+ is required.

What DSHub checked

  • Pinned source and bundle structure were verified.
  • The manifest declares DSH compatibility from 0.1.2-alpha.4 and Node.js 22+.
  • The repository documents test, check, plugin smoke, and MCP smoke commands.

What DSHub did not check

  • Installation was not executed.
  • Runtime behavior, smoke tests, and stated MCP safeguards were not independently executed.
  • No npm registry distribution was found for version 0.2.1.

Pinned install

Install dsh-2origin

This plugin bundle does not have a DSH Plugin install action. Use its source documentation for the delivery method.

Visit the source project

Maintainer source

Project README

View at commit bbb0414
Maintainer-authored contentCaptured from README.md on Sep 6, 2026. The text and repository-relative media are fixed to commit bbb0414abc74 with content hash 8967199ca7ff; provider-hosted badges may update independently. README commands are upstream documentation; the DSHub copy action above is the verified, version-pinned install.

dsh-2origin

CI MIT license Node.js 22+ Awesome DSH Plugins

Evidence-first 2Origin state projection, semantic diff and immutable freeze for DeepSeek Harness.

Chat history is not the handoff artifact. A task.origin.json state is. This plugin lets a DSH agent inspect that state, distinguish semantic content from provenance metadata, compare a complete candidate, and freeze the exact observed version with an optimistic-lock credential.

v0.2 is a formal Codex plugin with a separate proof-only MCP surface. It also removes the default export that made the real Cordis Loader discard namespace inject metadata, and carries a stock Web Loader regression smoke.

Install

dsh plugin --profile <name> add github:dongsheng123132/dsh-2origin

Configure the workspace explicitly:

- id: dsh-2origin
  name: dsh-2origin
  config:
    workspaceRoot: C:/absolute/project/path
    stateFile: demo/my-task/task.origin.json
    freezeDir: .2origin/frozen

All configured file paths are relative to workspaceRoot. Traversal and symlink escape are refused.

DSH tools

  • dsh_2origin_status — compact projection, counts, verified-fact count, and recorded-vs-computed hash integrity.
  • dsh_2origin_diff — read-only semantic diff against a complete candidate JSON document. Version, timestamp, actor and stored hash do not create fake content changes.
  • dsh_2origin_freeze — requires the hash just observed from status, refuses stale state, creates a content-addressed snapshot with exclusive creation, and verifies it by reading it back. Repeating the identical request is idempotent.

CLI

dsh-2origin status --root C:/project --state demo/task/task.origin.json
dsh-2origin diff --root C:/project --state demo/task/task.origin.json --candidate next.json
dsh-2origin freeze --root C:/project --state demo/task/task.origin.json --expect <sha256>

The content hash is compatible with 2origin/0.2: SHA-256 over stable canonical JSON, excluding version, updated_at, content_hash, and actor.

Codex and MCP

The repository contains .codex-plugin/plugin.json and an independent stdio MCP server:

  • state_proof verifies one bounded inline state document and returns only integrity, hashes, counts and violations.
  • state_diff_proof compares two bounded inline documents and returns changed fields plus content-addressed value/item hashes.

The MCP server never reads or writes the filesystem, rejects secret-shaped keys, caps each document at 1 MiB, and does not echo state prose. It intentionally does not expose freeze: filesystem writes remain on the explicitly configured DSH/CLI surfaces.

Boundaries

The plugin deliberately does not update the live state. Freeze is the only write action and targets a separate snapshot directory. Live-state mutation needs schema and fact-lifecycle policy from its owning system; duplicating a weaker writer here would create a second truth.

This is not a general memory store, plugin trust scanner or activity logger. Tools such as Agent Passport, generic state files and workspace ledgers solve adjacent problems; dsh-2origin is narrowly the verification adapter for an existing 2origin/0.2 task-state document.

Verify

npm test
npm run check
npm run smoke:plugin
npm run smoke:mcp
python C:/Users/ZhuanZ/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py .

MIT

Operate deliberately

Install and manage

Prerequisites and target Profile

Target Deepseek Harness Profile

Delivery Dsh Bundle Git — dongsheng123132/dsh-2origin#bbb0414abc7462d574b45f067e29b8c82e610f13

Verify, update, and remove

Show lifecycle commands
Verify
dsh plugin --profile deepseek-harness list

Compatibility and access

DeepSeek Harness bundle; Node.js 22+ required >=0.1.2-alpha.4; listed compatible through 0.1.2-rc.1

Review compatibility evidence

Risk facts

Filesystem Write

Freeze writes a content-addressed snapshot to the configured snapshot directory; live state is not updated.

Evidence
State Input

The configured workspace root and state-file path determine which task-state document the DSH and CLI surfaces inspect.

Evidence
Evidence and editorial reviewManifest, Bundle patch, distribution and freshness

Immutable evidence

Review status and source activity

AI reviewed

Install from the immutable Git bundle rather than relying on npm availability.

AI reviewed Sep 9, 2026, 2:05 PM UTCGitHub facts last checked Sep 9, 2026, 2:05 PM UTC

No material source change has been recorded since this evidence baseline.

Next step

Follow the Plugin installation workflow

Subscribe to material changes for dsh-2origin