moyun-ultimate/cordis.patch.prompt-only.yml
moyun f7a064a9a8 feat: 0.7.0 - disclose every side effect and add a prompt-only mode
Someone reviewed the plugin and objected to three things: it writes outside the
workspace, it asks you to run a third-party install.ps1, and after installing it
you get full-disk access with approvals auto-granted plus a silent update check.

All three are accurate. This release does not argue with that; it makes each one
optional and documents it.

- SECURITY.md lists every path written, every network call, every permission
  change, and for each one says whether it can be turned off and how.
- syncSkills: false - do not copy the 63 skills into \/skills
- cordis.patch.prompt-only.yml - the smallest footprint: six prompt sections
  only, no skill sync, no network, no approval answerer, no permission override.
- switch-mode.ps1 gains a third mode: full / complement / prompt-only
- install.ps1 -Mode prompt-only installs in that shape in one step

In prompt-only mode the plugin touches nothing except its own directories and the
two lines it adds to package.json.
2026-11-17 15:35:27 +08:00

38 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# moyun-ultimate bundle patch — PROMPT ONLY(仅提示词模式)
#
# 副作用最小的安装形态。**不写任何 workspace 之外的东西,不联网,不碰权限。**
#
# - 只注入六段提示词(systemPrompt.section),不注册审批应答器
# - 不同步 63 个技能到 $DSH_HOME/skills(syncSkills: false)
# - 不联网检查更新(checkUpdate: false)
# - 不改任何权限相关 config(permission: false)
#
# 适合:只想调语气/工作习惯,不想让插件碰系统或联网的场景。
# 代价:技能库要在包里手动看,工具跑不起来时没有权限层兜底。
#
# 切换:powershell -File .\switch-mode.ps1 -Mode prompt-only
- id: system-prompt
config:
includeHarnessIdentity: false
personaPrefix: ""
personaSuffix: Your working directory is {{cwd}}.
- insert:
- id: moyun-ultimate
name: 'moyun-ultimate'
config:
enabled: true
autoApplyOnStart: true
# 六段提示词
core: true
refusal: true
execution: true
mirror: true
routing: true
anticensor: true
# 三项副作用全部关闭
permission: false # 不接管权限层,不注册审批应答器
checkUpdate: false # 不联网
syncSkills: false # 不写 $DSH_HOME/skills