From b88f5e033139b9f06f31ab3be9498729be2ef7cc Mon Sep 17 00:00:00 2001 From: Scetrov Date: Wed, 22 Jul 2026 22:37:05 +0100 Subject: [PATCH] docs: require GitHub rulesets --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 97502d3..21cc6c7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -29,6 +29,12 @@ Prioritize security in every change. Avoid hardcoding credentials, ensure proper The Agent is authorized to operate independently. Continue working through sub-tasks and error resolution unattended until the primary objective is fully complete or a critical blocker is reached. +## 5.1 GitHub Repository Policies + +- Use GitHub **Rulesets** for repository-policy changes. +- Do not create or modify legacy branch-protection rules unless the user explicitly requests them. +- Before changing a policy, verify its target branches and enforcement scope. + ## 6. Environmental Isolation To maintain a non-breaking flow and avoid permission requests: @@ -82,6 +88,11 @@ Prioritize security in every change. Avoid hardcoding credentials. ## 5. Independent Operation The Agent is authorized to operate independently. +## 5.1 GitHub Repository Policies +- Use GitHub **Rulesets** for repository-policy changes. +- Do not create or modify legacy branch-protection rules unless the user explicitly requests them. +- Before changing a policy, verify its target branches and enforcement scope. + ## 6. Environmental Isolation - Use ./tmp for temporary files. - Do not write to system-level directories.