zhang8019/dsh-permission-matrix0

dsh-permission-matrix

Permission matrix for DeepSeek Harness: 3 sandbox modes x 4 approval strategies = 9 selectable presets, with a global default, a separate LLM-robot default, three-tier risk policies, audit log and git checkpoint.

包名
dsh-permission-matrix
版本
0.1.0
许可证
MIT
最近更新
2026年9月9日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhang8019/dsh-permission-matrix

Configuration

Settings → Permission Matrix, or the permission-matrix row of /cordis.patch.yml:

KeyDefaultMeaning
enabledtruemaster switch
takeoversee abovepreset id → tier (auto-allow / classify)
midRiskPolicydenydeny / allow / ask
llmJudgetrueenable the LLM judge
judgeProvider / judgeModelemptyempty = follow the current session model
judgeStagesbothboth / fast / thinking
autoAllowHardGuardtruehard-deny protection in the auto-approve tier
robotDefaultPresetfa-autodefault preset for robot sessions
robotWorkspaces[]robot session workspaces (absolute paths, subdirs included)
gitSnapshottruegit checkpoint before granting
gitSnapshotIntervalMs30000checkpoint throttle
auditLogtrueaudit switch
auditFile~/.dsh/permission-matrix/audit.jsonlaudit path

Invalid configuration (unknown preset id, illegal tier) fails loudly at load time instead of silently degrading.