MagicSpirit007/CodexAutoApprovalDSH ↗★ 0

dsh-codex-auto-approval

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

パッケージ
dsh-codex-auto-approval
互換性
未検証
Harness ピア範囲
0.2.0-rc.2
Cordis ピア範囲
~4.0.4
バージョン
0.1.1
ライセンス
Apache-2.0
最終更新
2026/10/01

インストール

$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
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.