docs: align business-domain placement and tighten scope wording

This commit is contained in:
Turtle committed 2026-11-19 16:55:26 +08:00
1 parent 498b681a09
commit 2a807b4a3b
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ Each fact has one home: the tier whose job it is; elsewhere, link there.
| [subsystems/](subsystems/README.md) | One reference page per subsystem: type definitions, semantics, and the generated Cordis API | Behavior narration (→ architecture.md) |
| [Agent Notes](../.agents/notes/README.md) | Active decision records: the why, what-was-given-up, and required verification; `implemented/` notes describe shipped reality in present tense | Migration plans, acceptance-task checklists, fixture walkthroughs, and spec-speak ("should…") once the decision has shipped; archived notes are frozen history, never current authority |
| [defensive-patterns/](defensive-patterns/README.md) | Rules this repository enforces in review, split by artifact: one general bug-class page plus per-domain pages | Type definitions and semantics (→ subsystems), decision rationale (→ Agent Notes), design rules for writing code (→ core-guidelines/) |
| [core-guidelines/](core-guidelines/README.md) | Numbered design rules for writing code, one file per area (general, frontend, backend, data exchange), in the format its rule G.1 defines | Business-domain rules (→ package READMEs, subsystems/); artifact bug-class checks (→ defensive-patterns/) |
| [core-guidelines/](core-guidelines/README.md) | Numbered design rules for writing code, one file per area (general, frontend, backend, data exchange), in the format its rule G.1 defines | Business-domain rules (→ package READMEs, subsystems/, Agent Notes); artifact bug-class checks (→ defensive-patterns/) |
| [postmortem/](postmortem/README.md) | Incident stories — the only tier where war-story narrative belongs | — |
| [Persistence history](persistence-changes/README.md) and [format references](persistence-changes/historical-formats/README.md) | Type-change acknowledgements, release comparisons, and complete historical format schemas | Behavior-only changes; current runtime contracts |
| [cookbook/](cookbook/adding-a-package.md) | Step-by-step how-tos with numbered verify steps | Design rationale (→ the Agent Note each guide links) |
+2 -2
View File
@@ -12,8 +12,8 @@
en: d01356208379d52c
zh: 5db9008bd7fd339f
/dsh-core-guidelines/status-and-scope:
en: 18ed06b9945cef58
zh: 9f2403f559948c8f
en: d44105d88f9dc6a1
zh: 60d770cd66f23e37
/dsh-core-guidelines/introduction:
en: 5b8a82e7c85129d1
zh: 05f02b6a5a94afd2
+1 -1
View File
@@ -17,7 +17,7 @@ Rules for writing DeepSeek Harness code, in the style of the [C++ Core Guideline
## Status and scope
These guidelines are to DeepSeek Harness what the C++ Core Guidelines are to C++: the repository's coding standard for how to write code, independent of what the code does. Every change follows them, and reviewers cite them by ID.
These guidelines are to DeepSeek Harness what the C++ Core Guidelines are to C++: the repository's coding standard for how to write code, independent of what the code does.
A rule belongs here when it would still apply if the code implemented a different feature. Examples are rules about interfaces, types, errors, resource ownership, concurrency, state, component structure, and data formats.
+2 -2
View File
@@ -17,11 +17,11 @@
## 地位与范围
本准则之于 DeepSeek Harness,相当于 C++ Core Guidelines 之于 C++:它是本仓库关于“如何写代码”的编码标准,与代码实现什么功能无关。每个变更都遵循本准则,审查者按编号引用。
本准则之于 DeepSeek Harness,相当于 C++ Core Guidelines 之于 C++:它是本仓库关于“如何写代码”的编码标准,与代码实现什么功能无关。
一条规则若在代码实现其他功能时依然适用,就属于本准则。例如关于接口、类型、错误、资源所有权、并发、状态、组件结构和数据格式的规则。
业务领域规则不属于本准则。规定某个功能、子系统或产品决策必须如何运作的规则,放在其所有者处:包 README、[子系统页面](../subsystems/README.zh.md)或 [Agent Note](../../.agents/notes/README.zh.md)。针对某类产物已知缺陷的审查检查见[防御性模式](../defensive-patterns/README.zh.md)。
业务领域规则不属于本准则。规定某个功能、子系统或产品决策必须如何运作的规则,放在拥有这条规则的文档里:包 README、[子系统页面](../subsystems/README.zh.md)或 [Agent Note](../../.agents/notes/README.zh.md)。针对某类产物已知缺陷的审查规则见[防御性模式](../defensive-patterns/README.zh.md)。
## 引言