nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:shizhanyu13/dsh-waom
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Autonomous ops for DeepSeek Harness. Watch a target, decide a fix, drive a DSH subagent to implement it, and verify the result — without shelling out to
claude -p.
🚀 Install:
npm install @shizhanyu13/dsh-waom— then wire it intocordis.patch.yml(see Quickstart below).
Services go down. The classic WAOM loop — Watch, Assess, Operate, Maintain — says: detect it, fix it, verify. Old orchestrators do that by calling an external CLI (claude -p), which ties you to a subprocess you don't control.
dsh-waom does the same loop inside DSH. It probes a target, decides a fix, launches a real DSH subagent (via ctx.subagents.start) to write the fix, and evaluates the target independently afterward (a GAN-style generator → verifier split). No subprocess, no claude -p — the fix runs as a first-class DSH agent with the host's own tools and context.
Provenance & trust: this is a community-maintained port, not an official DeepSeek AI package. It is the execution-layer rewrite of
scripts/waom/waom-orchestrator.py. Targets the DSH plugin system (dsh-plugin). Use at your own discretion — and open an issue if something's off.
npm install @shizhanyu13/dsh-waom
Add the plugin to a profile's cordis.patch.yml:
- id: waom
name: '@shizhanyu13/dsh-waom'
config:
subagentProvider: spawn # default 'spawn'
intervalMs: 0 # 0 -> manual only (no host ticker)
seedSessionId: '' # '' -> adopt a live root agent
surgicalConstraints: [] # extra constraints appended to the fix prompt
monitors:
- { id: my-service, url: https://your/health, fixable: true }
The package ships a self-contained prebuilt ESM bundle — 0 runtime deps, no build step. It needs a DSH host that provides the peer @deepseek-ai/* packages.
A single cycle (waom.run) is the whole loop:
HEAD).heuristicDecide fallback when no LLM route is wired (down → needs_fix).ctx.subagents.start(provider, request) with a real ContentBlock[] prompt; the subagent's parent is resolved internally (resolveParent), not passed in by the caller.evaluate).const waom = ctx.get('waom')
const result = await waom.run({ id: 'svc', url: 'https://your/health', fixable: true })
// { monitor: 'svc', healthy: true, decision: { needs_fix: true, action: 'fix' },
// fix: <subagent result>, evaluation: { passed: true, reason: 'target healthy after fix' } }
| field | default | meaning |
|---|---|---|
monitors |
[] |
targets to watch; each has id, url, healthyCode (200), fixable (false) |
intervalMs |
0 |
host ticker period in ms; 0 = manual only |
subagentProvider |
'spawn' |
provider used to start the fix subagent |
surgicalConstraints |
[] |
constraints appended to the fix prompt |
seedSessionId |
'' |
optional session whose agent becomes the seed parent |
intervalMs: 0 and no monitors means nothing runs. It only provides the waom service a profile may drive on demand.resolveParent maps a configured seedSessionId to its live agent, falls back to a live root agent, or fails loud — it does not yet call ctx.agents.create for a long-lived dedicated seed.dsh-schedule is agent-scoped; the intervalMs ticker is a skeleton pending a host-level driver decision.fetch is host-dependent (injectable for tests; a plain global fetch at runtime).dsh-plugin topic so the community can find it.deepseek-ai/deepseek-harness.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent。