dsh-architecture-guide

August 13, 2026 · View on GitHub

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

Hermes Harness 架构总览指南:控制循环、权威边界、五阶段生命周期与 Agent OS 五件套关系的双语说明。

Hermes Harness architecture guide: control loop, authority boundaries, five-phase lifecycle and the Agent OS five-module map.


Hermes Harness Architecture Guide / Hermes Harness 架构总览指南

本项目是基于 Hermes Harness 源架构综合编写的双语架构总览指南(纯文档仓库)。以源仓库 core/core.mdspecs/ 为事实依据,讲解 Harness 的职责定位、事件驱动控制循环、权威边界、五阶段任务生命周期,以及 Agent OS 五件套(规划 Loop、运行内核、Worker 协议、任务图调度、可观测性)之间的依赖关系。不包含任何源码。

This repository is a bilingual architecture overview guide synthesized from the Hermes Harness source architecture (pure documentation). Grounded in the source core/core.md and specs/, it explains the harness positioning, the event-driven control loop, authority boundaries, the five-phase task lifecycle, and the dependency relationships among the Agent OS five components (planning loop, runtime kernel, worker protocol, task-graph scheduler, observability). No source code is included.

Features / 功能

  • 控制循环:事件驱动状态机,无事件不空转;受监督模式在派发前插入可检查的暂停点 Control loop: event-driven state machine; supervised mode inserts an inspectable pause before dispatch
  • 权威边界:Markdown 唯一事实源,机器镜像与运行账本永不反向覆盖权威 Authority boundaries: Markdown as single source of truth; generated mirrors never overwrite authority
  • 五阶段生命周期:理解 → 合同 → 路由 → 执行 → 收尾,全程有界(两次执行、一次修正) Five-phase lifecycle: understanding → contract → routing → execution → closure, always bounded (two runs, one fix)
  • Agent OS 五件套关系:规划 Loop、运行内核、Worker 协议、任务图调度与可观测性的依赖图谱 Agent OS five components: dependency map of planning loop, runtime kernel, worker protocol, task-graph scheduler and observability
  • 双语:中文与英文对照编写,可直接阅读,无运行依赖 Bilingual: Chinese and English side by side; readable as-is, no runtime dependencies

What's inside / 目录结构

dsh-architecture-guide/
├── README.md                       # 双语说明 + DSH 衍生声明
├── LICENSE                         # MIT
├── docs/
│   └── architecture-guide.md       # 双语架构总览指南(核心文档)
└── .dsh/                           # DeepSeek Harness 衍生包
    ├── preset.yml
    ├── agent.cordis.yml
    ├── README.md
    └── skills/dsh-architecture-guide/SKILL.md

Quick start / 快速开始

# 1. 查看文档目录
$repo = "E:\path\to\dsh-architecture-guide"
Get-ChildItem (Join-Path $repo "docs")

# 2. 阅读双语架构指南
Get-Content (Join-Path $repo "docs\architecture-guide.md")

# 3. 安装 DSH 预设(可选)
$dst = Join-Path $env:DSH_HOME ".agent-presets\hermes-architecture-guide"
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-architecture-guide/SKILL.md — 项目专属技能(skill)

安装与接入方式见 .dsh/README.md(双语)。

License / 许可证

MIT



这是 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(本仓库 / this repo) · dsh-powershell-patterns · dsh-json-schema-driven-dev · 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