Porphyrioon/ironlaw--packages-adapter-dsh ↗★ 2

@ironlaw/adapter-dsh

IronLaw governance and evidence plugin for DeepSeek Harness (DSH): records tool-call evidence, blocks destructive actions in enforcer mode, and gates turn completion on verifiable evidence. 适合需要对Agent工具调用进行安全审计、拦截高危操作并验证执行凭证的用户。

パッケージ
@ironlaw/adapter-dsh
互換性
未検証
Cordis ピア範囲
^4.0.0
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/09/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Porphyrioon/ironlaw#f4a08c71a4d21c7db1021a916156101cdb41c12b&path:packages/adapter-dsh

ドキュメント

README 全文を読む ↗

Configuration

Configuration is read from the environment (the bundle patch stays minimal):

VariableDefaultMeaning
IRONLAW_MODEobserveobserve records only; enforcer also blocks destructive tools
IRONLAW_EVIDENCE_ROOT~/.ironlawDirectory for the events.ndjson evidence ledger
IRONLAW_DESTRUCTIVE_TOOLSbuilt-in listComma-separated extra regex fragments to treat as destructive

The completion gate is on by default. It requires each applicable acceptance item to carry still-valid host-observed evidence before the turn may close; otherwise the agent is steered a repair prompt instead of finishing, up to a bounded number of repairs. In observe mode (the default) it only steers; destructive tool calls are additionally blocked in enforcer mode.