AuraxM/dsh-plugin-confirm-check ↗★ 0
dsh-confirm-mode
Confirm Mode: task-level permission - one upfront application before permanent changes, then trust-based direction monitoring (never per-file gating)
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Usage
For the agent (model tools)
mission_permission- file the one complete permission application before permanent changes:summary(the paragraph the user approves), optionalpaths(code/config prefixes),capabilities(files-write, commands),duration. The user approves or rejects once.permission_status- read-only view of the current grant and the drift log.
For the user
- Composer toggle
Confirm Mode: on/off(next to Full access / Read Only). Off = monitoring stops, reminders stop, andmission_permissionshort-circuits without asking (the two model tools remain registered). /confirm-mode on|off|toggle|status- the same switch as a command.
Configuration
Constants at the top of lib/index.js:
DRIFT_WARN(5) - drift events before the summary reminder asks for a new application.SUMMARY_EVERY(5) - turns between summary reminders while the mode is on.DOC_EXTS- extensions treated as plan/note writes (never monitored).READ_ONLY_PREFIXES- command prefixes treated as read-only.
Grants are keyed by session and live in memory: they do not survive a process restart. The on/off toggle is process-wide under a host-plane mount, and per-session under a preset mount (each session mounts its own row instance).