
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-spec-collab
Advanced tools
AI-assisted requirement clarification and Git-backed Spec co-creation for DeepSeek Harness, ending at a human-confirmed Ready Spec.
DeepSeek Harness 的需求“编辑校样台”,用于把原始需求澄清为研发和开发 AI 可直接理解的 Ready Spec。需求文档是主画布,评论、客户洞察、决策、版本差异和 AI 建议通过批注边栏与全屏抽屉完成闭环。
产品边界严格止于 Ready Spec,不包含代码实现、测试用例生成、worktree、MR、部署、发布或交付状态管理。
兼容 DeepSeek Harness v0.1.1-rc.1。插件可在局域网 HTTP 地址下运行,不依赖浏览器提供 crypto.randomUUID;DSH 精简侧栏仅显示“设置”时,也会正常挂载“需求讨论”入口。
已有 Node.js 环境时,无需先全局安装 DSH CLI:
npx -y @deepseek-ai/dsh plugin --profile web add dsh-spec-collab@latest
如果 dsh 已在 PATH 中,也可以使用简写:
dsh plugin --profile web add dsh-spec-collab@latest
安装后重启现有的 dsh web 进程。后续更新使用:
dsh plugin --profile web update dsh-spec-collab@latest
插件已经内置非安全 HTTP 环境所需的 UUID fallback,不需要通过代理向 HTML 注入 crypto polyfill。团队部署仍建议使用 HTTPS,并在 DSH 前配置认证。
输入原始需求
-> 产品 AI 自动初审(九个维度)
-> 产品逐项回应
-> 产品 AI 二次审核 + 候选 patch
-> 产品确认当前 commit
-> 产研 + 双方 AI 共审
-> 产品/研发分别确认当前 commit
-> 六项 Ready 门
-> 输出 Ready Spec
点击下方截图观看从选择工作区到生成 Ready Spec 的完整 MP4 录屏:




