AGENTS.mdA
AGENTS.md from ciao1019/petrichor is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add ciao1019/petrichor/AGENTS.md@git:20260924.d8c2a73Pins git:20260924.d8c2a73 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- ciao1019/petrichor
- Path
AGENTS.md- Versions recorded
- 6
- Latest version
- git:20260924.d8c2a73, committed Sep 24, 2026
- First version recorded
- Aug 28, 2026
- Size
- 9,005 bytes
- Repository stars
- 154
- License
- Apache-2.0
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
# Codex 项目级说明(petrichor / dosphere) > 本文件适用于当前 Petrichor 仓库及其子目录。它用于补充全局规则; > 若与更深层目录的 `AGENTS.md` 冲突,优先遵循更具体的规则。 ## 语言与协作 - 默认使用中文沟通、解释和记录关键决策。 - 新增代码注释和文档优先使用中文;仅在库 API、协议字段或既有英文命名要求下使用英文。 - 修改前先理解现有实现和调用链,保持变更范围小而完整。 - 不提交密钥、连接串、Cookie、Token、私有 API Key 或 `.env.local` 内容。 ## 项目概览 - 仓库根目录提供统一命令;`apps/web` 是独立 Bun package,依赖、锁文件和补丁均保存在 Web 目录;`apps/api` 是独立 Go module。 - `apps/web` 是 Bun + React + Vite + TypeScript 客户端 SPA,入口为 `apps/web/src/main.tsx`,页面路由由 `react-router-dom` 管理。 - `apps/api` 是 Go + Gin API 服务,接管 `/api/*` 和 `/healthz`。 - 全部 Agent 工具循环统一使用 Pi Agent Core;Go 的 `internal/piruntime` 通过私有 stdio 调用 `tools/pi-agent`,保留模型凭据、权限、证据与业务工具。API/Worker 镜像均内置运行器。 - 生产环境由 `apps/web/Caddyfile` 托管 Vite 静态资源并反代 Go API;`apps/web/server.ts` 仅用于本地 Bun 运行。 - 数据层使用启用 `pg_trgm` 与 `vector` 扩展的 PostgreSQL 16+,完整结构由 `apps/api/migrations/202608270002_init.sql` 定义,并由 Go 服务启动时自动执行。 - 认证使用 Sa-Token-Go 的 Gin 集成,token 状态由 `sa_token_storage` 持久化到 PostgreSQL; 业务用户只保存在 `petrichor_user`。 - 上传和公开文件访问使用 S3 兼容对象存储。 …
Read the whole file at its exact version.
How to install
mdr add ciao1019/petrichor/AGENTS.md@sha256:0ec1777187b4ec4fThe line at the top of this page pins the label git:20260924.d8c2a73, 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_kh7iejhynu3um52v)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 28, 2026 and Sep 24, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.d8c2a73 latest | 2026-09-24 | d8c2a73 | 9,005 B | A | view · diff |
| git:20260902.8e59c05 | 2026-09-02 | 8e59c05 | 8,454 B | A | view · diff |
| git:20260901.9d2ef49 | 2026-09-01 | 9d2ef49 | 8,405 B | A | view · diff |
| git:20260901.5eb3103 | 2026-09-01 | 5eb3103 | 8,300 B | A | view · diff |
| git:20260901.5df8c20 | 2026-09-01 | 5df8c20 | 7,781 B | A | view · diff |
| git:20260828.865eed1 | 2026-08-28 | 865eed1 | 6,958 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (9005 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
ciao1019/petrichor · 154 stars · license Apache-2.0 · pushed 2026-09-29 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_kh7iejhynu3um52v GET https://markdownregistry.com/api/v1/resolve?ref=ciao1019/petrichor/AGENTS.md GET https://markdownregistry.com/api/v1/blob/0ec1777187b4ec4f55839ecab32eb7a5f826ac7762f3e86d0e7e718b7e379bfc
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 ciao1019/petrichor
Every file in ciao1019/petrichor