From 395b3d406d0b49f82046788e2213a317e81b092d Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sat, 31 Oct 2026 19:36:19 +0800 Subject: [PATCH] docs: state the repository file rules in AGENTS.md --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 0b08e57..64bd290 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -54,6 +54,17 @@ Organization documentation rules are checked by `python scripts/check_style.py`, `report`. - Renaming a document means updating its references in the same change. + +- A public repository (one with a `LICENSE`) needs `CONTRIBUTING.md`, + `SECURITY.md`, `CODE_OF_CONDUCT.md` and issue / PR templates; a + private one needs `SECURITY.md`. +- A public `SECURITY.md` describes disclosure, not where credentials + live or how they rotate; a private one describes the opposite. The + two are not merged. +- Template filenames use underscores — `pull_request_template.md`, + `issue_template.md`. GitHub does not recognise the hyphenated form. + + ## Do not - Do not backfill today's information into a historical observation; keep the