AGENTS.md@src/host/assetsA

AGENTS.md@src/host/assets from gzx2211/dsh-visual-workflow is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add gzx2211/dsh-visual-workflow/src/host/assets/AGENTS.md@git:20261019.cae5b07

Pins git:20261019.cae5b07 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/assets/AGENTS.md
Versions recorded
5
Latest version
git:20261019.cae5b07, committed Oct 19, 2026
First version recorded
Sep 28, 2026
Size
4,886 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

# Assets Module Rules

## 范围与职责

适用于 `src/host/assets/`。

以**单文件 SQLite(`<root>/assets.db`)**保存两类持久化事实,并对外提供其读写入口:

- **资产**:模版的晋升形态。带版本控制、Active 指针、回滚与退役;分角色资产、工作流资产
  与经验生成提示词资产三类。提示词资产是唯一**不可归档**的资产:两款内置提示词各一条
  逻辑资产,Active 指针必须始终存在,只能保存新版本与切换版本;
- **经验**:主体在运行中沉淀的可长期复用知识(九项语义核心 + 检索投影 + 向量),
  其生成策略由提示词资产的两条 Active 版本提供。经验 provenance 继续用
  `generation_prompt_id`(提示词版本行 id)与 `generation_prompt_version`(行版本文本)
  记录生成时使用的版本,历史经验不随提示词回滚而变化。
  主体类型 `team` 已永久退役:两张表的 CHECK 收窄为 `('agent','orchestrator')`,
  存量 team 行与其子行在初始化时物理删除,不留备份表。

判断归属:该修改是否改变「资产/经验被持久化成什么形状、版本如何推进、Active 如何指向」?
只改变业务语义判断(该不该晋升、该不该复用、两条经验是否算重复)应放到调用方模块。

## 时间戳与版本

- 时间戳一律 epoch 毫秒,由本模块记账(`AssetStoreDeps.now` 可注入,测试确定化)。
- `created_at` 是**资产诞生时间**,升版时沿用既有版本行的值;`updated_at` 每次写入刷新。
- `version_id` 从 1 开始、按资产独立递增(`max(version_id) + 1`);版本行 id 固定
  `<asset_id>@<version_id>`,它是工作流版本行反向引用角色版本行的键,属对外契约。
- 回滚只移动 Active 指针,不新增版本、不改历史行。

## 经验(Experience)

- 磁盘形状:`experiences`(写入即固定,状态只有 `is_active` 两态,没有版本与 Active 表)与
  提示词资产的历史版本表 `experience_prompts` + Active 指针表 `experience_prompt_active`。
  版本行 id 统一为 `<asset_id>@<version_id>`;每个主体类型恰好一个 Active 指针
  (`experience_type` 唯一索引),指针缺失由初始化自愈,不存在删除入口。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gzx2211/dsh-visual-workflow/src/host/assets/AGENTS.md@sha256:204df53ad17e81e8

The line at the top of this page pins the label git:20261019.cae5b07, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ygbcyyvlbscoons6.svg)](https://markdownregistry.com/a/art_ygbcyyvlbscoons6)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 28, 2026 and Oct 19, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261019.cae5b07 latest2026-10-19 cae5b07 4,886 BA view · diff
git:20261011.d1c3e3a2026-10-11 d1c3e3a 3,745 BA view · diff
git:20261008.100852a2026-10-08 100852a 3,035 BA view · diff
git:20260928.3d307632026-09-28 3d30763 1,577 BA view · diff
git:20260928.c986b312026-09-28 c986b31 7,286 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4886 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

GitHub

gzx2211/dsh-visual-workflow · 65 stars · license MIT · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ygbcyyvlbscoons6
GET https://markdownregistry.com/api/v1/resolve?ref=gzx2211/dsh-visual-workflow/src/host/assets/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/204df53ad17e81e802153df25094af5fd71e1831bdc0c3af12f725cdb7d1b60b

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.

More from gzx2211/dsh-visual-workflow

AGENTS.md AGENTS.md file
gzx2211/dsh-visual-workflow · AGENTS.md
git:20261029.890e702 · audit A · 65 stars
dsh-plugin-development SKILL.md skill
gzx2211/dsh-visual-workflow · prompt/SKILL.md · 开发、维护、分发和验证 DeepSeek Harness (DSH) 插件的执行型 Skill。覆盖 host/client 形态判断、bundle/profile 契约、Service…
v3.1.0 · audit A · 65 stars
AGENTS.md@src/client AGENTS.md file
gzx2211/dsh-visual-workflow · src/client/AGENTS.md
git:20260924.2e6ce57 · audit A · 65 stars
AGENTS.md@src/host AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/agent AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/agent/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/api AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/api/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/graph AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/graph/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/orchestrator AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/orchestrator/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/prompts AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/prompts/AGENTS.md
git:20261017.3538eb1 · audit A · 65 stars
AGENTS.md@src/host/scheduler AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/scheduler/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/service AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/service/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars
AGENTS.md@src/host/shared AGENTS.md file
gzx2211/dsh-visual-workflow · src/host/shared/AGENTS.md
git:20260928.0bc633c · audit A · 65 stars

Every file in gzx2211/dsh-visual-workflow

Browse by kind, by grade A, or by owner.