MagicSpirit007/CodexAutoApprovalDSH ↗★ 0

dsh-codex-auto-approval

Codex Guardian approval policy and recovery for DeepSeek Harness 适合需要为新会话配置自动审批权限和自定义审查模型的用户。

Package
dsh-codex-auto-approval
Compatibility
Unverified
Harness peer range
0.2.0-rc.2
Cordis peer range
~4.0.4
Version
0.1.1
License
Apache-2.0
Last updated
Oct 1, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MagicSpirit007/CodexAutoApprovalDSH

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
SettingDefaultPurpose
autoEnableNewSessionstrueEnable CodexAutoApproval for fresh root sessions
reviewerProvider, reviewerModelUnsetSeparate reviewer route; supply both nonempty values
reviewTimeoutMs90000Total review deadline, including queueing, investigation, and retries; human response time is separate
maxAttempts3Maximum attempts for recoverable review failures
maxReviewRounds8Maximum model round trips per attempt
maxInputBytes131072Byte budget for review requests and responses
maxReadBytes32768Maximum bytes in one investigation read
maxDirectoryEntries256Maximum entries returned from one investigation listing
maxConcurrentReviews4Concurrent reviews across this plugin instance
maxConsecutiveDenials3Consecutive policy denials that stop a turn
denialWindowSize50Recent-review window within a turn
maxRecentDenials10Denial 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.