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.

Lunheng Article Pipeline — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

lunheng-article-pipeline

Lunheng Article Pipeline

论衡(lunheng-article-pipeline)— Multi-Agent deep long-form article pipeline skill package (DeepSeek Harness native plugin): topic definition → parallel research (literature/data/cases) → analysis → human-in-the-loop outline confirmation → writing → critique → audit → peer review → revision → illustrat

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

npx -y @deepseek-ai/dsh plugin --profile web add lunheng-article-pipeline@18.2.8
READMECompatibilityVersions

Description

论衡(lunheng-article-pipeline)— Multi-Agent deep long-form article pipeline skill package (DeepSeek Harness native plugin): topic definition → parallel research (literature/data/cases) → analysis → human-in-the-loop outline confirmation → writing → critique → audit → peer review → revision → illustration → final inspection and delivery; 9 independent, non-interchangeable roles T1-T9 (literature/data/cases/analysis/writing/critique/audit/final inspection/peer review), controller = T0 scheduling + T8 hands-on final inspection (T8 is an independent role, performed by the controller, not spawned), T9 peer review is optional and selected by default, mandatory for academic work; triangular verification + M mechanized hard gate + F fail

Compatibility and provenance

Lunheng Article Pipeline is published as lunheng-article-pipeline and currently resolves to version 18.2.8. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

18.2.8stable
9/19/2026
18.2.6stable
9/19/2026
18.2.5stable
9/13/2026
Show 32 more versionsCollapse versions
18.2.4stable
9/13/2026
18.2.3stable
9/13/2026
18.2.1stable
9/12/2026
18.2.0stable
9/12/2026
18.1.0stable
9/12/2026
18.0.4stable
9/12/2026
18.0.3stable
9/12/2026
18.0.2stable
9/12/2026
18.0.1stable
9/11/2026
18.0.0stable
9/11/2026
17.0.0stable
9/11/2026
2.5.2-dsh.17prerelease
9/11/2026
2.5.2-dsh.16prerelease
9/11/2026
2.5.2-dsh.15prerelease
9/11/2026

Related plugins

Loading related plugins…

Latest
18.2.8
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
1.5 MB
Files
110
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
1,531
Security scan
✓ v18.2.8 scan passed
View source ↗Project homepage ↗
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
2.5.2-dsh.14prerelease
9/11/2026
2.5.2-dsh.13prerelease
9/11/2026
2.5.2-dsh.12prerelease
9/9/2026
2.5.2-dsh.11prerelease
9/9/2026
2.5.2-dsh.10prerelease
9/9/2026
2.5.2-dsh.9prerelease
9/8/2026
2.5.2-dsh.8prerelease
9/7/2026
2.5.2-dsh.7prerelease
9/7/2026
2.5.2-dsh.5prerelease
9/6/2026
2.5.2-dsh.4prerelease
8/26/2026
2.5.2-dsh.3prerelease
8/25/2026
2.5.2-dsh.2prerelease
8/25/2026
2.5.2-dsh.1prerelease
8/25/2026
2.5.2-dsh.0prerelease
8/25/2026
2.3.7-dsh.8prerelease
8/23/2026
2.3.7-dsh.7prerelease
8/23/2026
2.3.7-dsh.5prerelease
8/22/2026
2.3.7-dsh.3prerelease
8/22/2026

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

Lunheng (lunheng-article-pipeline) — a DeepSeek Harness bundle for multi-agent long-form writing

🌐 English (this file) | 中文 | Español | Português | हिन्दी

版本:v18.2.8(DSH bundle:package.json + cordis.patch.yml + lib/index.js)

A DeepSeek Harness (DSH) bundle that registers one on-demand agent skill. The skill turns long-form production — academic papers, industry analysis, business commentary, and long-form articles — into a 9-role pipeline with a human in the loop.

What this is

Lunheng is a writing pipeline, not a text generator. It splits a long-form deliverable into 9 independent roles (T1–T9) across 6 phases, orchestrated with DSH subagent calls, and produces output with an evidence base, counter-argument review, independent audit, and human checkpoints.

The nine roles are independent and interchangeable with nothing else: T1 literature scout, T2 data scout, T3 case scout, T4 analyst, T5 writer, T6 critical companion, T7 auditor, T8 finalizer (executed by the coordinator itself), T9 peer reviewer.

