MagicSpirit007/CodexAutoApprovalDSH ↗★ 0
dsh-codex-auto-approval
Codex Guardian approval policy and recovery for DeepSeek Harness 适合需要为新会话配置自动审批权限和自定义审查模型的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MagicSpirit007/CodexAutoApprovalDSHドキュメント
README 全文を読む ↗Configuration
Override the plugin row in the profile's cordis.patch.yml, or use DSH's configuration editor. A patch replaces the row's entire config, rather than merging individual fields:
- id: codex-auto-approval
config:
autoEnableNewSessions: true
# Set both fields to use a separate registered reviewer route.
# reviewerProvider: your-registered-provider
# reviewerModel: your-registered-model
reviewTimeoutMs: 90000
maxConcurrentReviews: 4
| Setting | Default | Purpose |
|---|---|---|
autoEnableNewSessions | true | Enable CodexAutoApproval for fresh root sessions |
reviewerProvider, reviewerModel | Unset | Separate reviewer route; supply both nonempty values |
reviewTimeoutMs | 90000 | Total review deadline, including queueing, investigation, and retries; human response time is separate |
maxAttempts | 3 | Maximum attempts for recoverable review failures |
maxReviewRounds | 8 | Maximum model round trips per attempt |
maxInputBytes | 131072 | Byte budget for review requests and responses |
maxReadBytes | 32768 | Maximum bytes in one investigation read |
maxDirectoryEntries | 256 | Maximum entries returned from one investigation listing |
maxConcurrentReviews | 4 | Concurrent reviews across this plugin instance |
maxConsecutiveDenials | 3 | Consecutive policy denials that stop a turn |
denialWindowSize | 50 | Recent-review window within a turn |
maxRecentDenials | 10 | Denial threshold in that window; cannot exceed its size |
Numeric settings must be positive integers. reviewTimeoutMs must also fit the Node timer range. Invalid configuration fails during loading.