AGENTS.mdA
AGENTS.md from suink/diana is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add suink/diana/AGENTS.md@git:20261101.0873d0dPins git:20261101.0873d0d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- suink/diana
- Path
AGENTS.md- Versions recorded
- 5
- Latest version
- git:20261101.0873d0d, committed Nov 1, 2026
- First version recorded
- Oct 28, 2026
- Size
- 10,458 bytes
- Repository stars
- 34
- License
- a license file GitHub does not identify
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
# Diana Agent Instructions ## 语言 始终用中文回复用户,长任务中的进度更新和最终总结也一样。代码、标识符、提交消息和 PR 标题沿用各自已有的语言惯例。 ## 提交与 PR ### 提交 - 提交消息正文不得包含 `Co-Authored-By`、`Claude-Session` 等任何代理署名尾注。 - 只暂存自己改过的文件(`git add <路径>`,不用 `git add -A`)。同一仓库可能有别的 Claude 会话在工作;提交前先看 `git status`,不碰与本次改动无关的已暂存内容。 ### PR 标题与正文 - PR 标题与正文描述改动本身,不署代理名。 - PR 标题必须描述实际改动,不能只写版本号或编号。 - PR 正文开头必须是一段说明,并包含 `## Why` 小节,否则 PR 正文的 CI 检查会失败。 - PR 正文必须包含:改了什么、为什么改、用户或开发者影响、Bug 根因(修复类 PR)、验证方式。 - 在对话、Release 或其他文档中引用 PR 时,不能只放裸编号,例如只写 `#4`;必须同时给出该 PR 的改动标题或一句话摘要。 ### 合并流程 用户说「合并」或要求合并时: 1. rebase 到最新的 `origin/main` 并解决冲突。 2. 推送后等待所有 CI 检查跑完。等待后重新查一次状态,不得拿过期的运行结果报告「CI 通过」。 3. 用 `gh pr merge --squash --delete-branch` 压缩合并。 4. 清理本地分支和 worktree。 无法开启自动合并时,等 CI 跑完后手动合并。CI 全绿后不再二次确认,也不反复复查。 ## 排查与诊断 - 读过相关代码或查过 miku(SSH)上的生产日志/trace 之前,不得断言根因。不确定就直说并继续查;QQ API 变更这类外部平台行为用网页搜索核实。 - 之前任务里的只读限制不沿用到新任务。用户要求时,可以在 miku 上做端到端测试。 ## 测试 - Go:本地用 `scripts/test-serial.sh` 跑改动涉及的包(不传参数时自动按相对 `origin/main` 的改动挑包,也可以传包路径),默认跑一遍普通测试(本机时区),改了并发代码时用 `DIANA_TEST_RACE=1` 打开 `-race`。PR 的 CI 跑全仓库 `go test ./...`(UTC),本地不再每次跑全量。全仓库 `go test -race ./...` 只在打 `v*` 标签发版时由 Go Race Test 跑一次,挡在 Docker 发布和 GitHub Release 前面;PR 和 Canary 不跑。 …
Read the whole file at its exact version.
How to install
mdr add suink/diana/AGENTS.md@sha256:5538f984bb2a4bf8The line at the top of this page pins the label git:20261101.0873d0d, 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_2vhhbsixzdh4gcsu)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 28, 2026 and Nov 1, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.0873d0d latest | 2026-11-01 | 0873d0d | 10,458 B | A | view · diff |
| git:20261030.456e6fc | 2026-10-30 | 456e6fc | 10,142 B | A | view · diff |
| git:20261030.75f97d9 | 2026-10-30 | 75f97d9 | 9,545 B | A | view · diff |
| git:20261030.7fc009f | 2026-10-30 | 7fc009f | 9,455 B | A | view · diff |
| git:20261028.f329325 | 2026-10-28 | f329325 | 9,169 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (10458 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
suink/diana · 34 stars · license a license file GitHub does not identify · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2vhhbsixzdh4gcsu GET https://markdownregistry.com/api/v1/resolve?ref=suink/diana/AGENTS.md GET https://markdownregistry.com/api/v1/blob/5538f984bb2a4bf840fd62d7a31426f92eb21d20ce02fbb51fcf76c00f688e87
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.