nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xushilianzhuren/dsh-golden-ward
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Customization golden guardian for DSH hosts. When a frequently-customized file (e.g. the plugin-market web client) gets overwritten by a package upgrade, restore it whole-file from a captured golden copy — no manual re-patching, no reinstalling suites.
dsh plugin add github:<owner>/dsh-golden-ward
Then insert into your profile patch (see cordis.patch.yml) and restart dsh.
curl -X POST "http://127.0.0.1:<port>/goldenward/api?act=init"curl "http://127.0.0.1:<port>/goldenward/api?act=status"curl -X POST "http://127.0.0.1:<port>/goldenward/api?act=restore"Restore is guarded: it refuses when golden or target is missing, or when the
golden copy lacks the configured marker string (defaults to golden-ward;
set your own marker in config so it matches your customization).
Pair with a simple watchdog loop (crontab * * * * * or a while true; sleep 60
shell) that calls act=status and act=restore when hasMarker is false,
then restarts dsh. With that in place, an upgrade-overwritten customization
heals within ~60 seconds with zero manual work.
- id: golden-ward
name: "@local/dsh-golden-ward"
config:
target: ~/.dsh/profiles/web/node_modules/@dsh-market/plugin/lib/client.js
goldenDir: ~/.dsh/golden
marker: golden-ward
init refuses to capture a target that lacks the marker (never save a
clobbered file as golden).tmp + rename (atomic on the same filesystem).CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、ai-agent。