
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-arc-context
Advanced tools
Adaptive Reversible Context (ARC) for DeepSeek Harness — provider-aware, cache-conscious context governance with reversible recovery.
中文 | English | Русский | Deutsch | 한국어 | 日本語 | Français | Italiano | Español | العربية | ไทย | Tiếng Việt | Português (BR) | हिन्दी | Bahasa Indonesia
ARC = Adaptive Reversible Context。 面向 DeepSeek Harness 的上下文治理插件:在安全区保持静默,在接近真实输入容量时执行模型驱动、本地可逆的压缩,信息永不丢失,卸载零残留。
发布状态:公开 Beta,跟随 dsh 官方 0.1.0-rc.8。 本项目与 dsh 均处公开 beta,暂不建议用于生产。完整发布门实机验证矩阵(十项)见
research/results/release-verification-0.2.0-beta.12.json。
以下数字全部来自真实模型实机实验(原始 usage 口径,不换算价格),证据与实验协议随包发布,由 npm run research:verify 逐项复核。
代码工程长会话 — 逐字历史约束保真:
| 方案 | 精确事实 | 派生约束 | 输入 tokens | 输出 tokens | 总 prompt |
|---|---|---|---|---|---|
| ARC | 24/24 | 4/4 | 121,146 | 23,234 | 1,055,802 |
| Basic | 6/24 | 0/4 | 231,315 | 30,940 | 1,355,539 |
质量 4 倍差距的同时成本更低:输入 −47.6%、输出 −24.9%、总 prompt −22.1%;ARC 的压缩为本地可逆提取(零辅助 LLM 调用),Basic 为不可逆模型摘要。
无标签自然语言决策追踪(含值更替):ARC 当前值 12/12、依据 10/10、旧值污染 0,输入较 Basic 低约 76%;独立英文 holdout 10/10 + 7/7。
decompress 逐字恢复有效源(六链实测 100%,超大输出经 dsh 溢写文件同样完整);search_context 检索压缩块,中英信息层召回 43/43。effectiveSourceSafetyIndex)。safetyIndexRanking: value):离线最差情形全预算占优,live 配对附录层 +14.3pp、端到端零回归。同时启用 web 界面与 cli 终端(cli 终端对应 headless profile;dsh plugin --profile <name> ... 可推广到任意 profile):
dsh plugin --profile web add dsh-arc-context # web 界面
dsh plugin --profile headless add dsh-arc-context # cli 终端
重启 dsh 即生效。bundle 自动安装 host-plane Preset Bridge:ARC 在 standard preset 自己的 compaction 隔离域内替换官方 Basic 行,preset 文件逐字节不变;命令、pruner、isolation 及其他 preset 行全部保留。
手动安装 tarball、其他 profile 与高级选项见 docs/INSTALL.md。
- 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。
dsh plugin --profile web remove dsh-arc-context # web 界面
dsh plugin --profile headless remove dsh-arc-context # cli 终端
重启 dsh 后:
重装随时可行,行为与首次安装一致(安装 → 卸载 → 重装循环在发布门矩阵中逐项验证)。
docs/research-agenda.mdresearch/results/(含发布门十项矩阵、对照实验、对抗套件)docs/(安装、preset 集成、Governor 设计、可逆安装设计)npm run research:verifyARC 的压缩内核源自 acp-kernel(及 billion-context-pi、opencode-acp,ranxianglei,MIT)的移植与独立演进;dsh 宿主为 DeepSeek Harness(DeepSeek AI)。本项目 MIT 许可,见 LICENSE。
FAQs
Adaptive Reversible Context (ARC) for DeepSeek Harness — provider-aware, cache-conscious context governance with reversible recovery.
We found that dsh-arc-context demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.