participant_id + 花名 + 责任角色。requirements/<id>/spec.md,每次显式保存生成一个 Git commit。baseCommit;过期或存在外部未提交修改时拒绝覆盖。FACT / INFERENCE / ASSUMPTION / TO_VERIFY 结构化 Review Item;FACT 强制可访问且带版本的证据。TO_VERIFY、影响章节/AC 和建议处置。spec_list、spec_read、spec_reply、spec_submit_review、spec_propose_patch。插件通过 DSH profile 的 cordis.patch.yml 接收配置。defaultContext 会应用到全部工作区;workspaces 只为指定 workspaceId 追加资源,并可覆盖默认 agentPreset。未列入 workspaces 的已登记工作区仍可创建需求并继承默认上下文。
- id: spec-collab
config:
defaultContext:
skills:
- requirements-review
mcpServers:
- confluence
documentPaths:
- ~/company-docs/product-rules.md
agentPreset: spec-review
workspaces:
- workspaceId: 00000000-0000-4000-8000-000000000001
skills:
- payment-domain
mcpServers:
- payments
documentPaths:
- docs/payment-rules.md
agentPreset: spec-review-payments
新建需求窗口会读取 DSH 当前登记的全部工作区并要求选择。工作区专属 documentPaths 可写相对路径,AI 会基于所选工作区根目录读取;共享文档建议使用绝对路径或 ~。页面接口 GET /api/spec-collab/review-workspaces 返回可选工作区的 workspaceId、标题和路径,可用于填写覆盖配置。
升级前创建、尚未保存 workspaceId 的需求会显示“未绑定工作区”,其 AI 审核按钮保持禁用;通过“绑定工作区”补齐一次后即可继续。已绑定需求不允许切换工作区,避免同一需求的审核上下文中途变化。
Skill 和 MCP 必须已经由对应 Agent Preset 挂载:Skill 名称会要求 AI 先通过 skill 工具加载,MCP serverName 会映射为 mcp__<serverName>__* 工具 namespace。本插件不会在单次审核中安装外部代码或启动未授权 MCP;资源不可用时,AI 必须明确标记 TO_VERIFY,不能伪造 FACT。
绑定工作区会把 AI session 的当前目录设为该工作区的真实路径,但“挂载成功”不代表模型已经读取项目文件。默认工作区提示词会强制每次审核先检查根目录,读取存在的 AGENTS.md、CONTEXT.md、README.md、CONTRIBUTING.md 和项目清单,再按需求定位相关代码、文档、测试及 Git 历史。业务专属资料仍建议通过 documentPaths 明确指定。
prompts 中每个字段都可以单独覆盖,未填写的字段继续使用插件当前内置提示词。动态的需求 ID、commit、审核类型和 session ID 由插件注入,不需要写进自定义提示词。
- id: spec-collab
config:
prompts:
common: |-
所有输出使用简体中文,并遵守团队的需求审核规范。
productFirst: |-
先检查用户目标、范围、业务规则和验收标准,再提交结构化审核结果。
workspaceContext: |-
## 项目上下文
项目:{{WORKSPACE_TITLE}}
根目录:{{WORKSPACE_PATH}}
审核前先读取项目规则、说明文档和相关实现。
{{WORKSPACE_SNAPSHOT}}
{{RESOURCE_INSTRUCTIONS}}
resourceInstructions: |-
可用 Skill:{{SKILLS}}
可用 MCP:{{MCP_SERVERS}}
指定文档:{{DOCUMENT_PATHS}}
followUp: |-
请基于当前审核上下文回答下面的追问:
{{CONTENT}}
可配置字段:system、workspaceContext、resourceInstructions、common、productFirst、productSecond、engineeringPrecheck、changeReview、comment、followUp。
workspaceContext 必须各保留一次 {{WORKSPACE_SNAPSHOT}} 和 {{RESOURCE_INSTRUCTIONS}},还支持 {{WORKSPACE_ID}}、{{WORKSPACE_TITLE}}、{{WORKSPACE_PATH}}。resourceInstructions 支持 {{RESOURCE_DETAILS}}、{{SKILLS}}、{{MCP_SERVERS}}、{{DOCUMENT_PATHS}}。followUp 必须保留且只能保留一个 {{CONTENT}}。未知变量和缺失的必需变量会在插件启动时直接报错,避免错误模板进入 AI 会话。完整默认值由包入口导出的 DEFAULT_REVIEW_PROMPTS 提供。
需要 Node.js 20+、pnpm 9+ 和可用的 DeepSeek Harness。
git clone https://github.com/zx490336534/dsh-spec-collab.git
cd dsh-spec-collab
pnpm install
pnpm run typecheck
pnpm test
pnpm run build
dsh plugin --profile web add "link:$(pwd)"
首次安装或 Host 代码变更后重启现有 dsh web。Client 开发时需在 DeepSeek Harness checkout 运行 pnpm run dev:web,插件侧运行 pnpm run bundle --watch,现有 GUI 的 client-plugin HMR 才会接收 bundle 更新。
Cmd/Ctrl+S:保存到版本库;缺少改动说明时会解释禁用原因。Cmd/Ctrl+Shift+F:进入或退出正文专注模式。Home/End;分栏支持方向键调宽,按住 Shift 加速。CSV 必填 body,可选 title、customer、company、external_ref、source、importance、captured_at 和 targets。Markdown 的每个二级标题对应一条洞察。单文件最大 5 MB、最多 2,000 条,提交前会展示新增、更新、重复和逐行错误,服务端以单个幂等动作原子提交。
~/.dsh/spec-collab/
collaboration-v2.json # 保留的 v0.2.x 原始数据,供回滚读取
collaboration-v2.backup-<timestamp>.json
collaboration-v3.json # 协作、通知、洞察、统一指标和 AI 阶段会话
repository/.git/ # 正式版本历史
repository/requirements/
<requirement-id>/spec.md
Git 是正式 Spec 版本的唯一事实源;协作账本不保存第二套 Markdown 历史。未正式保存的草稿只保存在当前浏览器 IndexedDB。
FAQs
AI-assisted requirement clarification and Git-backed Spec co-creation for DeepSeek Harness, ending at a human-confirmed Ready Spec.
The npm package dsh-spec-collab receives a total of 36 weekly downloads. As such, dsh-spec-collab popularity was classified as not popular.
We found that dsh-spec-collab 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.