返回目录
安全与治理 插件

dsh-agent-handoff-deliberation

wbj0256/dsh-agent-handoff-deliberation

Privacy-first cross-agent handoff and adversarial deliberation tools for the DeepSeek Harness ecosystem.

Stars
0
Forks
0
Issues
1
更新
3 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:wbj0256/dsh-agent-handoff-deliberation

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DSH Agent Handoff & Deliberation

Privacy-first coordination primitives for DeepSeek Harness integrations.

  1. Cross-agent task handoff: recipient-bound queued → accepted → completed|blocked transitions with an audit event trail.
  2. Multi-agent deliberation / disagreement: independent positions, direct rebuttals, and a decision gate that refuses false consensus.

Independent ecosystem project; it is not an official DeepSeek product. It follows DeepSeek Harness guidance to publish ecosystem projects with the dsh-plugin topic.

Scope

Included: stateful handoffs, independent positions, rebuttals, decision gates, recursive credential redaction, unit tests, and CI.

Explicitly excluded: mutual teaching, scheduling / cron / process spawning / autonomous dispatch, credential storage or transport, and provider-specific model calls.

Install

npm install @wbj0256/dsh-agent-handoff-deliberation

Usage

import { HandoffLedger, DeliberationRoom } from '@wbj0256/dsh-agent-handoff-deliberation'

const handoffs = new HandoffLedger()
handoffs.create({ id: 'design-7', from: 'planner', to: 'builder', task: 'Implement the validated API contract.' })
handoffs.accept('design-7', 'builder')
handoffs.complete('design-7', 'builder', { artifact: 'commit reference' })

const debate = new DeliberationRoom()
debate.open('release-1', 'Release now?', ['builder', 'reviewer', 'lead'])
debate.position('release-1', 'builder', 'Release after tests.', ['unit tests passed'])
debate.position('release-1', 'reviewer', 'Hold for the abuse-case test.', ['threat model'])
debate.rebut('release-1', 'builder', 'reviewer', 'The boundary test covers this case.')
debate.decide('release-1', 'lead', 'Release only with boundary evidence recorded.')

Harness adapter

apply(host) registers neutral tool definitions against a tiny host.tools.register() seam. This keeps the policy core testable and avoids coupling to unstable internal APIs. A deployment adapter can map these definitions to the installed DeepSeek Harness Cordis and defineTool version.

Tools: handoff_create, handoff_accept, handoff_complete, deliberation_open, deliberation_position, deliberation_rebut, and deliberation_decide.

Security

Redaction happens before a payload enters a handoff or deliberation record. It is defense-in-depth, not secret management: do not provide credentials to agents or logs. The package persists nothing by default.

Development

npm install
npm run check

MIT licensed.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类安全与治理
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: privacy。