AGENTS.md@src/studioA

AGENTS.md@src/studio from lizhiyao/oh-my-knowledge is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add lizhiyao/oh-my-knowledge/src/studio/AGENTS.md@git:20261013.c1ba004

Pins git:20261013.c1ba004 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
lizhiyao/oh-my-knowledge
Path
src/studio/AGENTS.md
Versions recorded
11
Latest version
git:20261013.c1ba004, committed Oct 13, 2026
First version recorded
Sep 3, 2026
Size
5,636 bytes
Repository stars
24
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

# Studio 领域规则

本文件补充仓库根 `AGENTS.md`,适用于 `src/studio/`。Studio 只消费稳定的领域投影,不应重新解释评测或观测语义。

## 渲染与查询边界

- Studio 应用页面统一向 Next.js 收敛;手写 HTML 渲染层已删除,新页面不再增加它。API、SSE 按各自职责维护,不为迁移页面而复制领域查询。
- view-models 仅存放类型契约;泳道布局、证据引用与活动快照的运行时计算放在 application 中,HTTP 与 React 消费同一实现;application 不得依赖 http 或 web,view-models 不得反向依赖这些层或 application。
- 客户端组件(`'use client'`)按值 import 的模块会进浏览器 chunk,因此其运行时依赖闭包不得触达 Node 宿主能力;只是取类型就用 `import type`,该边会被 TS 擦除、不算闭包成员。口径由 `test/architecture/studio-client-runtime-closure.test.ts` 钉住;`next build` 里的报错只是同一件事的下游后果,不能当防线用。
- Studio 的具名导出必须有按名导入它的消费者:`export` 是对外承诺,没有消费者的承诺只是没人能兑现的表面积。口径由 `test/architecture/studio-export-consumers.test.ts` 钉住,消费者集合是 `src`/`test`/`scripts`/`examples` 全量(package exports 没有 Studio 子路径,仓内收窄不算破坏对外契约);只有 Next.js 在 `web/app/**` 按约定读取的导出(`metadata`、`dynamic` 等)按「名字+位置」豁免,同一个名字放在 `app` 外照样判红。`no-unused-vars` 在 `--max-warnings 0` 下确实拦得住未使用的局部,但它把 `export` 本身算作使用,所以零消费者的导出对 lint 与编译器都不可见(`noUnusedLocals` 还是 false,`tsc --noEmit` 又排除 `src/studio/web`),静态检查不会替你守这条;修法只有删声明和补真实调用方两种,不加豁免名单。
- Knowledge 页面与 API 共用 application 查询入口。缓存由服务实例持有,目录按请求解析,返回值不得暴露缓存内部的可变引用。
- 清理旧渲染器前检查实际调用者;仍服务于调试入口的实现不算死代码。具体迁移路由与剩余工作记录在 PR,不在本规则中维护易过期的路由清单。

## 领域约束
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lizhiyao/oh-my-knowledge/src/studio/AGENTS.md@sha256:68848b5a3254480f

