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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
F

dsh-fracture

Fracture

A DSH plugin that reads your finished sessions, finds where the harness makes the agent stumble, and keeps only the changes a second run proves.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:miketako3/dsh-fracture#9c108f1e97db72c5e31dfb7a8ace6cbb7ad13c20
READMECompatibilityVersions

Compatibility and provenance

Fracture is published as dsh-fracture and currently resolves to version 0.2.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
10/20/2026

Versions

0.2.0stable
10/20/2026

Related plugins

Loading related plugins…

Latest
0.2.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
Last push
10/20/2026
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 developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspection

README

dsh-fracture

A DSH plugin that reads your finished sessions, finds where the harness makes the agent stumble, writes the fix as data, and runs the task twice to check whether the fix helped.

English | 日本語

Architecture

flowchart LR
  S[session events] -->|turn end| O[observe.ts<br/>per-turn facts]
  O --> M[(memory<br/>observations.jsonl)]
  M --> D[digest<br/>MEMORY.md]
  M --> K[skills<br/>SKILL.md]
  D --> P[prompt section<br/>titles only]
  K --> P
  K -->|ctx.skills.register| T[skill catalog]
  O --> G{repeated<br/>and clean?}
  G -->|yes| K
  D -.->|evidence| X[fracture_diagnose]
  X --> Y[fracture_propose] --> Z[fracture_probe] --> A[fracture_adopt]
  Z -->|verdict| W[watch window<br/>auto-revert]
  A --> B[bundle<br/>human installs]

Two properties matter before reading the code:

  • A candidate that ships a plugin/ directory runs in a separate dsh process, so unverified code never loads in the process that judges it.
  • Candidates that touch approval, sandbox policy, the plugin manager, or this plugin are rejected before they are stored, and again before they are probed.

Details in SECURITY.md. The reasoning behind the tier boundaries is in docs/AUTONOMY.md.

What it is

DSH builds an agent out of an ordered list of plugin rows. A model, a prompt section, a skill root, a tool, an approval policy: each is a row with its own config.

Two consequences follow. A harness is data, so a candidate harness is a diff against the current one. And two harnesses can exist at the same time, so a change can be judged by running the same task on both instead of asking a model whether its own idea sounds good.

The name is the working metaphor. A harness gives way along particular lines: a tool called before the file was ever read, an approval prompt that arrives after the work is done, a procedure rediscovered every morning. Those lines are the fractures. Fracture finds them in the session log, and every change it keeps is aimed at one of them.

The problem

Three failures are common in a setup that nobody has time to tune.

The same mistake outlives the session. A tool fails because the project uses pnpm, or because the fixture has to be built before the test runs. The model works it out, the session ends, and the next session starts from nothing.

Harness tuning is guesswork. Someone edits the system prompt, decides the agent feels better, and has no way to check. The edit stays. The next edit lands on top of it. Two months later nobody knows which line is load-bearing.

Nothing accumulates. When a session goes well, the procedure that made it go well is not written down anywhere the next session can read.

All three have the same cause: nothing in the loop records what happened, and nothing tests a change against a baseline. Fracture adds both, and lets them run unattended.

What it does

It records every finished turn as facts rather than prose: which tools ran, in which order, what failed, whether you had to step in and correct it. After twenty turns that log becomes a digest. After three clean repetitions of one procedure, the procedure becomes a skill. The digest and the skill list go into the prompt as a short index, so the agent knows what it has learned without carrying the whole store.

It also changes the harness, but only where a measurement supports the change, and the depth of what it may change on its own is bounded:

TierWhat changesGate
Memoryobservations, digest, journalnone, additive
Skillsskills/<slug>/SKILL.md, registered livenone, additive
Compositionprompt rows, skill-dir rows, tool togglesprobe verdict plus a watch window, auto-revert on regression
Codea candidate plugin modulehuman: dsh plugin add

The first two tiers are knowledge. They cannot execute anything, cannot widen a permission, and are removed by deleting a file, so they run without asking. The third is a data change the loop owns and can undo, so it runs without asking but is watched for twelve turns afterwards and reverted if the numbers get worse. The fourth decides what code runs inside your process, so the loop may author it and probe it, and you decide whether it runs.

That last line is deliberate. An agent that can install its own code needs no human in the loop to do it, and its first bad change would then be the one change it cannot detect from the inside.

Everything it writes is a file you can read: .dsh/fracture/.

A distilled skill, an applied change, and a revert each post one collapsed notice into the session, so the loop never acts silently. Nothing else does, because a notice per turn stops being information.

Install

dsh plugin --profile web add github:miketako3/dsh-fracture

That is the distribution path. It installs from the repository and builds the package on the way in.

Restart once. No configuration is required: observation and memory start immediately.

# $DSH_HOME/profiles/web/cordis.patch.yml
- id: fracture
  name: dsh-fracture
  config:
    autonomy: full        # off | memory | skills | full
    baseDir: .dsh/fracture
    digestEvery: 20       # observed turns between digest rewrites
    distillMinRepeats: 3  # clean repetitions before a skill is written
    autoLoop: true        # let the 15 minute idle trigger run the whole loop
    autoApply: true       # apply a prompt-only candidate that probed improved
    watchTurns: 12        # turns watched before an applied change is kept

Tools

The loop uses these internally, and any of them can be called by hand.

ToolWhat it does
fracture_diagnoseRanks what the current harness does badly: tool failure rates, repeated reads, denied approvals, compaction pressure, message feedback.
fracture_proposeSends a proposer subagent to write one candidate as candidate.json plus optional skills/ or plugin/.
fracture_probeRuns a task on the current harness and on the candidate, then compares. Writes runs/<id>/report.md.
fracture_adoptTurns a probed candidate into an installable bundle and appends the lesson. Never installs.
fracture_statusWhat was learned, what was proposed, how each candidate scored.
fracture_loopRuns diagnose → propose → probe → apply once, with the same gates the idle trigger uses.
memory_searchSearches the digest, past turns, and distilled skills.

Where the ideas come from

Harness² (Google Research, Apache-2.0) is the direct source for three ideas, all of which this plugin implements:

  • Contrast beats introspection. Judge an edit by running the task on both harnesses, not by asking a model to review it.
  • Lessons accumulate with evidence. Every adoption appends the cue, the change, the verdict, and a rationale to lessons.md.
  • Escalate from the weakest lever. Prompt before skill, skill before script, script before tool, tool before hook.

Harness²'s eight-file harness tree is deliberately not adopted. DSH's row list already is that tree, with a loader and a diff, so copying the tree would add a second way to describe the same thing.

The rest is DSH's own material: plugin rows for composition, the SKILL.md convention for procedures, session/event for observation, and scoped prompt sections for injection. No Harness² code is vendored.

Development

npm install && npm test     # 128 tests, node:test only
npm run build
npm run demo                # one loop over synthetic turns

Contributions are welcome, but read CONTRIBUTING.md first, because most changes here move a boundary rather than add a feature.

Status

0.2 covers observation, memory, skill distillation, the live prompt section, the unattended loop, in-session notices, and automatic apply with auto-revert for prompt-level candidates. Row-shaped candidates still go through a bundle and a human. A UI panel is the next item in ROADMAP.md.

License

MIT. Harness² is credited for the ideas above and is not vendored.