When to use it

  • You need a long-form piece (over 2000 characters) that has to hold up under scrutiny, and you can wait 1–3 hours.
  • The topic involves facts, figures, or multiple viewpoints, so it needs an evidence base rather than opinion only.
  • You want human checkpoints: confirm the outline before drafting, and review the final draft.

When not to use it

Lunheng actively collects published evidence and integrates evidence you supply. It cannot produce the following on its own; supply the material first, or use another tool:

  • First-hand data collection — experiments, surveys, interviews, field work.
  • Statistical analysis — it can cite results but does not run SPSS/R/Python.
  • Raw chart data collection — it renders data visualizations; scraping, OCR, and speech-to-text need dedicated tools.
  • Original images or video — DSH has no built-in text-to-image. Covers fall back to local SVG or supplied files.
  • Code execution — the pipeline runs only whitelisted scripts; anything else needs your explicit approval.

Rule of thumb: ask whether the evidence is already published. If yes, Lunheng collects it. If not, supply it first.

What you get

ItemContent
Literature cards [Lxx]Published sources with A/B/C confidence grading and a pioneer list for originality checks
Data cards [Dxx]Figures with source, year, freshness grading, trust level, and conflicting figures shown side by side
Case cards [Cxx]Event structure (who/when/what/each side's account), or an explicit [C-空] empty marker
Analysis outlineArgument thread, claim-to-evidence mapping, counter-argument plan, load-bearing evidence list
DraftsSuccessive versions with AI-trace cleanup, each independent writer run
Review reportsCritical report (C1–C7), audit report (G0–G14), peer-review report (6 dimensions + journal matching), AI-trace report
Final deliverablesfinal/定稿.md, figures, evidence bundle, delivery notes, M-gate report
DSH integration (bundle install)Two read-only tools — lunheng_m_gate (M-gate mechanical pre-check) and lunheng_char_count (pure Chinese-character count); if your session does not expose them, call the same scripts with pwsh as before (same source of truth). Human command /lunheng-status (reads run/<project>/status.md; produces no model message). Mechanism-file write protection: a global guard rejects write/edit-style tool calls that target the skill package, so a session cannot quietly rewrite the pipeline's own rules. Boundary, stated plainly: the guard only sees tool calls — pwsh and any subprocess are not behind this gate; the owner's escape hatch is LUNHENG_ALLOW_MECH_EDIT=1 (or config: { allowMechanismEdit: true }). Plugin Config (deployment switch, this plugin's row in your profile) covers quiet, allowMechanismEdit, scriptTimeoutMs and scriptMaxOutputBytes — the same knobs as the LUNHENG_QUIET / LUNHENG_ALLOW_MECH_EDIT env vars, but reviewable in the profile; an invalid config fails loudly at load time instead of silently falling back to defaults.

Pipeline overview

Phase 0  Topic        Confirm topic, length, citation format; external-service consent
Phase 1  Retrieval    T1 literature ∥ T2 data ∥ T3 cases (true parallel, independent)
Gate T2.5             Data entries ≥ brief requirement; trust levels complete
Phase 2  Analysis     T4 analyst → analysis outline
Phase 2.5 Outline     Human review (in the loop)
Phase 3  Writing      T5 writer → draft v1
Phase 3.5 Insight     Human supplies first-hand context (in the loop) → draft v2
Phase 3.6 Critique    T6 critical companion → C1–C7 report
Phase 4  Audit        T7 auditor → G0–G14 audit report and revision task list
Phase 4.2 Revision    Writer revision + revision notes (≤2 rounds, independent writer)
Phase 4.5 Review      T9 peer review + G14 Chinese AI-trace gate (in parallel); figures
Gate T7.5             Latest audit + P0/P1 list + M-gate exit 0 + report isolation
Phase 5  Finalize     T8 finalizer (run by the coordinator) → final draft, evidence bundle, delivery notes

Triangular evidence base ([L] + [D] + [C]) — every claim must map to literature, data, and (for event claims) case evidence. Independent audit — the auditor never edits; it reports. Four human checkpoints — Phase 0, 2.5, 3.5, and 5.

Repository layout

lunheng-article-pipeline/                 # the package is the repository
├── package.json              # declares main (lib/index.js) + dsh.bundle.patch
├── cordis.patch.yml          # bundle layer: self-register row + 3 model-tier subagent tools (mounted only when LUNHENG_* is set)
├── lib/index.js              # plugin entry: skill + read-only tools + mechanism write guard + /lunheng-status
├── skills/lunheng-article-pipeline/       # the skill body (one directory)
│   ├── SKILL.md              # skill entry (roles, gates, execution boundaries)
│   ├── AGENTS.md             # operator manual
│   ├── QUICKSTART.md         # five-minute start
│   ├── README.md             # skill-level readme (Chinese)
│   ├── references/           # 9 role cards, templates, shared gate algorithms, journal database
│   └── scripts/              # zero-dependency .mjs verification scripts (count: see the skill's whitelist line)
├── scripts/                  # repository gates: packaging surface + mechanical hygiene + pack smoke
├── tests/                    # node --test suites (scripts + plugin entry smoke)
├── docs/                     # installation, usage, architecture, faq, troubleshooting
├── examples/preset/          # model-tier notes and install guide
├── README.md                 # this file (English source)
├── README.zh.md README.es.md README.pt.md README.hi.md
├── SECURITY.md CHANGELOG.md CONTRIBUTING.md LICENSE

The plugin entry registers skills/lunheng-article-pipeline/SKILL.md as a skill whose resourceBase is that directory, so references/** and scripts/** resolve relative to it from any working directory.

The patch layer does two things: it inserts one row for this package (- id: lunheng-article-pipeline / name: lunheng-article-pipeline) — that row is what makes the loader import lib/index.js, which is what registers the skill — and it inserts the three model-tier subagent tools, which are not mounted by default (set any LUNHENG_{RETRIEVAL,STRONG,AUDIT}_{PROVIDER,MODEL} or LUNHENG_TIERING=on to mount them, off to force them off). That self row is load-bearing: without it the entry is never imported and no skill appears (the v18.0.0 defect fixed in 18.0.1; guarded by tests/bundle-contract.test.mjs).

Documentation

FileContent
docs/installation.mdInstall and verify
docs/usage.mdUsage flow (phases and artifact structure)
docs/architecture.mdArchitecture (9 roles, triangular evidence, G0–G14 audit, M-gate)
docs/introduction.mdPlugin introduction
docs/faq.mdFrequently asked questions
docs/troubleshooting.mdInstall/verify troubleshooting (symptom → cause → fix)
SECURITY.mdSecurity policy and trust boundary
CHANGELOG.mdVersion history
CONTRIBUTING.mdMaintenance and release guide

Publishing (maintainers)

Releases are tag-only; a local npm publish is forbidden (it would bypass the CI gates and OIDC provenance, and a published npm version can never be overwritten).

git tag v18.2.8 && git push origin v18.2.8   # push one tag at a time (GitHub: >3 tags in one push triggers no workflow)
# publish.yml then runs gate 1 consistency → gate 2 packaging surface → gate 3 hygiene → gate 4 pack smoke → script tests
#   → tag/version equality → idempotency guard → OIDC publish --provenance --tag dsh → post-publish audit

Install

As a bundle (recommended; the entry registers the skill + the C-group capabilities, and the patch layer can mount the model-tier tools — off by default, see Model routing):

dsh plugin --profile web add lunheng-article-pipeline
dsh --profile web --dump-config   # shows the "# == lunheng-article-pipeline" layer

A modern dsh adds the dependency to dsh.profile.bundles automatically once it sees the dsh.bundle declaration — install and restart dsh web. Only plain npm/pnpm installs or older builds need the manual dsh.profile.bundles entry.

As a plain skill directory (no install; the host watches the skill root and refreshes it on change — mode one's SKILL.md is a snapshot read at entry apply time, so content edits need a plugin reload or a new session):

# Copy the SKILL directory (not the repository root) into any DSH skill root:
#   $DSH_HOME/skills/lunheng-article-pipeline        (user scope, rank 400)
#   <project>/.dsh/skills/lunheng-article-pipeline   (project scope, rank 100)

A plain directory carries no dsh.bundle declaration, so dsh plugin add installs it only as a dependency and activates no layer. Copying the skill directory is the supported path.

Requirements

ItemRequirement
DSHdsh CLI available; the bundle's - insert: incremental patch rows need DSH 5.5.0+
Node^22.19.0 || >=24.0.0 (DSH runtime floor; see engines in package.json)
pnpmRequired by install/uninstall (dsh plugin delegates to pnpm)
PlatformWindows / macOS / Linux (the scripts have zero dependencies and run cross-platform)

Uninstall

dsh plugin --profile <profile> remove lunheng-article-pipeline

Removing the bundle removes the 4 - insert: rows (the self-register row + the three tier rows) and the skill registered by the entry, leaving no residue. If you also copied the skill directory into a skill root, delete that copy separately.

Model routing

DSH routes models through settings.yaml; subagent inherits the session model, so a single-model setup works with no configuration. To tier by role, the bundle can mount three tiered tools — off by default (they are identical to the built-in subagent while every tier inherits, so mounting them unconditionally would cost three tool schemas per session for nothing):

ToolRolesCapability
subagent_retrievalT1 literature / T2 data / T3 casesCheap and fast
subagent_strongT4 analyst / T5 writerStrong reasoning
subagent_auditT6 critical / T7 auditor / T9 reviewer / G14 detectorTop tier, no downgrade for cost

Override with LUNHENG_{RETRIEVAL,STRONG,AUDIT}_PROVIDER and LUNHENG_{RETRIEVAL,STRONG,AUDIT}_MODEL — setting any of them also mounts the three rows (so an existing tiered setup keeps working unchanged). Provider and model are independent fields; crossing providers requires both. LUNHENG_TIERING=on mounts the rows without pinning any model (useful to check they are visible); LUNHENG_TIERING=off forces all three tiers back to inheritance and unmounts them. When a tier tool is not mounted, dispatch falls back to the built-in subagent. See examples/preset/README.md and docs/installation.md.

Data and external services

The pipeline sends the following to third parties:

OperationContent sentRecipient
web_search / web_fetchSearch keywords, target URLsThe DSH-configured search and fetch providers
Model inferenceLiterature, data, and case cards; outlines; draftsThe active model provider
Text-to-image (optional, off by default)Topic and brand promptAn image MCP, only if you enable and configure one

The coordinator must disclose these and obtain explicit consent at Phase 0. For confidential topics: anonymize wording, keep covers as local SVG (zero external calls), and select a local model endpoint. Refusing any item returns the run to Phase 0.

Verification status

ArticleScaleKey outcome
Brand-consistency article (2026-08)~7900 chars, 15 sources + 54 data pointsEvidence bundle; 8 audit findings closed
Originality-paradox article (2026-08)~9500 chars, 12 sources + 34 data + 6 cases4 revision rounds in total across the run, A- grade, published
Teacher-field isolation paper (2026-08)~12000 chars, 18 sources + 47 data + 9 casesAudit round 2 passed; first consistency audit
Generative-AI student writing commentary (2026-08)~2000 chars, 12 sources + 26 dataThree-way parallel retrieval; M-gate exit 0
Formaldehyde cabbage article (2026-08)~4200 chars, 12 sources + 29 data + 4 casesM-gate exit 0; 6 back-feed rules merged
Notion vs. idea philosophy paper (2026-09)~6280 chars, 18 sources + 15 data, 0 cases2 audit rounds, 23/30 minor revision, M-gate true P0 = 0

How to read this table (two calibers that are easy to mix up): ① "revision rounds" counts all writer passes in that run (Phase 3.5 → v2, critique/T6 fixes, G14 rounds, audit loop) — the pipeline's own cap of ≤2 rounds applies to the Phase 4.2 audit loop alone, so the two numbers measure different things; ② the outcomes are historical values recorded at the time of each run, with that run's script version — they are not reproducible with the current scripts. Re-running the packaged scripts on the archived projects today yields e.g. the formaldehyde cabbage article at exit 2 with 5 P0 (M-Form-6/10, M-Exist-7/9, M-Integrity-1): three of those gates were added after that run. Read this table as "what the pipeline produced then", not as "the current gate set passes these projects".

Local gates: node skills/lunheng-article-pipeline/scripts/consistency-check.mjs, node scripts/plugin-surface-check.mjs, node scripts/repo-hygiene-check.mjs, node scripts/pack-smoke.mjs, node --test "tests/**/*.test.mjs".

Known limitations

  • Chinese-first. Role prompts, deliverables, file names, and workflows default to Chinese.
  • No network verification by default. Numeric-level source checks often remain "pending manual review" because paywalled and offline sources cannot be fetched.
  • Audit independence has a cost. A full run dispatches 15+ subagents; most token spend is context reads, not generation.
  • M-gate false positives are possible. A script can flag a legitimate construct; the finalizer must record script_exit_raw and justify the exit verdict rather than editing the document to force exit 0.
  • Not a substitute for peer review. The T9 report is a pre-submission simulation only.

License

MIT, see LICENSE.