用契约先行与分层注册表规范 Schema 演进
26.6/100
综合分
0
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/9/16 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add h565656445/dsh-json-schema-driven-dev该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:已验证
图例:✓ 通过! 需注意— 未判定 / 无数据· 「未判定」= 本站尚无数据,不代表插件有问题
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 契约先行开发
- 分层注册表
- Schema版本演进
面向 DeepSeek Harness 的 JSON Schema 驱动开发方法论:契约先行、分层注册表、版本演进
README
由 DeepSeek 最新模型翻译生成dsh-json-schema-driven-dev
DeepSeek Harness 个人适配声明(Personal Adaptation Notice)
本项目是 DeepSeek Harness 的个人适配产物(personal adaptation),并非 DeepSeek Harness 官方文件(not an official DeepSeek Harness file),随附功能、使用说明与个人产物(bundled with features, documentation, and personal artifacts),可与 DeepSeek Harness 搭配使用,也可独立使用。
This project is a personal adaptation for DeepSeek Harness, and is NOT an official DeepSeek Harness file, bundled with features, documentation, and personal artifacts. It can be used alongside DeepSeek Harness or standalone.
作者 / Author: h565656445
合作 / Collaboration: 如有项目可以一起合作,欢迎联系。
展开完整文档(README 剩余 1 节)
dsh-json-schema-driven-dev DeepSeek Harness 个人适配声明(Personal Adaptation Notice) 本项目是 DeepSeek Harness 的个人适配产物(personal adaptation),并非 DeepSeek Harness 官方文件(not an official DeepSeek Harness file),随附功能、使用说明与个人产物(bundled with features, documentation, and personal artifacts),可与 DeepSeek Harness 搭配使用,也可独立使用。 This project is a personal adaptation for DeepSeek Harness, and is NOT an official DeepSeek Harness file, bundled with features, documentation, and personal artifacts. It can be used alongside DeepSeek Harness or standalone. 作者 / Author: h565656445 合作 / Collaboration: 如有项目可以一起合作,欢迎联系。微信:wohaishihenshuaide。If you have projects, let's collaborate. WeChat: wohaishihenshuaide. 用途 / What this is for JSON Schema 驱动开发方法论:契约先行、registry 分层、版本演进与校验门禁的落地指南。 JSON Schema-driven development methodology: contract-first, layered registry, version evolution and validation gates. JSON Schema 驱动开发方法论 / JSON Schema-Driven Development Methodology 本项目是从 Hermes Harness 源架构 schemas/ 目录提炼的 JSON Schema 驱动开发方法论(纯文档仓库)。内容覆盖:契约先行(先定义 Schema 再写实现)、schema registry 分层(registry 元 Schema + 版本分层目录)、版本演进(revision 编号、legacy 兼容 Schema、禁止降级)、以及校验门禁(同一份字节解析/校验/哈希、失败关闭)。方法论与具体 Schema 内容解耦,可迁移到任何 JSON Schema 工程。 This repository distills a JSON Schema-driven development methodology from the Hermes Harness source schemas/ directory (pure documentation). It covers: contract-first (define schemas before implementation), layered schema registries (registry meta-schema plus versioned layers), version evolution (revision numbering, legacy-compatible schemas, no downgrades), and validation gates (parse/validate/hash on the same bytes, fail closed). The methodology is decoupled from any concrete schema content and transfers to any JSON Schema project. 功能 / Features - 契约先行:Schema 是生产者与消费者之间的契约,先定契约再写实现 Contract-first: schemas are contracts between producers and consumers, defined before implementation - Registry 分层:registry.schema.json 约束注册表本身,v0.2/ 分层承载具体契约 Layered registry: registry.schema.json governs the registry itself; versioned layers hold concrete contracts - 身份绑定:每个契约带 schema_id + version + sha256 三元组,字节级可追溯 Identity binding: every contract carries a schema_id + version + sha256 triple, traceable at byte level - 版本演进:registry_revision 编号、compatible_with 声明、legacy 兼容 Schema、禁止降级 Version evolution: registry_revision numbering, compatible_with declarations, legacy-compatible schemas, no downgrades - 校验门禁:写盘前同一份字节完成解析/校验/哈希,漂移即失败关闭 Validation gates: parse/validate/hash the same bytes before persisting; any drift fails closed - 严格风格:additionalProperties:false、enum/const/pattern 与 $defs 复用,拒绝未知字段 Strict style: additionalProperties:false, enum/const/pattern and $defs reuse; unknown fields rejected 目录结构 / What's inside dsh-json-schema-driven-dev/ ├── README.md # 双语说明 + DSH 衍生声明 ├── LICENSE # MIT ├── docs/ │ └── json-schema-driven-dev.md # 双语 JSON Schema 驱动开发方法论(核心文档) └── .dsh/ # DeepSeek Harness 衍生包 ├── preset.yml ├── agent.cordis.yml ├── README.md └── skills/dsh-json-schema-driven-dev/SKILL.md 快速开始 / Quick start 1. 阅读方法论文档 $repo = "E:\path\to\dsh-json-schema-driven-dev" Get-Content (Join-Path $repo "docs\json-schema-driven-dev.md") 2. 用清单核对你的 Schema 工程 - 是否有 registry 元 Schema 约束注册表本身 - 每个契约是否带 schema_id/version/sha256 - 是否 additionalProperties:false Get-Content (Join-Path $repo "docs\json-schema-driven-dev.md") | Select-String "落地步骤" 3. 安装 DSH 预设(可选) $dst = Join-Path $env:DSH_HOME ".agent-presets\hermes-json-schema-driven-dev" Copy-Item -Recurse -Force (Join-Path $repo ".dsh") $dst DeepSeek Harness 衍生 / DSH Derivative 本项目附带 DeepSeek Harness 衍生包,位于 .dsh/ 目录: - preset.yml — Agent 预设元数据 - agent.cordis.yml — Cordis 组装(基于 standard 预设,persona 已定制) - skills/dsh-json-schema-driven-dev/SKILL.md — 项目专属技能(skill) 安装与接入方式见 .dsh/README.md(双语)。 许可证 / License MIT 相关项目 / Related Projects 这是 DeepSeek Harness 个人适配系列(共 31 个仓库)的完整导航。 / This is the complete navigation for the DeepSeek Harness personal-adaptation series (31 repos). Agent OS 内核 / Kernel dsh-agent-os-runtime · dsh-agent-os-planning · dsh-agent-os-scheduler · dsh-agent-os-worker-protocol · dsh-agent-os-observability · dsh-agent-os-specs Harness 基础设施 / Infrastructure dsh-harness-core · dsh-graph-entry · dsh-async-job · dsh-file-identity · dsh-json-projection · dsh-manual-approval · dsh-observation-writer · dsh-provider-control · dsh-schema-negotiator · dsh-upgrade-governance 规格与文档 / Specs & Docs dsh-harness-specs · dsh-novel-specs · dsh-architecture-guide · dsh-powershell-patterns · dsh-json-schema-driven-dev(本仓库 / this repo) · dsh-llm-agent-harness-guide 适配器 / Adapters dsh-short-story-engine · dsh-tutorial-video-state-machine · dsh-governance-kernel · dsh-sports-pipeline · dsh-motion-grammar DSH 总集成 / Integration dsh-integration · dsh-presets-pack · dsh-skills-pack · dsh-starter-kit
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
h565656445/dsh-json-schema-driven-dev
用契约先行与分层注册表规范 Schema 演进
相关插件 · 市场 / 管理
插件精选列表awesome-dsh-plugin/awesome-dsh-plugin
DeepSeek Harness(dsh)插件精选列表
★ 22,399未汉化DSH
73.6
新词雷达zhuyansen/new-term-radar
new-term-radar新词雷达
★ 2,049已汉化MCP
72.8
插件生态导航0xsline/awesome-deepseek-harness
安装 贡献指南 DeepSeek Docs 公开插件目录 Issues
★ 1,188已汉化DSH
72.6
技能注册中心iflytek/skillhub
企业级开源智能体技能注册中心——发布、发现并管理组织内可复用的技能包。
★ 5,384已汉化DSH
71.9
插件市场目录imsai-sh/awesome-deepseek-harness-plugins
面向 DeepSeek Harnessdsh生态的社区插件目录,共收录 13950 个插件含 PR 收录与…
★ 360已汉化DSH
71.9
插件精选清单Anil-matcha/awesome-dsh-plugin
DeepSeek Harnessdsh精选指南——DeepSeek…
★ 1,013已汉化DSH
71.7
这个插件是你维护的吗?
作者本人可认领并核对本条目;认领通过后,详情页会显示「作者已认领」标记。