AGENTS.mdA
AGENTS.md from magicalyuyu/agent-operating-system is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add magicalyuyu/agent-operating-system/AGENTS.md@git:20261008.e5b1ec6Pins git:20261008.e5b1ec6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- magicalyuyu/agent-operating-system
- Path
AGENTS.md- Versions recorded
- 5
- Latest version
- git:20261008.e5b1ec6, committed Oct 8, 2026
- First version recorded
- Jun 21, 2026
- Size
- 6,995 bytes
- Repository stars
- 4
- 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
# AOS 2.0 — Agent Operating System
@.dsh/context-anchor.md
> 版本 2.0.0-rc.1 | 2026-10-07 | 本文件硬上限 200 行,溢出内容必须降级为 skill
> 前身:AOS v1(已冻结归档)
## 定位
AOS 是运行在类 Claude Code agent harness 上的个人文件治理层:**harness 提供运行时(调度、编排、沙箱、记忆通道),AOS 提供数据治理与工作流约定**。规则只写不变量,一切按需知识通过指针表和 skills 检索。
## 铁律(4 条,平台无关)
1. **记忆分型**:记录型(feedback/经验/坑点/日志)只追加;状态型(画像/项目事实/配置)覆盖旧值并留变更注释(如"React(2026-06-15 更新,原为 Vue)")
2. **输出隔离**:交付物一律经 `07_EXPORTS/{project}/` 导出,禁止散落在工作目录
3. **Reference 唯一化**:每份知识只存一处,他处只写路径引用;禁止复制内容
4. **项目不复制知识**:01_PROJECTS 内只能引用 04_MEMORY / 09_REFERENCE 的路径
## 目录宪章(8 个)
| 目录 | 职责 | 关键约束 |
|---|---|---|
| 01_PROJECTS | 项目隔离存放 | 项目模板两件套:AGENTS.md + README.md |
| 04_MEMORY | 唯一状态持久化中心 | 状态型文件单文件 ≤32KB,超限剪切历史至 06_LOGS/{project}/memory_history.md 并留指针 |
| 05_CACHE | Agent 中间产物垃圾场 | ①唯一副本禁入(备份去 99_ARCHIVE 或异地)②两级分层:项目/日期③创建时间超 90 天由巡检 skill 出清理清单④禁止任何长期引用指向此目录 |
| 06_LOGS | 运行日志(平台无关叙事层) | 只追加;治理事件(巡检/事故/发布/决策)+ 项目关键节点(立项/阶段切换/交付)必写一行;重要会话一行入 `/aos/session_index.md`;跨平台迁移时本目录随迁(过程细节层归 harness 会话档案);/memory_history.md 承接状态文件剪切的历史(裁剪前必须先归档,顺序不可倒) |
| 07_EXPORTS | 输出导出 | 按项目分层 |
| 08_INBOX | 重量级输入鲁棒入口 | ①中转区语义:处理完必须迁往真正归宿,原处只留去向指针②按 YYYYMMDD 分层③收到 INBOX 路径 → 读取 → 处理 → 主动归位 → 留去向记录 |
…Read the whole file at its exact version.
How to install
mdr add magicalyuyu/agent-operating-system/AGENTS.md@sha256:df0efd9c75dc7834The line at the top of this page pins the label git:20261008.e5b1ec6, 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_ngmyi5give6koa3i)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 21, 2026 and Oct 8, 2026, about one every 27 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261008.e5b1ec6 latest | 2026-10-08 | e5b1ec6 | 6,995 B | A | view · diff |
| git:20260717.d015249 | 2026-07-17 | d015249 | 18,530 B | A | view · diff |
| git:20260626.3b51990 | 2026-06-26 | 3b51990 | 17,701 B | A | view · diff |
| git:20260626.d08616c | 2026-06-26 | d08616c | 17,722 B | A | view · diff |
| git:20260621.17c8e53 | 2026-06-21 | 17c8e53 | 13,569 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6995 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
magicalyuyu/agent-operating-system · 4 stars · license a license file GitHub does not identify · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ngmyi5give6koa3i GET https://markdownregistry.com/api/v1/resolve?ref=magicalyuyu/agent-operating-system/AGENTS.md GET https://markdownregistry.com/api/v1/blob/df0efd9c75dc783496242933709df38257fb233b237350cc36c51197915dc1a1
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 magicalyuyu/agent-operating-system
Every file in magicalyuyu/agent-operating-system