DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Lunheng Article Pipeline — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

lunheng-article-pipeline

Lunheng Article Pipeline

论衡(lunheng-article-pipeline)— 多 Agent 深度长文流水线技能包(DeepSeek Harness 原生插件):定题→并行检索(文献/数据/案例)→分析→大纲人在环确认→写作→批判→审计→审稿→修订→配图→终检交付,9 个独立角色 T1-T9 互不可替代(文献/数据/案例/分析/写作/批判/审计/终检/审稿),主控 = T0 调度 + T8 终检亲执行(T8 独立角色,执行者主控担任,不 spawn),T9 审稿可选默认选中学术必选,三角验证 + M 机械化硬门 + F 失

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add lunheng-article-pipeline@18.2.8
README兼容性版本

兼容性与来源证明

Lunheng Article Pipeline 以 lunheng-article-pipeline 发布,当前版本为 18.2.8。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

18.2.8stable
2026/9/19
18.2.6stable
2026/9/19
18.2.5stable
2026/9/13
查看其余 32 个版本收起版本
18.2.4stable
2026/9/13
18.2.3stable
2026/9/13
18.2.1stable
2026/9/12
18.2.0stable
2026/9/12
18.1.0stable
2026/9/12
18.0.4stable
2026/9/12
18.0.3stable
2026/9/12
18.0.2stable
2026/9/12
18.0.1stable
2026/9/11
18.0.0stable
2026/9/11
17.0.0stable
2026/9/11
2.5.2-dsh.17prerelease
2026/9/11
2.5.2-dsh.16prerelease
2026/9/11
2.5.2-dsh.15prerelease
2026/9/11
2.5.2-dsh.14prerelease
2026/9/11
2.5.2-dsh.13prerelease
2026/9/11
2.5.2-dsh.12prerelease
2026/9/9
2.5.2-dsh.11prerelease

相关插件

正在加载相关插件…

最新版
18.2.8
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
1.5 MB
文件数
110
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
1,531
安全扫描
✓ v18.2.8 扫描通过
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
2026/9/9
2.5.2-dsh.10prerelease
2026/9/9
2.5.2-dsh.9prerelease
2026/9/8
2.5.2-dsh.8prerelease
2026/9/7
2.5.2-dsh.7prerelease
2026/9/7
2.5.2-dsh.5prerelease
2026/9/6
2.5.2-dsh.4prerelease
2026/8/26
2.5.2-dsh.3prerelease
2026/8/25
2.5.2-dsh.2prerelease
2026/8/25
2.5.2-dsh.1prerelease
2026/8/25
2.5.2-dsh.0prerelease
2026/8/25
2.3.7-dsh.8prerelease
2026/8/23
2.3.7-dsh.7prerelease
2026/8/23
2.3.7-dsh.5prerelease
2026/8/22
2.3.7-dsh.3prerelease
2026/8/22

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

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.