AGENTS.md@src/host/orchestratorA
AGENTS.md@src/host/orchestrator from gzx2211/dsh-visual-workflow is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add gzx2211/dsh-visual-workflow/src/host/orchestrator/AGENTS.md@git:20260928.0bc633cPins git:20260928.0bc633c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- gzx2211/dsh-visual-workflow
- Path
src/host/orchestrator/AGENTS.md- Versions recorded
- 3
- Latest version
- git:20260928.0bc633c, committed Sep 28, 2026
- First version recorded
- Sep 22, 2026
- Size
- 2,537 bytes
- Repository stars
- 65
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Orchestrator Module Rules ## 范围与职责 适用于 `src/host/orchestrator/`。 治理一次 Workflow Run 的运行时事实与生命周期: - 管理运行实例及运行时状态; - 驱动节点执行与状态推进; - 管理暂停、恢复、终止、清理; - 管理等待、子代理事件与协作状态; - 同步运行事实到持久化层及宿主能力; - 保证状态、生命周期和并发行为符合运行时契约。 判断归属:该修改是否改变 Workflow Run 的运行事实、状态转换、生命周期或运行时协调机制?若主要属于其他领域,应放到对应模块。 ## 状态所有权 Orchestrator 是 Workflow Run 运行时状态的主要所有者。 - 运行状态只能由 orchestrator 内部语义化操作修改; - 运行快照及核心运行事实必须有明确写入边界,同一事实不得存在多个无协调写入者; - 模块外不得直接修改运行实例内部状态; - 调用方表达“希望发生什么”,而非直接操作状态; - 查询与修改接口必须明确区分; - 对外暴露的运行状态默认只读诊断数据。 无对应语义化 API 时,应增加或调整明确的运行时操作,而不是暴露内部状态。 ## 生命周期 Workflow Run 生命周期:创建 → 启动 → 推进 → 暂停/中断/恢复 → 完成/失败/停止 → 清理。 必须保证: - 创建有明确初始化边界; - 启动失败能清理已建立状态; - 暂停、恢复、终止、失败、完成有明确状态语义; - 终态释放运行资源; - 清理逻辑幂等; - 新增定时器、监听器、等待器等必须有释放路径。 状态转换必须集中、明确、可验证。新增状态或转换时:说明生命周期语义、检查现有转换、检查恢复/终止/清理路径、增加测试。 ## 依赖边界 - 依赖方向:外部能力 → 依赖接口 / Capability / Adapter → Orchestrator → 运行时状态与生命周期。 - 仅在存在真实替换、测试隔离、模块边界或外部实现隔离需求时增加抽象,不得为形式解耦创建无职责接口层。 ## 核心原则 1. 运行事实由 orchestrator 统一治理,状态只有明确所有者与写入边界。 2. 状态变化必须通过语义化操作完成。 3. 生命周期必须显式、完整、可清理。 4. 运行时确定性事实与 Agent 语义判断分离。 5. 并发、取消、超时与清理必须有明确契约。 6. 外部实现经契约缝注入,不反向侵入核心状态。
Read the whole file at its exact version.
How to install
mdr add gzx2211/dsh-visual-workflow/src/host/orchestrator/AGENTS.md@sha256:7e5a2d18947c3b04The line at the top of this page pins the label git:20260928.0bc633c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_slbdrqkvlcp73vhp)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 22, 2026 and Sep 28, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.0bc633c latest | 2026-09-28 | 0bc633c | 2,537 B | A | view · diff |
| git:20260923.4575b13 | 2026-09-23 | 4575b13 | 2,955 B | A | view · diff |
| git:20260922.c07a623 | 2026-09-22 | c07a623 | 7,790 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2537 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
gzx2211/dsh-visual-workflow · 65 stars · license MIT · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_slbdrqkvlcp73vhp GET https://markdownregistry.com/api/v1/resolve?ref=gzx2211/dsh-visual-workflow/src/host/orchestrator/AGENTS.md GET https://markdownregistry.com/api/v1/blob/7e5a2d18947c3b04549f228cf71611e05c306899f6ed14fd80241e133794f2ff
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.