AGENTS.mdA

AGENTS.md from ciao1019/petrichor is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add ciao1019/petrichor/AGENTS.md@git:20260924.d8c2a73

Pins 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

The exact contents, by fingerprint
mdr add ciao1019/petrichor/AGENTS.md@sha256:0ec1777187b4ec4f

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kh7iejhynu3um52v.svg)](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.

versioncommittedcommitsizeaudit
git:20260924.d8c2a73 latest2026-09-24 d8c2a73 9,005 BA view · diff
git:20260902.8e59c052026-09-02 8e59c05 8,454 BA view · diff
git:20260901.9d2ef492026-09-01 9d2ef49 8,405 BA view · diff
git:20260901.5eb31032026-09-01 5eb3103 8,300 BA view · diff
git:20260901.5df8c202026-09-01 5df8c20 7,781 BA view · diff
git:20260828.865eed12026-08-28 865eed1 6,958 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 (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

GitHub

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

research-note SKILL.md skill
ciao1019/petrichor · apps/api/agent-skills/research-note/SKILL.md · 汇总资料并保留可核验来源,形成研究笔记。
git:20260924.d8c2a73 · audit A · 154 stars
wiki-curation SKILL.md skill
ciao1019/petrichor · apps/api/agent-skills/wiki-curation/SKILL.md · Wiki 构建中的事实整理、术语一致性与来源约束。
git:20260924.d8c2a73 · audit A · 154 stars

Every file in ciao1019/petrichor

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

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