dsh-safe-runtime
开发工具 活跃维护

dsh-safe-runtime

lilinling12/dsh-safe-runtime

内置能力策略管控、资源租约、审批路由及共享TCK能力,原生适配DeepSeek Harness,为AI智能体提供协议优先的安全运行环境,简化合规开发流程

0
Stars 标星
0
Forks 分支
0
Watchers 关注
2
Open Issues
TypeScript
主要语言
MIT
开源协议
2.1 MB
仓库大小
11 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:lilinling12/dsh-safe-runtime
git clone https://github.com/lilinling12/dsh-safe-runtime.git
git clone git@github.com:lilinling12/dsh-safe-runtime.git
README.md main

DSH Safe Runtime

Production-oriented safe execution infrastructure for agent harnesses.
DeepSeek Harness is the first adapter, not the protocol domain model.

Architecture

Agent / Subagent
      |
      v
Capability Broker       -- who may act?
      |
      v
Transactional Runtime   -- where do effects happen?
      |
      v
Acceptance Engine       -- did required checks pass?
      |
      v
Evidence / AVP Bridge   -- can the result be proved?
      |
   COMMIT / ROLLBACK

Non-negotiable boundaries

  1. packages/protocol MUST NOT depend on @deepseek-ai/*.
  2. Core semantics MUST NOT be inferred from the DeepSeek Harness adapter.
  3. Harness-specific event payloads MUST remain inside packages/adapter-dsh.
  4. v1 workspace transactions cover workspace filesystem effects only.
  5. Tool-level policy MUST NOT be described as isolation of arbitrary in-process plugins.
  6. Unknown or unsupported guarantees fail closed; they never silently degrade to PASS.

Maturity pipeline

DRAFT -> SPECIFIED -> SCHEMA_COMPLETE -> TCK_COMPLETE ->
REFERENCE_IMPLEMENTED -> ACCEPTANCE_AUDITED -> READY

Current milestone

M0 + M1 baseline:

  • repository/governance foundation;
  • runtime-independent normative protocol;
  • JSON Schema Draft 2020-12 contracts;
  • positive/negative fixtures;
  • protocol TypeScript projection;
  • architecture boundary checks.

See docs/roadmap.md.