The line at the top of this page pins the label git:20261013.c1ba004, 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_7wbjyyszq6abs4zp.svg)](https://markdownregistry.com/a/art_7wbjyyszq6abs4zp)

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

Versions

The registry has recorded 11 versions of this file, between Sep 3, 2026 and Oct 13, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261013.c1ba004 latest2026-10-13 c1ba004 5,636 BA view · diff
git:20260922.16cd1ad2026-09-22 16cd1ad 5,737 BA view · diff
git:20260915.1662dbb2026-09-15 1662dbb 5,265 BA view · diff
git:20260914.15fdb272026-09-14 15fdb27 4,682 BA view · diff
git:20260914.f43fdca2026-09-14 f43fdca 3,772 BA view · diff
git:20260913.af18c162026-09-13 af18c16 3,381 BA view · diff
git:20260913.328766c2026-09-13 328766c 3,333 BA view · diff
git:20260910.6f929e92026-09-10 6f929e9 3,324 BA view · diff
git:20260910.256ad8e2026-09-10 256ad8e 3,217 BA view · diff
git:20260909.7a703fe2026-09-09 7a703fe 1,153 BA view · diff
git:20260903.08c59f32026-09-03 08c59f3 1,101 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 (5636 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

lizhiyao/oh-my-knowledge · 24 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7wbjyyszq6abs4zp
GET https://markdownregistry.com/api/v1/resolve?ref=lizhiyao/oh-my-knowledge/src/studio/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/68848b5a3254480f77346dd305890faa4a371c42b6cd76b1badefa3c42a0404f

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 lizhiyao/oh-my-knowledge

omk SKILL.md skill
lizhiyao/oh-my-knowledge · .agents/skills/omk/SKILL.md · OMK(Observe. Measure. Know.)让 AI 应用的知识改动有据可依。帮助用户从历史知识完成当前任务,保留适用条件、不同立场与来源;也支持观测真实表现、受控测量 prompt / RAG / skill / agent…
git:20261107.0dedca2 · audit A · 24 stars
AGENTS.md AGENTS.md file
lizhiyao/oh-my-knowledge · AGENTS.md
git:20261107.d65336f · audit A · 24 stars
CLAUDE.md CLAUDE.md file
lizhiyao/oh-my-knowledge · CLAUDE.md
git:20260516.8539e80 · audit A · 24 stars
DESIGN.md DESIGN.md file
lizhiyao/oh-my-knowledge · DESIGN.md · Studio 当前实现的设计基线;品牌紫与专注阅读贯通外壳、观测列表、知识工作台和有明确证据边界的评测报告。
git:20261101.305b362 · audit B · 24 stars
repo-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/agent-runtime/skills/repo-answerer/SKILL.md · Minimal repository answerer used as the control variant.
git:20260902.c0ab3ed · audit A · 24 stars
repo-navigator SKILL.md skill
lizhiyao/oh-my-knowledge · examples/agent-runtime/skills/repo-navigator/SKILL.md · Repository navigation skill for project-level runtime context.
git:20260619.dd3bb69 · audit A · 24 stars
echo-assistant SKILL.md skill
lizhiyao/oh-my-knowledge · examples/custom-executor/skills/echo-assistant/SKILL.md · Minimal skill used to demonstrate the custom executor protocol.
git:20260619.dd3bb69 · audit B · 24 stars
context-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/rag-eval/skills/context-answerer/SKILL.md · Minimal context answerer used as the control variant.
git:20260902.c0ab3ed · audit B · 24 stars
rag-answerer SKILL.md skill
lizhiyao/oh-my-knowledge · examples/rag-eval/skills/rag-answerer/SKILL.md · RAG answerer that only answers from supplied context.
git:20260619.dd3bb69 · audit A · 24 stars
release-checklist SKILL.md skill
lizhiyao/oh-my-knowledge · examples/skill-map-showcase/skills/release-checklist/SKILL.md · Minimal release checklist used as the control variant.
git:20260902.c0ab3ed · audit A · 24 stars
release-readiness SKILL.md skill
lizhiyao/oh-my-knowledge · examples/skill-map-showcase/skills/release-readiness/SKILL.md · Release readiness reviewer that turns a skill folder into a visible Skill Map.
git:20260619.dd3bb69 · audit A · 24 stars
AGENTS.md@src/cli AGENTS.md file
lizhiyao/oh-my-knowledge · src/cli/AGENTS.md
git:20260903.08c59f3 · audit A · 24 stars

Every file in lizhiyao/oh-my-knowledge

Other files named AGENTS.md@src/studio

AGENTS.md@src/studio AGENTS.md file
hraness/atet · src/studio/AGENTS.md
git:20260909.13611a8 · audit A · 7 stars
AGENTS.md@src/studio AGENTS.md file
hraness/slopcamera · src/studio/AGENTS.md
git:20260909.13611a8 · audit A · 6 stars

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