dsh-arc-context
Adaptive Reversible Context (ARC) for DeepSeek Harness — provider-aware, cache-conscious context governance with reversible recovery.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PlxloYzb/dsh-arc-context说明文档
阅读完整 README ↗配置(节选)
- id: compaction-arc-bridge
name: 'dsh-arc-context/bridge'
config:
effectiveSourceSafetyIndex: true # tier-2/3 索引递归回有效原始源(默认开)
safetyIndexRanking: value # 超预算时按类型价值密度逐出(默认 value)
adaptiveGovernor:
enabled: true
maxOutputTokens: auto
| 配置 | 默认 | 说明 |
|---|---|---|
effectiveSourceSafetyIndex | true | tier-2/3 蒸馏时,安全索引递归回到有效原始源,而非只重提取可见父 checkpoint。tier-1 输出不变。 |
safetyIndexRanking | value | 附录超出检查点预算时的逐出次序:value 按类型价值密度先逐出低价值事件行;chronological 为纯时间序截断。预算内两者输出逐字节相同。 |
完整配置(上下文窗口、nudge 阈值、保护范围、Governor、提示模板等)见 docs/INSTALL.md 与 docs/kernel-tuning.md。